The endpoints here return linear contrail detections and contrail detection
probabilities.

## Detections

Line segments representing detected contrails.

Detections provide observational contrail detection data only and aren't mapped
to specific flights. However, they can be filtered by time ranges, bounding box
and satellite origins.

It is important to note that data consistency cannot be guaranteed for
detections as detection models may be upgraded or data backfills may occur
between reads.

### Detections format

Detections are in GeoJSON format containing a `FeatureCollection`:

```json
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "LineString",
        "coordinates": [
          [
            90.23562622070312,
            44.00904083251953
          ],
          [
            91.37249755859375,
            43.36760711669922
          ]
        ]
      },
      "properties": {
        "time": "2026-01-27T12:10:00+00:00",
        "satellite_origin": "HIMAWARI-FULL-DISK"
      }
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "LineString",
        "coordinates": [
          [
            100.54035949707031,
            3.5992228984832764
          ],
          [
            100.66291046142578,
            3.370659112930298
          ]
        ]
      },
      "properties": {
        "time": "2026-01-27T12:10:00+00:00",
        "satellite_origin": "HIMAWARI-FULL-DISK"
      }
    },
    ...
  ]
}
```

## Detection Masks

A NetCDF representing contrail detection probabilities.

Detection masks provide observational contrail detection data only and
aren't mapped to specific flights. They can be filtered by time ranges,
bounding box and satellite origins. Optionally, per-pixel scantime offsets can
be included, which measures the delta between satellite image time and the
satellite's actual pixel scan time.

Note that data consistency cannot be guaranteed (for the same
reasons as mentioned earlier in detections).

### Detections masks format

See [examples](https://developers.google.com/contrails/reference/v2/detections/getDetectionsMasks.md.txt#examples).

## Notes

Contrails API satellite imagery is available starting from:

- [NOAA GOES-East data](https://console.cloud.google.com/marketplace/product/noaa-public/goes) Jan 1, 2019--present,
  - Satellites: GOES-19 (post-2025-04-04), previously GOES-16 (pre-2025-04-04)
  - [Operational Status Page](https://www.ospo.noaa.gov/operations/goes/status.html)
- [NOAA GOES-West data](https://console.cloud.google.com/marketplace/product/noaa-public/goes) Jan 1, 2024--present,
  - Satellite: GOES-18
  - [Operational Status Page](https://www.ospo.noaa.gov/operations/goes/status.html)
- [EUMETSAT Meteosat FCI data](https://data.eumetsat.int/product/EO:EUM:DAT:0662) Sep 24, 2024--present, and
  - Satellite: MTG-I1 / MET-12
  - [Operational Status Page](https://uns.eumetsat.int/uns/)
- [JAMSTEC DIAS (Himawari data)](https://console.cloud.google.com/marketplace/product/bigquery-public-data/himawari) Jan 1, 2024--present
  - Satellite: Himawari-9 (with Himawari-8 as in-orbit standby/backup)
  - [Operational Status Page](https://www.data.jma.go.jp/mscweb/en/oper/event_H9.html)

Note that detection coverage may have missing timestamps due to satellite
maintenance or outages - refer to each satellites' status pages for details.

For `GetDetections` and `GetDetectionsMasks`, the satellites use different
regions for binary detection identification:

![Satellite coverage bounding boxes (flat mercator view)](https://developers.google.com/static/contrails/images/detection_bounds.png)

## License

The data exposed by the Detections API is licensed under [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/).