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 arctic weather satelliter l1b reader #2565

Open
wants to merge 26 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
dca7640
Merge branch 'main' into add-arctic-weather-satelliter-l1b-reader
Sep 4, 2023
a35b1de
First version of the l1b reader for the Arctic Weather Satellite
Sep 4, 2023
4d6fee9
Fix longitudes to be bbetween -180 and 180 and other fixes for geo-lo…
Sep 22, 2023
5c3a7d3
Add some first basic humidity RGB recipes
Sep 22, 2023
8f0d1bf
Start working on tests for aws l1b
mraspaud Nov 6, 2023
7191df1
Finalize aws_l1b refactoring and tests
mraspaud Nov 7, 2023
6b5a97b
Merge branch 'main' into add-arctic-weather-satelliter-l1b-reader
mraspaud Nov 7, 2023
e526ff5
Replace single quotes with double quotes
mraspaud Nov 7, 2023
f039715
Fix aws yaml file
mraspaud Nov 8, 2023
47821d6
Fix aws reader according to review comments
mraspaud Nov 30, 2023
9e9439a
Merge branch 'main' into add-arctic-weather-satelliter-l1b-reader
Feb 21, 2024
95f744e
Merge branch 'main' into add-arctic-weather-satelliter-l1b-reader
Sep 28, 2024
dea6a67
Fixed for latest real-data (not yet final format)
Oct 1, 2024
70bbc86
Changing the humidity-surface RGB to consider the lowest peaking abso…
Oct 1, 2024
a84d874
A first draft fix of the viewing geometry per feed horn
Oct 10, 2024
b6f9b99
Merge branch 'main' into add-arctic-weather-satelliter-l1b-reader
Nov 8, 2024
b22514c
Merge branch 'main' into add-arctic-weather-satelliter-l1b-reader
Nov 9, 2024
da735b3
Merge branch 'main' into add-arctic-weather-satelliter-l1b-reader
Nov 19, 2024
c1b2d9d
Add support for reading the EUMETSAT AWS/EPS-Sterna L1b data
Dec 11, 2024
b2775eb
Add support for reading ESA AWS L1c
Dec 11, 2024
41e7975
Fix the tests
Dec 11, 2024
441ee06
Adapt test to latest AWS l1b format
Dec 11, 2024
1437cd1
Fix tests and add some basic RGB recipes for AWS
Dec 11, 2024
5502cfd
Merge branch 'main' into add-arctic-weather-satelliter-l1b-reader
Dec 11, 2024
23fcf3c
Fix for xarray > 2024.09, and leave stand alone datatree
Dec 12, 2024
b8b08e4
First version of the l1b reader for the Arctic Weather Satellite
Dec 13, 2024
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
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ hsaf_grib = ["pygrib"]
remote_reading = ["fsspec"]
insat_3d = ["xarray>=2024.10.0"]
gms5-vissr_l1b = ["numba"]
aws_l1b = ["xarray-datatree"]
# Writers:
cf = ["h5netcdf >= 0.7.3"]
awips_tiled = ["netCDF4 >= 1.1.8"]
Expand Down
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
46 changes: 46 additions & 0 deletions satpy/etc/composites/aws.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
sensor_name: aws

composites:
mw183_humidity:
standard_name: mw183_humidity
compositor: !!python/name:satpy.composites.GenericCompositor
prerequisites:
- name: '11'
- name: '13'
- name: '15'

mw183_humidity_surface:
compositor: !!python/name:satpy.composites.RGBCompositor
prerequisites:
- name: '9'
- name: '10'
- 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

ch1_tbs_colors:
compositor: !!python/name:satpy.composites.SingleBandCompositor
prerequisites:
- name: '1'
standard_name: tbs_colors

ch10_tbs_colors:
compositor: !!python/name:satpy.composites.SingleBandCompositor
prerequisites:
- name: '10'
standard_name: tbs_colors
57 changes: 57 additions & 0 deletions satpy/etc/enhancements/aws.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
enhancements:

mw183_humidity:
standard_name: mw183_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}

mw183_humidity_surface:
standard_name: mw183_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}

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}
15 changes: 15 additions & 0 deletions satpy/etc/enhancements/generic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1289,3 +1289,18 @@ enhancements:
image_ready:
standard_name: image_ready
operations: []

mw183_humidity:
# matches AWS
standard_name: mw183_humidity
operations:
- name: stretch
method: !!python/name:satpy.enhancements.stretch
kwargs:
stretch: crude
min_stretch: [290, 290, 290]
max_stretch: [190, 190, 190]
- name: gamma
method: !!python/name:satpy.enhancements.gamma
kwargs:
gamma: [1.5, 1.2, 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
Loading
Loading