Finish deploy of python script (aws server needs ssl)
Budget: $30 – $250 USD
Error:curl error: Problem with the SSL CA cert (path? access rights?)
curl error details:
Warning:oc_open: Could not read url
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/file_manager.py", line 210, in _acquire_with_cache_info
file = self._cache[self._key]
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/lru_cache.py", line 56, in __getitem__
value = self._cache[key]
KeyError: [<class 'netCDF4._netCDF4.Dataset'>, ('https://nomads.ncep.noaa.gov/dods/wave/gfswave/20230519/gfswave.global.0p25_12z',), 'r', (('clobber', True), ('diskless', False), ('format', 'NETCDF4'), ('persist', False)), 'c7b904e7-a3e2-4049-8bd9-4f5140e3255a']
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/Pronostico/downloadGFSwaveXarraySpotsWithTidesAndBreaking.py", line 70, in <module>
wav_ds = xr.open_dataset(url,mask_and_scale=True)
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/api.py", line 525, in open_dataset
backend_ds = backend.open_dataset(
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/netCDF4_.py", line 588, in open_dataset
store = NetCDF4DataStore.open(
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/netCDF4_.py", line 389, in open
return cls(manager, group=group, mode=mode, lock=lock, autoclose=autoclose)
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/netCDF4_.py", line 336, in __init__
self.format = self.ds.data_model
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/netCDF4_.py", line 398, in ds
return self._acquire()
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/netCDF4_.py", line 392, in _acquire
with self._manager.acquire_context(needs_lock) as root:
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
return next(self.gen)
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/file_manager.py", line 198, in acquire_context
file, cached = self._acquire_with_cache_info(needs_lock)
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/file_manager.py", line 216, in _acquire_with_cache_info
file = self._opener(*self._args, **kwargs)
File "src/netCDF4/_netCDF4.pyx", line 2449, in netCDF4._netCDF4.Dataset.__init__
File "src/netCDF4/_netCDF4.pyx", line 2012, in netCDF4._netCDF4._ensure_nc_success
OSError: [Errno -68] NetCDF: I/O failure: 'https://nomads.ncep.noaa.gov/dods/wave/gfswave/20230519/gfswave.global.0p25_12z'
curl error details:
Warning:oc_open: Could not read url
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/file_manager.py", line 210, in _acquire_with_cache_info
file = self._cache[self._key]
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/lru_cache.py", line 56, in __getitem__
value = self._cache[key]
KeyError: [<class 'netCDF4._netCDF4.Dataset'>, ('https://nomads.ncep.noaa.gov/dods/wave/gfswave/20230519/gfswave.global.0p25_12z',), 'r', (('clobber', True), ('diskless', False), ('format', 'NETCDF4'), ('persist', False)), 'c7b904e7-a3e2-4049-8bd9-4f5140e3255a']
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/Pronostico/downloadGFSwaveXarraySpotsWithTidesAndBreaking.py", line 70, in <module>
wav_ds = xr.open_dataset(url,mask_and_scale=True)
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/api.py", line 525, in open_dataset
backend_ds = backend.open_dataset(
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/netCDF4_.py", line 588, in open_dataset
store = NetCDF4DataStore.open(
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/netCDF4_.py", line 389, in open
return cls(manager, group=group, mode=mode, lock=lock, autoclose=autoclose)
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/netCDF4_.py", line 336, in __init__
self.format = self.ds.data_model
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/netCDF4_.py", line 398, in ds
return self._acquire()
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/netCDF4_.py", line 392, in _acquire
with self._manager.acquire_context(needs_lock) as root:
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
return next(self.gen)
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/file_manager.py", line 198, in acquire_context
file, cached = self._acquire_with_cache_info(needs_lock)
File "/home/ubuntu/.local/lib/python3.10/site-packages/xarray/backends/file_manager.py", line 216, in _acquire_with_cache_info
file = self._opener(*self._args, **kwargs)
File "src/netCDF4/_netCDF4.pyx", line 2449, in netCDF4._netCDF4.Dataset.__init__
File "src/netCDF4/_netCDF4.pyx", line 2012, in netCDF4._netCDF4._ensure_nc_success
OSError: [Errno -68] NetCDF: I/O failure: 'https://nomads.ncep.noaa.gov/dods/wave/gfswave/20230519/gfswave.global.0p25_12z'