Skip to content
marianograzianoPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

Argentina Fire Calendar: 2000–2026 on one scale

Live site (English): https://fibodev.com/armonisat/ (also at https://fibodev.com/armonisat/en/) — Spanish: https://fibodev.com/armonisat/es/ — Slides: https://fibodev.com/armonisat/demo/slides.pdf

web/ is the app in English; web-es/ is the same app in Spanish.

MajorTom team · NASA Space Apps Challenge 2026 · San Luis local event (Argentina) Challenge: Harmonization of MODIS and VIIRS Hot Spots

Is a week of fire in San Luis high, normal or low? Answering needs every week of NASA FIRMS hot spots from 2000 to 2026 on one scale.

What it is

Argentina Fire Calendar is a static web app that puts every week of NASA FIRMS daytime hot spots, from November 2000 to November 2026, on one scale for Argentina and its 24 provinces: VIIRS 375 m, afternoon orbit. MODIS years are converted with a factor k, the ratio of Suomi NPP VIIRS to Aqua MODIS hot spots in 2013–2022, per province and season.

In San Luis the raw record shows daytime hot spots rising from 1,028 a year (Aqua MODIS, 2003–2011) to 2,474 (Suomi NPP VIIRS, 2013–2022), an apparent 2.4-fold increase. On one scale they go from 4,078 to 2,446, down 40 %, and Aqua alone shows the same drop. These are detections: this is not a claim that fire decreased.

What the app does

Choose Argentina or one of its 24 provinces. A calendar of 27 years by 53 weeks colours each week against the usual for that week (2001–2025) or by hot spot count. A province map shows the selected year. Any year from 2000 to 2026 reads week by week against the median and the 10th–90th percentile range of the same week in 2001–2025. The selected region downloads as CSV, whole or for a range of dates, and each chart downloads as SVG.

Two things were added to the live site on 16 November 2026, after the project was submitted, so the submission text does not mention them:

  • Free area. Draw an area on the map and get its weekly calendar and CSV, computed on a 0.1° grid. The factor is still the one of each province.
  • Individual hot spots. One file per province and year (.csv.gz) with every daytime detection the calendar counts.

The source of these two additions is not in this repository yet; web/ and web-es/ hold the app as submitted.

Reading the downloads

  • Weekly CSV: one row per week. hot_spots_viirs_scale is the value the calendar shows; usual_median, usual_p10 and usual_p90 describe the same week of the year in 2001–2025.
  • Hot spot files: one row per detection, with the FIRMS columns (acq_time is UTC, frp is in megawatts) plus factor and weight.
  • To get the calendar's weekly value, add up weight; do not count rows. weight is the conversion factor in the MODIS years, 0.5 when the week is the average of two VIIRS satellites (from 2020), and is scaled up when a satellite delivered fewer than seven days in a week.
  • weight applies to counts only. Do not multiply frp by it.
  • confidence keeps the FIRMS coding of each sensor: a number from 0 to 100 for MODIS (30 or more is kept), a letter for VIIRS (n nominal and h high are kept).
  • Files are cut by ISO year, so the first days of January can sit in the file of the year before.
Challenge asks for Screen NASA data
Hot spots from the early 2000s to today, by region "Fire calendar for {region}" FIRMS MODIS × k before 2012; FIRMS VIIRS since 2012
Periods and years with most activity; this week against the historical median "{region} week by week in {year}"; "Compared with usual" Weekly median, 2001–2025
Sensor of origin made comparable "Can the years before 2012 be trusted?" Aqua MODIS and Suomi NPP VIIRS, 2013–2022
CSV download "Download {region} as CSV"; "Individual hot spots (CSV)" Weekly totals; one file of detections per province and year

Run it

cd web
npm install
npm run dev        # local development
npm run build      # static site in dist/, works from any sub-path
npm run preview    # serve dist/ on http://localhost:4173

No server and no login. Nothing is loaded from third-party hosts at run time: the typeface is bundled. The selection is kept in the address (#San Luis/2026).

Folder contents

  • web/: the app in English (React, Vite, three.js). web/public/data/fire-calendar.json is the data file the app reads.
  • web-es/: the same app in Spanish.
  • scripts/armonizacion.py, scripts/exportar_web.py: the Python code that computes the factors, runs the validation and writes the data file. They read FIRMS downloads that are not part of this folder. Their comments and identifiers are in Spanish.
  • METHOD.md: how the record is harmonized, how it was validated, and the limits.
  • REFERENCES.md: data, code, typeface and other external resources.
  • AI_USE.md: how AI tools were used.
  • LICENSE: licence of the team's own code.

Data

All hot spots come from NASA FIRMS (standard and near-real-time products): MODIS on Terra and Aqua, and VIIRS 375 m on Suomi NPP, NOAA-20 and NOAA-21. Without them there is no calendar: every weekly count and every factor comes from these detections. The role of each product is listed in METHOD.md.

Province boundaries: Instituto Geográfico Nacional, Argentina (CC BY 4.0).

CONAE (Comisión Nacional de Actividades Espaciales, Argentina's space agency): the app compares NASA FIRMS on screen with CONAE's hot spot catalogue. It is a check, not an input.

We acknowledge the use of data and/or imagery from NASA's Fire Information for Resource Management System (FIRMS) (https://earthdata.nasa.gov/firms), part of NASA's Land, Atmosphere Near real-time Capability for Earth observations (LANCE) (https://earthdata.nasa.gov/lance) and NASA's Earth Science Data and Information System (ESDIS).

Validation: each figure with its scale

For each year of 2013–2022, k is computed from the other nine years and converted MODIS has to predict what VIIRS measured.

What is measured Scale Figure
Error with one national factor Weekly, per province, daytime, held-out years 2013–2022, all provinces pooled 27.1 %
Error with the factors of this project Same scale 22.7 % (median province 31.4 %, San Luis 33.1 %)
Two VIIRS sensors of the same design, passing at different times Weekly, 2020–2025 disagree by 18.2 %
San Luis, average error Yearly total, daytime, held-out years 2013–2022 3.7 %
San Luis, average error Monthly totals, same years 19.4 %
San Luis, average error Weekly totals, same years 33.1 %
Converted class matches the VIIRS class Held-out daytime weeks of 2013–2022, all provinces 58 % (25 % by chance)
Converted class within one class Same weeks 94 % (66 % by chance)
Coverage of the uncertainty band, nominally 90 % Held-out daytime weeks, percentiles estimated without the evaluated year 91.4 %
Bias in 2012, a year never used for calibration National +1.2 %

Read a pre-2012 week as high, normal or low, no finer.

Control without conversion: Aqua MODIS flew through both periods. In San Luis, VIIRS-scale detections go from 4,078 a year (2003–2011) to 2,446 (2013–2022), down 40 %, and Aqua alone shows the same drop. The calendar inherits that change; it does not create it.

Limits

Errors are measured on held-out years of 2013–2022. Before 2012 no VIIRS data exist, so the error there cannot be measured.

"Usual" (2001–2025) mixes converted and measured years. Less fire cannot be told apart from a change in detection.

In San Luis the years that rank highest on the converted scale (2003, 2002, 2001, 2009) are all converted MODIS years; 2001 and the first half of 2002 rely on Terra and are low confidence. On held-out years the Terra chain misses weekly totals by 43.7 %, and in the second half of 2002 it falls 11 to 16 % below Aqua.

A hot spot is not a fire and not a burned area: it is a thermal detection in one pixel at the moment the satellite passed. Zero hot spots does not mean no fire. Night detections are left out.

The app is in English and Spanish. It is not an alert system.

Who it is for

Built for whoever must say if a week is unusual: a provincial fire office, the national fire management service. In San Luis, August to October hold 62 % of typical monthly activity. Built for them, not yet tested with them.

Use of AI

Code and text for this site were written with AI assistance (Claude, Anthropic). AI agents were also used to re-compute parts of the validation and to review the texts of this submission, under the team's direction. Details in AI_USE.md.

Licence

The team's own code: see LICENSE. Third-party data, typeface and libraries keep their own licences: see REFERENCES.md.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages