NEXRAD Level III real-time select products (Unidata, AWS): sample notebook

A worked notebook for NEXRAD Level III real-time select products (Unidata, AWS), with 9 code cells and the output each one printed. On Scigantic it opens in a hosted JupyterLab with the dataset already mounted, so nothing is downloaded first.

Provider
Unidata
License
Custom (see documentation)
Stored at
Amazon S3, s3://unidata-nexrad-level3 (us-east-1)
Access
Free and public. No account with the data provider is needed.

The notebook

Is it raining on the Wasatch Front right now? NEXRAD Level III, live

The radar that watches Weber County, Ogden, Logan and Salt Lake City is KMTX on Promontory Point, at 6,460 ft on the north shore of the Great Salt Lake. It is one of about 160 WSR-88D Doppler radars in the NEXRAD network. Every few minutes it publishes Level III products (base reflectivity, velocity, one-hour rain accumulation, storm totals and about a hundred more) to the unidata-nexrad-level3 bucket on AWS Open Data. New scans land within minutes of the sweep, and the archive runs continuously from 2020-03-30.

Every scan is one file in a flat namespace:

{SITE}_{PRODUCT}_{YYYY}_{MM}_{DD}_{HH}_{MM}_{SS}

There are no directories. The bucket holds billions of keys, so everything here uses boto3.list_objects_v2 with a key prefix so S3 only walks the keys you ask for. Never ls the mount root.

This notebook answers three questions people asked about this radar in September 2026, in order: what is the newest scan, is it raining near a place right now, and when did it last rain there. Change place in cell 2 to your own town.

import os
import boto3
from botocore import UNSIGNED
from botocore.config import Config

bucket = os.environ.get('SCIGANTIC_BUCKET_NAME', 'unidata-nexrad-level3')
region = os.environ.get('SCIGANTIC_BUCKET_REGION', 'us-east-1')
mount_path = os.environ.get('SCIGANTIC_MOUNT_PATH', '/mnt/archive')

s3 = boto3.client('s3', region_name=region, config=Config(signature_version=UNSIGNED))

print(f'Bucket:     s3://{bucket}')
print(f'Region:     {region}')
print(f'FUSE mount: {mount_path}')

Output:

Bucket:     s3://unidata-nexrad-level3
Region:     us-east-1
FUSE mount: /mnt/archive

1. The radar that covers your town

Py-ART ships the official site table (pyart.io.nexrad_common.NEXRAD_LOCATIONS, 207 radars with latitude, longitude and elevation). Use it rather than typing coordinates from memory; 206 of those 207 sites exist in the bucket.

Two radar types show up around Salt Lake, and they publish different product sets:

KMTX sits high. From Promontory Point the centre of the lowest (0.5 degree) beam is already about 440 m above the radar by the time it reaches Ogden, and about 950 m above it over Logan or Salt Lake City. The cell prints the beam height above each valley floor: that is the lowest altitude the radar can see there, and shallow winter storms can slip under it.

import math
from pyart.io.nexrad_common import NEXRAD_LOCATIONS

# name: (latitude, longitude, valley floor in metres above sea level)
UTAH_PLACES = {
    'Ogden':          (41.223, -111.974, 1310),   # Weber County seat
    'Syracuse':       (41.089, -112.065, 1329),   # Davis County
    'Brigham City':   (41.510, -112.015, 1315),   # Box Elder County
    'Logan':          (41.741, -111.834, 1382),   # Cache Valley
    'Salt Lake City': (40.761, -111.891, 1288),
    'Provo':          (40.234, -111.659, 1387),
    'Park City':      (40.646, -111.498, 2134),
}

place = 'Ogden'                         # any key above, or set lat, lon, floor_m yourself
lat, lon, floor_m = UTAH_PLACES[place]
radius_km = 15                          # "near": gates within this distance of the place


def km_between(lat1, lon1, lat2, lon2):
    a, b, c, d = map(math.radians, (lat1, lon1, lat2, lon2))
    h = math.sin((c - a) / 2) ** 2 + math.cos(a) * math.cos(c) * math.sin((d - b) / 2) ** 2
    return 2 * 6371 * math.asin(math.sqrt(h))


def beam_height_m(range_km, tilt_deg=0.5):
    """Height of the beam centre above the antenna, standard 4/3 earth refraction."""
    ke_re = 4 / 3 * 6371.0
    r, t = range_km, math.radians(tilt_deg)
    return 1000 * (math.sqrt(r ** 2 + ke_re ** 2 + 2 * r * ke_re * math.sin(t)) - ke_re)


nearest = sorted(
    (km_between(lat, lon, v['lat'], v['lon']), radar_id, v)
    for radar_id, v in NEXRAD_LOCATIONS.items()
)[:4]

print(f'Radars nearest {place} ({lat}, {lon}):')
print()
for dist, radar_id, v in nearest:
    kind = 'TDWR   ' if radar_id.startswith('T') else 'WSR-88D'
    print(f'  {radar_id}  key={radar_id[1:]}  {kind}  {dist:6.1f} km  '
          f'({v["lat"]:.3f}, {v["lon"]:.3f})  elev {v["elev"]} ft')

# The nearest WSR-88D is the one with accumulation products.
site = next(radar_id[1:] for _, radar_id, _ in nearest if not radar_id.startswith('T'))
radar_site = NEXRAD_LOCATIONS['K' + site]
radar_elev_m = radar_site['elev'] * 0.3048
print()
print(f'Using site = {site!r}  (K{site} at {radar_site["elev"]} ft)')
print()
print(f'Lowest beam (0.5 deg) from K{site}, centre height above each valley floor:')
for name, (plat, plon, pfloor) in UTAH_PLACES.items():
    d = km_between(radar_site['lat'], radar_site['lon'], plat, plon)
    h_msl = radar_elev_m + beam_height_m(d)
    print(f'  {name:15s} {d:6.1f} km   beam {h_msl:5.0f} m MSL   {h_msl - pfloor:5.0f} m above the valley floor')

Output:

Radars nearest Ogden (41.223, -111.974):

  TSLC  key=SLC  TDWR       32.4 km  (40.934, -111.921)  elev 4295 ft
  KMTX  key=MTX  WSR-88D    39.8 km  (41.263, -112.447)  elev 6460 ft
  KSFX  key=SFX  WSR-88D   217.4 km  (43.106, -112.685)  elev 4474 ft
  KRIW  key=RIW  WSR-88D   353.7 km  (43.066, -108.477)  elev 5568 ft

Using site = 'MTX'  (KMTX at 6460 ft)

Lowest beam (0.5 deg) from KMTX, centre height above each valley floor:
  Ogden             39.8 km   beam  2409 m MSL    1099 m above the valley floor
  Syracuse          37.4 km   beam  2377 m MSL    1048 m above the valley floor
  Brigham City      45.3 km   beam  2485 m MSL    1170 m above the valley floor
  Logan             73.7 km   beam  2932 m MSL    1550 m above the valley floor
  Salt Lake City    72.7 km   beam  2915 m MSL    1627 m above the valley floor
...

2. The newest scan, and why "sort and take the last one" is wrong

Keys sort lexically and S3 lists ascending. list_objects_v2(Prefix='MTX_DAA_') returns the first 1000 keys of March 2020 and nothing newer, so "sort the listing and take the last one" quietly hands you a six-year-old scan labelled as the latest. There are about 490,000 MTX_DAA_* keys; paginating through them all takes minutes and is never necessary.

latest_scans() below is the fix: narrow the prefix by day, then by hour, and read the last key in that hour. Worst case a few dozen bounded LISTs; the usual case is two. Reuse it anywhere.

Start with N0B, super-resolution base reflectivity: about 145 to 180 KB per scan, 720 rays by 1840 gates out to 459 km, and it decodes in any weather.

from datetime import datetime, timedelta, timezone

try:
    from zoneinfo import ZoneInfo
    LOCAL_TZ = ZoneInfo('America/Denver')
except Exception:
    LOCAL_TZ = timezone(timedelta(hours=-6), 'MDT')


def scan_time(key):
    """UTC datetime parsed from a Level III key."""
    p = key.split('_')
    return datetime(*map(int, p[2:8]), tzinfo=timezone.utc)


def local(ts):
    return ts.astimezone(LOCAL_TZ).strftime('%Y-%m-%d %H:%M %Z')


def list_prefix(site, product, when, max_keys=1000):
    """Scans matching a key prefix. Prefix-bounded, so probing is cheap no
    matter how far back you go: S3 only walks keys that match."""
    resp = s3.list_objects_v2(
        Bucket=bucket, Prefix=f'{site}_{product}_{when}', MaxKeys=max_keys)
    return resp.get('Contents', []) or [], bool(resp.get('IsTruncated'))


def latest_scans(site, product, days_back=10):
    """The newest hour of scans for a site/product: back by day until one has
    data, then back by hour within it."""
    now = datetime.now(timezone.utc)
    for back_day in range(days_back):
        day = (now - timedelta(days=back_day)).strftime('%Y_%m_%d')
        day_scans, _ = list_prefix(site, product, day, max_keys=1)
        if not day_scans:
            continue
        start_hour = now.hour if back_day == 0 else 23
        for hour in range(start_hour, -1, -1):
            scans, truncated = list_prefix(site, product, f'{day}_{hour:02d}')
            if scans:
                return scans, f'{day}_{hour:02d}'
    return [], None


product = 'N0B'
scans, hour_prefix = latest_scans(site, product)
newest = scans[-1] if scans else None

if newest is None:
    print(f'No {site}_{product} scans in the last 10 days. Check the site key.')
else:
    print(f'{len(scans)} {site}_{product} scans in the newest hour ({hour_prefix}). Last five:')
    print()
    for scan in scans[-5:]:
        ts = scan_time(scan['Key'])
        print(f'  {ts:%Y-%m-%d %H:%M:%S}Z  {local(ts):22s} {scan["Size"]:>9,} bytes  {scan["Key"]}')
    age = datetime.now(timezone.utc) - scan_time(newest['Key'])
    print()
    print(f'Newest: {newest["Key"]}  ({int(age.total_seconds() // 60)} minutes old)')

Output:

6 MTX_N0B scans in the newest hour (2026_09_10_21). Last five:

  2026-09-10 21:09:24Z  2026-09-10 15:09 MDT     178,397 bytes  MTX_N0B_2026_09_10_21_09_24
  2026-09-10 21:18:12Z  2026-09-10 15:18 MDT     180,818 bytes  MTX_N0B_2026_09_10_21_18_12
  2026-09-10 21:27:01Z  2026-09-10 15:27 MDT     181,819 bytes  MTX_N0B_2026_09_10_21_27_01
  2026-09-10 21:36:47Z  2026-09-10 15:36 MDT     148,954 bytes  MTX_N0B_2026_09_10_21_36_47
  2026-09-10 21:40:56Z  2026-09-10 15:40 MDT     148,722 bytes  MTX_N0B_2026_09_10_21_40_56

Newest: MTX_N0B_2026_09_10_21_40_56  (4 minutes old)

3. Read it from the FUSE mount and look at your town

The bucket is FUSE-mounted read-only at SCIGANTIC_MOUNT_PATH. Every S3 key maps to a file path under the mount, so the pattern is: LIST with a prefix to choose the key, then pass f'{mount_path}/{key}' straight to pyart.io.read_nexrad_level3. No download step. Never run os.listdir or ls on the mount root; the FUSE layer would have to enumerate billions of keys and the kernel will hang.

Py-ART computes a latitude and longitude for every gate (radar.gate_latitude, radar.gate_longitude), so "the gates within 15 km of Ogden" is one masked-array expression.

Reflectivity over the Wasatch Front is not a rain detector. On a clear morning (2026-09-09 12:02Z) 455 gates within 15 km of Ogden read above 20 dBZ, with a maximum of 30.5 dBZ, from terrain and clear-air returns off the Wasatch. The numbers this cell prints for your town include that clutter. Use N0B for the picture and the next section for the yes/no.

import numpy as np
import pyart


def gate_distance_km(radar, plat, plon):
    """Great-circle distance from every gate to a point, same shape as the field."""
    gla = np.radians(radar.gate_latitude['data'])
    glo = np.radians(radar.gate_longitude['data'])
    a, b = np.radians(plat), np.radians(plon)
    h = np.sin((gla - a) / 2) ** 2 + np.cos(a) * np.cos(gla) * np.sin((glo - b) / 2) ** 2
    return 2 * 6371 * np.arcsin(np.sqrt(h))


radar = None
if newest is not None:
    fuse_path = os.path.join(mount_path, newest['Key'])
    print(f'Reading from FUSE mount: {fuse_path}')
    radar = pyart.io.read_nexrad_level3(fuse_path)

if radar is not None:
    refl = radar.fields['reflectivity']['data']
    near = gate_distance_km(radar, lat, lon) < radius_km
    here = refl[near]
    print()
    print(f'Radar:        K{site}  sweep {radar.fixed_angle["data"][0]:.1f} deg, '
          f'{radar.nrays} rays x {radar.ngates} gates, range to {radar.range["data"].max() / 1000:.0f} km')
    print(f'Scan time:    {scan_time(newest["Key"]):%Y-%m-%d %H:%M:%S}Z  ({local(scan_time(newest["Key"]))})')
    print(f'Valid gates:  {int(refl.count()):,} of {refl.size:,}   radar-wide max {refl.max():.1f} dBZ')
    print()
    print(f'Within {radius_km} km of {place}: {int(here.count()):,} valid gates, '
          f'max {here.max() if here.count() else float("nan"):.1f} dBZ, '
          f'{int((here > 20).sum())} gates above 20 dBZ (terrain clutter included).')

Output:

Reading from FUSE mount: /mnt/archive/MTX_N0B_2026_09_10_21_40_56

Radar:        KMTX  sweep 0.5 deg, 720 rays x 1840 gates, range to 459 km
Scan time:    2026-09-10 21:40:56Z  (2026-09-10 15:40 MDT)
Valid gates:  162,351 of 1,324,800   radar-wide max 36.5 dBZ

Within 15 km of Ogden: 3,764 valid gates, max 34.5 dBZ, 97 gates above 20 dBZ (terrain clutter included).
import matplotlib.pyplot as plt


def plot_with_towns(radar, field_name, vmin, vmax, title, cmap=None):
    """PPI in km from the radar, with the Utah towns marked."""
    display = pyart.graph.RadarDisplay(radar)
    fig, ax = plt.subplots(figsize=(6.5, 6.5))
    display.plot(field_name, 0, ax=ax, vmin=vmin, vmax=vmax, cmap=cmap, title='')
    ax.set_title(title, fontsize=10)
    lon0, lat0 = radar.longitude['data'][0], radar.latitude['data'][0]
    for name, (plat, plon, _) in UTAH_PLACES.items():
        x, y = pyart.core.geographic_to_cartesian_aeqd(np.array([plon]), np.array([plat]), lon0, lat0)
        ax.plot(x / 1000, y / 1000, 'k+', markersize=9, markeredgewidth=1.5)
        ax.annotate(name, (x[0] / 1000, y[0] / 1000), xytext=(5, 4), textcoords='offset points', fontsize=9)
    ax.plot(0, 0, 'ks', markersize=5)
    ax.annotate(f'K{site}', (0, 0), xytext=(5, -12), textcoords='offset points', fontsize=9)
    display.set_limits(xlim=(-160, 160), ylim=(-160, 160), ax=ax)
    ax.set_aspect('equal')
    plt.show()


if radar is None:
    print('No radar data to plot.')
else:
    plot_with_towns(radar, 'reflectivity', -10, 60,
                    f'K{site} N0B base reflectivity (dBZ)\n{local(scan_time(newest["Key"]))}')

4. Is it raining near your town right now? Ask DAA, not the picture

DAA is the one-hour accumulation product. It comes out of the dual-polarization precipitation chain, which throws away non-meteorological echoes, so it is the product that answers "is it raining" rather than "is something reflecting". Py-ART labels the field radar_estimated_rain_rate in inches/hour; over a one-hour window that is the same number as inches of accumulation.

Two facts about its files, measured on KMTX:

Never decode these files by hand with struct. The product is run-length and bit-packed with a per-product scale and offset; hand decoding produced a "356 mm" answer on a day the radar recorded nothing.

DAA_STUB_MAX_BYTES = 500   # stubs are 222 to 274 B (size follows their text); the smallest real file seen is 737 B

daa_scans, daa_hour = latest_scans(site, 'DAA')
daa_newest = daa_scans[-1] if daa_scans else None
daa = None

if daa_newest is None:
    print(f'No {site}_DAA scans in the last 10 days.')
else:
    ts = scan_time(daa_newest['Key'])
    print(f'Newest DAA: {daa_newest["Key"]}  {daa_newest["Size"]:,} bytes  ({local(ts)})')
    print()
    if daa_newest['Size'] <= DAA_STUB_MAX_BYTES:
        print(f'That is the "no precipitation detected" stub. In the hour ending {local(ts)}, '
              f'K{site} recorded no precipitation anywhere within 230 km, {place} included.')
        print('That is the answer to "is it raining right now". Stop here, or pin a storm in section 5.')
    else:
        daa = pyart.io.read_nexrad_level3(os.path.join(mount_path, daa_newest['Key']))
        acc = daa.fields['radar_estimated_rain_rate']['data']
        dist = gate_distance_km(daa, lat, lon)
        here = acc[dist < radius_km]
        nearest_gate = np.unravel_index(np.argmin(dist), dist.shape)
        at_place = acc[nearest_gate]
        rows = [
            ('radar-wide', f'{int(acc.count()):,} gates with accumulation, max {acc.max():.2f} in'),
            (f'within {radius_km} km of {place}',
             f'{int(here.count()):,} gates, max {here.max() if here.count() else 0:.2f} in'),
            (f'gate over {place}', 'no accumulation' if np.ma.is_masked(at_place) else f'{at_place:.2f} in'),
        ]
        print(f'Hour ending {local(ts)}:')
        for label, value in rows:
            print(f'  {label + ":":28s} {value}')
        if not here.count():
            print()
            print(f'Something is raining under the K{site} umbrella, but not within {radius_km} km of {place}.')

Output:

Newest DAA: MTX_DAA_2026_09_10_21_40_56  2,140 bytes  (2026-09-10 15:40 MDT)

Hour ending 2026-09-10 15:40 MDT:
  radar-wide:                  3,055 gates with accumulation, max 0.01 in
  within 15 km of Ogden:       0 gates, max 0.00 in
  gate over Ogden:             no accumulation

Something is raining under the KMTX umbrella, but not within 15 km of Ogden.
if daa is not None:
    acc = daa.fields['radar_estimated_rain_rate']['data']
    vmax = max(round(float(np.percentile(acc.compressed(), 99)), 2), 0.05)
    plot_with_towns(daa, 'radar_estimated_rain_rate', 0, vmax,
                    f'K{site} DAA one-hour accumulation (in)\nhour ending {local(scan_time(daa_newest["Key"]))}',
                    cmap='RRate11')

5. When did it last rain near your town?

One bounded LIST per day tells you a lot before you read anything. In clear-air scanning mode KMTX writes about 163 DAA files a day; on a storm day it switches to a faster volume pattern and writes 230 to 285. The largest file of the day is the hour when most of the umbrella was wet. Reading that one file per day, and checking the gates within 15 km of your town, gives a two-week rain diary in about fifteen LISTs and a dozen small reads.

The diary separates two questions that people mix up: "did KMTX see rain" (file size) and "did it rain on me" (accumulation within the radius). On the evening of 2026-09-06 the biggest MTX_DAA file of the day peaked at 0.68 in/hr, but the rain fell north of Ogden: within 15 km, Logan saw 0.39 in and Brigham City 0.29, while Ogden's one-hour accumulation stayed empty and its storm total reached 0.03 in.

days_back = 14
today = datetime.now(timezone.utc).date()
diary = []

print(f'{"day (UTC)":11s} {"scans":>5s} {"peak file":>10s}  {"peak hour ends (local)":23s} '
      f'{"radar max":>9s}  {"max within " + str(radius_km) + " km of " + place}')
for back in range(days_back):
    day = today - timedelta(days=back)
    day_scans, _ = list_prefix(site, 'DAA', day.strftime('%Y_%m_%d'))
    if not day_scans:
        print(f'{day}  no files')
        continue
    peak = max(day_scans, key=lambda s: s['Size'])
    row = {'day': day, 'scans': len(day_scans), 'peak': peak, 'radar_max': 0.0, 'place_max': 0.0}
    if peak['Size'] > DAA_STUB_MAX_BYTES:
        r = pyart.io.read_nexrad_level3(os.path.join(mount_path, peak['Key']))
        a = r.fields['radar_estimated_rain_rate']['data']
        h = a[gate_distance_km(r, lat, lon) < radius_km]
        row['radar_max'] = float(a.max())
        row['place_max'] = float(h.max()) if h.count() else 0.0
    diary.append(row)
    print(f'{day}  {row["scans"]:5d} {peak["Size"] / 1024:8.1f} KB  {local(scan_time(peak["Key"])):23s} '
          f'{row["radar_max"]:6.2f} in  {row["place_max"]:6.2f} in')

wet_here = [r for r in diary if r['place_max'] > 0]
if wet_here:
    last = wet_here[0]
    print()
    print(f'Last day with accumulation within {radius_km} km of {place}: {last["day"]}  '
          f'(peak hour ending {local(scan_time(last["peak"]["Key"]))}, up to {last["place_max"]:.2f} in)')
else:
    print()
    print(f'No accumulation within {radius_km} km of {place} in the last {days_back} days.')

Output:

day (UTC)   scans  peak file  peak hour ends (local)  radar max  max within 15 km of Ogden
2026-09-10    148      2.1 KB  2026-09-10 15:40 MDT      0.01 in    0.00 in
2026-09-09    163      0.2 KB  2026-09-08 18:06 MDT      0.00 in    0.00 in
2026-09-08    163      0.2 KB  2026-09-07 18:06 MDT      0.00 in    0.00 in
2026-09-07    182     28.8 KB  2026-09-06 18:54 MDT      0.68 in    0.00 in
2026-09-06    181     23.0 KB  2026-09-06 17:59 MDT      0.75 in    0.00 in
2026-09-05    165      3.0 KB  2026-09-05 00:18 MDT      0.03 in    0.00 in
2026-09-04    163      0.2 KB  2026-09-03 18:00 MDT      0.00 in    0.00 in
2026-09-03    203      4.5 KB  2026-09-02 18:42 MDT      0.40 in    0.00 in
2026-09-02    255     20.5 KB  2026-09-01 18:02 MDT      0.63 in    0.00 in
2026-09-01    237     49.7 KB  2026-08-31 19:32 MDT      1.07 in    0.41 in
2026-08-31    224     36.5 KB  2026-08-31 17:59 MDT      1.65 in    1.31 in
2026-08-30    265     48.9 KB  2026-08-29 23:58 MDT      0.80 in    0.00 in
2026-08-29    236     93.4 KB  2026-08-28 23:18 MDT      0.62 in    0.26 in
2026-08-28    262     51.1 KB  2026-08-28 17:57 MDT      0.85 in    0.10 in
...
if wet_here:
    key = wet_here[0]['peak']['Key']
    r = pyart.io.read_nexrad_level3(os.path.join(mount_path, key))
    a = r.fields['radar_estimated_rain_rate']['data']
    vmax = max(round(float(np.percentile(a.compressed(), 99)), 2), 0.05)
    plot_with_towns(r, 'radar_estimated_rain_rate', 0, vmax,
                    f'K{site} DAA one-hour accumulation (in)\nhour ending {local(scan_time(key))}',
                    cmap='RRate11')

6. Pin a storm instead

To look at a known event, list with a longer prefix. It is matched as a key prefix, not parsed, so it narrows to whatever resolution you need. Two KMTX events, measured:

The wettest recent hour on Weber County. 1.31 in within 15 km of Ogden, 0.97 at Syracuse and 0.62 at Salt Lake City, in the hour ending 23:59Z on 2026-08-31 (5:59 pm MDT). The radar-wide maximum was 1.65 in, over the Wasatch at 40.87 N, 111.62 W.

scans, _ = list_prefix('MTX', 'DAA', '2026_08_31_23')

The 2026-09-06 evening storm north of Ogden. The first non-stub file landed at 21:22Z (3:22 pm MDT) and the largest at 00:54Z. It peaked at 0.68 in/hr over Bear River Bay, with nothing on Weber County.

scans, _ = list_prefix('MTX', 'DAA', '2026_09_07_00')

Either way, read the largest file in the hour:

peak = max(scans, key=lambda s: s['Size'])
r = pyart.io.read_nexrad_level3(os.path.join(mount_path, peak['Key']))

Other products worth knowing, with clear-air sizes measured at KMTX on 2026-09-08:

CodeProductClear-air filePy-ART
N0BBase reflectivity, super-res (dBZ)~145 KB, full fielddecodes
N0GBase velocity, super-res (m/s)~75 KB, full fielddecodes
N0CCorrelation coefficient~95 KB, full fielddecodes
DAAOne-hour accumulation (in)222 to 274 byte stubfails on the stub only
DTAStorm total accumulation (in)~1.8 KB stubfails on the stub
EETEnhanced echo tops~1.2 KB stubfails on the stub
DVLVertically integrated liquid~5 KB stubfails on the stub

Before 2022-02-18 the reflectivity and velocity codes were N0Q and N0U (legacy resolution); N0B/N0G start on that date. Pin the code to the era you are reading.

7. Try it yourself

8. Level II data via nexradaws

The nexradaws package (pre-installed) wraps the Level II archive in the unidata-nexrad-level2 bucket. Level II carries the raw reflectivity and velocity volumes at full resolution: much larger files (about 20 MB per volume scan) but richer for research.

import nexradaws
conn = nexradaws.NexradAwsInterface()
scans = conn.get_avail_scans('2026', '08', '29', 'KMTX')   # 4-letter ID for Level II
local_files = conn.download(scans[-1:], '/tmp/')
radar_l2 = pyart.io.read_nexrad_archive(local_files.success[0].filepath)

Level II vs Level III:

References

Other libraries in this image: xarray, rioxarray, rasterio, cartopy, geopandas, shapely, metpy, folium, boto3, s3fs.

Run it

Open this notebook to run it, see the dataset page for the full description, or browse the full catalog.