NOAA-ORR-ERD / LibGOODS

Library for accessing data useful for the NOAA / GNOME model
https://libgoods.readthedocs.io/en/latest/
Other
1 stars 2 forks source link

crash on complete_source_catalog() #12

Open ChrisBarker-NOAA opened 2 years ago

ChrisBarker-NOAA commented 2 years ago

No idea what's up -- but ideally it would carry on if there's a problem with one source, and keep going ...

The regular tests pass, but the runslow ones don't the real issue may be found there.

In [3]:  model_catalogs.complete_source_catalog()

these Errors:

Error:curl error: SSL connect error
curl error details: 
Warning:oc_open: Could not read url
Note:Caching=1
Error:curl error: SSL connect error
curl error details: 
Warning:oc_open: Could not read url

and finally:

File src/netCDF4/_netCDF4.pyx:2307, in netCDF4._netCDF4.Dataset.__init__()

File src/netCDF4/_netCDF4.pyx:1925, in netCDF4._netCDF4._ensure_nc_success()

OSError: [Errno -68] NetCDF: I/O failure: b'https://nomads.ncep.noaa.gov/dods/rtofs/rtofs_global20220408/rtofs_glo_3dz_nowcast_6hrly_us_east'

Here are the test failures:

FAILED test_catalogs.py::test_make_complete_catalog - OSError: [Errno -68] NetCDF: I/O failure: b'https://nomads.ncep.noaa.gov/d...
FAILED test_catalogs.py::test_derived - KeyError: 'CBOFS'
FAILED test_catalogs.py::test_hindcast - KeyError: 'CIOFS'
FAILED test_catalogs.py::test_hindcast_forecast_aggregation - KeyError: 'TBOFS'

looking now -- yup, probably all the same issue.