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

Built distribution (wheel)

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

Total release size: 34.1 kB

Release files / deepcontrail_opencontrails-0.1.0.tar.gz

Download URL deepcontrail_opencontrails-0.1.0.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9c3b92788210afe2feefeb85a53fa13ac275a55a50f07cf37c8cb2dad227bf1f
BLAKE2b-256 checksum
How to use checksums
a819649cd92d311bc0beae412ec24f1078ec0d3e1bb8fec7111ff8d65f7dc79f
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 11, 2026.

Transparency log

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

Download URL deepcontrail_opencontrails-0.1.0-py3-none-any.whl
Size 17.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bff6ae5e36ff1d5c46f499be05e4dcd13f41949683ef18b9dba1b7b3564a3350
BLAKE2b-256 checksum
How to use checksums
64f486b7d4e84ab5161b0a5b56c91d4508154f66ce27d7eace12cee11f3c9f4c
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 11, 2026.

Transparency log

Security for deepcontrail-opencontrails 0.1.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.1.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 11, 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