XANTRONIX Meteorological Suite
Find a file
2025-02-12 15:37:14 -05:00
bin Print record number when files already archived 2025-02-12 11:11:48 -05:00
db Run CreateSpatialIndex() in db/nexrad.sql 2025-02-12 13:47:44 -05:00
doc Initial commit of lib/nexrad/archive.py 2025-02-11 21:11:43 -05:00
lib/nexrad Use os.path.join() where possible 2025-02-12 15:37:14 -05:00
Dockerfile Apparently I hadn't already committed those 2025-02-11 22:27:49 -05:00
Makefile Apparently I hadn't already committed those 2025-02-11 22:27:49 -05:00
README.md Grammar in README.md 2025-02-12 14:04:45 -05:00
run.sh Initial commit of run.sh 2025-02-12 09:55:46 -05:00

NEXRAD Level II Archive Tool

This tool uses Spatialite (https://www.gaia-gis.it/fossil/libspatialite/index) in conjunction with the NCEI Storm Events Database (https://www.ncei.noaa.gov/pub/data/swdi/stormevents/csvfiles/) to archive only NEXRAD Level II data for which storms were recorded by the National Weather Service. Using the start and end times and coordinates of a given storm report, this tool is able to query and filter objects in the NEXRAD Level II Amazon bucket (https://registry.opendata.aws/noaa-nexrad/), allowing one to only archive volume scans for which storms were noted, from the appropriate radar sites.

Building

Simply run make to produce a Docker image pre-populated with the NEXRAD radar site database.

Running

Invoke sh run.sh to run this archival tool, passing two arguments:

  • The path to a storm events database CSV export file, whose name as obtained from the NCEI begins with StormEvents_details_. Only these files contain the start and end coordinates of a storm which are used to select data from the correct radar sites.

  • A path to a destination directory where archived data shall be downloaded. Note that files downloaded under this directory will be organized in the YYYY/MM/DD/SITE/ hierarchy.

Other optional arguments will be passed through to the bin/nexrad-archive executable within the Docker image:

  • --dry-run

    This will avoid actually performing any archiving; instead, the tool will indicate what actions it would take.

  • --quiet

    Suppresses standard output.