diff --git a/polar2grid/etc/enhancements/generic.yaml b/polar2grid/etc/enhancements/generic.yaml index 4e188f0d..3a7de124 100644 --- a/polar2grid/etc/enhancements/generic.yaml +++ b/polar2grid/etc/enhancements/generic.yaml @@ -111,6 +111,13 @@ enhancements: - name: linear_stretch method: !!python/name:satpy.enhancements.stretch kwargs: {stretch: 'crude', min_stretch: 0.0, max_stretch: 50.0} + snow_grain_size: + name: SnowGS + # Uses NOAA STAR Snow Grain Size range: https://www.star.nesdis.noaa.gov/mirs/highresolutionv.php + operations: + - name: linear_stretch + method: !!python/name:satpy.enhancements.stretch + kwargs: {stretch: 'crude', min_stretch: 0.3, max_stretch: 0.7} # mirs_tpw: See higher up in configuration # MIRS BTs - ATMS diff --git a/polar2grid/etc/writers/awips_tiled.yaml b/polar2grid/etc/writers/awips_tiled.yaml index 95921e6d..5f3241fe 100644 --- a/polar2grid/etc/writers/awips_tiled.yaml +++ b/polar2grid/etc/writers/awips_tiled.yaml @@ -758,3 +758,11 @@ templates: physical_element: raw_value: MIRS Skin Temperature units: {} + mirs_snow_grain_size: + reader: mirs + name: SnowGS + var_name: data + attributes: + physical_element: + raw_value: MIRS Snow Grain Size + units: {} diff --git a/polar2grid/readers/mirs.py b/polar2grid/readers/mirs.py index 01bab8ee..b4a8f004 100644 --- a/polar2grid/readers/mirs.py +++ b/polar2grid/readers/mirs.py @@ -63,6 +63,8 @@ +--------------------+----------------------------------------------------+ | tskin | Skin Temperature | +--------------------+----------------------------------------------------+ + | snow_grain_size | Snow Grain Size | + +--------------------+----------------------------------------------------+ | btemp_X | Brightness Temperature for channel X (see below) | +--------------------+----------------------------------------------------+ @@ -192,6 +194,7 @@ "snow_cover", "swe", "sfr", + "snow_grain_size", ] SEAICE_PRODUCTS = [ "sea_ice", @@ -205,6 +208,7 @@ PRODUCT_ALIASES["snow_cover"] = "Snow" PRODUCT_ALIASES["swe"] = "SWE" PRODUCT_ALIASES["sfr"] = "SFR" +PRODUCT_ALIASES["snow_grain_size"] = "SnowGS" PRODUCT_ALIASES["sea_ice"] = "SIce"