When using the cate python api to open a remote data store from a dataset, where I know that it opens once added to local store. I would expect open_dataset to behave the same for remote and local datasets.
Actual behavior
An error is returned:
DataAccessError: Failed to open data source "esacci2.SST.day.L3C.SSTskin.AVHRR-3.NOAA-19.AVHRR19_G.2-1.r1" for given time range: [Errno -45] NetCDF: Not a valid data type or _FillValue type mismatch: b'http://cci-odp-data2.ceda.ac.uk/thredds/dodsC/esacci/sst/data/CDR_v2/AVHRR/L3C/v2.1/AVHRR19_G/2009/02/23/20090223120000-ESACCI-L3C_GHRSST-SSTskin-AVHRR19_G-CDR2.1_day-v02.0-fv01.0.nc'
Steps to reproduce the problem
Importing all necessary packages
from cate.core.ds import DATA_STORE_REGISTRY
from cate.core import ds
This could be solved by adding #fillmismatch to a url. This does not really seem to be the cleanest solution, but as long as there are no updated libraries of libnetcdf or netcdf4, it is the best way to go.
Expected behavior
When using the cate python api to open a remote data store from a dataset, where I know that it opens once added to local store. I would expect open_dataset to behave the same for remote and local datasets.
Actual behavior
An error is returned:
Steps to reproduce the problem
Importing all necessary packages
Getting opensearch datastore and local datastore
Selecting desired dataset
Opening the remote datasource
DataAccessError: Failed to open data source "esacci.SST.day.L3C.SSTskin.AVHRR-3.NOAA-19.AVHRR19_G.2-1.r1" for given time range: [Errno -45] NetCDF: Not a valid data type or _FillValue type mismatch: b'http://cci-odp-data2.ceda.ac.uk/thredds/dodsC/esacci/sst/data/CDR_v2/AVHRR/L3C/v2.1/AVHRR19_G/2009/02/23/20090223120000-ESACCI-L3C_GHRSST-SSTskin-AVHRR19_G-CDR2.1_day-v02.0-fv01.0.nc'
data_store.query('esacci2.SST.day.L3C.SSTskin.AVHRR-3.NOAA-19.AVHRR19_G.2-1.r1')[0].make_local('test_sst_two_days', time_range=['2009-02-23', '2009-02-24']) ds.open_dataset('local.test_sst_two_days')