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 new mask datasets for olci l2 and refactor a bit #1767

Closed
wants to merge 21 commits into from
Closed
Show file tree
Hide file tree
Changes from 12 commits
Commits
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: 22 additions & 1 deletion satpy/etc/readers/olci_l2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ file_types:
file_reader: !!python/name:satpy.readers.olci_nc.NCOLCI2
file_patterns: ['{mission_id:3s}_OL_2_{datatype_id:_<6s}_{start_time:%Y%m%dT%H%M%S}_{end_time:%Y%m%dT%H%M%S}_{creation_time:%Y%m%dT%H%M%S}_{duration:4d}_{cycle:3d}_{relative_orbit:3d}_{frame:4d}_{centre:3s}_{mode:1s}_{timeliness:2s}_{collection:3s}.SEN3/tsm_nn.nc']
esa_l2_wqsf:
file_reader: !!python/name:satpy.readers.olci_nc.NCOLCI2
file_reader: !!python/name:satpy.readers.olci_nc.NCOLCI2Flags
file_patterns: ['{mission_id:3s}_OL_2_{datatype_id:_<6s}_{start_time:%Y%m%dT%H%M%S}_{end_time:%Y%m%dT%H%M%S}_{creation_time:%Y%m%dT%H%M%S}_{duration:4d}_{cycle:3d}_{relative_orbit:3d}_{frame:4d}_{centre:3s}_{mode:1s}_{timeliness:2s}_{collection:3s}.SEN3/wqsf.nc']
esa_angles:
file_reader: !!python/name:satpy.readers.olci_nc.NCOLCIAngles
Expand Down Expand Up @@ -399,6 +399,27 @@ datasets:
coordinates: [longitude, latitude]
file_type: esa_l2_wqsf
nc_key: WQSF
masked_items: [ "INVALID", "SNOW_ICE", "INLAND_WATER", "SUSPECT",
"AC_FAIL", "CLOUD", "HISOLZEN", "OCNN_FAIL",
"CLOUD_MARGIN", "CLOUD_AMBIGUOUS", "LOWRW", "LAND" ]

cloud_mask:
name: cloud_mask
sensor: olci
resolution: 300
coordinates: [longitude, latitude]
file_type: esa_l2_wqsf
nc_key: WQSF
masked_items: [ "CLOUD" ]

ocnn_mask:
name: ocnn_mask
sensor: olci
resolution: 300
coordinates: [longitude, latitude]
file_type: esa_l2_wqsf
nc_key: WQSF
masked_items: [ "OCNN_FAIL" ]

solar_zenith_angle:
name: solar_zenith_angle
Expand Down
Loading