Get a list of Observation objects.

### Available end points:

- `/observations/` - Will list all Results in the database
- `/observations.json` - Will return all Results in json format. This can
also be achieved by using the accept header. `application/json`
- `/observations/<object_id>/` - Returns Results object with that id

### Available Methods:

- `GET`
- `HEAD`

### Available filters:

- `title`
- `uuid`
- `keywords`
- `status`
- `result_field`
- `discoveryKeywords`
- `updateFrequency`
- `nonGeographicFlag`
- `publicationState`
- `permissions`

### How to use filters:

These filters can be used like django query filters using __ for related model relationships.

- `/observations/?uuid=d594d53df2612bbd89c2e0e770b5c1a0`
- `/observations/?status=completed`
- `/observations/?results_field__dataPath__startswith=/neodc/esacci`
- `/observations/?discoveryKeywords__name=ESACCI`
- `/observations/?nonGeographicFlag=True`

Filters can be stacked to build an 'AND' relationship. E.g.

- `/observations/?publicationState__in=published,citable&nonGeographicFlag=True`
- `/observations/?publicationState__in=published,citable&discoveryKeyword__name=NDGO0003`

GET /api/v2/observations/43020/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "ob_id": 43020,
    "uuid": "a66447dd099c4320b67c2a8f9458b27a",
    "title": "Daily model outputs from coupled ocean-biogeochemistry model with passive tracers released from the location of the MV X-Press Pearl accident location 2021.",
    "abstract": "This dataset contains outputs from two sets of simulations from an ocean-biogeochemistry (NEMO v.4.0.4 - ERSEM) model over the Sri Lanka region. In both simulations, the model is forced with ERA5 atmosphere, and a Nucleus for European Modelling of the Ocean (NEMO) dataset (ocean only, 3 year run) as lateral ocean boundary and initial conditions. Passive tracers (urea - organic nitrogen) are released from the region of the MV X-Press Pearl accident (approximately 7.0546N, 79.7589E). Both simulations last three months each. The outputs are stored in daily averaged grid-u, grid-v, grid-w, grid-t, and tracer variable files. For one set of these simulations, 1100T of passive tracers (urea, organic nitrogen compound) are released at different rates - over 1 day, 7 days, and 15 days. The start date of the release is 25/05/2021. These simulation start and end on: 01/05/2021 - 31/07/2021. In the other set of simulations, the release rate is over 1 day, but the date of the release is shifted from the 25th May to 25th of January, 25th February, 25th July, 25th September and 25th October (2021). These simulations start and end respectively on: 01/01/2021 - 31/03/2021; 01/02/2021 - 30/04/2021; 01/07/2021-31/09/2021; 01/09/21 - 30/11/2021; 01/10/2021 - 31/12/2021. The model configuration is named SRIL34. A complementary dataset with the hourly averaged release of tracers is also public. The outputs were generated under the Climate Linked Atlantic Sector Science (CLASS) and the South Asian Nitrogen Hub (SANH; NE/S009019/1) projects.",
    "keywords": "oceans",
    "publicationState": "citable",
    "dataPublishedTime": "2024-05-21T13:44:41",
    "doiPublishedTime": "2024-05-21T13:44:41",
    "updateFrequency": "",
    "status": "completed",
    "result_field": {
        "ob_id": "https://api.catalogue.ceda.ac.uk/api/v2/observations/43019/?format=api",
        "dataPath": "/bodc/pol240042",
        "oldDataPath": [],
        "storageLocation": "internal",
        "storageStatus": "online",
        "volume": 0,
        "numberOfFiles": 0,
        "fileFormat": "NetCDF, text"
    },
    "timePeriod": "https://api.catalogue.ceda.ac.uk/api/v2/times/11804/?format=api",
    "geographicExtent": "https://api.catalogue.ceda.ac.uk/api/v2/bboxes/4567/?format=api",
    "nonGeographicFlag": false,
    "phenomena": [],
    "dataLineage": "The data are archived on the British Oceanographic Data Centre (BODC)'s space at the Centre for Environmental Data Analysis (CEDA) and assigned a DOI. No quality control procedures were applied by BODC.",
    "removedDataTime": null,
    "removedDataReason": "",
    "language": "English",
    "identifier_set": [
        "https://api.catalogue.ceda.ac.uk/api/v2/identifiers/13142/?format=api"
    ],
    "projects": [],
    "observationcollection_set": [],
    "responsiblepartyinfo_set": [
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204395/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204393/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204392/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204391/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204397/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204398/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204399/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204396/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204394/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204400/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204401/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204402/?format=api"
    ],
    "procedureAcquisition": null,
    "procedureCompositeProcess": null,
    "procedureComputation": null,
    "permissions": [],
    "discoveryKeywords": []
}