netcdf4-python icon indicating copy to clipboard operation
netcdf4-python copied to clipboard

Task: update examples notebook

Open mwtoews opened this issue 4 years ago • 1 comments

The Jupyter notebook examples are a bit old, and could use a refresh.

For instance reading_netCDF.ipynb has an outdated URL, which should be updated from:

URL = 'http://thredds.ucar.edu/thredds/dodsC/grib/NCEP/GFS/Global_0p5deg/GFS_Global_0p5deg_%04i%02i%02i_%02i%02i.grib2/GC'

to something like

URL = 'https://thredds.ucar.edu/thredds/catalog/grib/NCEP/GFS/Global_0p5deg/GFS_Global_0p5deg_%04i%02i%02i_%02i%02i.grib2/GC'

except there is a "HTTP Status 404" with the "/GC" part. I'm not sure the correct address, but clearly it's changed. Start here for the current address.


writing_netCDF.ipynb works nicely, so the steps are:

  1. jupyter notebook writing_netCDF.ipynb
  2. Cell > Run All
  3. Save and Checkpoint

There are possibly other improvements to make, which is why I'm holding back.

mwtoews avatar Jun 15 '21 01:06 mwtoews

pull request would be welcomed

jswhit avatar Jan 18 '22 15:01 jswhit