heatwave3
Detect marine heatwaves (MHWs) and marine cold-spells (MCSs) directly in gridded NetCDF data, following the Hobday et al. (2016, 2018) definitions.
heatwave3 is the Python interface to the same C++ core as the
heatwave3 R package: climatology,
event detection, categorisation and blob detection run in multi-threaded C++
with direct NetCDF I/O. Function names, arguments and outputs match the R
package, so code translates line for line.
import heatwave3 as hw3
# Climatology + events (+ categories, + daily series) in one call
out = hw3.detect3("sst.nc", "results/run1", ("1982-01-01", "2011-12-31"),
category=True, daily="also", n_threads=4)
events = hw3.hw3_export(out["events"]) # pandas DataFrame
daily = hw3.hw3_export(out["daily"], time_range=("2023-01-01", "2023-12-31"))
hw3.hw3_export(out["events"], file_out="events.parquet") # or .csv
Also available: ts2clm3(), detect_event3(), category3(),
category_daily3(), block_average3(), exceedance3(), detect_blob3()
(spatially connected events), getHW3threads() and setHW3threads(), and,
with pip install heatwave3[plot], the matplotlib plots event_line3(),
plot_metric3(), geom_flame3() and geom_lolli3(). The one
naming difference from R: detect_blob3()'s return argument is return_,
because return is a Python keyword.
With pip install 'heatwave3[zarr]', every function that reads sea surface
temperature or a climatology also accepts a Zarr store, local or remote (a
path or URL ending in .zarr), and every product can also be written as a
Zarr store (hw3_export(file_out="x.zarr"), or zarr_out= on ts2clm3(),
detect_event3() and detect3()). This is the one feature that is Python only:
the R package reads and writes NetCDF, and will gain Zarr once an R Zarr
library supports what heatwave3 needs.
Documentation: https://heatwave3.readthedocs.io
The version is pinned to the R package, meaning both languages have the same functions and outputs.
Metadata
Release files for heatwave3 1.5.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 |
|---|---|---|---|---|
| heatwave3-1.5.0.tar.gz | 118.0 kB | With provenance | Details for heatwave3-1.5.0.tar.gz |
Built distributions (wheels)
Total release size: 38.6 MB
Release files / heatwave3-1.5.0.tar.gz
| Download URL | heatwave3-1.5.0.tar.gz |
|---|---|
| Size | 118.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7bef7b250d1fa83a22fcfa09b0c8afd7c7390727f370387ce04a128c9cccabb
|
|
BLAKE2b-256 checksum How to use checksums |
5381deb7bd4c563a48e0a36c8dc10992eeea0e7b930b7ea8b3405137446de206
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logRelease files / heatwave3-1.5.0-cp314-cp314-manylinux_2_28_x86_64.whl
| Download URL | heatwave3-1.5.0-cp314-cp314-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.7 MB |
| Tags | CPython 3.14 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
e030ca1ecee64a4a585f5563d81b12ab0ebfe1a1477d20f4cef7cbbbab257bac
|
|
BLAKE2b-256 checksum How to use checksums |
4e15ccc237fcd77bd0634ed139d8908df16aee918cbbda5cbe009eaa80f30790
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logRelease files / heatwave3-1.5.0-cp314-cp314-manylinux_2_28_aarch64.whl
| Download URL | heatwave3-1.5.0-cp314-cp314-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.7 MB |
| Tags | CPython 3.14 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
c50e78febd800289f3bfe9c895b3e98d5dea609952afbed36cf91bed331adbb6
|
|
BLAKE2b-256 checksum How to use checksums |
3b731408d6e28e2beb4ed2abcdc39683f2e6132d698c1f8bbfbdddb9e13d0a43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logRelease files / heatwave3-1.5.0-cp314-cp314-macosx_11_0_x86_64.whl
| Download URL | heatwave3-1.5.0-cp314-cp314-macosx_11_0_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.14 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
95e1c85f262e39c4ac0622d753db08900b3fed089ce42c38c4430b2d9b68470d
|
|
BLAKE2b-256 checksum How to use checksums |
c339a9ca50f0d461c9c90221949185ec3c31512db4d951e76b331e5fc5e72edb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logRelease files / heatwave3-1.5.0-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | heatwave3-1.5.0-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ba406a26a78c9b4e279a889e442b684a95c8d4e48a5a685f7c3b289627112d0c
|
|
BLAKE2b-256 checksum How to use checksums |
f7e47938ca4bb05cdb7a0377d35d1e07fcd8220f4668b5f725ece20cef51897c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logRelease files / heatwave3-1.5.0-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | heatwave3-1.5.0-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.7 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
6ae01cfa38062f34cd8f360397d8e5416bfe08aa01faa87d0bba4141b862cd88
|
|
BLAKE2b-256 checksum How to use checksums |
839b4f121078de30cad2caed9a227be52373181c884674d662d8b3df530775b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logRelease files / heatwave3-1.5.0-cp313-cp313-manylinux_2_28_aarch64.whl
| Download URL | heatwave3-1.5.0-cp313-cp313-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.7 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
484ca487b8e99eda416e84f6cb94c2314ab875ea4acda14595a6089b1afbb91a
|
|
BLAKE2b-256 checksum How to use checksums |
366d64455ccffeda2f47906a9fd0ccb8ccda5c20a42cb06a20888dd8ebd3da8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logRelease files / heatwave3-1.5.0-cp313-cp313-macosx_11_0_x86_64.whl
| Download URL | heatwave3-1.5.0-cp313-cp313-macosx_11_0_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.13 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
c87b4038d18638e1b22ad3db4b8001c0269f0233acba89d8feffbe9d8db8ac7f
|
|
BLAKE2b-256 checksum How to use checksums |
0cddb22fa5ff5158af6363aa255b3c0953af58dae3324ae67371447d5146b3d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logRelease files / heatwave3-1.5.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | heatwave3-1.5.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4e855e4f43a0671e8c1eb16ff4517563cba955fc96b110ecde03ed3a5fa196c9
|
|
BLAKE2b-256 checksum How to use checksums |
ef5882524b68e0363b8739d480afc4aa2908440242f778c31a396da8897ca4bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logRelease files / heatwave3-1.5.0-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | heatwave3-1.5.0-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.7 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
ea550e89c982a64449b5192cdd46ab94502190f2574d2a1c982adebb67413470
|
|
BLAKE2b-256 checksum How to use checksums |
753888762e750771b87a4794cdb31106fee19eb1faaba3a735d2bb424b5ccefb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logRelease files / heatwave3-1.5.0-cp312-cp312-manylinux_2_28_aarch64.whl
| Download URL | heatwave3-1.5.0-cp312-cp312-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.7 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
3819c6e6f350f97216bc961a28332d336bea674f712639d89bae0b26c3976022
|
|
BLAKE2b-256 checksum How to use checksums |
59c21333a09a241f696806e73a5e188d809f41eab5894f628991e502fb5c3119
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logRelease files / heatwave3-1.5.0-cp312-cp312-macosx_11_0_x86_64.whl
| Download URL | heatwave3-1.5.0-cp312-cp312-macosx_11_0_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.12 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
5508336e60c28f4860aa3444e92fbf64808dcfaa895f3e49a8c5b8500ec1908e
|
|
BLAKE2b-256 checksum How to use checksums |
ccbf21a35ecf3f30b4ef030588ed44af3f8bb14ef440c9934c0a0c2ca9553845
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logRelease files / heatwave3-1.5.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | heatwave3-1.5.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ed7c0d952deb7424f72183655fbe9e6b2960f03f59a466470d5a308e68bb4719
|
|
BLAKE2b-256 checksum How to use checksums |
f71daccb99575f175b0ca1c7b4edaa649bf80bcdb8b1e6316a20423079cbca11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logRelease files / heatwave3-1.5.0-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | heatwave3-1.5.0-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.7 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
a878739d42bd4f9c57972058476f457955f86483d8c8eb9a32b057ea1fef3e1a
|
|
BLAKE2b-256 checksum How to use checksums |
f5c7198c03ce264640b5caa7cb90c7596280db15a67c5979581e8a4fc953f3ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logRelease files / heatwave3-1.5.0-cp311-cp311-manylinux_2_28_aarch64.whl
| Download URL | heatwave3-1.5.0-cp311-cp311-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.7 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
17cf4e4c3538bd7353e5f92ce61608ab3611ada6280636f46063056307a5eab3
|
|
BLAKE2b-256 checksum How to use checksums |
bf9f24f2020a955962ad63d97b640b37ced15d8fab8084e70ef60a9f8f5c20ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logRelease files / heatwave3-1.5.0-cp311-cp311-macosx_11_0_x86_64.whl
| Download URL | heatwave3-1.5.0-cp311-cp311-macosx_11_0_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.11 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
5fd74a62da6de6423e0dc87b866dd260bdca34038a94279c156066513e45f11d
|
|
BLAKE2b-256 checksum How to use checksums |
911046ac9e8b32b39cc07d6e0618ed43cc3ad30af9a26c16dd40062f58ab4559
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logRelease files / heatwave3-1.5.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | heatwave3-1.5.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3be49a7a307e89be4723ba6dfe0cdfd9a44dc4c9a62e442eeb84d28ae9c696fa
|
|
BLAKE2b-256 checksum How to use checksums |
c2c9eaa0f64387192928650e0084611f88c7494bb6575601eb50b02179286d9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 2, 2026.
Transparency logSecurity for heatwave3 1.5.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
All 17 files in this release have been uploaded with provenance metadata.
Attestation for heatwave3-1.5.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 2, 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.