Open rsmith013 opened 4 years ago
CATE Toolbox team wants to have an accurate listing of the variables in a DRS dataset. At the moment, variables are listed at the feature collection level. e.g http://opensearch-test.ceda.ac.uk/opensearch/request?parentIdentifier=cci&startPage=1&maximumRecords=1000&httpAccept=application%2Fgeo%2Bjson&drsId=esacci.SEALEVEL.mon.IND.MSL.multi-sensor.multi-platform.MERGED.2-0.r1
This is linked to a MOLES catalogue record (in the above case https://catalogue.ceda.ac.uk/uuid/3ac333b828b54e3495c7749f5bce2fe3) which in turn is linked to a directory. This directory can contain 0 - N DRS datasets. This example record returns 3 (http://opensearch-test.ceda.ac.uk/opensearch/description.xml?parentIdentifier=cci&startPage=1&maximumRecords=1000&httpAccept=application%2Fgeo%2Bjson&drsId=esacci.SEALEVEL.mon.IND.MSL.multi-sensor.multi-platform.MERGED.2-0.r1 look at drsId parameter near the bottom).
Each DRSId denotes a homogeneous dataset or a collection of files that can be opened with the same variables and can constitute a time-series.
The description document changes based on the search parameters and so it seems like the sensible place to get a description of the dataset.
Therefore the URL to list the variables for this data set would be: http://opensearch-test.ceda.ac.uk/opensearch/description.xml?parentIdentifier=3ac333b828b54e3495c7749f5bce2fe3&drsId=esacci.SEALEVEL.mon.IND.MSL.multi-sensor.multi-platform.MERGED.2-0.r1
Background
CATE Toolbox team wants to have an accurate listing of the variables in a DRS dataset. At the moment, variables are listed at the feature collection level. e.g http://opensearch-test.ceda.ac.uk/opensearch/request?parentIdentifier=cci&startPage=1&maximumRecords=1000&httpAccept=application%2Fgeo%2Bjson&drsId=esacci.SEALEVEL.mon.IND.MSL.multi-sensor.multi-platform.MERGED.2-0.r1
This is linked to a MOLES catalogue record (in the above case https://catalogue.ceda.ac.uk/uuid/3ac333b828b54e3495c7749f5bce2fe3) which in turn is linked to a directory. This directory can contain 0 - N DRS datasets. This example record returns 3 (http://opensearch-test.ceda.ac.uk/opensearch/description.xml?parentIdentifier=cci&startPage=1&maximumRecords=1000&httpAccept=application%2Fgeo%2Bjson&drsId=esacci.SEALEVEL.mon.IND.MSL.multi-sensor.multi-platform.MERGED.2-0.r1 look at drsId parameter near the bottom).
Each DRSId denotes a homogeneous dataset or a collection of files that can be opened with the same variables and can constitute a time-series.
The description document changes based on the search parameters and so it seems like the sensible place to get a description of the dataset.
Therefore the URL to list the variables for this data set would be: http://opensearch-test.ceda.ac.uk/opensearch/description.xml?parentIdentifier=3ac333b828b54e3495c7749f5bce2fe3&drsId=esacci.SEALEVEL.mon.IND.MSL.multi-sensor.multi-platform.MERGED.2-0.r1
The task: