Commit graph

124 commits

Author SHA1 Message Date
Shay Carter
2101794ed4 Merge branch 'main' of github.com:Unidata/python-awips into notebook-updates 2021-06-22 12:06:03 -06:00
Shay Carter
c5241eb219 Small changes to grids and cartopy notebook:
- added the image preview to the header of the notebook
- fixed spelling mistake in subheader "Documentation"
2021-06-01 16:57:04 -06:00
Shay Carter
e3ad74cc0a Small change to grids and cartopy notebook:
- made the two plotting sections (with pcolormesh and cartopy) subsections of the "Use the Grid Data!" section
2021-06-01 16:42:35 -06:00
Shay Carter
ebcb39b5ac Changes to grids and cartopy notebook
- updated the notebook to follow the new template
- created a directory for the preview images
- created and added a preview image for the grids and cartopy notebook
2021-06-01 16:21:41 -06:00
Shay Carter
1ff03096e7 Updated related notebooks section to point to our current python-awips documentation 2021-06-01 15:31:36 -06:00
Shay Carter
ef11334119 Remove "AWIPS" from AWIPS_Grids_and_Cartopy.ipynb name 2021-06-01 15:29:16 -06:00
Shay Carter
adb7bdbe34 Slight changes to the Grid Levels and Params notebook
- re-ran the cells so they have the latest/proper responses
- updated a little markdown to catch grammar/add a little more context
2021-06-01 12:50:37 -06:00
Shay Carter
da7b9caafb Convert Grid Levels and Params to use new template 2021-06-01 11:03:31 -06:00
Shay Carter
f898cd0c1e Small change to grid levels and params notebook:
- hopefully should get changed again later today, but update the grid levels notebook to remove the plotting section at the end.
2021-06-01 10:36:12 -06:00
Shay Carter
fb74257311 Small change to Grid Levels and Params notebook:
- this should get changed again later today, hopefully!  But in case it doesnt, at the very least make this small change to remove the plotting portion at the end of the notebook.
2021-06-01 10:32:43 -06:00
Shay Carter
f3013ab40a Add description for write_img function 2021-05-28 01:16:33 -06:00
Shay Carter
d9ff0cb3fb Merge branch 'main' of github.com:srcarter3/python-awips into notebook-updates 2021-05-28 01:10:07 -06:00
Shay Carter
4379e0c7e0 Created template and formatted new GOES CIRA notebook to template
- Added a new Template.ipynb file in the examples dir
- Added a new notebook GOES_CIRA_Product_Writer.ipynb in the examples/notebooks dir
	- This notebook walks through:
		- how to request multiple GOES products from EDEX
		- how to resize the images using pixels
		- how to write out images locally
		- how to combine multiple channels in to an rgb product
- Created a new images directory for the notebooks
	- Added two image files for the preview options of the notebook
2021-05-28 00:47:47 -06:00
Shay Carter
97d1d72a7a Small change to one of the notebooks to remove the mention of the "DAF" from the markdown text 2021-03-18 14:39:46 -07:00
Shay Carter
2d41da914c Changes to the Colored Surface Obs notebook:
-simplified the parameters in the data request since we only need temperature and location
2020-09-10 14:53:50 -06:00
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
fc30adadea
changed '%matplotlib notebook' back to '%matplotlib inline' 2020-09-09 13:40:15 -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
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
68674182ab
try changing matplotlib 'inline' for 'notebook' 2020-09-04 12:02:00 -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