Commit graph

471 commits

Author SHA1 Message Date
Shay Carter
a488797c68 Update plot for colored surface temp notebook 2020-09-09 16:01:54 -06:00
Shay Carter
10537bf3f7 Update the Colored Surface Temp Plot notebook to have a more optimized for loop
Pulled these steps out of the for loop, perform first:
-instantiate the air temp array once
-nan out the null values (-9999)
-convert from c to f

In the for loop:
-create a copy of tair (subtair)
-use this copy to isolate values in the given threshold range
-when setting the data on the stationplot use the 'value' variable instead of using x again in the threshold to find the color value
2020-09-09 15:51:04 -06:00
srcarter3
bd7a893802
Removed the cartopy ShapelyFeature import since it's not used 2020-09-09 14:58:16 -06:00
srcarter3
3bacee9d9c
Rebuild the website
Added a space to the end of the title
2020-09-09 14:04:03 -06:00
srcarter3
e356f47129
Merge pull request #21 from srcarter3/master
Changes made to support automatically build and deployment of documentation website

Add a new directory and yml file for the auto-build/deployment:
.github/workflows/ dir was created
sphinx_build_deploy.yml was created which is triggered when a change is made to the docs/ or examples/ directories. This action builds the html pages using sphinx and then deploys them to our webpage by pushing them into the gh-pages branch

Updated the docs/requirements.txt file to include numpy so sphinx can build all the pages properly

Modified the index.rst page to have some of the environment install instructions in code blocks instead of a bulleted list

Updated notebooks to have the '%matplotlib inline' call after the imports in the code so that the webpage renders properly:
Colored_Surface_Tempertature_Plot.ipynb
METAR_Station_Plot_with_MetPy.ipynb
Regional_Surface_Obs_Plot.ipynb
2020-09-09 14:01:18 -06:00
srcarter3
fc30adadea
changed '%matplotlib notebook' back to '%matplotlib inline' 2020-09-09 13:40:15 -06:00
srcarter3
557dd8f348
removed the 'conda update --all' call from environment setup 2020-09-09 12:46:13 -06:00
srcarter3
0f14592dac
rebuild website 2020-09-09 12:45:16 -06:00
srcarter3
cee1f986f4
rebuild website 2020-09-09 12:42:53 -06:00
srcarter3
2d87c0dceb
removed the 'conda update --all' call, this is not necessary for initial install 2020-09-09 12:40:05 -06:00
srcarter3
95f190e936
add numpy to docs requirements 2020-09-09 12:39:00 -06:00
srcarter3
faf2fc5771
Changing back to automodule 2020-09-09 12:36:39 -06:00
srcarter3
8606c4d50a
change automodule to autoclass for DataAccessLayer 2020-09-09 12:32:53 -06:00
srcarter3
9681a24957
Merge pull request #6 from Unidata/master
Add a brief description to the beginning of the NEXRAD3 notebook so t…
2020-09-09 12:19:15 -06:00
Shay Carter
8918d75fdc Add a brief description to the beginning of the NEXRAD3 notebook so that the autogenerated webpage renders correctly. 2020-09-09 12:18:03 -06:00
srcarter3
27895d29dc
Merge pull request #5 from Unidata/master
Delete Profiler_Wind_Barb_Time-Series.ipynb
2020-09-09 12:06:58 -06:00
srcarter3
9c82744948
Delete Profiler_Wind_Barb_Time-Series.ipynb
This notebook does not run currently because there is no 'profiler' data on our EDEX.
2020-09-09 12:05:02 -06:00
srcarter3
1b39c04856
Moved '%matplotlib inline' for surface obs notebook 2020-09-09 11:41:27 -06:00
srcarter3
57d2189dfe
Merge pull request #4 from Unidata/master
Bring fork up to latest code in master repo
2020-09-09 11:35:12 -06:00
Shay Carter
031f2ce7c5 Add '%matplotlib inline' after imports for the NEXRAD notebook 2020-09-09 11:32:52 -06:00
srcarter3
6973e227e6
move "matplotlib inline" after imports 2020-09-09 11:28:29 -06:00
srcarter3
430e9ccecd
Move the %matplotlib inline code to after imports 2020-09-09 11:18:35 -06:00
srcarter3
e7c93b3a1f
convert the temp using scipy instead of a formula 2020-09-04 16:18:36 -06:00
srcarter3
ce780ef933
replace geodetic with plateCarree 2020-09-04 15:57:39 -06:00
srcarter3
af73c9a0d7
Forgot to add a new line with previous change. 2020-09-04 15:56:07 -06:00
srcarter3
45faf991b4
Move the glm_points definition to the correct spot 2020-09-04 15:53:19 -06:00
srcarter3
8cff0278d8
Create and populate a glm_points array
Also create an object that is an instance of one of the data values in the response array.
2020-09-04 15:49:02 -06:00
Shay Carter
0151efccc0 Fix the labels warning in NEXRAD3 notebook 2020-09-04 15:01:52 -06:00
srcarter3
558957ef21
Fixed the plateCarree warning 2020-09-04 14:52:37 -06:00
Shay Carter
c34a8da1ce Fix errors and warnings for Map Resources and Topo Notebook
-fixed the xlabels_top and ylabels_right warning by using top_labels and right_labels instead
-fixed the invalid transform error by using PlateCarree() instead of Geodetic()
-fixed the 'extend' warning by moving it from the colorbar() function to the contourf() function
2020-09-04 14:35:40 -06:00
srcarter3
d72ee3d740
rebuild website 2020-09-04 13:55:22 -06:00
srcarter3
45284aef2f
Merge pull request #3 from Unidata/master
update label for degrees F in Grid Levels and Params notebook
2020-09-04 13:44:15 -06:00
Shay Carter
826e5f7591 Update the preview for Grid Levels and Params to use "F" in the colorbar label 2020-09-04 13:42:49 -06:00
srcarter3
1b6e71c509
Change the color map label from K to F 2020-09-04 13:41:06 -06:00
srcarter3
c164123a7b
Merge pull request #2 from Unidata/master
Bring over notebook changes, to preview in website
2020-09-04 13:38:08 -06:00
Shay Carter
accecd48e6 Update the preview so it shows the plots in F instead of K 2020-09-04 13:35:46 -06:00
srcarter3
f3528746b2
Convert the plots and colorbars from K to F 2020-09-04 13:30:26 -06:00
Shay Carter
c2a7ffecff Reran the grid layers and params notebook so now the 'font warning' isn't there in the preview 2020-09-04 12:14:45 -06:00
srcarter3
e8e1e42986
rebuild webpages 2020-09-04 12:05:42 -06:00
srcarter3
eca2e1506a
run gh-action on change to examples dir 2020-09-04 12:05:19 -06:00
srcarter3
68674182ab
try changing matplotlib 'inline' for 'notebook' 2020-09-04 12:02:00 -06:00
srcarter3
fe870f1091
Trigger website rebuild 2020-09-04 11:34:43 -06:00
srcarter3
726b200fc5
Merge pull request #1 from Unidata/master
Bring over all the updates to current Unidata Master branch
2020-09-04 11:34:09 -06:00
Shay Carter
4fdeba9618 Change previews
Change the preview for Grid Levels and Parameters since the colorbar changed for the second example
Changed the preview for Model sounding data since the hodograph location moved
2020-09-04 11:26:02 -06:00
srcarter3
82e4256579
Move hodograph to upper right, reuse the 'spd' var 2020-09-04 10:51:12 -06:00
srcarter3
2e29d3b5ff
fix labels warning, fix cbar extend warning
For the contourf function (last code block) the extend='both' parameter has to be passed into the contourf() function and removed from the colorbar() function in order to work and to not get a warning.
2020-09-04 10:47:37 -06:00
srcarter3
19bab374b9
fixed import error and units errors 2020-09-04 10:34:52 -06:00
srcarter3
a7cb7c55ee
Fix xlabels_top and ylabels_right deprecation 2020-09-03 17:27:20 -06:00
srcarter3
b7b09fb5de
Accidentally added a new line w/prev commit 2020-09-03 17:15:34 -06:00
srcarter3
f93bdd8d36
Fix xlabel_top and ylabel_right deprecation 2020-09-03 17:10:49 -06:00