Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetCDF Error #19

Open
markjessell opened this issue Nov 21, 2022 · 0 comments
Open

NetCDF Error #19

markjessell opened this issue Nov 21, 2022 · 0 comments

Comments

@markjessell
Copy link

markjessell commented Nov 21, 2022

Hi I am getting a weird result when using the following code in google CoLab, which works fine under a wsl Ubuntu linux, any thoughts? Both are fresh installs from the github repository, using pip install of NetCDF searching online this seems to come back to the way the data is served, but not sure?

The first cell of this notebook demonstrates the problem:

https://github.com/Loop3D/2022_iamg_workshop/blob/main/map2loop/4_Draw_your_own_geophysics.ipynb

All help gratefully accepted...

cheers

mark

netcdf_path = "https://dapds00.nci.org.au/thredds/dodsC/iv65/Geoscience_Australia_Geophysics_Reference_Data_Collection/national_geophysical_compilations/Gravmap2019/Gravmap2019-grid-grv_cscba.nc"
netcdf_dataset = netCDF4.Dataset(netcdf_path, 'r')


OSError Traceback (most recent call last)
in
2
3 netcdf_path = "https://dapds00.nci.org.au/thredds/dodsC/iv65/Geoscience_Australia_Geophysics_Reference_Data_Collection/national_geophysical_compilations/Gravmap2019/Gravmap2019-grid-grv_cscba.nc"
----> 4 netcdf_dataset = netCDF4.Dataset(netcdf_path, 'r')
5
6 netcdf_path_mag ="https://dapds00.nci.org.au/thredds/dodsC/iv65/Geoscience_Australia_Geophysics_Reference_Data_Collection/national_geophysical_compilations/Magmap2019/Magmap2019-grid-tmi-Cellsize40m-AWAGS_MAG_2019.nc"

src/netCDF4/_netCDF4.pyx in netCDF4._netCDF4.Dataset.init()

src/netCDF4/_netCDF4.pyx in netCDF4._netCDF4._ensure_nc_success()

OSError: [Errno -68] NetCDF: I/O failure: b'https://dapds00.nci.org.au/thredds/dodsC/iv65/Geoscience_Australia_Geophysics_Reference_Data_Collection/national_geophysical_compilations/Gravmap2019/Gravmap2019-grid-grv_cscba.nc'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant