Skip to content

NetCDF Error #19

@markjessell

Description

@markjessell

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions