nasa-wildfires
Download wildfire hotspots detected by NASA satellites, from the Fire Information for Resource Management System (FIRMS), as GeoJSON or typed Python records.
A hotspot is a heat spot seen by a satellite. It is not a confirmed wildfire. Industrial flares, gas burning, fires lit on purpose and some false alarms show up too.
Install
uv add nasa-wildfires
Use it from the command line
nasawildfires modis > modis.json
nasawildfires viirs-noaa21 -r alaska -t 48h
nasawildfires hotspots --satellite viirs-noaa --region canada --time-range 7d
The commands are modis, viirs-suomi, viirs-noaa, viirs-noaa21 and hotspots. Regions are global, canada, alaska, usa-hawaii and nine more. Time ranges are 24h, 48h and 7d.
Use it from Python
import nasa_wildfires
data = nasa_wildfires.get_hotspots("viirs-noaa21", region="alaska") # GeoJSON
records = nasa_wildfires.get_hotspot_records("modis", time_range="7d") # typed records
print(records[0].acquired_at, records[0].frp)
get_modis, get_viirs_suomi and get_viirs_noaa still work. The Suomi-NPP satellite has been decommissioned, so get_viirs_suomi and the viirs-suomi command now return no hotspots. Use NOAA-20 or NOAA-21 instead.
Working on the code
This repository's full history is about 19 GB, because the scraped data files were saved to it for years. Copy only the latest version:
git clone --depth 1 https://github.com/datadesk/nasa-wildfires.git
The automated checks do the same, so the version number comes from a tag only on a tagged release.
Things to know
- Detections are not confirmed wildfires. The documentation explains each column, including
confidenceandfrp(fire radiative power, in megawatts). - Downloads retry. A request waits 60 seconds, then tries again on network errors and server errors, and raises
nasa_wildfires.NASAErrorif it still fails. - The data comes from NASA. It is shared under NASA's full and open data policy and is provided "as is". The code is MIT.
- Acknowledge NASA. NASA asks you to include its FIRMS acknowledgement when you share the data. The text is in the documentation.
- AI helped write this package. AI tools assisted in writing its code, tests and documentation. A person directed and reviewed the work.
The documentation has the full field reference, the list of regions and the acknowledgement text.
Links
- Docs: palewi.re/docs/nasa-wildfires/
- Issues: github.com/datadesk/nasa-wildfires/issues
- Packaging: pypi.python.org/pypi/nasa-wildfires
- Testing: github.com/datadesk/nasa-wildfires/actions
Metadata
Release files for nasa-wildfires 2.0.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 |
|---|---|---|---|---|
| nasa_wildfires-2.0.0.tar.gz | 113.5 kB | With provenance | Details for nasa_wildfires-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nasa_wildfires-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for nasa_wildfires-2.0.0-py3-none-any.whl |
Total release size: 127.6 kB
Release files / nasa_wildfires-2.0.0.tar.gz
| Download URL | nasa_wildfires-2.0.0.tar.gz |
|---|---|
| Size | 113.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
892b36ffed85c5c91769cf2d85f596109b2b8262127750db69cb92d7f7ffd254
|
|
BLAKE2b-256 checksum How to use checksums |
c1fea3b4ee426ee7ee70f3dc3af227ce71bf97825425a4f092ee3e84c30d7379
|
| 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 17, 2026.
Transparency logRelease files / nasa_wildfires-2.0.0-py3-none-any.whl
| Download URL | nasa_wildfires-2.0.0-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e9fcd89caeb7c971d488d0df825180d22ae96e66e8949e3cc7417b4a4852493a
|
|
BLAKE2b-256 checksum How to use checksums |
1c058f548d1c5d0a7daec3e251c4bea29d4473489cea768361c60b578dc7ae93
|
| 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 17, 2026.
Transparency logSecurity for nasa-wildfires 2.0.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 nasa_wildfires-2.0.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 17, 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.