Skip to content

nc/i-metric-joint-k-5-d-3.nc' data is not downlaoding #3

@ronygolderku

Description

@ronygolderku

Hi,
When, I am using trying to run this python3 main.py

it shows the error like

high
'mpl_params' 0.00060 s

settings:
cst.EXAMPLE_TIME_INDEX 40 cst.SEED 10
high
'mpl_params' 0.00038 s

Traceback (most recent call last):
File "/home/ubuntu/fronts/env/lib/python3.8/site-packages/xarray/backends/file_manager.py", line 209, in _acquire_with_cache_info
file = self._cache[self._key]
File "/home/ubuntu/fronts/env/lib/python3.8/site-packages/xarray/backends/lru_cache.py", line 55, in getitem
value = self._cache[key]
KeyError: [<class 'netCDF4._netCDF4.Dataset'>, ('/home/ubuntu/fronts/nc/i-metric-joint-k-5-d-3.nc',), 'r', (('clobber', True), ('diskless', False), ('format', 'NETCDF4'), ('persist', False)), 'cc23bfcc-b404-4b78-9197-6574972c55b7']

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "main.py", line 6, in
mf.make_all_figures()
File "/home/ubuntu/fronts/src/time_wrapper.py", line 24, in timed
result = method(*args, **kw)
File "/home/ubuntu/fronts/src/make_figures.py", line 57, in make_all_figures
ds = xr.open_dataset(cst.DEFAULT_NC)
File "/home/ubuntu/fronts/env/lib/python3.8/site-packages/xarray/backends/api.py", line 541, in open_dataset
backend_ds = backend.open_dataset(
File "/home/ubuntu/fronts/env/lib/python3.8/site-packages/xarray/backends/netCDF4_.py", line 578, in open_dataset
store = NetCDF4DataStore.open(
File "/home/ubuntu/fronts/env/lib/python3.8/site-packages/xarray/backends/netCDF4_.py", line 382, in open
return cls(manager, group=group, mode=mode, lock=lock, autoclose=autoclose)
File "/home/ubuntu/fronts/env/lib/python3.8/site-packages/xarray/backends/netCDF4_.py", line 329, in init
self.format = self.ds.data_model
File "/home/ubuntu/fronts/env/lib/python3.8/site-packages/xarray/backends/netCDF4_.py", line 391, in ds
return self.acquire()
File "/home/ubuntu/fronts/env/lib/python3.8/site-packages/xarray/backends/netCDF4
.py", line 385, in _acquire
with self._manager.acquire_context(needs_lock) as root:
File "/home/ubuntu/fronts/env/lib/python3.8/contextlib.py", line 113, in enter
return next(self.gen)
File "/home/ubuntu/fronts/env/lib/python3.8/site-packages/xarray/backends/file_manager.py", line 197, in acquire_context
file, cached = self._acquire_with_cache_info(needs_lock)
File "/home/ubuntu/fronts/env/lib/python3.8/site-packages/xarray/backends/file_manager.py", line 215, in _acquire_with_cache_info
file = self._opener(*self._args, **kwargs)
File "src/netCDF4/_netCDF4.pyx", line 2469, in netCDF4._netCDF4.Dataset.init
File "src/netCDF4/_netCDF4.pyx", line 2028, in netCDF4._netCDF4._ensure_nc_success
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/fronts/nc/i-metric-joint-k-5-d-3.nc'

The thing is that, i-metric-joint-k-5-d-3.nc file is not downloaded when I downloaded the bsose data.
Could you please it?

Best regards,

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