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

{
    "ob_id": 24807,
    "uuid": "a3614fb00ff74999a5187d3a3767d96d",
    "title": "Soil-atmosphere flux measurements calculated from concentration of methane and nitrous oxide taken from the Pastaza-Marañón foreland basin, Peru",
    "abstract": "The research team collected data on soil-atmosphere exchange of trace gases and environmental variables during four field campaigns (two wet seasons, two dry seasons) the lowland tropical peatland forests of the Pastaza-Marañón foreland basin in Peru. The campaigns took place over a 27 month period, extending from February 2012 to May 2014. \r\n\r\nThis dataset contains measurements from field sampling of soil-atmosphere fluxes concentrated on 4 dominant vegetation types in the lowland tropical peatland forests of the Pastaza-Marañón foreland basin. Vegetation types included; forested vegetation, forested [short pole] vegetation, Mauritia flexuosa-dominated palm swamp, and mixed palm swamp. They were measured at 5 different sites in Peru including; Buena Vista, Miraflores, San Jorge, Quistococha, and Charo.    \r\n\r\nGreenhouse gas (GHG) fluxes were captured from both floodplain systems and nutrient-poor bogs in order to account for underlying differences in biogeochemistry that may arise from variations in hydrology.\r\n\r\nParameters include methane and nitrous oxide fluxes, air/soil temperatures, soil pH, soil electrical conductivity, soil dissolved oxygen content, and water table depth. \r\n\r\nSee documentation and data lineage for data quality. \r\n\r\nThese data were collected in support of the NERC project: Amazonian peatlands - A potentially important but poorly characterised source of atmospheric methane and nitrous oxide (NE/I015469/2)",
    "keywords": "methane, nitrous oxide, peat, tropical peatland,  Pastaza-Marañón foreland basin, Amazonia, Peru",
    "publicationState": "citable",
    "dataPublishedTime": "2017-07-24T16:13:44",
    "doiPublishedTime": "2017-08-25T11:00:23",
    "updateFrequency": "notPlanned",
    "status": "completed",
    "result_field": {
        "ob_id": "https://api.catalogue.ceda.ac.uk/api/v2/observations/24913/?format=api",
        "dataPath": "/badc/deposited2017/peru-peatlands/data/abn-fluxes",
        "oldDataPath": [],
        "storageLocation": "internal",
        "storageStatus": "online",
        "volume": 161215,
        "numberOfFiles": 7,
        "fileFormat": "CSV "
    },
    "timePeriod": "https://api.catalogue.ceda.ac.uk/api/v2/times/6723/?format=api",
    "geographicExtent": "https://api.catalogue.ceda.ac.uk/api/v2/bboxes/1851/?format=api",
    "nonGeographicFlag": false,
    "phenomena": [
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/56169/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/56170/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/56171/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/56172/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/56173/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/56174/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/56175/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/56176/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/56177/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/56178/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/56179/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/56180/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/56181/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/56182/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/56183/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/56184/?format=api"
    ],
    "dataLineage": "Gas samples were collected using a static chamber approach, samples stored in vials (Exetainers), and later analysed using a gas chromatograph with flame ionisation detector for methane detection and an electron capture detector for nitrous oxide quantification. Environmental variables were collected concomitantly, including air temperature, soil temperature, soil pH, soil electrical conductivity, soil dissolved oxygen content, and water table depth. Temperature was determined using a thermocouple; pH, electrical conductivity, and dissolved oxygen using a HACH® rugged outdoor HQ30D multi meter and pH, LDO or EC probe. Water table depth was measured using a depth measure. \r\n\r\nDiffusive gas fluxes were determined by using the JMP IN version 11 (SAS Institute, Inc., Cary, North Carolina, USA) statistical package to plot best-fit lines to the data for headspace concentration against time for individual flux chambers, with fluxes calculated from linear or non-linear regressions depending on the individual concentration trend against time. Gas mixing ratios (ppm) were converted to areal fluxes by using the Ideal Gas Law to solve for the quantity of gas in the headspace (on a mole or mass basis) and normalized by the surface area of each static flux chamber. Ebullition-derived methane fluxes were also quantified in our chambers where evidence of ebullition was found. This evidence consisted of either: (i) rapid, non-linear increases in methane concentration over time; (ii) abrupt, stochastic increases in methane concentration over time; or (iii) an abrupt stochastic increase in methane concentration, followed by a linear decline in concentration. For observations following pattern (i), flux was calculated by fitting a quadratic regression equation to the data (P < 0.05), and methane flux determined from the initial steep rise in CH4 concentration. For data following pattern (ii), the ebullition rate was determined by calculating the total methane production over the course of the bubble event, in-line with prior work conducted by the investigators. Last, for data following pattern (iii), a best-fit line was plotted to the methane concentration data after the bubble event, and a net rate of methane uptake calculated from the gradient of the line. Observations following patterns (i) and (ii) were categorized as “ebullition” (i.e. net efflux) whereas observations following pattern (iii) were categorized as “ebullition-driven methane uptake” (i.e. net influx). \r\n\r\nFlux data were removed (i.e. filtered) from the dataset if: (i) the change in gas concentration over time was not found to be statistically significant (alpha level of 0.05); (ii) evidence were found that an individual static flux chamber was not gas-tight (evidenced by a negative carbon dioxide flux); (iii) evidence were found that two or more Exetainers had been compromised by incomplete evacuation or leakage; or (iv) other evidence that an individual flux chamber had been compromised (e.g. evidence from field observations that the static flux chamber had been disturbed during the measurement process).",
    "removedDataTime": null,
    "removedDataReason": "",
    "language": "English",
    "identifier_set": [
        "https://api.catalogue.ceda.ac.uk/api/v2/identifiers/9328/?format=api"
    ],
    "projects": [
        "https://api.catalogue.ceda.ac.uk/api/v2/projects/24805/?format=api"
    ],
    "observationcollection_set": [
        "https://api.catalogue.ceda.ac.uk/api/v2/observationcollections/24806/?format=api"
    ],
    "responsiblepartyinfo_set": [
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/101560/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/101562/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/101563/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/101564/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/101553/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/101558/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/101559/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/101561/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/101554/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/101555/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/101556/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/101557/?format=api"
    ],
    "procedureAcquisition": "https://api.catalogue.ceda.ac.uk/api/v2/acquisitions/24912/?format=api",
    "procedureCompositeProcess": null,
    "procedureComputation": null,
    "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": [
        {
            "ob_id": 1138,
            "name": "NDGO0003"
        }
    ]
}