Description:
  Author: Carlos Delgado Torres
  Info: Test for seasonal multi-model

Analysis:
  Horizon: seasonal # Mandatory, str: either subseasonal, seasonal, or decadal
  Variables:
    - {name: tas, freq: monthly_mean, units: C}
  Datasets:
    System:
      - {name: ECMWF-SEAS5.1}
      - {name: CMCC-SPS3.5}
      - {name: DWD-GCFS2.1}
    Multimodel:
      execute: both # Mandatory: Either both, yes/true or no/false
      approach: pooled #mean, median
      createFrom: Anomalies
    Reference:
      - {name: ERA5} # Mandatory, str: Reference codename. See docu.
  Time:
    sdate: 
      - '0101' ## MMDD
    fcst_year: '2023' # Optional, int: Forecast year 'YYYY'
    hcst_start: '1993' # Mandatory, int: Hindcast start year 'YYYY'
    hcst_end: '2016' # Mandatory, int: Hindcast end year 'YYYY'
    ftime_min: 1 # Mandatory, int: First leadtime time step in months 
    ftime_max: 2 # Mandatory, int: Last leadtime time step in months
  Region:
   - {name: "Spain", latmin: 34, latmax: 44, lonmin: -10, lonmax: 6}
  Regrid:
    method: conservative # Mandatory, str: Interpolation method. See docu.
    type: "r360x180"
  Workflow:
    Anomalies:
      compute: yes
      cross_validation: yes
      save: none
    Calibration:
      method: evmos # Mandatory, str: Calibration method. See docu.
      cross_validation: yes
      save: none
    Skill:
      metric: EnsCorr rpss
      save: 'all'
      cross_validation: yes
    Probabilities:
      percentiles: [[1/3, 2/3]] # frac: Quantile thresholds.
      save: 'all'
    Indicators:
      index: no
    Visualization:
      plots: skill_metrics forecast_ensemble_mean most_likely_terciles
      multi_panel: no
      dots: both
  ncores: 16 # Optional, int: number of cores, defaults to 1
  remove_NAs: # Optional, bool: Whether NAs are removed, defaults to FALSE
  Output_format: scorecards # scorecards
  logo: yes
Run:
  Loglevel: INFO
  Terminal: yes
  filesystem: esarchive
  output_dir: /esarchive/scratch/vagudets/auto-s2s-outputs/ # replace with the directory where you want to save the outputs
  code_dir: /esarchive/scratch/vagudets/repos/auto-s2s/ # replace with the directory where your code is
  script: 
  autosubmit: yes
  # fill only if using autosubmit
  auto_conf:
    script: ./example_scripts/multimodel_seasonal.R # replace with the path to your script
    expid: a6v7 # replace with your EXPID
    hpc_user: bsc032762 # replace with your hpc username
    wallclock: 01:00 # hh:mm
    wallclock_multimodel: 02:00
    processors_per_job: 4
    processors_multimodel: 16
    custom_directives: ['#SBATCH --exclusive']
    custom_directives_multimodel: ['#SBATCH --exclusive', '#SBATCH --constraint=highmem']
    platform: nord3v2 
    email_notifications: yes # enable/disable email notifications. Change it if you want to.
    email_address: victoria.agudetse@bsc.es # replace with your email address
    notify_completed: yes # notify me by email when a job finishes
    notify_failed: yes # notify me by email when a job fails
