From 519867a88da7bc0b2e8ecf3253347159f0d3a6fd Mon Sep 17 00:00:00 2001 From: daviddowellNOAA Date: Thu, 1 Oct 2026 17:45:46 +0000 Subject: [PATCH 1/2] create new plot types for water- and ice-friendly aerosols in default_specs, add plots of these quantities at various levels for regional MPAS --- adb_graphics/default_specs.yml | 150 ++++++++++++++++++++++++++- image_lists/regional_mpas_subset.yml | 17 +++ 2 files changed, 164 insertions(+), 3 deletions(-) diff --git a/adb_graphics/default_specs.yml b/adb_graphics/default_specs.yml index b32ce047..37df3868 100644 --- a/adb_graphics/default_specs.yml +++ b/adb_graphics/default_specs.yml @@ -1211,7 +1211,7 @@ mfrp: # Fire radiative power sfc: clevs: [0, 10, 25, 50, 100, 250] colors: fire_power_colors - ncl_name: CFNSF_P0_L1_{grid} + ncl_name: VAR_2_4_36_P0_L1_{grid} plot_airports: False plot_scatter: True ticks: 0 @@ -1222,6 +1222,150 @@ mref: # Maximum reflectivity for past hour at 1 km AGL <<: *refl ncl_name: MAXREF_P8_L103_{grid}_max1h title: Max 1km agl Reflectivity (over prev hr) +nifa: # Ice-friendly aerosol number concentration + 250mb: &nifa + clevs: [10000.0, 100000.0, 160000.0, 260000.0, 410000.0, 660000.0, 1000000.0, 1600000.0, 2600000.0, 4100000.0, 6600000.0, 10000000.0] + cmap: gist_ncar + colors: vort_colors + ncl_name: PMTC_P0_L100_{grid} + title: 250mb Ice-friendly Aerosol Num Conc + ticks: 0 + unit: $nb/kg$ + 500mb: + <<: *nifa + title: 500mb Ice-friendly Aerosol Num Conc + 700mb: + <<: *nifa + title: 700mb Ice-friendly Aerosol Num Conc + contours: + pres_sfc: + colors: 'k' + levels: [0, 700] + linewidths: 0.6 + hatches: + pres_sfc: + hatches: ['', '...'] + levels: [0, 700] + 850mb: + <<: *nifa + title: 850mb Ice-friendly Aerosol Num Conc + contours: + pres_sfc: + colors: 'k' + levels: [0, 850] + linewidths: 0.6 + hatches: + pres_sfc: + hatches: ['', '...'] + levels: [0, 850] + 925mb: + <<: *nifa + title: 925mb Ice-friendly Aerosol Num Conc + contours: + pres_sfc: + colors: 'k' + levels: [0, 925] + linewidths: 0.6 + hatches: + pres_sfc: + hatches: ['', '...'] + levels: [0, 925] + 975mb: + <<: *nifa + title: 975mb Ice-friendly Aerosol Num Conc + contours: + pres_sfc: + colors: 'k' + levels: [0, 975] + linewidths: 0.6 + hatches: + pres_sfc: + hatches: ['', '...'] + levels: [0, 975] + 1000mb: + <<: *nifa + title: 1000mb Ice-friendly Aerosol Num Conc + contours: + pres_sfc: + colors: 'k' + levels: [0, 1000] + linewidths: 0.6 + hatches: + pres_sfc: + hatches: ['', '...'] + levels: [0, 1000] +nwfa: # Water-friendly aerosol number concentration + 250mb: &nwfa + clevs: [10000000.0, 100000000.0, 160000000.0, 260000000.0, 410000000.0, 660000000.0, 1000000000.0, 1600000000.0, 2600000000.0, 4100000000.0, 6600000000.0, 10000000000.0] + cmap: gist_ncar + colors: vort_colors + ncl_name: PMTF_P0_L100_{grid} + title: 250mb Water-friendly Aerosol Num Conc + ticks: 0 + unit: $nb/kg$ + 500mb: + <<: *nwfa + title: 500mb Water-friendly Aerosol Num Conc + 700mb: + <<: *nwfa + title: 700mb Water-friendly Aerosol Num Conc + contours: + pres_sfc: + colors: 'k' + levels: [0, 700] + linewidths: 0.6 + hatches: + pres_sfc: + hatches: ['', '...'] + levels: [0, 700] + 850mb: + <<: *nwfa + title: 850mb Water-friendly Aerosol Num Conc + contours: + pres_sfc: + colors: 'k' + levels: [0, 850] + linewidths: 0.6 + hatches: + pres_sfc: + hatches: ['', '...'] + levels: [0, 850] + 925mb: + <<: *nwfa + title: 925mb Water-friendly Aerosol Num Conc + contours: + pres_sfc: + colors: 'k' + levels: [0, 925] + linewidths: 0.6 + hatches: + pres_sfc: + hatches: ['', '...'] + levels: [0, 925] + 975mb: + <<: *nwfa + title: 975mb Water-friendly Aerosol Num Conc + contours: + pres_sfc: + colors: 'k' + levels: [0, 975] + linewidths: 0.6 + hatches: + pres_sfc: + hatches: ['', '...'] + levels: [0, 975] + 1000mb: + <<: *nwfa + title: 1000mb Water-friendly Aerosol Num Conc + contours: + pres_sfc: + colors: 'k' + levels: [0, 1000] + linewidths: 0.6 + hatches: + pres_sfc: + hatches: ['', '...'] + levels: [0, 1000] oc: # Organic Carbon sfc: &ocsfc clevs: [0.05, 0.1, 0.5, 1, 2, 3, 5, 7, 10, 15, 20, 30, 50, 100] @@ -1870,7 +2014,7 @@ trc1: hrrrcar: COLMD_P0_L200_{grid} rap: COLMD_P0_L200_{grid} rrfs: COLMD_P48_L200_{grid}_A62010 - regional_mpas: COLMD_P0_L200_{grid} + regional_mpas: COLMD_P48_L200_{grid}_A62010 plot_airports: False ticks: 0 title: Vertically Integrated Smoke @@ -1899,7 +2043,7 @@ trc1: hrrrcar: MASSDEN_P0_L103_{grid} rap: MASSDEN_P0_L103_{grid} rrfs: MASSDEN_P48_L103_{grid}_A62010 - regional_mpas: MASSDEN_P0_L103_{grid} + regional_mpas: MASSDEN_P48_L103_{grid}_A62010 plot_airports: False title: Near-Surface Smoke transform: conversions.to_micrograms_per_m3 diff --git a/image_lists/regional_mpas_subset.yml b/image_lists/regional_mpas_subset.yml index 6641cccd..b1c875f9 100644 --- a/image_lists/regional_mpas_subset.yml +++ b/image_lists/regional_mpas_subset.yml @@ -93,6 +93,22 @@ hourly: - sfc mref: - sfc + nifa: + - 250mb + - 500mb + - 700mb + - 850mb + - 925mb + - 975mb + - 1000mb + nwfa: + - 250mb + - 500mb + - 700mb + - 850mb + - 925mb + - 975mb + - 1000mb pres: - msl - sfc @@ -178,5 +194,6 @@ hourly: - 80m - 250mb - 850mb + - max - mdn - mup From d1da8095511eb2a8c9a4c76bc65239ab6c1fcc68 Mon Sep 17 00:00:00 2001 From: daviddowellNOAA Date: Tue, 27 Oct 2026 14:31:59 +0000 Subject: [PATCH 2/2] refinements for nwfa and nifa plots --- adb_graphics/default_specs.yml | 4 ++-- adb_graphics/figures/maps.py | 6 ++++++ image_lists/regional_mpas_subset.yml | 2 -- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/adb_graphics/default_specs.yml b/adb_graphics/default_specs.yml index 37df3868..21b0d818 100644 --- a/adb_graphics/default_specs.yml +++ b/adb_graphics/default_specs.yml @@ -1224,7 +1224,7 @@ mref: # Maximum reflectivity for past hour at 1 km AGL title: Max 1km agl Reflectivity (over prev hr) nifa: # Ice-friendly aerosol number concentration 250mb: &nifa - clevs: [10000.0, 100000.0, 160000.0, 260000.0, 410000.0, 660000.0, 1000000.0, 1600000.0, 2600000.0, 4100000.0, 6600000.0, 10000000.0] + clevs: [1.0e+04, 1.0e+05, 1.6e+05, 2.6e+05, 4.1e+05, 6.6e+05, 1.0e+06, 1.6e+06, 2.6e+06, 4.1e+06, 6.6e+06, 1.0e+07] cmap: gist_ncar colors: vort_colors ncl_name: PMTC_P0_L100_{grid} @@ -1296,7 +1296,7 @@ nifa: # Ice-friendly aerosol number concentration levels: [0, 1000] nwfa: # Water-friendly aerosol number concentration 250mb: &nwfa - clevs: [10000000.0, 100000000.0, 160000000.0, 260000000.0, 410000000.0, 660000000.0, 1000000000.0, 1600000000.0, 2600000000.0, 4100000000.0, 6600000000.0, 10000000000.0] + clevs: [1.0e+07, 1.0e+08, 1.6e+08, 2.6e+08, 4.1e+08, 6.6e+08, 1.0e+09, 1.6e+09, 2.6e+09, 4.1e+09, 6.6e+09, 1.0e+10] cmap: gist_ncar colors: vort_colors ncl_name: PMTF_P0_L100_{grid} diff --git a/adb_graphics/figures/maps.py b/adb_graphics/figures/maps.py index 5658c254..1a60ae33 100644 --- a/adb_graphics/figures/maps.py +++ b/adb_graphics/figures/maps.py @@ -329,6 +329,12 @@ def _colorbar(self, cc, ax): if self.field.short_name == 'flru': ticks = [label.rjust(30) for label in ['VFR', 'MVFR', 'IFR', 'LIFR']] + if self.field.short_name == 'nwfa': + ticks = [label.rjust(5) for label in ['1e+07', '1e+08', '2e+08', '3e+08', '4e+08', '7e+08', '1e+09', '2e+09', '3e+09', '4e+09', '7e+09', '1e+10']] + + if self.field.short_name == 'nifa': + ticks = [label.rjust(5) for label in ['1e+04', '1e+05', '2e+05', '3e+05', '4e+05', '7e+05', '1e+06', '2e+06', '3e+06', '4e+06', '7e+06', '1e+07']] + # this step is done to allow proper order of icing severity levels (trace before light) if self.field.short_name == 'icsev': ticks = [label.rjust(30) for label in ['TRACE', 'LIGHT', 'MODERATE', 'HEAVY']] diff --git a/image_lists/regional_mpas_subset.yml b/image_lists/regional_mpas_subset.yml index b1c875f9..26121417 100644 --- a/image_lists/regional_mpas_subset.yml +++ b/image_lists/regional_mpas_subset.yml @@ -98,7 +98,6 @@ hourly: - 500mb - 700mb - 850mb - - 925mb - 975mb - 1000mb nwfa: @@ -106,7 +105,6 @@ hourly: - 500mb - 700mb - 850mb - - 925mb - 975mb - 1000mb pres: