Failure to load OPeNDAP in Colab · Issue #1179 · Unidata/netcdf4-python (original) (raw)
Recently, reading OPeNDAP files when running notebooks on Google Colab resutss in an OSError: [Errno -68] NetCDF: I/O failure
Relevant info:
- netCDF4 version: 1.6.0
- Python version: Python 3.7.13
- Environment: Google Colab
Example code:
import netCDF4
ds = netCDF4.Dataset('http://thredds.socib.es/thredds/dodsC/hf_radar/hf_radar_ibiza-scb_codarssproc001/L1/2016/dep0001_hf-radar-ibiza_scb-codarssproc001_L1_2016-02.nc')
Colab Notebook link: https://colab.research.google.com/drive/17juZulxoz8sahoDJVuU4uOMSnBC_xXDA?usp=sharing