Closed ocefpaf closed 6 years ago
Example 2016-11-16-CF-UGRID-SGRID-conventions.ipynb is failing when downloading data from
2016-11-16-CF-UGRID-SGRID-conventions.ipynb
http://omgsrv1.meas.ncsu.edu:8080/thredds/dodsC/fmrc/sabgom/SABGOM_Forecast_Model_Run_Collection_best.ncd.html
Here is a sscce that reproduces the problem:
import netCDF4 print(netCDF4.__version__) url = 'http://omgsrv1.meas.ncsu.edu:8080/thredds/dodsC/fmrc/sabgom/SABGOM_Forecast_Model_Run_Collection_best.ncd' standard_name='sea_water_potential_temperature' with netCDF4.Dataset(url) as nc: temp = nc.get_variables_by_attributes( standard_name=standard_name ) T = temp[0] print(T.shape) T[-1, -1, :, :]
@rsignell-usgs do you know what may be the cause?
See http://nbviewer.jupyter.org/gist/ocefpaf/0fb928736bb84528d9e6746c03a63af4
PS: I did try all previous versions of netCDF4 I could, all failed :unamused:
Closing this b/c I replaced SABGOM with ESPRESSOClosing this b/c I replaced SABGOM with ESPRESSO. The indexing issue remains.
Example
2016-11-16-CF-UGRID-SGRID-conventions.ipynb
is failing when downloading data fromhttp://omgsrv1.meas.ncsu.edu:8080/thredds/dodsC/fmrc/sabgom/SABGOM_Forecast_Model_Run_Collection_best.ncd.html
Here is a sscce that reproduces the problem:
@rsignell-usgs do you know what may be the cause?
See http://nbviewer.jupyter.org/gist/ocefpaf/0fb928736bb84528d9e6746c03a63af4
PS: I did try all previous versions of netCDF4 I could, all failed :unamused: