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

{
    "ob_id": 41547,
    "uuid": "300046500aeb4af080337ff86ae8e776",
    "title": "VISION: UKESM1 hourly modelled ozone for comparison to observations",
    "abstract": "Two UK Earth System Model (UKESM1) hindcasts have been performed in support of the Virtual Integration of Satellite and In-situ Observation Networks (VISION) project (NE/Z503393/1).\r\n\r\nData is provided as raw model output in Met Office PP (32-bit) format that can be read by the Iris (https://scitools-iris.readthedocs.io/en/stable/) or cf-python (https://ncas-cms.github.io/cf-python/) libraries.\r\n\r\nThis is global data at N96 L85 resolution (1.875 x 1.25, 85 model levels up to 85km). Simulations were performed on the Monsoon2 High Performance Computer (HPC).\r\n\r\nThe first dataset (Jan 1982 to May 2022) contains hourly ozone concentrations on the lowest model level (20m above the surface).  \r\n\r\nThe second dataset (Jan 2010 to Dec 2020) contains hourly ozone concentrations and hourly Heaviside function on 37 fixed pressure levels. Data is only provided for days in which ozone was measured by the FAAM aircraft (for comparison purposes). \r\n\r\nOzone data is provided in mass mixing ratio (kg species/kg air).",
    "keywords": "UKESM,ozone,hourly",
    "publicationState": "published",
    "dataPublishedTime": "2024-05-02T08:11:05",
    "doiPublishedTime": null,
    "updateFrequency": "notPlanned",
    "status": "pending",
    "result_field": {
        "ob_id": "https://api.catalogue.ceda.ac.uk/api/v2/observations/41615/?format=api",
        "dataPath": "/badc/vision/data/Vision_UKESM1_hourly_ozone",
        "oldDataPath": [],
        "storageLocation": "internal",
        "storageStatus": "online",
        "volume": 132012087023,
        "numberOfFiles": 15234,
        "fileFormat": "pp"
    },
    "timePeriod": "https://api.catalogue.ceda.ac.uk/api/v2/times/11594/?format=api",
    "geographicExtent": "https://api.catalogue.ceda.ac.uk/api/v2/bboxes/4164/?format=api",
    "nonGeographicFlag": false,
    "phenomena": [
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/86139/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/86140/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/86141/?format=api"
    ],
    "dataLineage": "Data were produced using a dynamically-constrained version of UKESM1-StratTrop model deployed at NCAS-CAMBRIDGE and the output archived at CEDA",
    "removedDataTime": null,
    "removedDataReason": "",
    "language": "English",
    "identifier_set": [],
    "projects": [
        "https://api.catalogue.ceda.ac.uk/api/v2/projects/41548/?format=api"
    ],
    "observationcollection_set": [],
    "responsiblepartyinfo_set": [
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/202892/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/202446/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/202447/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/202448/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/202449/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/202450/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/202451/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/202445/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/202452/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/202453/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/202454/?format=api"
    ],
    "procedureAcquisition": null,
    "procedureCompositeProcess": null,
    "procedureComputation": "https://api.catalogue.ceda.ac.uk/api/v2/computations/39993/?format=api",
    "permissions": [
        {
            "ob_id": "https://api.catalogue.ceda.ac.uk/api/v2/observations/2526/?format=api",
            "useLimitation": null,
            "accessConstraints": null,
            "accessCategory": "public",
            "accessRoles": null,
            "label": "public: None group",
            "licenceURL": "http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
            "licenceClassifications": "any"
        }
    ],
    "discoveryKeywords": []
}