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.1

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.1
File Size Uploaded Provenance Actions
deepcontrail_opencontrails-0.3.1.tar.gz 16.3 kB With provenance Details for deepcontrail_opencontrails-0.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 34.3 kB

Release files / deepcontrail_opencontrails-0.3.1.tar.gz

Download URL deepcontrail_opencontrails-0.3.1.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
67cc8267a082ccdd3df8e8dd115c47010b8cd0a0c40b7e33335b40e808931642
BLAKE2b-256 checksum
How to use checksums
cdaa2d9f1d63982aea3488324295efbc6454964d61b86db711a2753bbe6db4ee
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 23, 2026.

Transparency log

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

Download URL deepcontrail_opencontrails-0.3.1-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f96f7ca83dfb58b6d633a166362e3f6201de25920320c11e737ceb1e6034dcb
BLAKE2b-256 checksum
How to use checksums
f70550b24ca3918b81adaea73405427b756e9d6e41e5e4af65c2fe37ba0f56a8
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 23, 2026.

Transparency log

Security for deepcontrail-opencontrails 0.3.1

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.1.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 23, 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