---

get_output_file:
  - variable: &variable
      variable_group: test
      short_name: ta
      original_short_name: ta
      dataset: HadGEM2-ES
      project: CMIP5
      institute: [INPE, MOHC]
      frequency: mon
      modeling_realm: [atmos]
      mip: Amon
      exp: historical
      ensemble: r1i1p1
      timerange: '1960/1980'
      diagnostic: test_diag
      preprocessor: test_preproc
    preproc_dir: this/is/a/path
    output_file: this/is/a/path/test_diag/test/CMIP5_HadGEM2-ES_Amon_historical_r1i1p1_ta_1960-1980.nc

  - variable:
      <<: *variable
      exp: [historical, rcp85]
    preproc_dir: /test
    output_file: /test/test_diag/test/CMIP5_HadGEM2-ES_Amon_historical-rcp85_r1i1p1_ta_1960-1980.nc

  # EMAC

  - variable:
      variable_group: test
      short_name: tas
      original_short_name: tas
      dataset: EMAC
      project: EMAC
      frequency: mon
      mip: Amon
      exp: amip
      channel: Amon
      timerange: '1960/1980'
      diagnostic: test_diag
      preprocessor: test_preproc
    preproc_dir: this/is/a/path
    output_file: this/is/a/path/test_diag/test/EMAC_EMAC_amip_Amon_Amon_tas_1960-1980.nc

  - variable:
      variable_group: test
      short_name: tas
      original_short_name: tas
      dataset: EMAC
      project: EMAC
      frequency: mon
      mip: Amon
      exp: piControl
      channel: CH
      postproc_flag: -p-mm
      timerange: '199001/199002'
      diagnostic: test_diag
      preprocessor: test_preproc
    preproc_dir: this/is/a/path
    output_file: this/is/a/path/test_diag/test/EMAC_EMAC_piControl_CH_Amon_tas_199001-199002.nc

  # ICON

  - variable:
      variable_group: test
      short_name: tas
      original_short_name: tas
      dataset: ICON
      project: ICON
      frequency: mon
      mip: Amon
      exp: amip
      var_type: atm_2d_ml
      timerange: '1960/1980'
      diagnostic: test_diag
      preprocessor: test_preproc
    preproc_dir: this/is/a/path
    output_file: this/is/a/path/test_diag/test/ICON_ICON_amip_atm_2d_ml_Amon_tas_1960-1980.nc

  - variable:
      variable_group: test
      short_name: tas
      original_short_name: tas
      dataset: ICON
      project: ICON
      frequency: mon
      mip: Amon
      exp: amip
      var_type: custom_var_type
      timerange: '20000101/20000102'
      diagnostic: test_diag
      preprocessor: test_preproc
    preproc_dir: this/is/a/path
    output_file: this/is/a/path/test_diag/test/ICON_ICON_amip_custom_var_type_Amon_tas_20000101-20000102.nc

  # CESM2

  - variable:
      variable_group: test
      short_name: tas
      original_short_name: tas
      dataset: CESM2
      project: CESM
      frequency: mon
      mip: Amon
      exp: amip
      case: f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1
      gcomp: atm
      scomp: cam
      type: h0
      timerange: '2000/2002'
      diagnostic: test_diag
      preprocessor: test_preproc
    preproc_dir: this/is/a/path
    output_file: this/is/a/path/test_diag/test/CESM_CESM2_f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1_atm_cam_h0_Amon_tas_2000-2002.nc

  - variable:
      variable_group: test
      short_name: tas
      original_short_name: tas
      dataset: CESM2
      project: CESM
      frequency: mon
      mip: Amon
      exp: amip
      case: f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001
      gcomp: gcomp
      scomp: scomp
      type: h1
      tdir: tseries
      tperiod: month_1
      string: TREFHT
      timerange: '2015/2025'
      diagnostic: test_diag
      preprocessor: test_preproc
    preproc_dir: this/is/a/path
    output_file: this/is/a/path/test_diag/test/CESM_CESM2_f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_gcomp_scomp_h1_Amon_tas_2015-2025.nc


get_input_filelist:
  - drs: default
    variable:
      <<: *variable
    available_files:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_193412-195911.nc
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc
    dirs:
      - ''
    file_patterns:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1*.nc
    found_files:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc

  - drs: default
    variable:
      variable_group: test
      short_name: ta
      original_short_name: ta
      dataset: HadGEM2-ES
      project: CMIP5
      institute: [INPE, MOHC]
      frequency: mon
      modeling_realm: [atmos]
      mip: Amon
      exp: historical
      ensemble: r1i1p1
      timerange: '*'
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_193412-195911.nc
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc
    dirs:
      - ''
    file_patterns:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1*.nc
    found_files:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_193412-195911.nc
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc

  - drs: default
    variable:
      variable_group: test
      short_name: tro3
      original_short_name: o3
      dataset: HadGEM2-ES
      project: CMIP6
      institute: [INPE, MOHC]
      frequency: mon
      modeling_realm: [atmos]
      mip: Amon
      exp: historical
      ensemble: r1i1p1
      timerange: '1960/1980'
      diagnostic: test_diag
      preprocessor: test_preproc
      grid: gn
    available_files:
      - o3_Amon_HadGEM2-ES_historical_r1i1p1_gn_193412-195911.nc
      - o3_Amon_HadGEM2-ES_historical_r1i1p1_gn_195912-198411.nc
      - o3_Amon_HadGEM2-ES_historical_r1i1p1_gn_198412-200511.nc
    dirs:
      - ''
    file_patterns:
      - o3_Amon_HadGEM2-ES_historical_r1i1p1_gn*.nc
    found_files:
      - o3_Amon_HadGEM2-ES_historical_r1i1p1_gn_195912-198411.nc

  - drs: default
    variable:
      <<: *variable
      timerange: '1960/2060'
      exp: [historical, rcp85]
    available_files:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_193412-195911.nc
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_198413-200512.nc
      - ta_Amon_HadGEM2-ES_rcp85_r1i1p1_200601-210012.nc
    dirs:
      - ''
    file_patterns:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1*.nc
      - ta_Amon_HadGEM2-ES_rcp85_r1i1p1*.nc
    found_files:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_198413-200512.nc
      - ta_Amon_HadGEM2-ES_rcp85_r1i1p1_200601-210012.nc

  - drs: default
    variable:
      variable_group: test
      short_name: ta
      original_short_name: ta
      dataset: HadGEM2-ES
      project: CMIP5
      institute: [INPE, MOHC]
      frequency: mon
      modeling_realm: [atmos]
      mip: Amon
      ensemble: r1i1p1
      timerange: '*'
      diagnostic: test_diag
      preprocessor: test_preproc
      exp: [historical, rcp85]
    available_files:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_193412-195911.nc
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_198413-200512.nc
      - ta_Amon_HadGEM2-ES_rcp85_r1i1p1_200601-210012.nc
    dirs:
      - ''
    file_patterns:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1*.nc
      - ta_Amon_HadGEM2-ES_rcp85_r1i1p1*.nc
    found_files:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_193412-195911.nc
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_198413-200512.nc
      - ta_Amon_HadGEM2-ES_rcp85_r1i1p1_200601-210012.nc

  - drs: default
    variable:
      <<: *variable
      timerange: '2010/2100'
    available_files:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_193412-195911.nc
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - ta_Amon_HadGEM2-ES_historical_r1i1p1_198413-200512.nc
      - ta_Amon_HadGEM2-ES_rcp85_r1i1p1_200601-210012.nc
    dirs:
      - ''
    file_patterns:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1*.nc
    found_files: []

  - drs: default
    variable: *variable
    dirs:
      - ''
    file_patterns:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1*.nc
    found_files: []


  - drs: BADC
    variable:
      <<: *variable
      timerange: '1980/2002'
    available_files:
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110329/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_193412-195911.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110329/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110329/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20120928/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_193412-195911.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20120928/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20120928/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc
    dirs:
      - INPE/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/*/ta
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/*/ta
    file_patterns:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1*.nc
    found_files:
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20120928/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20120928/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc

  - drs: BADC
    variable:
      <<: *variable
      timerange: '2000/2005'
      version: v20110329
    available_files:
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110329/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20120928/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc
    dirs:
      - INPE/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110329/ta
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110329/ta
    file_patterns:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1*.nc
    found_files:
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110329/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc

  - drs: BADC
    variable:
      <<: *variable
      ensemble: '*'
      timerange: '2000/2005'
    available_files:
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110329/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r2i1p1/v20110329/ta/ta_Amon_HadGEM2-ES_historical_r2i1p1_198412-200511.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20120928/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r2i1p1/v20120928/ta/ta_Amon_HadGEM2-ES_historical_r2i1p1_198412-200511.nc
    dirs:
      - INPE/HadGEM2-ES/historical/mon/atmos/Amon/*/*/ta
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/*/*/ta
    file_patterns:
      - ta_Amon_HadGEM2-ES_historical_**.nc
    found_files:
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20120928/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r2i1p1/v20120928/ta/ta_Amon_HadGEM2-ES_historical_r2i1p1_198412-200511.nc

  - drs: BADC
    variable:
      <<: *variable
      timerange: '1980/2002'
    available_files:
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110329/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_193412-195911.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110329/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110329/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20120928/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_193412-195911.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20120928/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20120928/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc
    available_symlinks:
      - link_name: MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/latest
        target: v20120928
    dirs:
      - INPE/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/*/ta
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/*/ta
    file_patterns:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1*.nc
    found_files:
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20120928/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20120928/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc

  - drs: DKRZ
    variable:
      <<: *variable
      timerange: '1980/2002'
    available_files:
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_185912-188411.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_188412-190911.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_190912-193411.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_193412-195911.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc
    dirs:
      - INPE/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/*/ta
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/*/ta
    file_patterns:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1*.nc
    found_files:
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc

  - drs: DKRZ
    variable:
      <<: *variable
      exp: [historical, rcp45, rcp85]
      timerange: '1980/2100'
    available_files:
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_185912-188411.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_188412-190911.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_190912-193411.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_193412-195911.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc
      - MOHC/HadGEM2-ES/rcp45/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_rcp45_r1i1p1_200601-210012.nc
      - MOHC/HadGEM2-ES/rcp85/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_rcp85_r1i1p1_200601-210012.nc
    dirs:
      - INPE/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/*/ta
      - INPE/HadGEM2-ES/rcp45/mon/atmos/Amon/r1i1p1/*/ta
      - INPE/HadGEM2-ES/rcp85/mon/atmos/Amon/r1i1p1/*/ta
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/*/ta
      - MOHC/HadGEM2-ES/rcp45/mon/atmos/Amon/r1i1p1/*/ta
      - MOHC/HadGEM2-ES/rcp85/mon/atmos/Amon/r1i1p1/*/ta
    file_patterns:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1*.nc
      - ta_Amon_HadGEM2-ES_rcp45_r1i1p1*.nc
      - ta_Amon_HadGEM2-ES_rcp85_r1i1p1*.nc
    found_files:
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - MOHC/HadGEM2-ES/historical/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc
      - MOHC/HadGEM2-ES/rcp45/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_rcp45_r1i1p1_200601-210012.nc
      - MOHC/HadGEM2-ES/rcp85/mon/atmos/Amon/r1i1p1/v20110330/ta/ta_Amon_HadGEM2-ES_rcp85_r1i1p1_200601-210012.nc

  - drs: ETHZ
    variable:
      <<: *variable
      timerange: '1980/2002'
    available_files:
      - historical/Amon/ta/HadGEM2-ES/r1i1p1/ta_Amon_HadGEM2-ES_historical_r1i1p1_185912-188411.nc
      - historical/Amon/ta/HadGEM2-ES/r1i1p1/ta_Amon_HadGEM2-ES_historical_r1i1p1_188412-190911.nc
      - historical/Amon/ta/HadGEM2-ES/r1i1p1/ta_Amon_HadGEM2-ES_historical_r1i1p1_190912-193411.nc
      - historical/Amon/ta/HadGEM2-ES/r1i1p1/ta_Amon_HadGEM2-ES_historical_r1i1p1_193412-195911.nc
      - historical/Amon/ta/HadGEM2-ES/r1i1p1/ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - historical/Amon/ta/HadGEM2-ES/r1i1p1/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc
    dirs:
      - historical/Amon/ta/HadGEM2-ES/r1i1p1
    file_patterns:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1*.nc
    found_files:
      - historical/Amon/ta/HadGEM2-ES/r1i1p1/ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - historical/Amon/ta/HadGEM2-ES/r1i1p1/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc

  - drs: ETHZ
    variable:
      <<: *variable
      timerange: '2000/2100'
    available_files:
      - historical/Amon/ta/HadGEM2-ES/r1i1p1/ta_Amon_HadGEM2-ES_historical_r1i1p1_185912-188411.nc
      - historical/Amon/ta/HadGEM2-ES/r1i1p1/ta_Amon_HadGEM2-ES_historical_r1i1p1_188412-190911.nc
      - historical/Amon/ta/HadGEM2-ES/r1i1p1/ta_Amon_HadGEM2-ES_historical_r1i1p1_190912-193411.nc
      - historical/Amon/ta/HadGEM2-ES/r1i1p1/ta_Amon_HadGEM2-ES_historical_r1i1p1_193412-195911.nc
      - historical/Amon/ta/HadGEM2-ES/r1i1p1/ta_Amon_HadGEM2-ES_historical_r1i1p1_195912-198411.nc
      - historical/Amon/ta/HadGEM2-ES/r1i1p1/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc
      - rcp85/Amon/ta/HadGEM2-ES/r1i1p1/ta_Amon_HadGEM2-ES_rcp85_r1i1p1_200601-210012.nc
    dirs:
      - historical/Amon/ta/HadGEM2-ES/r1i1p1
    file_patterns:
      - ta_Amon_HadGEM2-ES_historical_r1i1p1*.nc
    found_files:
      - historical/Amon/ta/HadGEM2-ES/r1i1p1/ta_Amon_HadGEM2-ES_historical_r1i1p1_198412-200511.nc

  # Test other projects

  - drs: DKRZ
    variable:
      variable_group: test
      short_name: ta
      original_short_name: ta
      dataset: HadGEM3-GC31-LL
      activity: CMIP
      project: CMIP6
      institute: [MOHC, NERC]
      frequency: mon
      modeling_realm: [atmos]
      mip: Amon
      exp: historical
      grid: gn
      ensemble: r1i1p1f1
      timerange: '1999/2000'
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Amon/tas/gn/v20200101/tas_Amon_HadGEM3-GC31-LL_historical_r1i1p1f1_gn_190001-194912.nc
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Amon/ta/gn/v20200101/ta_Amon_HadGEM3-GC31-LL_historical_r1i1p1f1_gn_190001-194912.nc
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Amon/ta/gn/v20200101/ta_Amon_HadGEM3-GC31-LL_historical_r1i1p1f1_gn_195001-199912.nc
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Amon/ta/gn/v20200101/ta_Amon_HadGEM3-GC31-LL_historical_r1i1p1f1_gn_200001-201412.nc
    dirs:
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Amon/ta/gn/*/
      - CMIP/NERC/HadGEM3-GC31-LL/historical/r1i1p1f1/Amon/ta/gn/*/
    file_patterns:
      - ta_Amon_HadGEM3-GC31-LL_historical_r1i1p1f1_gn*.nc
    found_files:
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Amon/ta/gn/v20200101/ta_Amon_HadGEM3-GC31-LL_historical_r1i1p1f1_gn_195001-199912.nc
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Amon/ta/gn/v20200101/ta_Amon_HadGEM3-GC31-LL_historical_r1i1p1f1_gn_200001-201412.nc

  - drs: DKRZ
    variable:
      variable_group: test
      short_name: ta
      original_short_name: ta
      dataset: HADGEM1
      project: CMIP3
      institute: [UKMO]
      frequency: mon
      modeling_realm: [atmos]
      mip: Amon
      exp: historical
      ensemble: r1i1p1
      timerange: '1999/2000'
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - historical/atmos/mon/tas/HADGEM1/r1i1p1/tas_HADGEM1_190001-194912.nc
      - historical/atmos/mon/ta/HADGEM1/r1i1p1/ta_HADGEM1_190001-194912.nc
      - historical/atmos/mon/ta/HADGEM1/r1i1p1/ta_HADGEM1_195001-199912.nc
      - historical/atmos/mon/ta/HADGEM1/r1i1p1/ta_HADGEM1_200001-200112.nc
    dirs:
      - historical/atmos/mon/ta/HADGEM1/r1i1p1
    file_patterns:
      - ta_*.nc
    found_files:
      - historical/atmos/mon/ta/HADGEM1/r1i1p1/ta_HADGEM1_195001-199912.nc
      - historical/atmos/mon/ta/HADGEM1/r1i1p1/ta_HADGEM1_200001-200112.nc

  - drs: default
    variable:
      variable_group: test
      short_name: tas
      original_short_name: tas
      dataset: ERA-Interim
      project: OBS
      frequency: mon
      mip: Amon
      tier: 3
      type: reanaly
      version: 42
      timerange: '1999/2000'
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - Tier2/ERA-Interim/OBS_ERA-Interim_reanaly_42_Amon_tas_197901-199912.nc
      - Tier3/ERA-Interim/OBS_ERA-Interim_reanaly_42_Amon_pr_197901-199912.nc
      - Tier3/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Amon_tas_197901-199912.nc
      - Tier3/ERA-Interim/OBS_ERA-Interim_reanaly_42_Amon_tas_197901-199912.nc
      - Tier3/ERA-Interim/OBS_ERA-Interim_reanaly_42_Amon_tas_200001-201012.nc
    dirs:
      - Tier3/ERA-Interim
    file_patterns:
      - OBS_ERA-Interim_reanaly_42_Amon_tas[_.]*nc
    found_files:
      - Tier3/ERA-Interim/OBS_ERA-Interim_reanaly_42_Amon_tas_197901-199912.nc
      - Tier3/ERA-Interim/OBS_ERA-Interim_reanaly_42_Amon_tas_200001-201012.nc

  - drs: default
    variable:
      variable_group: test
      short_name: tas
      original_short_name: tas
      dataset: ERA-Interim
      project: OBS6
      frequency: mon
      mip: Amon
      tier: 3
      type: reanaly
      version: 42
      timerange: '1999/2000'
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - Tier2/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Amon_tas_197901-199912.nc
      - Tier3/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Amon_pr_197901-199912.nc
      - Tier3/ERA-Interim/OBS_ERA-Interim_reanaly_42_Amon_tas_197901-199912.nc
      - Tier3/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Amon_tas_197901-199912.nc
      - Tier3/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Amon_tas_200001-201012.nc
    dirs:
      - Tier3/ERA-Interim
    file_patterns:
      - OBS6_ERA-Interim_reanaly_42_Amon_tas[_.]*nc
    found_files:
      - Tier3/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Amon_tas_197901-199912.nc
      - Tier3/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Amon_tas_200001-201012.nc

  - drs: default
    variable: &ipsl_variable
      variable_group: test
      short_name: tas
      original_short_name: tas
      dataset: IPSL-CM6
      root: thredds/tgcc/store
      exp: historical
      project: IPSLCM
      frequency: mon
      mip: Amon
      account: p86caub
      model: IPSLCM6
      status: PROD
      simulation: simulation
      out: Output
      freq: MO
      timerange: '1850/1851'
      diagnostic: test_diag
      preprocessor: test_preproc
      # Next are extra facets, which must be provided explicitly here
      ipsl_varname: t2m
      group: histmth
      dir: ATM
    available_files:
      - thredds/tgcc/store/p86caub/IPSLCM6/PROD/historical/simulation/ATM/Output/MO/simulation_18500101_18591231_1M_histmth.nc
    dirs:
      - thredds/tgcc/store/p86caub/IPSLCM6/PROD/historical/simulation/ATM/Output/MO
    file_patterns:
      - simulation_*_t2m.nc
      - simulation_*_histmth.nc
    found_files:
      - thredds/tgcc/store/p86caub/IPSLCM6/PROD/historical/simulation/ATM/Output/MO/simulation_18500101_18591231_1M_histmth.nc

  - drs: default
    variable:
      <<: *ipsl_variable
      out: Analyse
      freq: TS_MO
    available_files:
      - thredds/tgcc/store/p86caub/IPSLCM6/PROD/historical/simulation/ATM/Analyse/TS_MO/simulation_18500101_20141231_1M_t2m.nc
    dirs:
      - thredds/tgcc/store/p86caub/IPSLCM6/PROD/historical/simulation/ATM/Analyse/TS_MO
    file_patterns:
      - simulation_*_t2m.nc
      - simulation_*_histmth.nc
    found_files:
      - thredds/tgcc/store/p86caub/IPSLCM6/PROD/historical/simulation/ATM/Analyse/TS_MO/simulation_18500101_20141231_1M_t2m.nc

  # Test fx files

  - drs: default
    variable:
      variable_group: test
      short_name: areacella
      original_short_name: areacella
      dataset: HadGEM2-ES
      project: CMIP5
      institute: [INPE, MOHC]
      frequency: fx
      modeling_realm: [atmos]
      mip: fx
      exp: historical
      ensemble: r0i0p0
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - areacella_fx_HadGEM2-ES_historical_r1i1p1.nc
      - areacella_fx_HadGEM2-ES_historical_r0i0p0.nc
    dirs:
      - ''
    file_patterns:
      - areacella_fx_HadGEM2-ES_historical_r0i0p0*.nc
    found_files:
      - areacella_fx_HadGEM2-ES_historical_r0i0p0.nc

  - drs: DKRZ
    variable:
      variable_group: test
      short_name: sftlf
      original_short_name: sftlf
      dataset: HadGEM2-ES
      project: CMIP5
      institute: [INPE, MOHC]
      frequency: fx
      modeling_realm: [atmos]
      mip: fx
      exp: historical
      ensemble: r0i0p0
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - MOHC/HadGEM2-ES/historical/fx/atmos/fx/r1i1p1/v20110330/sftlf/sftlf_fx_HadGEM2-ES_historical_r1i1p1.nc
      - MOHC/HadGEM2-ES/historical/fx/atmos/fx/r0i0p0/v20110330/sftlf/sftlf_fx_HadGEM2-ES_historical_r0i0p0.nc
    dirs:
      - INPE/HadGEM2-ES/historical/fx/atmos/fx/r0i0p0/*/sftlf
      - MOHC/HadGEM2-ES/historical/fx/atmos/fx/r0i0p0/*/sftlf
    file_patterns:
      - sftlf_fx_HadGEM2-ES_historical_r0i0p0*.nc
    found_files:
      - MOHC/HadGEM2-ES/historical/fx/atmos/fx/r0i0p0/v20110330/sftlf/sftlf_fx_HadGEM2-ES_historical_r0i0p0.nc

  - drs: DKRZ
    variable:
      variable_group: test
      short_name: orog
      original_short_name: orog
      dataset: HadGEM2-ES
      project: CMIP5
      institute: [INPE, MOHC]
      frequency: fx
      modeling_realm: [atmos]
      mip: fx
      exp: historical
      ensemble: r0i0p0
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - MOHC/HadGEM2-ES/historical/fx/atmos/fx/r0i0p0/v20110330/sftlf/sftlf_fx_HadGEM2-ES_historical_r0i0p0.nc
      - MOHC/HadGEM2-ES/historical/fx/atmos/fx/r0i0p0/v20110330/areacella/areacella_fx_HadGEM2-ES_historical_r0i0p0.nc
    dirs:
      - INPE/HadGEM2-ES/historical/fx/atmos/fx/r0i0p0/*/orog/
      - MOHC/HadGEM2-ES/historical/fx/atmos/fx/r0i0p0/*/orog/
    file_patterns:
      - orog_fx_HadGEM2-ES_historical_r0i0p0*.nc
    found_files: []

  - drs: DKRZ
    variable:
      variable_group: test
      short_name: areacello
      original_short_name: areacello
      dataset: HadGEM3-GC31-LL
      activity: CMIP
      project: CMIP6
      institute: [MOHC, NERC]
      frequency: fx
      modeling_realm: [ocean]
      mip: Ofx
      exp: historical
      grid: gn
      ensemble: r1i1p1f1
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f2/Ofx/areacello/gn/v20200101/areacello_Ofx_HadGEM3-GC31-LL_historical_r1i1p1f2_gn.nc
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Omon/areacello/gn/v20200101/areacello_Omon-GC31-LL_historical_r1i1p1f1_gn_199901-200012.nc
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Ofx/areacello/gn/v20200101/areacello_Ofx_HadGEM3-GC31-LL_historical_r1i1p1f1_gn.nc
    dirs:
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Ofx/areacello/gn/*/
      - CMIP/NERC/HadGEM3-GC31-LL/historical/r1i1p1f1/Ofx/areacello/gn/*/
    file_patterns:
      - areacello_Ofx_HadGEM3-GC31-LL_historical_r1i1p1f1_gn*.nc
    found_files:
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Ofx/areacello/gn/v20200101/areacello_Ofx_HadGEM3-GC31-LL_historical_r1i1p1f1_gn.nc

  - drs: DKRZ
    variable:
      variable_group: test
      short_name: areacello
      original_short_name: areacello
      dataset: HadGEM3-GC31-LL
      activity: CMIP
      project: CMIP6
      institute: [MOHC, NERC]
      frequency: mon
      modeling_realm: [ocean]
      mip: Omon
      exp: historical
      grid: gn
      ensemble: r1i1p1f1
      timerange: '2000/2000'
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f2/Ofx/areacello/gn/v20200101/areacello_Ofx_HadGEM3-GC31-LL_historical_r1i1p1f2_gn.nc
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Omon/areacello/gn/v20200101/areacello_Omon_HadGEM3-GC31-LL_historical_r1i1p1f1_gn_199901-200012.nc
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Ofx/areacello/gn/v20200101/areacello_Ofx_HadGEM3-GC31-LL_historical_r1i1p1f1_gn.nc
    dirs:
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Omon/areacello/gn/*/
      - CMIP/NERC/HadGEM3-GC31-LL/historical/r1i1p1f1/Omon/areacello/gn/*/
    file_patterns:
      - areacello_Omon_HadGEM3-GC31-LL_historical_r1i1p1f1_gn*.nc
    found_files:
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Omon/areacello/gn/v20200101/areacello_Omon_HadGEM3-GC31-LL_historical_r1i1p1f1_gn_199901-200012.nc

  - drs: DKRZ
    variable:
      variable_group: test
      short_name: volcello
      original_short_name: volcello
      dataset: HadGEM3-GC31-LL
      activity: CMIP
      project: CMIP6
      institute: [MOHC, NERC]
      frequency: mon
      modeling_realm: [ocean]
      mip: Omon
      exp: historical
      grid: gn
      ensemble: r1i1p1f1
      timerange: '2000/2000'
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f2/Ofx/volcello/gn/v20200101/volcello_Ofx_HadGEM3-GC31-LL_historical_r1i1p1f2_gn.nc
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Omon/volcello/gn/v20200101/this_is_a_wrong_file.nc
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Ofx/volcello/gn/v20200101/volcello_Ofx_HadGEM3-GC31-LL_historical_r1i1p1f1_gn.nc
    dirs:
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Omon/volcello/gn/*/
      - CMIP/NERC/HadGEM3-GC31-LL/historical/r1i1p1f1/Omon/volcello/gn/*/
    file_patterns:
      - volcello_Omon_HadGEM3-GC31-LL_historical_r1i1p1f1_gn*.nc
    found_files: []

  - drs: DKRZ
    variable:
      variable_group: test
      short_name: volcello
      original_short_name: volcello
      dataset: HadGEM3-GC31-LL
      activity: CMIP
      project: CMIP6
      institute: [MOHC, NERC]
      frequency: fx
      modeling_realm: [ocean]
      mip: Ofx
      exp: historical
      grid: gn
      ensemble: r1i1p1f1
      timerange: '2000/2000'
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r0i0p0/Ofx/volcello/gn/v20200101/volcello_Ofx_HadGEM3-GC31-LL_historical_r0i0p0_gn.nc
    dirs:
      - CMIP/MOHC/HadGEM3-GC31-LL/historical/r1i1p1f1/Ofx/volcello/gn/*/
      - CMIP/NERC/HadGEM3-GC31-LL/historical/r1i1p1f1/Ofx/volcello/gn/*/
    file_patterns:
      - volcello_Ofx_HadGEM3-GC31-LL_historical_r1i1p1f1_gn*.nc
    found_files: []

  - drs: DKRZ
    variable:
      variable_group: test
      short_name: areacella
      original_short_name: areacella
      dataset: HADGEM1
      project: CMIP3
      institute: [UKMO]
      frequency: fx
      modeling_realm: [atmos]
      mip: fx
      exp: historical
      ensemble: r1i1p1
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - historical/atmos/fx/areacella/HADGEM1/r0i0p0/areacella_HADGEM1.nc
      - historical/atmos/fx/areacella/HADGEM1/r1i1p1/areacella_HADGEM1.nc
    dirs:
      - historical/atmos/fx/areacella/HADGEM1/r1i1p1
    file_patterns:
      - areacella_*.nc
    found_files:
      - historical/atmos/fx/areacella/HADGEM1/r1i1p1/areacella_HADGEM1.nc

  - drs: default
    variable:
      variable_group: test
      short_name: basin
      original_short_name: basin
      dataset: ERA-Interim
      project: OBS
      frequency: fx
      mip: fx
      tier: 3
      type: reanaly
      version: 42
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - Tier2/ERA-Interim/OBS_ERA-Interim_reanaly_42_fx_areacello.nc
      - Tier3/ERA-Interim/OBS_ERA-Interim_reanaly_42_fx_basin.nc
      - Tier3/ERA-Interim/OBS6_ERA-Interim_reanaly_42_fx_basin.nc
    dirs:
      - Tier3/ERA-Interim
    file_patterns:
      - OBS_ERA-Interim_reanaly_42_fx_basin[_.]*nc
    found_files:
      - Tier3/ERA-Interim/OBS_ERA-Interim_reanaly_42_fx_basin.nc

  - drs: default
    variable:
      variable_group: test
      short_name: deptho
      original_short_name: deptho
      dataset: ERA-Interim
      project: OBS6
      frequency: mon
      mip: Omon
      tier: 3
      type: reanaly
      version: 42
      timerange: '1995/1996'
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - Tier2/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Ofx_areacello.nc
      - Tier3/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Ofx_basin.nc
      - Tier3/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Ofx_deptho.nc
      - Tier3/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Omon_deptho_199001-199912.nc
      - Tier3/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Omon_deptho_199901-200012.nc
    dirs:
      - Tier3/ERA-Interim
    file_patterns:
      - OBS6_ERA-Interim_reanaly_42_Omon_deptho[_.]*nc
    found_files:
      - Tier3/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Omon_deptho_199001-199912.nc

  - drs: default
    variable:
      variable_group: test
      short_name: deptho
      original_short_name: deptho
      dataset: ERA-Interim
      project: OBS6
      frequency: mon
      mip: Omon
      tier: 3
      type: reanaly
      version: 42
      timerange: '2050/2100'
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - Tier2/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Ofx_areacello.nc
      - Tier3/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Ofx_basin.nc
      - Tier3/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Ofx_deptho.nc
      - Tier3/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Omon_deptho_199001-199912.nc
      - Tier3/ERA-Interim/OBS6_ERA-Interim_reanaly_42_Omon_deptho_199901-200012.nc
    dirs:
      - Tier3/ERA-Interim
    file_patterns:
      - OBS6_ERA-Interim_reanaly_42_Omon_deptho[_.]*nc
    found_files: []

  - drs: default
    variable:
      short_name: tas
      dataset: ERA5
      project: native6
      frequency: mon
      mip: Amon
      tier: 3
      type: reanaly
      timerange: '2000/2010'
    available_files:
      - Tier3/ERA5/1/mon/tas/era5_2m_temperature_2000_monthly.nc
      - Tier3/ERA5/1/mon/tas/era5_2m_temperature_2001_monthly.nc
    dirs:
      - Tier3/ERA5/*/mon/tas
    file_patterns:
      - '*.nc'
    found_files:
      - Tier3/ERA5/1/mon/tas/era5_2m_temperature_2000_monthly.nc
      - Tier3/ERA5/1/mon/tas/era5_2m_temperature_2001_monthly.nc
    available_symlinks:
      - link_name: Tier3/ERA5/latest
        target: '1'

  # EMAC

  - drs: default
    variable:
      variable_group: test
      short_name: tas
      original_short_name: tas
      dataset: EMAC
      project: EMAC
      frequency: mon
      mip: Amon
      exp: amip
      channel: Amon
      postproc_flag: ''
      timerange: '200002/200003'
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - amip/Amon/amip___________200001_Amon.nc
      - amip/Amon/amip___________200002_Amon.nc
      - amip/Amon/amip___________200003_Amon.nc
      - amip/Amon/amip___________200001_Amon-p-mm.nc
      - amip/Amon/amip___________200002_Amon-p-mm.nc
      - amip/Amon/amip___________200003_Amon-p-mm.nc
      - amip/rad/amip___________200001_rad.nc
      - amip/rad/amip___________200002_rad.nc
      - amip/rad/amip___________200003_rad.nc
      - amip/rad/amip___________200001_rad-p-mm.nc
      - amip/rad/amip___________200002_rad-p-mm.nc
      - amip/rad/amip___________200003_rad-p-mm.nc
    dirs:
      - amip/Amon
    file_patterns:
      - amip*Amon.nc
    found_files:
      - amip/Amon/amip___________200002_Amon.nc
      - amip/Amon/amip___________200003_Amon.nc

  - drs: default
    variable:
      variable_group: test
      short_name: tas
      original_short_name: tas
      dataset: EMAC
      project: EMAC
      frequency: mon
      mip: Amon
      exp: amip
      channel: rad
      postproc_flag: -p-mm
      timerange: '200001/200002'
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - amip/Amon/amip___________200001_Amon.nc
      - amip/Amon/amip___________200002_Amon.nc
      - amip/Amon/amip___________200003_Amon.nc
      - amip/Amon/amip___________200001_Amon-p-mm.nc
      - amip/Amon/amip___________200002_Amon-p-mm.nc
      - amip/Amon/amip___________200003_Amon-p-mm.nc
      - amip/rad/amip___________200001_rad.nc
      - amip/rad/amip___________200002_rad.nc
      - amip/rad/amip___________200003_rad.nc
      - amip/rad/amip___________200001_rad-p-mm.nc
      - amip/rad/amip___________200002_rad-p-mm.nc
      - amip/rad/amip___________200003_rad-p-mm.nc
    dirs:
      - amip/rad
    file_patterns:
      - amip*rad-p-mm.nc
    found_files:
      - amip/rad/amip___________200001_rad-p-mm.nc
      - amip/rad/amip___________200002_rad-p-mm.nc

  # ICON

  - drs: default
    variable:
      variable_group: test
      short_name: tas
      original_short_name: tas
      dataset: ICON
      project: ICON
      frequency: mon
      mip: Amon
      exp: amip
      var_type: atm_2d_ml
      timerange: '200002/200003'
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - amip/amip_atm_2d_ml_20000101T000000Z.nc
      - amip/amip_atm_2d_ml_20000201T000000Z.nc
      - amip/amip_atm_2d_ml_20000301T000000Z.nc
      - amip/outdata/amip_atm_2d_ml_20000401T000000Z.nc
      - amip/outdata/amip_atm_2d_ml_20000501T000000Z.nc
      - amip/outdata/amip_atm_2d_ml_20000601T000000Z.nc
    dirs:
      - amip
      - amip/outdata
    file_patterns:
      - amip_atm_2d_ml*.nc
    found_files:
      - amip/amip_atm_2d_ml_20000201T000000Z.nc
      - amip/amip_atm_2d_ml_20000301T000000Z.nc

  - drs: default
    variable:
      variable_group: test
      short_name: tas
      original_short_name: tas
      dataset: ICON
      project: ICON
      frequency: mon
      mip: Amon
      exp: amip
      var_type: var
      timerange: '200003/200005'
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - amip/amip_var_20000101T000000Z.nc
      - amip/amip_var_20000201T000000Z.nc
      - amip/amip_var_20000301T000000Z.nc
      - amip/outdata/amip_var_20000401T000000Z.nc
      - amip/outdata/amip_var_20000501T000000Z.nc
      - amip/outdata/amip_var_20000601T000000Z.nc
    dirs:
      - amip
      - amip/outdata
    file_patterns:
      - amip_var*.nc
    found_files:
      - amip/amip_var_20000301T000000Z.nc
      - amip/outdata/amip_var_20000401T000000Z.nc
      - amip/outdata/amip_var_20000501T000000Z.nc

  # CESM2

  - drs: default
    variable:
      variable_group: test
      short_name: tas
      original_short_name: tas
      dataset: CESM2
      project: CESM
      frequency: mon
      mip: Amon
      case: f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1
      gcomp: atm
      scomp: cam
      type: h0
      tdir: ''
      tperiod: ''
      string: ''
      timerange: '2000/2002'
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1.cam.h0.2000.nc
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1.cam.h0.2001.nc
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1/atm/hist/f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1.cam.h0.2002.nc
    dirs:
      - ''
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1/atm/proc
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1/atm/hist
    file_patterns:
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1.cam.h0.*nc
    found_files:
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1.cam.h0.2000.nc
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1.cam.h0.2001.nc
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1/atm/hist/f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1.cam.h0.2002.nc

  - drs: default
    variable:
      variable_group: test
      short_name: tas
      original_short_name: tas
      dataset: CESM2
      project: CESM
      frequency: mon
      mip: Amon
      case: f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1
      gcomp: gcomp
      scomp: scomp
      type: h1
      tdir: tseries
      tperiod: month_1
      string: TREFHT
      timerange: '2015/2025'
      diagnostic: test_diag
      preprocessor: test_preproc
    available_files:
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1.scomp.h1.2000.nc
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1.scomp.h1.2001.nc
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1/gcomp/hist/f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1.scomp.h1.2002.nc
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1/gcomp/proc/tseries/month_1/f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1.scomp.h1.TREFHT.201001-201912.nc
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1/gcomp/proc/tseries/month_1/f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1.scomp.h1.TREFHT.202001-202912.nc
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1/gcomp/proc/tseries/month_1/f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1.scomp.h1.TREFHT.203001-203912.nc
    dirs:
      - ''
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1/gcomp/hist
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1/gcomp/proc/tseries/month_1
    file_patterns:
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1.scomp.h1.TREFHT*nc
    found_files:
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1/gcomp/proc/tseries/month_1/f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1.scomp.h1.TREFHT.201001-201912.nc
      - f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1/gcomp/proc/tseries/month_1/f.e21.FHIST_BGC.f09_f09_mg17.CMIP6-AMIP.001_cosp1.scomp.h1.TREFHT.202001-202912.nc
