# -*- coding: utf-8 -*-
# ----------------------------------------------------------------------
#
# 
# Altimetric product configuration parameter for AlTiS Software.
#
# Created by Fabien Blarel on 2019-04-19. 
# ----------------------------------------------------------------------

################################################################################
# Produit Jason-2 GDR-D
################################################################################
ja2_a_cnes_d_gdr:
    #---------------------------------------------------------------------------
    # Product informations 
    #---------------------------------------------------------------------------
    mission : "Jason-2"
    orbit_ph : "A"
    version : "GDR-D"

    #---------------------------------------------------------------------------
    # Filename regular expression (DO NOT TOUCH!)
    #---------------------------------------------------------------------------
    regex_filename : .*(?P<mission>JA2)_GP[S|N]_2P(?P<baseline_collection>d|D)P(?P<cycle>\d{3})_(?P<track>\d{3})_\d{4}[01]\d[0-3]\d_[0-2]\d[0-5]\d[0-5]\d_\d{4}[01]\d[0-3]\d_[0-2]\d[0-5]\d[0-5]\d\.nc

    #---------------------------------------------------------------------------
    # Coordinates
    #---------------------------------------------------------------------------
    time_lf : time
    time_hf : time_20hz
    lon_lf : lon    
    lat_lf : lat
    lon_hf : lon_20hz    
    lat_hf : lat_20hz

    #---------------------------------------------------------------------------
    # Reference ellipsoid
    #---------------------------------------------------------------------------
    ellipsoid : TPX
    
    #---------------------------------------------------------------------------
    # Surface height parameters
    #---------------------------------------------------------------------------
    surfheight:
        # Surface Height for rivers
        ice1_surfheight_ku:
            # Altitude
            alt_sat : alt_20hz
            # Range (Ice-1 (OCOG) retracker) (needed for RiversLakes Surface height)
            range : ice_range_20hz_ku
            # Range Corrections needed for RiversLakes Surface height
            wet_tropo_corr : model_wet_tropo_corr
            dry_tropo_corr : model_dry_tropo_corr
            iono_corr : iono_corr_gim_ku
            solid_earth_tide : solid_earth_tide
            pole_tide : pole_tide
            # Geoid correction (for RiversLakes, GreatLakes Surface Type)
            geoid : geoid_egm08
            # Attributs of surface height
            long_name: "Surface height from Ice-1 retracker above geoid"
            units: "m"
            # comment : # cet attribut est généré automatiquement avec les
            # paramètres l'équation.

################################################################################
# Produit Jason-3 GDR-F
################################################################################
ja3_a_cnes_f_sgdr:
    #---------------------------------------------------------------------------
    # Product informations 
    #---------------------------------------------------------------------------
    mission : "Jason-3"
    orbit_ph : "A"
    version : "GDR-F"

    #---------------------------------------------------------------------------
    # Filename regular expression (DO NOT TOUCH!)
    #---------------------------------------------------------------------------
    regex_filename : .*(?P<mission>JA3)_GP[S|N]_2P(?P<baseline_collection>f|F)P(?P<cycle>\d{3})_(?P<track>\d{3})_\d{4}[01]\d[0-3]\d_[0-2]\d[0-5]\d[0-5]\d_\d{4}[01]\d[0-3]\d_[0-2]\d[0-5]\d[0-5]\d\.nc

    #---------------------------------------------------------------------------
    # Coordinates
    #---------------------------------------------------------------------------
    time_lf : data_01/time
    time_hf : data_20/time
    lon_lf : data_01/longitude
    lat_lf : data_01/latitude
    lon_hf : data_20/longitude
    lat_hf : data_20/latitude

    #---------------------------------------------------------------------------
    # Reference ellipsoid
    #---------------------------------------------------------------------------
    ellipsoid : TPX

    #---------------------------------------------------------------------------
    # Surface height parameters
    #---------------------------------------------------------------------------
    surfheight:
        ice1_surfheight_ku:
            # Altitude
            alt_sat : data_20/altitude
            # Range (Ice-1 (OCOG) retracker)
            range : data_20/ku/range_ocog
            # Range Corrections
            wet_tropo_corr : data_20/model_wet_tropo_cor_measurement_altitude
            dry_tropo_corr : data_20/model_dry_tropo_cor_measurement_altitude
            iono_corr : data_01/ku/iono_cor_gim
            solid_earth_tide : data_01/solid_earth_tide
            pole_tide : data_01/pole_tide
            # Geoid correction (for RiversLakes, GreatLakes Surface Type)
            geoid : data_01/geoid 
            # Attributs of surface height
            long_name: "Surface height from OCOG retracker above geoid"
            units: "m"
            # comment : # cet attribut est généré automatiquement avec les
            # paramètres l'équation.

################################################################################
# Produit Topex GDR-D
################################################################################
tpx_a_cash_v0220_gdr:
    #---------------------------------------------------------------------------
    # Product informations 
    #---------------------------------------------------------------------------
    mission : "Topex"
    orbit_ph : "A"
    version : "CASH_CTOH_v2.2"

    #---------------------------------------------------------------------------
    # Filename regular expression (DO NOT TOUCH!)
    #---------------------------------------------------------------------------
    regex_filename : .*(?P<mission>tpx)_(?P<supplier>cash)_(?P<cycle>\d{3})_(?P<track>\d{4})_\d{4}[01]\d[0-3]\d.nc
    #---------------------------------------------------------------------------
    # Coordinates
    #---------------------------------------------------------------------------
    time_lf : time
    time_hf : time_10hz
    lon_lf : lon    
    lat_lf : lat
    lon_hf : lon_10hz    
    lat_hf : lat_10hz
 
    #---------------------------------------------------------------------------
    # Reference ellipsoid
    #---------------------------------------------------------------------------
    ellipsoid : TPX

    #---------------------------------------------------------------------------
    # Surface height parameters
    #---------------------------------------------------------------------------
    surfheight :
        ice1_surfheight_ku:
            # Altitude
            alt_sat : alt_10hz
            # Range (Ice-1 (OCOG) retracker) (needed for RiversLakes Surface height)
            range : range_10hz_ice1
            # Range Corrections needed for RiversLakes Surface height
            wet_tropo_corr : model_wet_tropo_corr
            dry_tropo_corr : model_dry_tropo_corr
            iono_corr : iono_corr_gim_ku
            solid_earth_tide : solid_earth_tide
            pole_tide : pole_tide
            # Geoid correction (for RiversLakes, GreatLakes Surface Type)
            geoid : geoid_egm08
            # Attributs of surface height
            long_name: "Surface height from Ice-1 retracker above geoid"
            units: "m"
            # comment : # cet attribut est généré automatiquement avec les
            # paramètres l'équation.

################################################################################
# Produit Jason-1 GDR-E
################################################################################
ja1_a_cnes_e_gdr:
    #---------------------------------------------------------------------------
    # Product informations 
    #---------------------------------------------------------------------------
    mission : "Jason-1"
    orbit_ph : "A"
    version : "GDR-D"

    #---------------------------------------------------------------------------
    # Filename regular expression (DO NOT TOUCH!)
    #---------------------------------------------------------------------------
    regex_filename : .*(?P<mission>JA1)_GP[S|N]_2P(?P<baseline_collection>e|E)P(?P<cycle>\d{3})_(?P<track>\d{3})_\d{4}[01]\d[0-3]\d_[0-2]\d[0-5]\d[0-5]\d_\d{4}[01]\d[0-3]\d_[0-2]\d[0-5]\d[0-5]\d\.nc

    #---------------------------------------------------------------------------
    # Coordinates
    #---------------------------------------------------------------------------
    time_lf : time
    time_hf : time_20hz
    lon_lf : lon    
    lat_lf : lat
    lon_hf : lon_20hz    
    lat_hf : lat_20hz
 
    #---------------------------------------------------------------------------
    # Reference ellipsoid
    #---------------------------------------------------------------------------
    ellipsoid : TPX

    #---------------------------------------------------------------------------
    # Surface height parameters
    #---------------------------------------------------------------------------
    surfheight :
        ice1_surfheight_ku:
            # Altitude
            alt_sat : alt_20hz
            # Range (Ice-1 (OCOG) retracker)
            range : ice_range_20hz_ku
            # Range Corrections
            wet_tropo_corr : model_wet_tropo_corr
            dry_tropo_corr : model_dry_tropo_corr
            iono_corr : iono_corr_gim_ku
            solid_earth_tide : solid_earth_tide
            pole_tide : pole_tide
            # Geoid correction (for RiversLakes, GreatLakes Surface Type)
            geoid : geoid
            # Attributs of surface height
            long_name: "Surface height from Ice-1 retracker above geoid"
            units: "m"
            # comment : # cet attribut est généré automatiquement avec les
            # paramètres l'équation.

################################################################################
# Product Swot Nadir GDR-F
################################################################################
swot_b_nadir_f_sgdr:
    #---------------------------------------------------------------------------
    # Product informations 
    #---------------------------------------------------------------------------
    mission : "SWOT"
    orbit_ph : "B"
    version : "GDR-F"

    #---------------------------------------------------------------------------
    # Filename regular expression (DO NOT TOUCH!)
    #---------------------------------------------------------------------------
    regex_filename : .*(?P<mission>SWOT)_GP[S|N]_2P(?P<baseline_collection>f|F)P(?P<cycle>\d{3})_(?P<track>\d{3})_\d{4}[01]\d[0-3]\d_[0-2]\d[0-5]\d[0-5]\d_\d{4}[01]\d[0-3]\d_[0-2]\d[0-5]\d[0-5]\d\.nc

    #---------------------------------------------------------------------------
    # Coordinates
    #---------------------------------------------------------------------------
    time_lf : data_01/time
    time_hf : data_20/time
    lon_lf : data_01/longitude
    lat_lf : data_01/latitude
    lon_hf : data_20/longitude
    lat_hf : data_20/latitude

    #---------------------------------------------------------------------------
    # Reference ellipsoid
    #---------------------------------------------------------------------------
    ellipsoid : TPX

    #---------------------------------------------------------------------------
    # Surface height parameters
    #---------------------------------------------------------------------------
    surfheight :
        ice1_surfheight_ku:
            # Altitude
            alt_sat : data_20/altitude
            # Range (Ice-1 (OCOG) retracker)
            range : data_20/ku/range_ocog
            # Range Corrections
            wet_tropo_corr : data_20/model_wet_tropo_cor_measurement_altitude
            dry_tropo_corr : data_20/model_dry_tropo_cor_measurement_altitude
            iono_corr : data_01/ku/iono_cor_gim
            solid_earth_tide : data_01/solid_earth_tide
            pole_tide : data_01/pole_tide
            # Geoid correction (for RiversLakes, GreatLakes Surface Type)
            geoid : data_01/geoid 
            # Attributs of surface height
            long_name: "Surface height from Ice-1 retracker above geoid"
            units: "m"
            # comment : # cet attribut est généré automatiquement avec les
            # paramètres l'équation.

################################################################################
# Product envisat.v30
################################################################################
env_a_esa_v0300_sgdr:
    #---------------------------------------------------------------------------
    # Product informations 
    #---------------------------------------------------------------------------
    mission : "EnvSat"
    orbit_ph : "A"
    version : "ESA_v3.0"

    #---------------------------------------------------------------------------
    # Filename regular expression (DO NOT TOUCH!)
    #---------------------------------------------------------------------------
    regex_filename : .*(?P<mission>ENV)_RA_2_MWS____\d{4}[01]\d[0-3]\dT[0-2]\d[0-5]\d[0-5]\d_\d{4}[01]\d[0-3]\dT[0-2]\d[0-5]\d[0-5]\d_\d{4}[01]\d[0-3]\dT[0-2]\d[0-5]\d[0-5]\d_\d{4}_(?P<cycle>\d{3})_(?P<track>\d{4})____[A-Z0-9]{3}_[A-Z]_[A-Z]{2}_\d{3}.nc

    #---------------------------------------------------------------------------
    # Coordinates
    #---------------------------------------------------------------------------
    time_lf : time_01
    time_hf : time_20
    lon_lf : lon_01    
    lat_lf : lat_01
    lon_hf : lon_20    
    lat_hf : lat_20
    
    #---------------------------------------------------------------------------
    # Reference ellipsoid
    #---------------------------------------------------------------------------
    ellipsoid : WGS84

    #---------------------------------------------------------------------------
    # Surface height parameters
    #---------------------------------------------------------------------------
    surfheight :
        ice1_surfheight_ku:
            # Altitude
            alt_sat : alt_20
            # Range (Ice-1 (OCOG) retracker)
            range : range_ice1_20_ku
            # Range Corrections
            wet_tropo_corr : mod_wet_tropo_cor_01
            dry_tropo_corr : mod_dry_tropo_cor_01
            iono_corr : iono_cor_gim_01_ku
            solid_earth_tide : solid_earth_tide_01
            pole_tide : pole_tide_01
            # Geoid correction (Applied for RiversLakes, GreatLakes Surface Type)
            geoid : geoid_01
            # 2d Geoid correction (not applied to the surface height compute)
            # geoid : geoid_eigen6c4d
            # Attributs of surface height
            long_name: "Surface height from Ice-1 retracker above geoid"
            units: "m"
            # comment : # cet attribut est généré automatiquement avec les
            # paramètres l'équation.

################################################################################
# Product ers2 CTOH
################################################################################
ers2_a_ctoh_v0100_gdr :
    #---------------------------------------------------------------------------
    # Product informations 
    #---------------------------------------------------------------------------
    mission : "ERS-2"
    orbit_ph : "A"
    version : "CTOH_v1.0"

    #---------------------------------------------------------------------------
    # Filename regular expression (DO NOT TOUCH!)
    #---------------------------------------------------------------------------
    regex_filename : .*(?P<mission>E2)_(?P<supplier>CTOH)_GPN_2P01_P(?P<cycle>\d{3})_(?P<track>\d{4})_\d{4}[01]\d[0-3]\d_[0-2]\d[0-5]\d[0-5]\d_\d{4}[01]\d[0-3]\d_[0-2]\d[0-5]\d[0-5]\d\.nc
    #---------------------------------------------------------------------------
    # Coordinates
    #---------------------------------------------------------------------------
    time_lf : time
    time_hf : time_20hz
    lon_lf : lon
    lat_lf : lat
    lon_hf : lon_20hz    
    lat_hf : lat_20hz

    #---------------------------------------------------------------------------
    # Reference ellipsoid
    #---------------------------------------------------------------------------
    ellipsoid : WGS84
    #---------------------------------------------------------------------------
    # Surface height parameters
    #---------------------------------------------------------------------------
    surfheight :
        ice1_surfheight_ku:
            # Altitude
            alt_sat : alt_20hz
            # Range (Ice-1 (OCOG) retracker)
            range : ice1_range_20hz
            # Range Corrections
            wet_tropo_corr : model_wet_tropo_corr_reaper
            dry_tropo_corr : model_dry_tropo_corr_20hz
            iono_corr : gim_ku
            solid_earth_tide : solid_earth_tide
            pole_tide : pole_tide_reaper
            # 2d iono corr (not applied to the surface height compute)
            #iono_corr : iono_nic09
            # Geoid correction (for RiversLakes, GreatLakes Surface Type)
            geoid : geoid_egm08
            # 2d Geoid correction (not applied to the surface height compute)
            #geoid : geoid_eigen6c3
            # Attributs of surface height
            long_name: "Surface height from Ice-1 retracker above geoid"
            units: "m"
            # comment : # cet attribut est généré automatiquement avec les
            # paramètres l'équation.

################################################################################
# Product saral GDR-F
################################################################################
srl_a_cnes_f_sgdr:
    #---------------------------------------------------------------------------
    # Product informations 
    #---------------------------------------------------------------------------
    mission : "Saral"
    orbit_ph : "A"
    version : "GDR-F"

    #---------------------------------------------------------------------------
    # Filename regular expression (DO NOT TOUCH!)
    #---------------------------------------------------------------------------
    regex_filename : .*(?P<mission>SRL)_GP[S|N]_2P(?P<baseline_collection>f|F)P(?P<cycle>\d{3})_(?P<track>\d{4})_\d{4}[01]\d[0-3]\d_[0-2]\d[0-5]\d[0-5]\d_\d{4}[01]\d[0-3]\d_[0-2]\d[0-5]\d[0-5]\d.CNES\.nc
    #---------------------------------------------------------------------------
    # Coordinates
    #---------------------------------------------------------------------------
    time_lf : time
    time_hf : time_40hz
    lon_lf : lon    
    lat_lf : lat
    lon_hf : lon_40hz    
    lat_hf : lat_40hz
    #---------------------------------------------------------------------------
    # Reference ellipsoid
    #---------------------------------------------------------------------------
    ellipsoid : TPX
    #---------------------------------------------------------------------------
    # Surface height parameters
    #---------------------------------------------------------------------------
    surfheight :
        ice1_surfheight_ka:
            # Altitude
            alt_sat : alt_40hz
            # Range (Ice-1 (OCOG) retracker)
            range : ice1_range_40hz
            # Range Corrections
            wet_tropo_corr : model_wet_tropo_corr
            dry_tropo_corr : model_dry_tropo_corr
            iono_corr : iono_corr_gim
            solid_earth_tide : solid_earth_tide
            pole_tide : pole_tide
            # Geoid correction (for RiversLakes, GreatLakes Surface Type)
            geoid : geoid   #_egm08
            # 2d Geoid correction (not applied to the surface height compute)
            # geoid : geoid_eigen6c4d
            # Attributs of surface height
            long_name: "Surface height from Ice-1 retracker above geoid"
            units: "m"
            # comment : # cet attribut est généré automatiquement avec les
            # paramètres l'équation.

################################################################################
# Product Sentinel-3A Thematic : HYDRO
################################################################################
s3a_a_hydro_bc5_sgdr: &s3b_hydro
    #---------------------------------------------------------------------------
    # Product informations 
    #---------------------------------------------------------------------------
    mission : "Sentinel-3 A"
    orbit_ph : "A"
    version : "BC005_ESA_hydro"

    #---------------------------------------------------------------------------
    # Filename regular expression (DO NOT TOUCH!)
    #---------------------------------------------------------------------------
    regex_filename : .*(?P<mission>S3A)_SR_2_(?P<supplier>LAN|WAT)_HY_\d{4}[01]\d[0-3]\dT[0-2]\d[0-5]\d[0-5]\d_\d{4}[01]\d[0-3]\dT[0-2]\d[0-5]\d[0-5]\d_.*T.*_.*_C(?P<cycle>\d{3})_P(?P<track>\d{3})_.*_.*_NT_.*\.nc
    #---------------------------------------------------------------------------
    # Coordinates
    #---------------------------------------------------------------------------
    time_lf : time_01
    time_hf : time_20_ku
    lon_lf : lon_01    
    lat_lf : lat_01
    lon_hf : lon_20_ku    
    lat_hf : lat_20_ku
    #---------------------------------------------------------------------------
    # Reference ellipsoid
    #---------------------------------------------------------------------------
    ellipsoid : WGS84
    #---------------------------------------------------------------------------
    # Surface height parameters
    #---------------------------------------------------------------------------
    surfheight :
        ocog_surfheight_ku:
            # Altitude
            alt_sat : alt_20_ku
            # Range (SAMOSA ocean SAR retracker)
            # range : range_water_20_ku
            # Range (Ocean MLE4 plrm retracker)
            # range : range_water_20_plrm_ku
            # Range (Ice-1 (OCOG) retracker)
            range : range_ocog_20_ku
            # Range Corrections
            wet_tropo_corr : mod_wet_tropo_cor_meas_altitude_01
            dry_tropo_corr : mod_dry_tropo_cor_meas_altitude_01
            iono_corr : iono_cor_gim_01_ku
            solid_earth_tide : solid_earth_tide_01
            pole_tide : pole_tide_01
            # Geoid correction (for RiversLakes, GreatLakes Surface Type)
            geoid : geoid_01
            # 2d Geoid correction (not applied to the surface height compute)
            # geoid_2d_sol : geoid_eigen6c4d
            # Attributs of surface height
            long_name: "Surface height from OCOG retracker above geoid"
            units: "m"
            # comment : # cet attribut est généré automatiquement avec les
            # paramètres l'équation.
        sar_surfheight_ku:
            # Altitude
            alt_sat : alt_20_ku
            # Range (SAMOSA ocean SAR retracker)
            range : range_water_20_ku
            # Range Corrections
            wet_tropo_corr : mod_wet_tropo_cor_meas_altitude_01
            dry_tropo_corr : mod_dry_tropo_cor_meas_altitude_01
            iono_corr : iono_cor_gim_01_ku
            solid_earth_tide : solid_earth_tide_01
            pole_tide : pole_tide_01
            # Geoid correction (for RiversLakes, GreatLakes Surface Type)
            geoid : geoid_01
            # 2d Geoid correction (not applied to the surface height compute)
            # geoid_2d_sol : geoid_eigen6c4d
            # Attributs of surface height
            long_name: "Surface height from SAR water retracker above geoid"
            units: "m"
            # comment : # cet attribut est généré automatiquement avec les
            # paramètres l'équation.
        plrm_surfheight_ku:
            # Altitude
            alt_sat : alt_20_ku
            # Range (Ocean MLE4 plrm retracker)
            range : range_water_20_plrm_ku
            # Range Corrections
            wet_tropo_corr : mod_wet_tropo_cor_meas_altitude_01
            dry_tropo_corr : mod_dry_tropo_cor_meas_altitude_01
            iono_corr : iono_cor_gim_01_ku
            solid_earth_tide : solid_earth_tide_01
            pole_tide : pole_tide_01
            # Geoid correction (for RiversLakes, GreatLakes Surface Type)
            geoid : geoid_01
            # 2d Geoid correction (not applied to the surface height compute)
            # geoid_2d_sol : geoid_eigen6c4d
            # Attributs of surface height
            long_name: "Surface height from PLRM retracker above geoid"
            units: "m"
            # comment : # cet attribut est généré automatiquement avec les
            # paramètres l'équation.

################################################################################
# Product Sentinel-3B Thematic product : HYDRO
################################################################################
s3b_b_hydro_bc5_sgdr: 
    << : *s3b_hydro
    #---------------------------------------------------------------------------
    # Product informations 
    #---------------------------------------------------------------------------
    mission : "Sentinel-3 B"
    orbit_ph : "B"
    version : "BC005_ESA_hydro"

    #---------------------------------------------------------------------------
    # Filename regular expression (DO NOT TOUCH!)
    #---------------------------------------------------------------------------
    regex_filename : .*(?P<mission>S3B)_SR_2_(?P<supplier>LAN|WAT)_HY_\d{4}[01]\d[0-3]\dT[0-2]\d[0-5]\d[0-5]\d_\d{4}[01]\d[0-3]\dT[0-2]\d[0-5]\d[0-5]\d_.*T.*_.*_C(?P<cycle>\d{3})_P(?P<track>\d{3})_.*_.*_NT_.*\.nc

################################################################################
# Product Sentinel-6 GDR-F LRM
################################################################################
s6a_a_lrm_%_gdr:
    #---------------------------------------------------------------------------
    # Product informations 
    #---------------------------------------------------------------------------
    mission : "Sentinel-6 A"
    orbit_ph : "A"
    version : "mixte_version_LRM"

    #---------------------------------------------------------------------------
    # Filename regular expression (DO NOT TOUCH!)
    #---------------------------------------------------------------------------
    regex_filename : .*(?P<mission>S6A)_(P4_2)__(?P<mode>LR)_(STD)__(NT|ST)_(?P<cycle>\d{3})_(?P<track>\d{3})_\d{4}[01]\d[0-3]\dT[0-2]\d[0-5]\d[0-5]\d_\d{4}[01]\d[0-3]\dT[0-2]\d[0-5]\d[0-5]\d\_F\d{2}.nc
    #---------------------------------------------------------------------------
    # Coordinates
    #---------------------------------------------------------------------------
    time_lf : data_01/time_tai
    time_hf : data_20/ku/time_tai
    lon_lf : data_01/ku/longitude
    lat_lf : data_01/ku/latitude
    lon_hf : data_20/ku/longitude
    lat_hf : data_20/ku/latitude
    #---------------------------------------------------------------------------
    # Reference ellipsoid
    #---------------------------------------------------------------------------
    ellipsoid : WGS84
    #---------------------------------------------------------------------------
    # Surface height parameters
    #---------------------------------------------------------------------------
    surfheight :
        ocog_surfheight_ku:
            # Altitude
            alt_sat : data_20/ku/altitude
            # Range (Ice-1 (OCOG) retracker)
            range : data_20/ku/range_ocog
            # Range Corrections
            wet_tropo_corr : data_20/ku/model_wet_tropo_cor_measurement_altitude
            dry_tropo_corr : data_20/ku/model_dry_tropo_cor_measurement_altitude
            iono_corr : data_01/ku/iono_cor_gim
            solid_earth_tide : data_01/solid_earth_tide
            pole_tide : data_01/pole_tide
            # Geoid correction (for RiversLakes, GreatLakes Surface Type)
            geoid : data_20/ku/geoid 
            # Attributs of surface height
            long_name: "Surface height from OCOG retracker above geoid"
            units: "m"
            # comment : # cet attribut est généré automatiquement avec les
            # paramètres l'équation.

################################################################################
# Sentinel-6 GDR-F SAR
################################################################################
s6a_a_sar_%_gdr:
    #---------------------------------------------------------------------------
    # Product informations 
    #---------------------------------------------------------------------------
    mission : "Sentinel-6 A"
    orbit_ph : "A"
    version : "mixte_version_SAR"

    #---------------------------------------------------------------------------
    # Filename regular expression (DO NOT TOUCH!)
    #---------------------------------------------------------------------------
    regex_filename : .*.*(?P<mission>S6A)_(P4_2)__(?P<mode>HR)_(STD)__(NT|ST)_(?P<cycle>\d{3})_(?P<track>\d{3})_\d{4}[01]\d[0-3]\dT[0-2]\d[0-5]\d[0-5]\d_\d{4}[01]\d[0-3]\dT[0-2]\d[0-5]\d[0-5]\d\_F\d{2}.nc
    #---------------------------------------------------------------------------
    # Coordinates
    #---------------------------------------------------------------------------
    time_lf : data_01/time_tai
    time_hf : data_20/ku/time_tai
    lon_lf : data_01/ku/longitude
    lat_lf : data_01/ku/latitude
    lon_hf : data_20/ku/longitude
    lat_hf : data_20/ku/latitude
    #---------------------------------------------------------------------------
    # Reference ellipsoid
    #---------------------------------------------------------------------------
    ellipsoid : WGS84
    #---------------------------------------------------------------------------
    # Surface height parameters
    #---------------------------------------------------------------------------
    surfheight :
        sarocog_surfheight_ku:
            # Altitude
            alt_sat : data_20/ku/altitude
            # Range (Ice-1 (OCOG) retracker)
            range : data_20/ku/range_ocog
            # Range Corrections
            wet_tropo_corr : data_20/ku/model_wet_tropo_cor_measurement_altitude
            dry_tropo_corr : data_20/ku/model_dry_tropo_cor_measurement_altitude
            iono_corr : data_01/ku/iono_cor_gim
            solid_earth_tide : data_01/solid_earth_tide
            pole_tide : data_01/pole_tide
            # Geoid correction (for RiversLakes, GreatLakes Surface Type)
            geoid : data_20/ku/geoid 
            # Attributs of surface height
            long_name: "Surface height from SAR OCOG retracker above geoid"
            units: "m"
            # comment : # cet attribut est généré automatiquement avec les
            # paramètres l'équation.

# #################################################################################
# ## Cryosat2 ESA Version C GOP product (OCEAN)
# #################################################################################
# cryosat2-gop :
#     #---------------------------------------------------------------------------
#     # Product informations
#     #---------------------------------------------------------------------------
#     mission : "Sentinel-6 A"
#     orbit_ph : "A"
#     version : "mixte_version_SAR"

#     #---------------------------------------------------------------------------
#     # Filename regular expression (DO NOT TOUCH!)
#     #---------------------------------------------------------------------------
#    filename_pattern : .*(?P<mission>CS)_(?P<processing_workflow>[A-Z_]{4})_(?P<product_type>GOP)_(?P<cycle>\d{3})_(?P<track>\d{5})_(?P<baseline_collection>C\d{3})_(\d).nc

#     retracker :
#         - ice1
#         - ice1-plrm
#         - ocean
#         - ocean-plrm

#     band :
#         - ku
# ##        - c

#     freq : 20.0

#     # dimensions parameters
#     dim_lf : time_01
#     dim_hf : [time_20_ku,time_20_plrm_ku]

#     ellipsoid : WGS84
#     param :
#         # Coordinates
#         time_lf : time_01
#         time_hf : time_20_ku
#         lon_lf : lon_01
#         lat_lf : lat_01
#         lon_hf : lon_20_ku
#         lat_hf : lat_20_ku

#         # Index of normalized pass
#         norm_index_hf : None

#         # Altitude
#         alt_hf : alt_20_ku

#         # Range (Ice-1 (OCOG) retracker)
#         ice1_range_ku : range_ocog_20_ku
#         # Range (Ice-1 plrm (OCOG) retracker)
#         ice1-plrm_range_ku : range_ocog_20_plrm_ku
#         # Range (Ocean retracker)
#         ocean_range_ku : range_ocean_20_ku
#         # Range (Ocean plrm retracker)
#         ocean-plrm_range_ku : range_ocean_20_plrm_ku

#         # Range Corrections
#         model_wet_tropo_corr : mod_wet_tropo_cor_01
#         model_dry_tropo_corr : mod_dry_tropo_cor_01
#         iono_corr_gim_ku : iono_cor_gim_01
#         solid_earth_tide : solid_earth_tide_01
#         pole_tide : pole_tide_01

#         # Flags (indicates if the correction has been applied in height computation)
#         #        flag_wet_tropo : corr_wet_tropo
#         #flag_dry_tropo : corr_dry_tropo
#         #flag_ion_corr : corr_ion_corr
#         #flag_sol_earth_tide : corr_sol_earth_tide
#         #flag_geocen_pol_tide : corr_geocen_pol_tide

#         geoid : geoid_01
#         sig0_ocean_20hz_ku : sig0_ocean_20_ku
#         sig0_ocean-plrm_20hz_ku : sig0_ocean_20_plrm_ku
#         sig0_ice1_20hz_ku : sig0_ocog_20_ku
#         sig0_ice1-plrm_20hz_ku : sig0_ocog_20_plrm_ku
#         peakiness_20hz_ku : peakiness_20_ku
#         peakiness-plrm_20hz_ku : peakiness_20_plrm_ku

# #################################################################################
# ## Cryosat2 ESA Version D ICE product (LAND)
# #################################################################################
# cryosat2-ice :
#     filename_pattern : .*(?P<mission>CS)_(?P<processing_workflow>[A-Z_]{4})_(?P<product_type>ICE)_(?P<cycle>\d{3})_(?P<track>\d{5})_(?P<baseline_collection>D\d{3})_(\d).nc
#         #.*_GDR_(?P<cycle>\d{3})_(?P<track>\d{5})_[A-Z]\d{3}_\d.nc

#     retracker :
#         - tracker-1
#         - tracker-2
#         - tracker-3

#     band :
#         - ku
# ##        - c

#     freq : 20.0

#     # dimensions parameters
#     dim_lf : time_cor_01
#     dim_hf : time_20_ku

#     ellipsoid : WGS84
#     param :
#         # Coordinates
#         time_lf : time_cor_01
#         time_hf : time_20_ku
#         lon_lf : lon_01
#         lat_lf : lat_01
#         lon_hf : lon_poca_20_ku
#         lat_hf : lat_poca_20_ku

#         # Index of normalized pass
#         norm_index_hf : None

#         # Altitude
#         alt_hf : alt_01

#         # Range (tracker-1)
#         tracker-1_range_ku : range_1_20_ku
#         # Range (tracker-2)
#         tracker-2_range_ku : range_2_20_ku
#         # Range (tracker-3)
#         tracker-3_range_ku : range_3_20_ku

#         # Range Corrections
#         model_wet_tropo_corr : mod_wet_tropo_cor_01
#         model_dry_tropo_corr : mod_dry_tropo_cor_01
#         iono_corr_gim_ku : iono_cor_gim_01
#         solid_earth_tide : solid_earth_tide_01
#         pole_tide : pole_tide_01
#         geoid : geoid_01

#         # Flags (indicates if the correction has been applied in height computation)
#         #        flag_wet_tropo : corr_wet_tropo
#         #flag_dry_tropo : corr_dry_tropo
#         #flag_ion_corr : corr_ion_corr
#         #flag_sol_earth_tide : corr_sol_earth_tide
#         #flag_geocen_pol_tide : corr_geocen_pol_tide

#         sig0_1_20hz_ku : sig0_1_20_ku
#         sig0_2_20hz_ku : sig0_2_20_ku
#         sig0_3_20hz_ku : sig0_3_20_ku
#         peakiness_20hz_ku : peakiness_20_ku

#         height_1_20_ku : height_1_20_ku
#         height_2_20_ku : height_2_20_ku
#         height_3_20_ku : height_3_20_ku




