reader:
  description: NC Reader for OLCI data
  name: olci_l2
  sensors: [olci]
  default_channels: []
  reader: !!python/name:satpy.readers.yaml_reader.FileYAMLReader

file_types:

    esa_l2_reflectance:
        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/{dataset_name}_reflectance.nc']
    esa_l2_chl_nn:
        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/chl_nn.nc']
    esa_l2_chl_oc4me:
        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/chl_oc4me.nc']
    esa_l2_iop_nn:
        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/iop_nn.nc']
    esa_l2_trsp:
        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/trsp.nc']
    esa_l2_tsm_nn:
        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_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
        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/tie_geometries.nc']
    esa_geo:
        file_reader: !!python/name:satpy.readers.olci_nc.NCOLCIGeo
        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/geo_coordinates.nc']


datasets:
  longitude:
    name: longitude
    resolution: 300
    file_type: esa_geo
    standard_name: longitude
    units: degree

  latitude:
    name: latitude
    resolution: 300
    file_type: esa_geo
    standard_name: latitude
    units: degree

  Oa01:
    name: Oa01
    sensor: olci
    wavelength: [0.3925,0.4,0.4075]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    coordinates: [longitude, latitude]
    file_type: esa_l2_reflectance

  Oa02:
    name: Oa02
    sensor: olci
    wavelength: [0.4075, 0.4125, 0.4175]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    coordinates: [longitude, latitude]
    file_type: esa_l2_reflectance

  Oa03:
    name: Oa03
    sensor: olci
    wavelength: [0.4375,0.4425,0.4475]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    coordinates: [longitude, latitude]
    file_type: esa_l2_reflectance

  Oa04:
    name: Oa04
    sensor: olci
    wavelength: [0.485,0.49,0.495]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    coordinates: [longitude, latitude]
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa05:
    name: Oa05
    sensor: olci
    wavelength: [0.505,0.51,0.515]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    coordinates: [longitude, latitude]
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa06:
    name: Oa06
    sensor: olci
    wavelength: [0.555,0.56,0.565]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    coordinates: [longitude, latitude]
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa07:
    name: Oa07
    sensor: olci
    wavelength: [0.615,0.62,0.625]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    coordinates: [longitude, latitude]
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa08:
    name: Oa08
    sensor: olci
    wavelength: [0.66,0.665,0.67]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    coordinates: [longitude, latitude]
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa09:
    name: Oa09
    sensor: olci
    wavelength: [0.67,0.67375,0.6775]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    coordinates: [longitude, latitude]
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa10:
    name: Oa10
    sensor: olci
    wavelength: [0.6775,0.68125,0.685]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    coordinates: [longitude, latitude]
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa11:
    name: Oa11
    sensor: olci
    wavelength: [0.70375,0.70875,0.71375]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    coordinates: [longitude, latitude]
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa12:
    name: Oa12
    sensor: olci
    wavelength: [0.75,0.75375,0.7575]
    modifiers: [sunz_corrected, rayleigh_corrected]
    coordinates: [longitude, latitude]
    resolution: 300
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa13:
    name: Oa13
    sensor: olci
    wavelength: [0.76,0.76125,0.7625]
    modifiers: [sunz_corrected, rayleigh_corrected]
    coordinates: [longitude, latitude]
    resolution: 300
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa14:
    name: Oa14
    sensor: olci
    wavelength: [0.760625, 0.764375, 0.768125]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    coordinates: [longitude, latitude]
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa15:
    name: Oa15
    sensor: olci
    wavelength: [0.76625, 0.7675, 0.76875]
    modifiers: [sunz_corrected, rayleigh_corrected]
    coordinates: [longitude, latitude]
    resolution: 300
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa16:
    name: Oa16
    sensor: olci
    wavelength: [0.77125, 0.77875, 0.78625]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    coordinates: [longitude, latitude]
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa17:
    name: Oa17
    sensor: olci
    wavelength: [0.855, 0.865, 0.875]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    coordinates: [longitude, latitude]
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa18:
    name: Oa18
    sensor: olci
    wavelength: [0.88, 0.885, 0.89]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    coordinates: [longitude, latitude]
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa19:
    name: Oa19
    sensor: olci
    wavelength: [0.895, 0.9, 0.905]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    coordinates: [longitude, latitude]
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa20:
    name: Oa20
    sensor: olci
    wavelength: [0.93, 0.94, 0.95]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    coordinates: [longitude, latitude]
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  Oa21:
    name: Oa21
    sensor: olci
    wavelength: [1.0, 1.02, 1.04]
    modifiers: [sunz_corrected, rayleigh_corrected]
    resolution: 300
    coordinates: [longitude, latitude]
    calibration:
      reflectance:
        standard_name: water_leaving_reflectance
        units: "%"
    file_type: esa_l2_reflectance

  chl_oc4me:
    name: chl_oc4me
    sensor: olci
    resolution: 300
    calibration:
      reflectance:
        standard_name: algal_pigment_concentration
        units: "lg(re mg.m-3)"
    coordinates: [longitude, latitude]
    file_type: esa_l2_chl_oc4me
    nc_key: CHL_OC4ME

  chl_nn:
    name: chl_nn
    sensor: olci
    resolution: 300
    calibration:
      reflectance:
        standard_name: algal_pigment_concentration
        units: "lg(re mg.m-3)"
    coordinates: [longitude, latitude]
    file_type: esa_l2_chl_nn
    nc_key: CHL_NN

  iop_nn:
    name: iop_nn
    sensor: olci
    resolution: 300
    calibration:
      reflectance:
        standard_name: cdm_absorption_coefficient
        units: "lg(re m-l)"
    coordinates: [longitude, latitude]
    file_type: esa_l2_iop_nn
    nc_key: ADG443_NN

  trsp:
    name: trsp
    sensor: olci
    resolution: 300
    calibration:
      reflectance:
        standard_name: diffuse_attenuation_coefficient
        units: "lg(re m-l)"
    coordinates: [longitude, latitude]
    file_type: esa_l2_trsp
    nc_key: KD490_M07

  tsm_nn:
    name: tsm_nn
    sensor: olci
    resolution: 300
    calibration:
      reflectance:
        standard_name: total_suspended_matter_concentration
        units: "lg(re g.m-3)"
    coordinates: [longitude, latitude]
    file_type: esa_l2_tsm_nn
    nc_key: TSM_NN

  wqsf:
    name: wqsf
    sensor: olci
    resolution: 300
    coordinates: [longitude, latitude]
    file_type: esa_l2_wqsf
    nc_key: WQSF

  mask:
    name: mask
    sensor: olci
    resolution: 300
    coordinates: [longitude, latitude]
    file_type: esa_l2_wqsf
    nc_key: WQSF

  solar_zenith_angle:
    name: solar_zenith_angle
    sensor: olci
    resolution: 300
    coordinates: [longitude, latitude]
    file_type: esa_angles

  solar_azimuth_angle:
    name: solar_azimuth_angle
    sensor: olci
    resolution: 300
    coordinates: [longitude, latitude]
    file_type: esa_angles

  satellite_zenith_angle:
    name: satellite_zenith_angle
    sensor: olci
    resolution: 300
    coordinates: [longitude, latitude]
    file_type: esa_angles

  satellite_azimuth_angle:
    name: satellite_azimuth_angle
    sensor: olci
    resolution: 300
    coordinates: [longitude, latitude]
    file_type: esa_angles
