Skip to content

CORA TS - failed to process query with the filter: "use_specific_dataset" #5

Description

@geofrizz

With the API it's possible to download the metadata for a specific dataset id

e.g.: https://beacon-cora-ts.maris.nl/api/datasets/dataset-metadata/64282

{
"id": 64282,
"name": "datasets/2018/CO_DMQCGL01_20180520_TS_MO.nc",
"tensors": {
"CONFIG_MISSION_NUMBER": {
"name": "CONFIG_MISSION_NUMBER",
"tensor_range": {
...

If you try to download the data with the following query:

  "query_parameters": [
    {
      "column_name": "TEMP",
      "alias": "Temperature [celsius]"
    },
    {
      "column_name": "JULD",
      "alias": "Julian Date"
    },
    {
      "column_name": "DEPH",
      "alias": "Depth [meter]"
    },
    {
      "column_name": "LATITUDE",
      "alias": "Latitude [degrees_north]"
    },
    {
      "column_name": "LONGITUDE",
      "alias": "Longitude [degrees_east]"
    },
    {
      "column_name": "PLATFORM_NUMBER",
      "alias": "PLATFORM_NUMBER"
    }
  ],
  "filters": [
    {
        "use_specific_datasets": [ 64282 ]
    },
  ],
  "output": {
    "format": "netcdf"
  }
}

The result message is:

"Failed to process query: Failed to process query: Memory limit exceeded. Limit: 17179869184."

Probably the filter doesn't work because the original netcdf file from copernicus (CO_DMQCGL01_20180520_TS_MO.nc) is only 270.2 KB and I think that doesn't exceed the limit !! :-)

I used the filter in the wrong manner ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions