Skip to content

Commit

Permalink
add run-max reflectivity and run-min press swath option for hurricanes (
Browse files Browse the repository at this point in the history
#238)

* add run-max reflectivity and run-min pressure swath option for hurricanes.

* change to maps subregion name, Hurr-Car.
  • Loading branch information
cshartsough authored Mar 29, 2024
1 parent 9919e49 commit 0244ee8
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions adb_graphics/default_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,17 @@ cref: # Composite reflectivity
ncl_name: REFC_P0_L{level_type}_{grid}
title: Composite Reflectivity
include_obs: True
crefmax: # Comp reflectivity (max over forecast)
sfc:
accumulate: True
clevs: !!python/object/apply:numpy.arange [5, 76, 5]
cmap: NWSReflectivity
colors: cref_colors
ncl_name: REFC_P0_L200_{grid}
ticks: 5
title: Comp Reflectivity (max over forecast)
transform: run_max
unit: dBZ
csnow: # Categorical Snow
sfc:
ncl_name: CSNOW_P0_L1_{grid}
Expand Down Expand Up @@ -1172,6 +1183,28 @@ pres:
wind: 10m
ua:
ncl_name: PRES_P0_L105_{grid}
presmin:
msl:
accumulate: True
annotate: True
clevs: !!python/object/apply:numpy.arange [860, 1001, 10]
cmap: NWSReflectivity
colors: cref_colors
ncl_name:
global: PRMSL_P0_L101_{grid}
globalAK: PRMSL_P0_L101_{grid}
globalCONUS: PRMSL_P0_L101_{grid}
globalNHemi: PRMSL_P0_L101_{grid}
globalSHemi: PRMSL_P0_L101_{grid}
hrrr: MSLMA_P0_L101_{grid}
hrrrhi: MSLMA_P0_L101_{grid}
hrrrcar: MSLMA_P0_L101_{grid}
rap: MSLMA_P0_L101_{grid}
rrfs: MSLET_P0_L101_{grid}
ticks: 0
transform: [conversions.pa_to_hpa, run_min]
unit: hPa
# wind: 10m
ptmp: # Potential temperature
2m:
clevs: !!python/object/apply:numpy.arange [210, 350, 5]
Expand Down
2 changes: 1 addition & 1 deletion adb_graphics/figures/maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
'GreatLakes': {'corners': [37, 50, -96, -70], 'stride': 10, 'length': 4},
'HI': {'corners': [16.6, 24.6, -157.6, -157.5], 'stride': 1, 'length': 4},
'HI-zoom': {'corners': None, 'width': 800000, 'height': 800000, 'stride': 4, 'length': 4},
'Hurr-Car': {'corners': [21, 28, -96, -69], 'stride': 10, 'length': 4},
'Juneau': {'corners': [55.741, 59.629, -140.247, -129.274], 'stride': 4, 'length': 4},
'NW-large': {'corners': [29.5787, 52.6127, -121.666, -96.5617], 'stride': 15, 'length': 4},
'NYC-BOS': {'corners': [39, 43.5, -77, -66.5], 'stride': 4, 'length': 4},
Expand Down Expand Up @@ -256,7 +257,6 @@ def load_airports(fn):
data = f.readlines()
return np.array([l.strip().split(',') for l in data], dtype=float)


class DataMap():
#pylint: disable=too-many-arguments

Expand Down

0 comments on commit 0244ee8

Please sign in to comment.