Build an AERMOD-ready meteorological data set for any active US ASOS station from a single R Shiny app. Pick a station and a 1–5 year window; the app runs AERSURFACE and AERMET/AERMINUTE end to end and drops the results into a clean folder with a completeness report and a zip.
It is designed to be cloned and run locally by any state's air-modeling program — no pre-staged land cover, no manual control files.
For the station and years you choose, the app automatically:
- Resolves the station — surface id (USAF-WBAN) and GHCNh id from the NCEI ISD-history list, and pairs it with the nearest active IGRA radiosonde site for upper air.
- Runs AERSURFACE — fetches NLCD land cover, impervious, and tree-canopy for the site on demand from the MRLC Web Coverage Service (no bundled land cover), derives airport (AP) vs non-airport (NONAP) sectors from real runway geometry, writes a control file with latitude-based season defaults, and runs AERSURFACE 26135.
- Gathers the met data — GHCNh hourly surface (
.psv), 1-minute & 5-minute ASOS winds (for AERMINUTE), and IGRA upper-air soundings. - Runs AERMET — builds the Stage 1 and Stage 2 control files and runs AERMINUTE + AERMET 26135.
- Packages the output — the AERMOD-ready
.sfc/.pfl, a data-completeness report, and a zip, in a per-run folder.
The heavy lifting reuses the tested MDEQ AERMET/AERMINUTE engine unchanged; only the station resolution, the on-demand AERSURFACE step and the per-station AERMET settings (UTC offset, anemometer height) are added on top.
The bundled processing engine is the current EPA release — posted to SCRAM on 07-09-2026, re-verified as still current on 2026-07-26:
| Component | Version | Notes |
|---|---|---|
| AERMET | 26135 | latest EPA build |
| AERMINUTE | 26135 | latest EPA build |
| AERSURFACE | 26135 | latest EPA build |
| NLCD (land cover) | 2021 | CONUS release used by AERSURFACE |
| R | 4.1+ | required |
EPA stamps the AERMOD suite with a Julian build number YYDDD, so 26135 is the
2026 build, day 135 — posted to EPA SCRAM on 07-09-2026. The app also shows these
versions live at the top of its window and in the run footer, and both AERMET's and
AERSURFACE's versions are re-checked from their own output headers during the QA pass,
so a mismatched binary is caught rather than assumed.
Re-verified against EPA SCRAM on 2026-07-26 — 26135 is still the current release for all three tools; no update needed.
When EPA posts a newer build, update it in place: replace the executables in bin/
(keeping the same file names) and bump ENGINE_VERSION / ENGINE_ASOF in app.R.
Authoritative downloads on EPA SCRAM:
- AERMET and AERMINUTE — https://www.epa.gov/scram/meteorological-processors-and-accessory-programs
- AERSURFACE (listed under related model support programs, not the met page) — https://www.epa.gov/scram/air-quality-dispersion-modeling-related-model-support-programs
- R (4.1+). Install packages once:
Rscript install_deps.R # shiny, leaflet, httr, readr, dplyr, stringr, terra
- Internet — NCEI (GHCNh/ASOS/IGRA/ISD), MRLC (NLCD).
- The bundled binaries in
bin/— public-domain EPA AERMET / AERMINUTE / AERSURFACE v26135, shipped so the tool is clone-and-run (see Platform support).
The R code and all data sources are cross-platform; the only OS-specific piece is the three EPA executables. The app auto-selects the right build:
| OS | Binaries used | Status |
|---|---|---|
| Windows | bin/<tool>_26135.exe (official EPA v26135) |
✅ works out of the box |
| macOS (Apple silicon) | bin/<tool>_26135_mac |
✅ works out of the box* |
| Linux | bin/<tool>_26135_linux |
- Windows: everything needed is bundled — clone and run.
- *macOS: since v1.5 the Mac builds are native Apple silicon (arm64),
compiled from EPA's 26135 source and statically linked, so nothing needs
installing (
otool -Llists only macOS's ownlibSystem). They do not run on an Intel Mac. There, compile AERMET, AERMINUTE and AERSURFACE from EPA source (EPA'sgfortran-*.batorder, plus-static-libgfortran -static-libgcc -static-libquadmath) and replace the three_macfiles. The v1.4 Intel builds needed an Intel Homebrew GCC under/usr/localand failed on Apple silicon without it. - *macOS Gatekeeper: the Mac builds are unsigned, so the first run may be
blocked. Clear the quarantine flag once:
xattr -dr com.apple.quarantine bin/(or right-click each binary → Open). - Linux: EPA does not distribute Linux binaries, so compile AERMET, AERMINUTE
and AERSURFACE v26135 from EPA source with
gfortranand place them inbin/asaermet_26135_linux,aerminute_26135_linux,aersurface_26135_linux. The app looks for exactly those names and prints a reminder if they're missing. (Linux also needs system GDAL/PROJ for theterrapackage — seeinstall_deps.R.)
You need git and R 4.1+ (RStudio optional but recommended).
1. Clone the repository (in a terminal / macOS Terminal / Windows Git Bash or PowerShell):
git clone https://github.com/Cuevman81/aermet-runner.git
cd aermet-runnerNo git? On the GitHub page use Code ▸ Download ZIP, unzip it, and open the folder — everything below is the same.
2. Install the R packages (one time). From a terminal in the repo folder:
Rscript install_deps.R # shiny, leaflet, httr, readr, dplyr, stringr, terraor from an R / RStudio console with that folder as the working directory:
source("install_deps.R")The bundled EPA binaries in bin/ are already included by the clone — nothing else
to download on Windows. See Platform support for the macOS GCC runtime and
Gatekeeper steps and the Linux note.
Open the project in RStudio (open app.R, or File ▸ Open Project if you make
one) and click Run App — or, from an R console with the repo folder as the
working directory:
shiny::runApp()Then pick a state → station (map or dropdown) → year range → options → Build met data.
Two AERMET options can be left blank:
- UTC offset (h) — GHCNh and IGRA are in UTC, and AERMET needs the station's offset to local standard time (5 Eastern, 6 Central, 7 Mountain, 8 Pacific). Blank = read it from the station's own 1-minute ASOS file, or from its state when the state lies in one time zone. In a split state (FL, ID, IN, KS, KY, MI, ND, NE, NV, OR, SD, TN, TX) with no 1-minute data the run stops and asks for it.
- Anemometer height (m) — blank = 10 m. ASOS anemometers are typically 10.1 m or 7.9 m; AERMET's guide says to look up the station's actual height.
Both apply to the selected station only, not to the Also process list.
Multiple stations: pick one station, then list additional ICAOs in the
"Also process" box (comma-separated, e.g. KGPT, KMEI, KTUP). The app runs
each in turn and writes a separate output folder per station.
You can also run it headless:
APP_ROOT <- normalizePath(".")
source(file.path(APP_ROOT, "backend", "bootstrap.R"))
res <- run_full_pipeline("KJAN", 2020, 2024, output_root = "runs")
# optional: met_opts = list(tadjust = 5, anem_height = 7.9)runs/
<ICAO>_<y1>_<y2>/
<ICAO>/ # AERMET working + output files (.sfc, .pfl, report, zip)
aersurface/ # NLCD clips, control file, AERSURFACE outputs
cache/ # station lists, precip records, per-site NLCD (reused)
Re-running a station is cheap — the app only redoes what actually changed:
- Met data (GHCNh hourly, 1-min/5-min ASOS, IGRA upper air) is written to the run folder and reused as-is on any later run of the same station/years — it is never re-downloaded.
- NLCD land cover is cached per site, so it is fetched from MRLC once and reused for other year windows and for every AERSURFACE re-run.
- AERSURFACE records the settings it ran with. If you re-run with the same
options it is skipped entirely (the
.sfcis reused); if you change an option that affects it — e.g. flip Surface moisture from Auto/Wet to Dry — it re-runs using the cached NLCD (no re-download) and AERMET rebuilds from the new surface characteristics.
So a typical "same site, try Dry instead" re-run does no network downloads at all: it just re-runs AERSURFACE on the cached land cover and rebuilds AERMET.
Every run ends with an automatic QA pass so you can see the processed data is sound before you use it. The app shows a PASS / WARN / FAIL badge per station and an expandable checklist (auto-expanded when it isn't a clean PASS):
- AERSURFACE — finished cleanly (no interactive-prompt hang), version 26135, and a complete, physically plausible surface-characteristics table (12 monthly rows per sector, reported in the file's own column order — albedo, Bowen ratio, surface roughness z0 — each range-checked), plus the AP/NONAP sectors used.
- AERMET — engine version 26135, every Stage-2 run finished successfully
(regular + ADJ_U*), zero error messages in the
.RP2summaries, all.sfc/.pfloutput files present, non-empty and stamped with the right year, and confirmation that upper-air and surface observations were actually ingested. - 1-minute ASOS winds actually used — that the AERMINUTE record was accepted rather than silently rejected. AERMET discards the whole 1-minute dataset if the WBAN in the AERMINUTE header does not string-match the surface WBAN, and reports it only as a warning, so the run still "succeeds" while quietly falling back to standard hourly winds. That fallback inflates calm hours severely, so this is a FAIL, not a warning.
- Data completeness — each year's annual and per-quarter percentages against
the EPA 90%-per-quarter target (a quarter below 90% is a WARN, i.e. a data-
availability note, not a processing error), plus a check that the
.sfcactually carries every calendar hour of the year. That second check matters because the percentages are computed over the records present in the file, so a block of hours the engine never wrote would otherwise not show up as missing.
The same checklist is written to <ICAO>_QA_SUMMARY.txt and folded into the
delivered zip. Meaning of the states: PASS = check met; WARN = review
(usually data availability); FAIL = do not use until resolved.
If you built met data with a version before v1.2, check your station's WBAN. Any station whose 5-digit WBAN starts with a zero (e.g. KJAN 03940, KTVR 03996) had its 1-minute ASOS winds silently discarded — the run reported success but fell back to standard hourly winds, which inflates calm hours several-fold. Re-run those stations; the QA panel now fails the build if it happens. Stations whose WBAN has no leading zero were never affected.
A full audit of the data flow — station resolution, NLCD fetch, AERSURFACE, AERMET,
QA and the report outputs — produced these fixes. If you generated datasets with an
earlier build, the AERMOD-ready .sfc / .pfl files themselves are unaffected;
only the QA panel and the two report documents were wrong.
-
QA panel reported albedo as roughness and vice-versa. AERSURFACE writes
SITE_CHAR <month> <sector> <albedo> <Bowen> <z0>; the panel had the first and last labels swapped. Values were always correct in the.sfc— only the QA label was misleading. Fixed inbackend/qa.R. -
Verification report printed
Errors: NA | Warnings: NAandT subs: NA. The engine's.RP2parser anchored on a line ending in digits, but AERMET writesERROR MESSAGES 0 MESSAGES; its planetary-boundary-layer scan also stopped one line short of the temperature-substitution count. Both now report real numbers. -
Met report PDF double-counted 1 January. Each yearly
.sfcdeliberately ends with the 24 hours of 1 January of the following year (this matches EPA/MDEQ production output and is not changed). The report stacked the yearly files without de-duplicating, so every year after the first counted that day twice — KBHM 2024 showed 8802 "valid hrs" against a 8784-hour year. Now de-duplicated. -
Batch runs leaked the sectors override. A manual sectors entry describes one airport's geometry, but it was being applied to every station in an Also process batch. It now applies only to the selected station; the others auto-derive.
-
Auto surface moisture could be dragged toward DRY by a year with an incomplete precipitation record (a short year totals low for a reporting reason, not a climatic one). Incomplete years are excluded from the period mean and named in the run log.
-
1-minute ASOS winds could be silently discarded. AERMINUTE writes the station WBAN space-padded in its hour-file header (
WBAN: 3940), but AERMET carries it zero-padded (03940) and compares the two as strings. For any station whose WBAN has a leading zero, AERMET rejected the entire 1-minute wind record with a warning — so the run still reported success while falling back to standard hourly winds. The effect is large: reprocessing one affected station-year took it from 0 to 8784 one-minute hours and from 1888 calm hours down to 106. The header is now zero-padded automatically after AERMINUTE runs, and QA fails the run if the 1-minute data was not ingested.
The second and third corrections live in backend/engine_fixes.R, which wraps the
bundled engine rather than editing it. The WBAN fix and the RP2/de-duplication
fixes were also applied upstream in the MDEQ production AERMET.R on 2026-07-26
and backend/engine.R re-synced from it, so the two stay byte-identical; the
wrappers remain as idempotent guards against an un-patched re-sync.
Important
This one does change the .sfc files. Datasets built before v1.3 can contain
observations NCEI flagged as suspect or erroneous. Re-run affected stations.
AERMET reads the NCEI GHCNh .psv as delivered and does not act on the
per-element quality codes NCEI attaches to every observation, so flagged values
reach the .sfc verbatim. At KMEI that put 50 hours of exactly 30.16 m/s into
April–May 2025 — all of them qc=2 ("suspect") on 3-hourly FM12 SYNOP reports —
and KTUP 2025 carried 25 more. Across an 18-station, 5-year Mississippi dataset it
was 78 hours out of 789,264 (0.010%), which is negligible for modelled
concentrations but indefensible in a file a reviewer will open.
Three screens now run before AERMET sees the data. All only ever blank a value, so the element becomes missing and AERMET falls back to AERMINUTE or its own substitution logic — no record is dropped and no value is altered or invented:
- Quality codes. ISD/GHCNh codes 2 and 6 (suspect) and 3 and 7 (erroneous)
are rejected; 0/1/4/5/9 and blank pass. Applied to every element that carries a
*_Quality_Codecolumn. - Wind-speed cross-check. NCEI carries the verbatim METAR/SPECI text in the
REMfield, so the decodedwind_speedcan be checked against the report it came from. KMEI 2025-05-01 19:55Z and 19:58Z both decode to 54.1 m/s from a METAR that plainly reads25010KT(5.1 m/s) — and NCEI flags one of themqc=5, "passed all checks". The quality codes cannot catch that; the cross-check can. Wind direction was checked the same way across 821,424 METAR groups with zero disagreement, so this screen checks only speed. - Short SYNOPs (v1.4). Some ASOS sites also send short FM-12 SYNOPs that leave
out the wind group, and NCEI's decoder then reads the next group (the report's
time, pressure, temperature or weather group) as the wind and its first digit as
the total sky cover. Many of these values pass NCEI's quality codes. The screen
recognises the pattern in the report text in
REMand blanks the wind direction, wind speed, sky cover and ceiling decoded from it. On the 18 Mississippi stations 2021–2025 it matched 110 reports (KJAN 4, KMEI 55, KMOB 6, KTUP 45). It changes the.sfcwherever it fires, Central-time stations included.
Every rejection is itemised in <STATION>_GHCNh_<y1>_<y2>_qc_log.txt beside the
data — timestamp, element, rejected value and quality code — so the edit is fully
auditable. The log is append-safe: re-running over an already-screened file rejects
nothing and leaves the existing log intact rather than overwriting it with zeroes;
a pass that does blank something new (e.g. screen 3 on a file screened before it
existed) is appended to the log.
The QA panel confirms the screen ran and flags any implausible value that survived
into the delivered files.
Both deliverables were rewritten around what a consulting modeller actually needs to defend the data, not just what the pipeline happened to compute:
- Station and provenance — latitude/longitude, elevation, ICAO/WBAN/USAF, GHCNh station ID, and the wind (10 m) and temperature (2 m) reference heights, none of which appeared anywhere before. Plus the upper-air station with its own coordinates and its great-circle distance and bearing from the surface site.
- Full AERSURFACE table — the monthly × sector albedo, Bowen ratio and roughness actually applied, alongside the run settings (NLCD version, ZORAD radius, sector bearings, moisture, snow, arid, high-z0 sectors). Previously summarised as a single "z0 range" line.
- Data-quality screening page — what the GHCNh screen removed, and a physical
plausibility sweep of the delivered
.sfc(max wind, temperature extremes, counts outside bounds) reported per year whether or not anything is found. - Calms and missing hours — counted explicitly, with a note that AERMOD excludes both from the averaging period.
- File guidance — what
.sfcand.pfleach carry, the regular vsUS(ADJ_U*) distinction and the warning not to mix them, and a note on the 24 hours of 1 January of the following year at the end of each file (see Using the yearly files in AERMOD below). - Monthly completeness heatmap reframed. The EPA criterion is quarterly, so the monthly grid now shows quarter boundaries and the quarterly figures alongside it, labelled as diagnostic. It answers "which month cost me that quarter?" — for example a quarter passing at 90.3% where one month sits at 81% — without implying a monthly standard that does not exist.
- Verification report now opens with an overall verdict that keeps processing (AERMET errors, non-physical values: PASS / REVIEW) separate from data completeness (quarters meeting the EPA criterion: PASS / SEE NOTE), and closes with per-file MD5 checksums and hour counts.
Since v1.5 each yearly .sfc/.pfl holds calendar-year records only, so
yearly files can be joined end to end into one multi-year file and run without
STARTEND. Stage 2 still runs XDATES y/01/01 TO y+1/01/01 so that AERMET can
fill a missing temperature or cloud cover late on 31 December from the next
day's observation; the trailing day is trimmed off afterwards.
Files made with v1.4 or earlier (and MDEQ packages published before October 2026)
end with the 24 hours of 1 January of the following year. AERMOD does not skip
those hours on its own: "when the STARTEND keyword is omitted ... the default for
the model is to read the entire meteorological data file" (AERMOD User's Guide
26135, §3.5.4). For those files, set ME STARTEND y 1 1 y 12 31 for a single year,
and drop the last 24 records of each year before concatenating; otherwise AERMOD
stops with MX E450 ... Record Out of Sequence.
The final year of a window also has no observations after 23:59 UTC on 31 December (the GHCNh by-year files are UTC years), so its last evening in local time (hours 19-24 in Central time) is written as missing.
Important
If you built met data for a station outside US Central time with v1.3 or earlier, re-run it. Stations on Central time (all of Mississippi, and every MDEQ dataset) already had the right offset; for them the Stage 1 control files are byte-identical to v1.3.
- Time zone. Every station was processed as if it were on US Central time:
the UTC-to-local-standard-time offset AERMET needs for GHCNh surface and IGRA
upper-air data (
tadjuston the Stage 1LOCATIONlines) was always 6. For an Eastern station every temperature, cloud and sounding landed an hour early against the 1-minute winds, which are already in local time; Pacific stations were two hours off. The offset now comes from the station's own 1-minute ASOS file (its local-standard and UTC time columns), else its state, else you are asked — and bothLOCATIONlines use the surface station's value, because AERMET computes the site's sunrise from the upper-air line's offset. It is shown in the run log, the QA panel, the verification report and the dataset README. - Continuous snow. Ticking Continuous winter snow wrote an invalid
AERSURFACE season keyword (
WINTERSN; the keyword isWINTERWS), so AERSURFACE aborted. It now works. The "auto-on above ~45°N" default never took effect in the app and is gone (see AERSURFACE options). - 1-minute winds. Whether a station got AERMINUTE at all was decided by a single download of January of the first year; if that one month was missing or slow, every year fell back to hourly winds, with no QA row. The app now checks every month of the window, stops if NCEI can't be reached, and QA warns whenever AERMINUTE did not run.
- Reports. The verification report and PDF now find the AERSURFACE file (and print its monthly table and version), and name the upper-air station the run actually used; they used to show MDEQ's own pairing (e.g. Jackson for Tupelo, where the app uses Birmingham), or no upper-air block at all.
- Anemometer height can be entered (was fixed at 10 m), and the reports say whether it was entered or defaulted.
- Auto surface moisture now says when it had to default to Average and why, and reports the real record length instead of always "30-yr".
- Dataset README now names the tool and the run's settings; it used to give MDEQ and a personal contact for every dataset, whoever produced it.
- Station list leaves out Alaska, Hawaii, Puerto Rico and the Virgin Islands, which could be selected but could not complete (NLCD is fetched for the contiguous US only). Start year is 2010 or later, because AERMINUTE is run with a fixed ice-free-wind date that is only safe after 2009.
- Station metadata is parsed once per run instead of five or six times (about two minutes saved per station).
- Calendar-year files. The 24 records of 1 January of the following year are
trimmed off each yearly
.sfc/.pflafter AERMET finishes (see Using the yearly files in AERMOD). The trimmed records are byte-identical to what AERMET wrote. Ending Stage 2'sXDATESon 31 December instead looks equivalent but is not: AERMET then cannot substitute a missing value late on 31 December from the next day, and an hour that was filled becomes missing (seen at KPIB 2024). - Completeness is counted the way AERMOD counts it. An hour used to count as
missing only when wind speed, direction or temperature was missing. AERMOD 26135
(
metext.f:CHKCLM, thenCHKMSG) also loses every hour without a usable L, convective mixing height (on convective hours), mechanical mixing height, u* or w*, and never counts a calm as missing. The verification report, the PDF's quarterly table and its monthly heatmap now use AERMOD's rule. The rule was checked against AERMOD itself on all 360 station-quarters of MDEQ's 2021-2025 set, and agrees on every one. On that set it moved 15 quarters below 90%; the usual cause is a missing morning sounding (no convective mixing height that day). - Mac binaries are native Apple silicon builds (see Platform support).
- Screen 3 now also blanks the SYNOP text (
REM). Blanking the decoded sky value was not enough: when a report's sky fields are empty, AERMET 26135's GHCNh reader falls back to the raw report inREMand reads the first digit of a SYNOP's third group as total cloud, which is the very group NCEI misread. The original text is kept in the QC log. A file screened by v1.4 is completed on the next pass. - Screen 3 removes a rejected element whole: value, measurement code, quality
code, report type and source. AERMET 26135 takes a wind direction whose value is
missing but whose measurement code is
Cas calm, so the bogus calm that a short SYNOP's705//group produced (KMEI 2025-03-27 15Z) survived blanking the values alone. - Screen 3 is now also in MDEQ's production
AERMET.R;backend/engine.Ris again a verbatim copy of it.
The app exposes the site-dependent AERSURFACE inputs, defaulted sensibly:
- Surface moisture — Auto (from rainfall) by default, or Average / Dry / Wet. Auto follows EPA guidance: it pulls the site's own GHCN-Daily annual precipitation, builds a 30-year climatology, and classifies the modeled period — wettest 30% → wet, driest 30% → dry, middle 40% → average. The per-year totals and thresholds are printed to the run log so the basis is transparent. A record shorter than 30 years is used if that is all there is, but the log and the QA panel say how many years it had; if the record can't be read at all, or has fewer than 10 complete years, the value is defaulted to Average and QA shows a warning — set it by hand in that case.
- Continuous winter snow — off by default. Tick it only if the site had continuous snow cover, which AERSURFACE defines as ground snow-covered more than 50% of the month. It is a property of the site's record, not of latitude (Seattle and Portland are north of 45°N and rarely keep snow on the ground). It can't be combined with Arid climate; AERSURFACE rejects that pair.
- Arid climate — off by default.
- Airport site — on by default (ASOS stations are at airports).
Season month assignments are chosen by latitude. These defaults follow AERSURFACE guidance but reflect regional judgment — review them for your site if it sits near a climate boundary.
Rather than treating the whole domain as an airport, the tool derives the
airport designation per wind direction from real runway geometry
(bundled OurAirports data): it builds the airfield footprint (buffered convex
hull of the runway endpoints) around the ASOS tower and marks each 10° wedge
AP if enough of it overlaps the airfield within the 1 km roughness radius,
else NONAP. Inland fields come out all-AP (e.g. Jackson 0-360 AP); coastal
or partial fields split (e.g. Gulfport ≈ 300-150 AP / 150-300 NONAP, with the
over-water directions NONAP). The station's coordinate precision matters here
— the tool uses the NCEI ISD-history location; if it looks off for your site,
use the Sectors override box (start end type; …, e.g.
300 150 AP; 150 300 NONAP) to set them explicitly.
Land cover is pulled per-site (a 30 km box) from the MRLC WCS as ~1 MB GeoTIFF clips, then normalized so AERSURFACE can read them. Two things must be corrected in that normalization (handled automatically): MRLC returns tiled GeoTIFFs (AERSURFACE needs stripped), and it flags NoData=0 on impervious/canopy (where 0% is a valid value, so those zeros are restored). With that, the output surface characteristics match the regional-tile workflow byte-for-byte.
| Data | Source |
|---|---|
| Surface station metadata | NCEI isd-history.csv |
| Surface obs (hourly) | NCEI GHCNh |
| Winds (1-min/5-min) | NCEI ASOS → AERMINUTE |
| Upper air | NCEI IGRA2 |
| Land cover / impervious / canopy | MRLC NLCD (WCS) |
| Processing engine | EPA AERMET / AERMINUTE / AERSURFACE 26135 |
- A run downloads a few hundred MB (about 500 MB for a 5-year window, mostly the 1-minute ASOS winds and the IGRA period-of-record) and takes several minutes; the app is single-user and processes synchronously.
- Upper-air pairing uses the nearest active IGRA site — in radiosonde-sparse regions that can be a few hundred km; confirm it suits your application.
- Check upper-air availability for your window. Pairing picks the nearest site that is still active; it does not verify that site flew soundings across every year you asked for. Individual NWS sites do suspend launches for months at a time, and a gap shows up in the QA panel as a low upper-air observation count rather than as an error. If you see one, either substitute a nearby sounding site or use AERMET 26135's secondary upper-air substitution.
- NLCD is the 2021 CONUS release. AK/HI/PR/VI use different NLCD/datum handling and are not yet wired in, so they are left out of the station list.
- KLNN (Willoughby, OH) cannot be run. The app fetches GHCNh as
USW000+ WBAN, but NCEI files KLNN only asUSI0000KLNN, and AERMET reads the WBAN from that id and stops on one that is not numeric (error E47). It is the only listed station affected. Before it fetches any met or land-cover data, the app checks that NCEI has the station's GHCNh file for every year, and stops with the reason if not.
The code in this repository is released under the MIT License (see LICENSE).
It redistributes, for convenience, third-party components that keep their own terms:
- EPA AERMET, AERMINUTE and AERSURFACE (v26135) in
bin/— U.S. EPA regulatory models in the public domain, bundled unmodified (the Windows builds are the official EPA executables; the macOS builds are compiled from EPA source). EPA does not endorse or support this tool. Authoritative versions come from EPA SCRAM: https://www.epa.gov/scram/air-quality-dispersion-modeling-preferred-and-recommended-models - OurAirports runway data (
data/ourairports_runways.csv) — released into the public domain by OurAirports (https://ourairports.com/data/).
Input data is fetched at run time from public U.S. Government sources (public-domain works): NOAA / NCEI — ISD-history, GHCNh hourly, 1-/5-minute ASOS, IGRA2 upper air, and GHCN-Daily precipitation; MRLC — NLCD land cover, impervious and tree-canopy. Please credit NOAA/NCEI and the MRLC (USGS/USFS) NLCD program in any analyses that use the output.
Processed output is only as good as its inputs and the automated defaults — review the QA summary and the Notes & limits above before regulatory use.
Questions, comments, or bug reports are welcome:
Rodney Cuevas
Branch Manager, Air Quality Management Branch
Mississippi Department of Environmental Quality — Air Division
📧 RCuevas@mdeq.ms.gov
