-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Using TDS 5.6, I would like to update an existing FeatureCollection's collection spec attribute - where the data's location is defined. I've tried a couple different patterns and failed with various errors.
This is an attempt to update block storage to object storage data locations. The working block storage pattern looks like this:
<collection spec="/cbofs/**/.*nos.cbofs.fields.*\.nc" olderThan="5 min"/>
I have tried updating using the object storage location with the following syntax:
<collection spec="cdms3://object.site.com/datapub-prod?coops/access/cbofs/**/.*nos\.cbofs\.fields.*\.nc#delimiter=/" olderThan="5 min"/>
This does load the catalog and allows me to access the feature collection's landing page:
However, on Selection of the service OpenDAP
I ge tthe following error:
Error {
code = 500;
message = "Cannot read field "proto" because "localState" is null";
};
I have deleted the cache file to attempt to remediate the error, but no luck, the fmrc.log gives me multiple 'FileNotFound' errors:
Caused by: java.util.concurrent.ExecutionException: java.io.FileNotFoundException: cdms3:object.site.com/datapub-prod?coops/access/cbofs/2024/01/nos.cbofs.fields.n005.20240111.t00z.nc#delimiter= (No such file or directory)
However, I these files do exist in the bucket, and I can add them via a datasetScan rather than FeatureCollection.
Any ideas for getting this working?