Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add run-max reflectivity and run-min press swath option for hurricanes #238

Merged
merged 2 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions adb_graphics/default_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,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 @@ -1166,6 +1177,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
Loading