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 totest/(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-existingrewrites them). spectral_bands/<id>.npyholds 10 channels: 9 infrared ABI bands and their split-window difference.bands.jsonmaps each key to its ABI band (data_10umis band 13,cloud_topband 11). The preview JPEGs use the standard ash RGB.metadata/dataset_info.jsonrecords the export and its pixel shift:20250305masks are aligned with the images (0.0),20230419masks follow the Kaggle convention (0.5).--metadata-onlyrewrites just the two metadata files of an already converted dataset, without the TFRecords or TensorFlow.
Metadata
Release files for deepcontrail-opencontrails 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| deepcontrail_opencontrails-0.2.0.tar.gz | 16.3 kB | With provenance | Details for deepcontrail_opencontrails-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deepcontrail_opencontrails-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for deepcontrail_opencontrails-0.2.0-py3-none-any.whl |
Total release size: 34.3 kB
Release files / deepcontrail_opencontrails-0.2.0.tar.gz
| Download URL | deepcontrail_opencontrails-0.2.0.tar.gz |
|---|---|
| Size | 16.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b7a39f1707778259db8463f828276e713ae8b08be5357c8c5a703d6a051d40d
|
|
BLAKE2b-256 checksum How to use checksums |
a41d1343f8d1a7ae7e12744e68fada31d1e3871152469f7bf5c88d08eb5e4a08
|
| 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 13, 2026.
Transparency logRelease files / deepcontrail_opencontrails-0.2.0-py3-none-any.whl
| Download URL | deepcontrail_opencontrails-0.2.0-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a49565d6ab0ec223c8ee5d214691334728dac575b49e0358eea6dc7c13157fbc
|
|
BLAKE2b-256 checksum How to use checksums |
53d5887fd0de0200fd6f389fa91ad58e54055546bcd3989f48d822ca17be4878
|
| 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 13, 2026.
Transparency logSecurity for deepcontrail-opencontrails 0.2.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.
Attestation for deepcontrail_opencontrails-0.2.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 13, 2026.
Transparency logA 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.