mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
Merge pull request #1 from Unidata/master
Bring over all the updates to current Unidata Master branch
This commit is contained in:
commit
726b200fc5
7 changed files with 132 additions and 153 deletions
|
@ -40,7 +40,7 @@
|
|||
" ax.set_extent(bbox)\n",
|
||||
" ax.coastlines(resolution='50m')\n",
|
||||
" gl = ax.gridlines(draw_labels=True)\n",
|
||||
" gl.xlabels_top = gl.ylabels_right = False\n",
|
||||
" gl.top_labels = gl.right_labels = False\n",
|
||||
" gl.xformatter = LONGITUDE_FORMATTER\n",
|
||||
" gl.yformatter = LATITUDE_FORMATTER\n",
|
||||
" return fig, ax"
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -151,7 +151,7 @@
|
|||
" fig, ax = plt.subplots(figsize=(16,12),subplot_kw=dict(projection=proj))\n",
|
||||
" ax.set_extent(bbox)\n",
|
||||
" gl = ax.gridlines(draw_labels=True, color='#e7e7e7')\n",
|
||||
" gl.xlabels_top = gl.ylabels_right = False\n",
|
||||
" gl.top_labels = gl.right_labels = False\n",
|
||||
" gl.xformatter = LONGITUDE_FORMATTER\n",
|
||||
" gl.yformatter = LATITUDE_FORMATTER\n",
|
||||
" return fig, ax\n",
|
||||
|
|
|
@ -686,7 +686,7 @@
|
|||
" ax.set_extent(bbox)\n",
|
||||
" ax.coastlines(resolution='50m')\n",
|
||||
" gl = ax.gridlines(draw_labels=True)\n",
|
||||
" gl.xlabels_top = gl.ylabels_right = False\n",
|
||||
" gl.top_labels = gl.right_labels = False\n",
|
||||
" gl.xformatter = LONGITUDE_FORMATTER\n",
|
||||
" gl.yformatter = LATITUDE_FORMATTER\n",
|
||||
" return fig, ax\n",
|
||||
|
|
|
@ -111,9 +111,9 @@
|
|||
"# assign units\n",
|
||||
"p = (prSig/100) * units.mbar\n",
|
||||
"wpres = (wpres/100) * units.mbar\n",
|
||||
"u,v = wind_components(spd, np.deg2rad(direc))\n",
|
||||
"u,v = wind_components(spd * units.knots, np.deg2rad(direc))\n",
|
||||
"\n",
|
||||
"if tpUnit is 'K':\n",
|
||||
"if tpUnit == 'K':\n",
|
||||
" T = (tpSig-273.15) * units.degC\n",
|
||||
" Td = (tdSig-273.15) * units.degC\n",
|
||||
" tman = tman * units.degC\n",
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
" subplot_kw=dict(projection=projection))\n",
|
||||
" ax.set_extent(bbox)\n",
|
||||
" gl = ax.gridlines(draw_labels=True)\n",
|
||||
" gl.xlabels_top = gl.ylabels_right = False\n",
|
||||
" gl.top_labels = gl.right_labels = False\n",
|
||||
" gl.xformatter = LONGITUDE_FORMATTER\n",
|
||||
" gl.yformatter = LATITUDE_FORMATTER\n",
|
||||
" return fig, ax"
|
||||
|
|
Loading…
Add table
Reference in a new issue