# This file has been auto-generated for use with n1850.ne16_tn14.noresm3_0_beta03a-run1_yr061.20251009
# It is based off of examples/key_metrics/config.yml
# Arguments used:
# cesm_root = ./
# case_root = ./
# cupid_example= key_metrics
user: tomast
data_sources:
  sname: key_metrics
  run_dir: .
  nb_path_root: /diagnostics/CUPiD-src/nblibrary
computation_config:
  default_kernel_name: cupid-analysis
  log_level: info
global_params:
  case_name: n1850.ne16_tn14.noresm3_0_beta03a-run1_yr061.20251009
  base_case_name: n1850.ne16_tn14.noresm3_0_beta03_rafsipmasstonum.20250930
  CESM_output_dir: /nird/datalake/NS9560K/noresm3/cases
  start_date: '0061-01-01'
  end_date: '0076-01-01'
  base_start_date: '0061-01-01'
  base_end_date: '0076-01-01'
  obs_data_dir: /diagnostics/CUPiD-obs
  ts_dir: /scratch/tomast/noresm3
  lc_kwargs:
    threads_per_worker: 1
    n_workers: 1
  base_case_output_dir: /nird/datalake/NS9560K/noresm3/cases
timeseries:
  num_procs: 8
  ts_done:
  - false
  - false
  ts_output_dir: /scratch/tomast/noresm3
  overwrite_ts:
  - false
  - false
  case_name:
  - n1850.ne16_tn14.noresm3_0_beta03a-run1_yr061.20251009
  - n1850.ne16_tn14.noresm3_0_beta03_rafsipmasstonum.20250930
  atm:
    vars:
    - PSL
    derive_vars: []
    hist_str: cam.h0a
    start_years:
    - 61
    - 61
    end_years:
    - 75
    - 75
    level: lev
    mapping_file:
    - /diagnostics/CUPiD-model/inputdata/cpl/gridmaps/ne30pg3/map_ne30pg3_TO_fv0.9x1.25_blin.240826.nc
    - /diagnostics/CUPiD-model/inputdata/cpl/gridmaps/ne30pg3/map_ne30pg3_TO_fv0.9x1.25_blin.240826.nc
  lnd:
    vars:
    - SOILWATER_10CM
    - mrsos
    - FSH_TO_COUPLER
    - TOTVEGC
    - cVeg
    - biomass
    - FAREA_BURNED
    - burntArea
    - co2
    - GPP
    - gpp
    - FATES_GPP
    - TLAI
    - lai
    - NBP
    - nbp
    - NEE
    - nee
    - reco
    - TOTSOMC_1m
    - cSoil
    - cSoilAbove1m
    - FFIX_TO_SMINN
    - fBNF
    - et
    - evspsbl
    - EvapFrac
    - hfls
    - le
    - EFLX_LH_TOT
    - runoff
    - mrro
    - QRUNOFF
    - hfss
    - sh
    - FSH
    - twsa
    - tws
    - TWS
    - H2OSNO
    - swe
    - snw
    - TSOI
    - tsl
    - albedo
    - rsus
    - FSR
    - rsns
    - FSA
    - rlus
    - FIRE
    - rlns
    - FLDS
    - FIRE
    - rns
    - hfdsl
    - FGR12
    - TSA
    - tas
    - TREFMXAV
    - tasmax
    - TREFMNAV
    - tasmin
    - dtr
    - TREFMXAV
    - TREFMNAV
    - pr
    - RH2M
    - rhums
    - hurs
    - FSDS
    - rsds
    - FLDS
    - rlds
    - TOTECOSYSC
    - TOTVEGC
    - TOTSOMC
    - SOM_PAS_C_vr
    derive_vars:
    - gpp-ra-rh
    - GPP-AR-HR
    - AR+HR
    - QVEGE+QVEGT+QSOIL
    - RAIN+SNOW-QVEGE-QVEGT-QSOIL-QRUNOFF
    - rsds-rsus
    - FLDS-FIRE
    - FLDS-FIRE+FSDS-FSR
    - RAIN+SNOW
    hist_str: h0
    start_years:
    - 61
    - 61
    end_years:
    - 75
    - 75
    level: lev
    mapping_file:
    - /diagnostics/CUPiD-model/inputdata/cpl/gridmaps/ne30pg3/map_ne30pg3_TO_fv0.9x1.25_blin.240826.nc
    - /diagnostics/CUPiD-model/inputdata/cpl/gridmaps/ne30pg3/map_ne30pg3_TO_fv0.9x1.25_blin.240826.nc
  ocn:
    vars: []
    derive_vars: []
    hist_str: h.z
    start_years:
    - 61
    - 61
    end_years:
    - 75
    - 75
    level: lev
  ice:
    vars:
    - aice
    - hi
    - hs
    - atmspd
    - congel
    - frazil
    derive_vars: []
    hist_str: cice.h
    start_years:
    - 61
    - 61
    end_years:
    - 75
    - 75
    level: lev
  glc:
    vars:
    - glc1Exp_Flgl_qice
    - glc1Exp_Sl_tsrf
    derive_vars: []
    hist_str: cpl.hx.exp2glc
    start_years:
    - 61
    - 61
    end_years:
    - 75
    - 75
    level: lev
  rof:
    vars: []
    derive_vars: []
    hist_str: h0
    start_years:
    - 61
    - 61
    end_years:
    - 75
    - 75
    level: lev
compute_notebooks:
  infrastructure:
    index:
      parameter_groups:
        none: {}
  atm:
    Global_PSL_NMSE_compare_obs_lens:
      parameter_groups:
        none:
          regridded_output: false
          base_regridded_output: false
    link_to_ADF:
      kernel_name: cupid-infrastructure
      parameter_groups:
        none:
          adf_root: /nird/datalake/NS9560K/noresm3/cases/cupid-postprocessing/ADF_output
          key_plots:
          - Surface_Wind_Stress_ANN_LatLon_Vector_Mean.png
          - PRECT_ANN_LatLon_Mean.png
          - PS_DJF_SHPolar_Mean.png
          - TaylorDiag_ANN_Special_Mean.png
          - TS_ANN_LatLon_Mean.png
          - SWCF_ANN_LatLon_Mean.png
          - LWCF_ANN_LatLon_Mean.png
          - TGCLDLWP_ANN_LatLon_Mean.png
      external_tool:
        tool_name: ADF
        vars:
        - SST
        - TS
        - SWCF
        - LWCF
        - PRECT
        - TGCLDLWP
        plotting_scripts:
        - global_latlon_map
        analysis_scripts:
        - amwg_table
  glc:
    Greenland_SMB_visual_compare_obs:
      parameter_groups:
        none:
          obs_path: /diagnostics/CUPiD-obs/glc/analysis_datasets/multi_grid/annual_avg/SMB_data
          obs_name: GrIS_MARv3.12_climo_1960_1999.nc
          climo_nyears: 35
          base_climo_nyears: 40
  rof:
    global_discharge_gauge_compare_obs:
      parameter_groups:
        none:
          hist_str: h0a
          analysis_name: ''
          grid_name: f09_f09_mosart
          climo_nyears: 10
          figureSave: false
    global_discharge_ocean_compare_obs:
      parameter_groups:
        none:
          hist_str: h0a
          analysis_name: ''
          grid_name: f09_f09_mosart
          climo_nyears: 10
          figureSave: false
  ice:
    Hemis_seaice_visual_compare_contour:
      parameter_groups:
        none:
          climo_nyears: 35
          grid_file: /diagnostics/CUPiD-model/inputdata/ocn/blom/tnx1v4/grid.nc
          path_nsidc: /diagnostics/CUPiD-obs/ice/analysis_datasets/hemispheric_data/NSIDC_SeaIce_extent
  lnd:
    Global_TerrestrialCouplingIndex_VisualCompareObs:
      parameter_groups:
        none:
          clmFile_h: .h0.
          fluxnet_comparison: true
          obsDir: /diagnostics/CUPiD-obs/lnd/analysis_datasets/ungridded/timeseries/FLUXNET2015/
    link_to_LDF:
      kernel_name: cupid-infrastructure
      parameter_groups:
        none:
          ldf_root: ../../examples/key_metrics/LDF_output/
          defaults_file: ../../externals/LDF/lib/ldf_variable_defaults.yaml
          key_plots:
          - GPP_ANN_LatLon_Mean.png
          - ELAI_ANN_LatLon_Mean.png
          - TOTECOSYSC_GlobalMean_ANN_TimeSeries_Mean.png
          - RegionalClimo_Amazonia_RegionalClimo_Mean.png
      external_tool:
        tool_name: LDF
        vars:
        - TSA
        - PREC
        - ELAI
        - FSDS
        - FLDS
        - ASA
        - RNET
        - FSH
        - ET
        - FCTR
        - FGEV
        - FCEV
        - QRUNOFF_TO_COUPLER
        - SNOWDP
        - GPP
        - NPP
        - NEE
        - NBP
        - BTRANMN
        - TOTVEGC
        - TOTECOSYSC
        - TOTSOMC_1m
        - ALTMAX
        - FAREA_BURNED
        - DSTFLXT
        - MEG_isoprene
        plotting_scripts:
        - global_latlon_map
        - polar_map
        - global_mean_timeseries_lnd
        - regional_climatology
        analysis_scripts:
        - lmwg_table
        regridded_output: false
        base_regridded_output: false
        region_list:
        - Global
        - N Hemisphere Land
        - Polar
        - Canadian Arctic
        - Russian Arctic
        - Greenland
        - Northwest Canada
        - Northern Europe
        - Western Siberia
        - Western US
        - Eastern US
        - Europe
        - Amazonia
        - Central Africa
        - Indonesia
        - Brazil
        - Sahel
        - Southern Africa
        - India
    Global_Land_Compare_Two_Cases:
      parameter_groups:
        none:
          clmFile_h: .h0.
    link_to_ILAMB:
      parameter_groups:
        none:
          ilamb_root: ../../examples/external_diag_packages/ILAMB_output
          key_plots:
          - EcosystemandCarbonCycle/GrossPrimaryProductivity/FLUXCOM/CTSM51_global_bias.png
          - EcosystemandCarbonCycle/LeafAreaIndex/AVHRR/CTSM51_global_bias.png
          - EcosystemandCarbonCycle/GlobalNetEcosystemCarbonBalance/GCP/CTSM51_global_accumulate.png
          - ILAMB_output_backup/HydrologyCycle/Permafrost/Brown2002/CTSM51_global_bias.png
          print_table: false
      external_tool:
        tool_name: ILAMB
        ilamb_config_data_loc: /diagnostics/ILAMB-Data/
book_toc:
  format: jb-book
  root: infrastructure/index
  parts:
  - caption: Atmosphere
    chapters:
    - file: atm/Global_PSL_NMSE_compare_obs_lens
    - file: atm/link_to_ADF
  - caption: Land
    chapters:
    - file: lnd/Global_TerrestrialCouplingIndex_VisualCompareObs
    - file: lnd/Global_Land_Compare_Two_Cases
    - file: lnd/link_to_ILAMB
    - file: lnd/link_to_LDF
  - caption: Sea Ice
    chapters:
    - file: ice/Hemis_seaice_visual_compare_contour
  - caption: Land Ice
    chapters:
    - file: glc/Greenland_SMB_visual_compare_obs
  - caption: River Runoff
    chapters:
    - file: rof/global_discharge_gauge_compare_obs
    - file: rof/global_discharge_ocean_compare_obs
book_config_keys:
  title: NorESM diagnostics with CUPiD
