Closed AliceBalfanz closed 4 years ago
Cannot reproduce error anymore, the time range is interpreted correctly and when given a time range as a string of ('2009-02-24','2009-02-24') it converts into (datetime.datetime(2009, 2, 24, 0, 0), datetime.datetime(2009, 2, 24, 23, 59, 59)).
However, for dataset 'esacci.SST.day.L3C.SSTskin.AVHRR-3.NOAA-19.AVHRR19_G.2-1.r1' there seems to be an access error, which is not related to the false interpretation of time ranges.
Expected behavior
When using the cate python api to make a local store from a remote data store with a time range, which only includes one time stamp I expect it to behave exactly as for 2 or more time stamps.
Actual behavior
Error is raised, when opening dataset, which only contains one time stamp.
Steps to reproduce the problem
Importing all necessary packages
getting opensearch datastore and local datastore
Selecting a time range which ensures, only one time stamp is included
Updating the file list for the desired datasets
using
make_local
to include the selection to the local datastoreOpening dataset from local store
This results in:
ValueError: Could not find any dimension coordinates to use to order the datasets for concatenation
No problems are encountered if the time range is specified with one day more: