Skip to main content

deepcontrail-opencontrails

Converts the raw OpenContrails GOES-16 TFRecords into the DeepContrail dataset format. It is one producer of that format, not part of the library, and it needs TensorFlow.

The TFRecords are in the public Google Cloud Storage bucket goes_contrails_dataset; download an export with the Google Cloud CLI:

gcloud storage cp -r gs://goes_contrails_dataset/20250305 .

The OpenContrails data is published by Google Research under the CC BY 4.0 licence; GOES-16 imagery is courtesy of NOAA. If you use it, cite Ng et al. (2024), "Contrail Detection on GOES-16 ABI With the OpenContrails Dataset", IEEE Transactions on Geoscience and Remote Sensing 62, 1-14.

pip install deepcontrail-opencontrails   # installs TensorFlow and deepcontrail-core
deepcontrail-convert-opencontrails \
    --tfrecord-dir /path/to/20250305/tfrecords --output-dir /path/to/dataset
deepcontrail-validate /path/to/dataset --deep
  • Training shards go to train/, validation shards to test/ (the holdout).
  • Each record is named by its OpenContrails record_id, so a subset of shards (--file-glob) converts to the same names as a full run.
  • Conversion resumes: complete records are skipped (--no-skip-existing rewrites them).
  • spectral_bands/<id>.npy holds 10 channels: 9 infrared ABI bands and their split-window difference. bands.json maps each key to its ABI band (data_10um is band 13, cloud_top band 11). The preview JPEGs use the standard ash RGB.
  • metadata/dataset_info.json records the export and its pixel shift: 20250305 masks are aligned with the images (0.0), 20230419 masks follow the Kaggle convention (0.5).
  • --metadata-only rewrites just the two metadata files of an already converted dataset, without the TFRecords or TensorFlow.

Metadata

Release files for deepcontrail-opencontrails 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deepcontrail-opencontrails 0.3.0
File Size Uploaded Provenance Actions
deepcontrail_opencontrails-0.3.0.tar.gz 16.3 kB With provenance Details for deepcontrail_opencontrails-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for deepcontrail-opencontrails 0.3.0
File Interpreter ABI Platform Actions
deepcontrail_opencontrails-0.3.0-py3-none-any.whl Python 3 none any Details for deepcontrail_opencontrails-0.3.0-py3-none-any.whl

Total release size: 34.3 kB

Release files / deepcontrail_opencontrails-0.3.0.tar.gz

Download URL deepcontrail_opencontrails-0.3.0.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4311b2302641b2818eddd94dc8c4f3378f5263ac375ca36774815af8351e427f
BLAKE2b-256 checksum
How to use checksums
9e432e60638ffa1b26e5c73070f40e59a7de2b3e0c0698e24b6e2a5bbf1ace26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / deepcontrail_opencontrails-0.3.0-py3-none-any.whl

Download URL deepcontrail_opencontrails-0.3.0-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50cb8dea00867d981358689cf0679af7e620e1d5a8994d17f661558487207395
BLAKE2b-256 checksum
How to use checksums
202b148e60ab46d7fa936e2024830a3f640ca8f101171eb57847a3dd101aef4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for deepcontrail-opencontrails 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for deepcontrail_opencontrails-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page