-
Notifications
You must be signed in to change notification settings - Fork 0
Radar Downloader
full-bars edited this page May 3, 2026
·
3 revisions
SPCBot includes a high-performance downloader for raw NEXRAD Level 2 radar data, leveraging the NOAA AWS S3 archive.
The /download command allows users to retrieve raw radar data for post-event analysis.
-
Site Selection: Supports all 160+ NEXRAD sites (e.g.,
KTLX,KOKX). - Time Filtering: Retrieve data by specific datetime, time range, or the "N most recent" files.
-
Z-to-Z Range: Supports shorthand for Z-time ranges (e.g.,
start: 2200, end: 0030).
- ZIP Output: For multi-file requests, the bot automatically zips the data before uploading it to Discord, respecting file size limits.
-
Concurrent Downloads: Utilizes
aioboto3for non-blocking, parallel S3 downloads, significantly reducing wait times for large datasets.
-
Backend: Pulls directly from the
unidata-nexrad-level2bucket on AWS S3. - Metadata Search: The bot performs real-time S3 prefix listing to find the exact filenames and timestamps required, ensuring accuracy even across UTC day boundaries.
- Efficiency: Downloads are streamed directly to a temporary buffer and then zipped, minimizing disk I/O.
-
Size Limits: Operators can configure the maximum number of files per request in
.envto prevent resource exhaustion. - Permissioning: Access to the downloader can be restricted to specific roles or channels via Discord's native integration settings.