Merge pull request #1 from Unidata/master

Bring over all the updates to current Unidata Master branch
This commit is contained in:
srcarter3 2020-09-04 11:34:09 -06:00 committed by GitHub
commit 726b200fc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 132 additions and 153 deletions

View file

@ -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

View file

@ -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",

View file

@ -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",

View file

@ -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",

View file

@ -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"