Skip to content
Draft
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion satpy/etc/readers/olci_l1b.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
reader:
name: olci_l1b
short_name: OLCI Level 1b
long_name: Sentinel-3 A and B OLCI Level 1B data in netCDF4 format
long_name: Sentinel-3 OLCI Level 1B data in netCDF4 format
description: NC Reader for OLCI data
status: Nominal
supports_fsspec: true
Expand Down
2 changes: 1 addition & 1 deletion satpy/etc/readers/olci_l2.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
reader:
name: olci_l2
short_name: OLCI Level 2
long_name: Sentinel-3 A and B OLCI Level 2 data in netCDF4 format
long_name: Sentinel-3 OLCI Level 2 data in netCDF4 format
description: NC Reader for OLCI data
status: Nominal
supports_fsspec: true
Expand Down
91 changes: 82 additions & 9 deletions satpy/etc/readers/slstr_l1b.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
reader:
name: slstr_l1b
short_name: SLSTR l1b
long_name: Sentinel-3 A and B SLSTR data in netCDF4 format
long_name: Sentinel-3 SLSTR data in netCDF4 format
description: NC Reader for SLSTR data
status: Alpha
supports_fsspec: false
Expand Down Expand Up @@ -57,19 +57,22 @@ reader:
file_types:
esa_l1b_refl:
file_reader: !!python/name:satpy.readers.slstr_l1b.NCSLSTR1B
file_patterns: ['{mission_id:3s}_SL_{processing_level:1s}_{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:4s}_{centre:3s}_{mode:1s}_{timeliness:2s}_{baseline:3d}.SEN3/{dataset_name}_radiance_{stripe:1s}{view:1s}.nc']
file_patterns: ['{mission_id:3s}_SL_1_{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:4s}_{centre:3s}_{mode:1s}_{timeliness:2s}_{baseline:3d}.SEN3/{dataset_name}_radiance_{stripe:1s}{view:1s}.nc']
esa_l1b_tir:
file_reader: !!python/name:satpy.readers.slstr_l1b.NCSLSTR1B
file_patterns: ['{mission_id:3s}_SL_{processing_level:1s}_{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:4s}_{centre:3s}_{mode:1s}_{timeliness:2s}_{baseline:3d}.SEN3/{dataset_name}_BT_{stripe:1s}{view:1s}.nc']
file_patterns: ['{mission_id:3s}_SL_1_{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:4s}_{centre:3s}_{mode:1s}_{timeliness:2s}_{baseline:3d}.SEN3/{dataset_name}_BT_{stripe:1s}{view:1s}.nc']
esa_angles:
file_reader: !!python/name:satpy.readers.slstr_l1b.NCSLSTRAngles
file_patterns: ['{mission_id:3s}_SL_{processing_level:1s}_{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:4s}_{centre:3s}_{mode:1s}_{timeliness:2s}_{baseline:3d}.SEN3/geometry_t{view:1s}.nc']
file_reader: !!python/name:satpy.readers.core.slstr.NCSLSTRAngles
file_patterns: ['{mission_id:3s}_SL_1_{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:4s}_{centre:3s}_{mode:1s}_{timeliness:2s}_{baseline:3d}.SEN3/geometry_t{view:1s}.nc']
esa_geo:
file_reader: !!python/name:satpy.readers.slstr_l1b.NCSLSTRGeo
file_patterns: ['{mission_id:3s}_SL_{processing_level:1s}_{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:4s}_{centre:3s}_{mode:1s}_{timeliness:2s}_{baseline:3d}.SEN3/geodetic_{stripe:1s}{view:1s}.nc']
file_reader: !!python/name:satpy.readers.core.slstr.NCSLSTRGeo
file_patterns: ['{mission_id:3s}_SL_1_{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:4s}_{centre:3s}_{mode:1s}_{timeliness:2s}_{baseline:3d}.SEN3/geodetic_{stripe:1s}{view:1s}.nc']
esa_l1b_flag:
file_reader: !!python/name:satpy.readers.slstr_l1b.NCSLSTRFlag
file_patterns: ['{mission_id:3s}_SL_{processing_level:1s}_{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:4s}_{centre:3s}_{mode:1s}_{timeliness:2s}_{baseline:3d}.SEN3/flags_{stripe:1s}{view:1s}.nc']
file_reader: !!python/name:satpy.readers.core.slstr.NCSLSTRFlag
file_patterns: ['{mission_id:3s}_SL_1_{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:4s}_{centre:3s}_{mode:1s}_{timeliness:2s}_{baseline:3d}.SEN3/flags_{stripe:1s}{view:1s}.nc']
esa_l1b_cartesian:
file_reader: !!python/name:satpy.readers.core.slstr.NCSLSTRGeo
file_patterns: ['{mission_id:3s}_SL_1_{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:4s}_{centre:3s}_{mode:1s}_{timeliness:2s}_{baseline:3d}.SEN3/cartesian_{stripe:1s}{view:1s}.nc']

datasets:
longitude:
Expand All @@ -82,6 +85,16 @@ datasets:
standard_name: longitude
units: degree

longitude_orphan:
name: longitude_orphan
resolution: [500, 1000]
view: [nadir, oblique]
stripe: [a, b, i, f]
file_type: esa_geo
file_key: longitude_orphan_{stripe:1s}{view:1s}
standard_name: longitude
units: degree

latitude:
name: latitude
resolution: [500, 1000]
Expand All @@ -92,6 +105,16 @@ datasets:
standard_name: latitude
units: degree

latitude_orphan:
name: latitude_orphan
resolution: [500, 1000]
view: [nadir, oblique]
stripe: [a, b, i, f]
file_type: esa_geo
file_key: latitude_orphan_{stripe:1s}{view:1s}
standard_name: latitude_orphan
units: degree

elevation:
name: elevation
resolution: [500, 1000]
Expand All @@ -102,6 +125,56 @@ datasets:
standard_name: elevation
units: m

elevation_orphan:
name: elevation_orphan
resolution: [500, 1000]
view: [nadir, oblique]
stripe: [a, b, i, f]
file_type: esa_geo
file_key: elevation_{stripe:1s}{view:1s}
standard_name: elevation_orphan
units: m

x_coords:
name: x_coords
resolution: [500, 1000]
view: [nadir, oblique]
stripe: [a, b, i, f]
file_type: esa_geo
file_key: x_{stripe:1s}{view:1s}
standard_name: x_coords
units: m

y_coords:
name: y_coords
resolution: [500, 1000]
view: [nadir, oblique]
stripe: [a, b, i, f]
file_type: esa_geo
file_key: y_{stripe:1s}{view:1s}
standard_name: y_coords
units: m

x_orphan_coords:
name: x_orphan_coords
resolution: [500, 1000]
view: [nadir, oblique]
stripe: [a, b, i, f]
file_type: esa_geo
file_key: x_orphan_{stripe:1s}{view:1s}
standard_name: x_orphan_coords
units: m

y_orphan_coords:
name: y_orphan_coords
resolution: [500, 1000]
view: [nadir, oblique]
stripe: [a, b, i, f]
file_type: esa_geo
file_key: y_orphan_{stripe:1s}{view:1s}
standard_name: y_orphan_coords
units: m

# The channels S1-S3 are available in nadir (default) and oblique view.
S1:
name: S1
Expand Down
245 changes: 245 additions & 0 deletions satpy/etc/readers/slstr_l2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
reader:
name: slstr_l2
short_name: SLSTR l2
long_name: Sentinel-3 SLSTR Level-2 data in netCDF4 format
description: NC Reader for SLSTR L2 data
status: Alpha
supports_fsspec: false
sensors: [slstr]
reader: !!python/name:satpy.readers.core.yaml_reader.FileYAMLReader
data_identification_keys:
name:
required: true
wavelength:
type: !!python/name:satpy.dataset.dataid.WavelengthRange
resolution:
transitive: false
calibration:
enum:
- reflectance
- brightness_temperature
- radiance
- counts
transitive: true
view:
enum:
- nadir
- oblique
transitive: true
stripe:
enum:
- a
- b
- i
- f
modifiers:
default: []
type: !!python/name:satpy.dataset.dataid.ModifierTuple

coord_identification_keys:
name:
required: true
resolution:
transitive: false
view:
enum:
- nadir
- oblique
transitive: true
stripe:
enum:
- a
- b
- i
- f

file_types:
esa_lst:
file_reader: !!python/name:satpy.readers.slstr_l2_nc.NCSLSTRL2LST
file_patterns:
- '{mission_id:3s}_SL_2_LST____{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}_{platform_mode:1s}_{timeliness:2s}_{collection:3s}.SEN3/LST_{stripe:1s}{view:1s}.nc'
esa_angles:
file_reader: !!python/name:satpy.readers.core.slstr.NCSLSTRAngles
file_patterns:
- '{mission_id:3s}_SL_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:4s}_{centre:3s}_{mode:1s}_{timeliness:2s}_{baseline:3d}.SEN3/geometry_{stripe:1s}{view:1s}.nc'
esa_geo:
file_reader: !!python/name:satpy.readers.core.slstr.NCSLSTRGeo
file_patterns:
- '{mission_id:3s}_SL_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:4s}_{centre:3s}_{mode:1s}_{timeliness:2s}_{baseline:3d}.SEN3/geodetic_{stripe:1s}{view:1s}.nc'
esa_cartesian:
file_reader: !!python/name:satpy.readers.core.slstr.NCSLSTRGeo
file_patterns:
- '{mission_id:3s}_SL_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:4s}_{centre:3s}_{mode:1s}_{timeliness:2s}_{baseline:3d}.SEN3/cartesian{stripe:1s}{view:1s}.nc'

datasets:
longitude:
name: longitude
resolution: 1000
view: nadir
stripe: i
file_type: esa_geo
file_key: longitude_{stripe:1s}{view:1s}
standard_name: longitude
units: degree

longitude_orphan:
name: longitude_orphan
resolution: 1000
view: nadir
stripe: i
file_type: esa_geo
file_key: longitude_orphan_{stripe:1s}{view:1s}
standard_name: longitude
units: degree

latitude:
name: latitude
resolution: 1000
view: nadir
stripe: i
file_type: esa_geo
file_key: latitude_{stripe:1s}{view:1s}
standard_name: latitude
units: degree

latitude_orphan:
name: latitude_orphan
resolution: 1000
view: nadir
stripe: i
file_type: esa_geo
file_key: latitude_orphan_{stripe:1s}{view:1s}
standard_name: latitude_orphan
units: degree

elevation:
name: elevation
resolution: 1000
view: nadir
stripe: i
file_type: esa_geo
file_key: elevation_{stripe:1s}{view:1s}
standard_name: elevation
units: m

elevation_orphan:
name: elevation_orphan
resolution: 1000
view: nadir
stripe: i
file_type: esa_geo
file_key: elevation_{stripe:1s}{view:1s}
standard_name: elevation_orphan
units: m

x_coords:
name: x_coords
resolution: 1000
view: nadir
stripe: i
file_type: esa_geo
file_key: x_{stripe:1s}{view:1s}
standard_name: x_coords
units: m

y_coords:
name: y_coords
resolution: 1000
view: nadir
stripe: i
file_type: esa_geo
file_key: y_{stripe:1s}{view:1s}
standard_name: y_coords
units: m

x_orphan_coords:
name: x_orphan_coords
resolution: 1000
view: nadir
stripe: i
file_type: esa_geo
file_key: x_orphan_{stripe:1s}{view:1s}
standard_name: x_orphan_coords
units: m

y_orphan_coords:
name: y_orphan_coords
resolution: 1000
view: nadir
stripe: i
file_type: esa_geo
file_key: y_orphan_{stripe:1s}{view:1s}
standard_name: y_orphan_coords
units: m

LST:
name: LST
sensor: slstr
stripe: i
view: nadir
resolution: 1000
standard_name: land_surface_temperature
units: K
coordinates: [longitude, latitude]
file_type: esa_lst
file_key: LST

LST_orphan:
name: LST_orphan
sensor: slstr
stripe: i
view: nadir
resolution: 1000
standard_name: land_surface_temperature
units: K
coordinates: [longitude_orphan, latitude_orphan]
file_type: esa_lst
file_key: LST_orphan

LST_exception:
name: LST_exception
sensor: slstr
stripe: i
view: nadir
resolution: 1000
standard_name: LST_quality_flag
units: 1
coordinates: [longitude, latitude]
file_type: esa_lst
file_key: exception

LST_exception_orphan:
name: LST_exception_orphan
sensor: slstr
stripe: i
view: nadir
resolution: 1000
standard_name: LST_quality_flag
units: 1
coordinates: [longitude_orphan, latitude_orphan]
file_type: esa_lst
file_key: exception_orphan

LST_uncertainty:
name: LST_uncertainty
sensor: slstr
stripe: i
view: nadir
resolution: 1000
standard_name: LST_uncertainty
units: K
coordinates: [longitude, latitude]
file_type: esa_lst
file_key: LST_uncertainty

LST_uncertainty_orphan:
name: LST_uncertainty_orphan
sensor: slstr
stripe: i
view: nadir
resolution: 1000
standard_name: LST_uncertainty
units: K
coordinates: [longitude_orphan, latitude_orphan]
file_type: esa_lst
file_key: LST_uncertainty_orphan
Loading
Loading