Skip to content

Commit

Permalink
Changing the humidity-surface RGB to consider the lowest peaking abso…
Browse files Browse the repository at this point in the history
…rption channel for the blue band rather than highest

Signed-off-by: Adam.Dybbroe <[email protected]>
  • Loading branch information
Adam.Dybbroe committed Oct 1, 2024
1 parent dea6a67 commit 70bbc86
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 3 deletions.
2 changes: 1 addition & 1 deletion satpy/etc/composites/atms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ composites:
prerequisites:
- name: '16'
- name: '17'
- name: '22'
- name: '18'
standard_name: mw183_humidity_surface
18 changes: 17 additions & 1 deletion satpy/etc/composites/aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,21 @@ composites:
prerequisites:
- name: '9'
- name: '10'
- name: '15'
- name: '12'
standard_name: mw183_humidity_surface

mw325_humidity_surface:
compositor: !!python/name:satpy.composites.RGBCompositor
prerequisites:
- name: '9'
- name: '10'
- name: '19'
standard_name: mw325_humidity_surface

mw325_humidity:
compositor: !!python/name:satpy.composites.RGBCompositor
prerequisites:
- name: '16'
- name: '18'
- name: '19'
standard_name: mw325_humidity
28 changes: 28 additions & 0 deletions satpy/etc/enhancements/aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,31 @@ enhancements:
- name: gamma
method: !!python/name:satpy.enhancements.gamma
kwargs: {gamma: 1.2}

mw325_humidity:
standard_name: mw325_humidity
operations:
- name: inverse
method: !!python/name:satpy.enhancements.invert
args:
- [true, true, true]
- name: stretch
method: !!python/name:satpy.enhancements.stretch
kwargs: {stretch: linear}
- name: gamma
method: !!python/name:satpy.enhancements.gamma
kwargs: {gamma: 1.2}

mw325_humidity_surface:
standard_name: mw325_humidity_surface
operations:
- name: inverse
method: !!python/name:satpy.enhancements.invert
args:
- [true, true, true]
- name: stretch
method: !!python/name:satpy.enhancements.stretch
kwargs: {stretch: linear}
- name: gamma
method: !!python/name:satpy.enhancements.gamma
kwargs: {gamma: 1.2}
2 changes: 1 addition & 1 deletion satpy/etc/readers/atms_sdr_hdf5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ reader:
file_types:
atms_sdr_hdf5:
file_reader: !!python/name:satpy.readers.atms_sdr_hdf5.ATMS_SDR_FileHandler
file_patterns: ['SATMS_{platform_shortname}_d{start_time:%Y%m%d_t%H%M%S%f}_e{end_time:%H%M%S%f}_b{orbit:5d}_c{creation_time:%Y%m%d%H%M%S%f}_{source}.h5', 'GATMO_{platform_shortname}_d{start_time:%Y%m%d_t%H%M%S%f}_e{end_time:%H%M%S%f}_b{orbit:5d}_c{creation_time:%Y%m%d%H%M%S%f}_{source}.h5']
file_patterns: ['SATMS_{platform_shortname}_d{start_time:%Y%m%d_t%H%M%S%f}_e{end_time:%H%M%S%f}_b{orbit:5d}_c{creation_time:%Y%m%d%H%M%S%f}_{source}.h5', 'GATMO_{platform_shortname}_d{start_time:%Y%m%d_t%H%M%S%f}_e{end_time:%H%M%S%f}_b{orbit:5d}_c{creation_time:%Y%m%d%H%M%S%f}_{source}.h5','GATMO-SATMS_{platform_shortname}_d{start_time:%Y%m%d_t%H%M%S%f}_e{end_time:%H%M%S%f}_b{orbit:5d}_c{creation_time:%Y%m%d%H%M%S%f}_{source}.h5']
# Example filenames
# GATMO_j01_d20221220_t0910240_e0921356_b26361_c20221220100456680030_cspp_dev.h5
# SATMS_j01_d20221220_t0910240_e0921356_b26361_c20221220100456348770_cspp_dev.h5
Expand Down

0 comments on commit 70bbc86

Please sign in to comment.