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/43022/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "ob_id": 43022,
    "uuid": "6eb1d162644f484eaff82e2e8f96fc99",
    "title": "Hourly 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). The outputs are stored in monthly files on grid-u, grid-v, grid-w, grid-t, and tracer variables containing hourly averages. For these simulations, 1100T of passive tracers (urea, organic nitrogen compound) are released at different rates - over 1 hour and over 6 hours. The start date of the release is 25th of May 2021. These simulation start and end on: 01/05/2021 - 30/06/2021. A complementary dataset with daily release of tracers is also public.  The model configuration is named SRIL34. 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:46:16",
    "doiPublishedTime": "2024-05-21T13:46:16",
    "updateFrequency": "",
    "status": "completed",
    "result_field": {
        "ob_id": "https://api.catalogue.ceda.ac.uk/api/v2/observations/43021/?format=api",
        "dataPath": "/bodc/pol240043",
        "oldDataPath": [],
        "storageLocation": "internal",
        "storageStatus": "online",
        "volume": 0,
        "numberOfFiles": 0,
        "fileFormat": "NetCDF, text"
    },
    "timePeriod": "https://api.catalogue.ceda.ac.uk/api/v2/times/11805/?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/13143/?format=api"
    ],
    "projects": [],
    "observationcollection_set": [],
    "responsiblepartyinfo_set": [
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204407/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204406/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204405/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204404/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204403/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204409/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204410/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204411/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204408/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204413/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204412/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/204414/?format=api"
    ],
    "procedureAcquisition": null,
    "procedureCompositeProcess": null,
    "procedureComputation": null,
    "permissions": [],
    "discoveryKeywords": []
}