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 channel aliases to the CLAVRx reader to facilitate composites #2441

Merged
merged 38 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
6f141e8
Merge branch 'main' of github.com:pytroll/satpy into main
joleenf Mar 10, 2023
9d61d22
Merge branch 'main' of github.com:pytroll/satpy into clavrx_cloud_rgb
joleenf Apr 6, 2023
b20180a
Create aliases for CLAVRx product names that are the bidirectional re…
joleenf Apr 7, 2023
7184c8c
Merge branch 'main' of github.com:pytroll/satpy into clavrx_cloud_rgb
joleenf Apr 7, 2023
c6d0122
Update how alias is used with "file_key" in ds_info, which eliminates…
joleenf Apr 11, 2023
8706601
Fixed is_polar() error improperly identifying ABI as polar.
joleenf May 5, 2023
a48111e
attempt to address complexity of available_datasets
joleenf May 9, 2023
db8b011
Trying to adjust for complexity error in available datasets
joleenf May 15, 2023
01608a1
Add minor tests and refactor netcdf test to use a mock class so that
joleenf May 19, 2023
f6caf71
Remove excessive if/then statements and actually test the alias name
joleenf May 19, 2023
26ad2b6
Remove extra space
joleenf May 19, 2023
d39a7ca
Fix mock cleanup error by using teardown rather than cleanup
joleenf May 26, 2023
6433eb0
Fix poor capitalization bug
joleenf May 26, 2023
dace7ab
Fix donor name bug revealed when switching from AHI to ABI in tests
joleenf May 27, 2023
6f68576
Go back to using parameterize and add tests for alias. Clean up logi…
joleenf May 27, 2023
c37cdd5
Merge branch 'clavrx_cloud_rgb' of github.com:joleenf/satpy into clav…
joleenf May 27, 2023
8baf5af
Merge branch 'main' of github.com:pytroll/satpy into main
joleenf May 30, 2023
5cf4227
Merge branch 'main' into clavrx_cloud_rgb
joleenf May 30, 2023
6a7e1c0
Trying to make sure valid range is given for non-flag variables (this…
joleenf Jun 5, 2023
b301a89
Merge branch 'main' of github.com:pytroll/satpy into main
joleenf Jun 8, 2023
cce40b2
Merge in the upstream branch to update since this is over 1000 commit…
joleenf Jun 15, 2023
5c3cc8c
BUG FIX: added back the handled variables which was lost when
joleenf Jun 15, 2023
e711f0f
Merge remote-tracking branch 'upstream/main' into main
joleenf Jun 29, 2023
0dc77f8
Merge branch 'main' of github.com:pytroll/satpy into main
joleenf Jul 27, 2023
b68daa8
Add abi_geos to AreaDefinition so that the RGB images are named corre…
joleenf Jan 17, 2024
ae6a63d
Merge branch 'main' into clavrx_cloud_rgb
joleenf Jan 17, 2024
1b6490a
Select branch changes update assertion tests
joleenf Jan 18, 2024
967c681
Accept local changes
joleenf Jan 18, 2024
81aaf03
Fix problems with tests by splitting into separate files
joleenf Jan 19, 2024
e2cf6eb
removing extra lines in creating test content
joleenf Jan 31, 2024
93f5c50
Merge branch 'main' of github.com:joleenf/satpy into clavrx_cloud_rgb
joleenf Jan 31, 2024
d40b227
Merge branch 'main' of github.com:pytroll/satpy into clavrx_cloud_rgb
joleenf Jan 31, 2024
f1170f6
Remove extra spaces
joleenf Feb 2, 2024
143973e
Change area definition and add check for resolution
joleenf Feb 12, 2024
024a63f
Address: scale_factor/add_offset dtype, area_extent type.
joleenf Feb 13, 2024
cef6e5a
Move clavrx tests
joleenf Feb 13, 2024
8d45299
Add init to clavrx tests directory
joleenf Feb 16, 2024
f6d1f1f
Fix apostrophes being replaced with double quotes
djhoese Feb 16, 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
23 changes: 23 additions & 0 deletions satpy/etc/enhancements/generic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,29 @@ enhancements:
stretch: linear
cutoffs: [0.005, 0.005]

four_level_cloud_mask:
standard_name: cloud_mask
reader: clavrx
operations:
- name: palettize
method: !!python/name:satpy.enhancements.palettize
kwargs:
palettes:
- {'values': [-127,# Fill Value
0, # Clear
1, # Probably Clear
2, # Probably Cloudy
3, # Cloudy
],
'colors': [[0, 0, 0], # black,-127 = Fill Value
[94, 79, 162], # blue, 0 = Clear
[73, 228, 242], # cyan, 1 = Probably Clear
[158, 1, 66], # red, 2 = Probably Cloudy
[255, 255, 255], # white, 3 = Cloudy
],
'color_scale': 255,
}

sar-ice:
standard_name: sar-ice
operations:
Expand Down
Loading
Loading