################################################################################ 
## RECIPE DESCRIPTION  
################################################################################ 

Description:
  Author: V. Agudetse
  Info: Test Autosubmit WF for CERISE

################################################################################
## ANALYSIS CONFIGURATION
################################################################################

Analysis:
  Horizon: Seasonal
  Variables: # ECVs and Indicators?
    - {name: tas, freq: monthly_mean}
  Datasets:
    System: # multiple systems for single model, split if Multimodel = F
      - {name: ECMWF-SEAS5}
    Multimodel: False # single option
    Reference:
      - {name: ERA5} # multiple references for single model?
  Time:
    sdate: # list, split
      - '1101'
    fcst_year: # list, don't split, handled internally
    hcst_start: '2000' # single option
    hcst_end: '2019' # single option
    ftime_min: 1 # single option
    ftime_max: 4 # single option
  Region: # multiple lists, Add region name if there is more than 1 region
    - {latmin: -90, latmax: 90, lonmin: 0, lonmax: 360}
  Regrid:
    method: bilinear
    type: r360x180
  Workflow:
    Anomalies:
      compute: yes
      cross_validation: yes
      save: 'all'
    Calibration:
      method: raw ## TODO: list, split?
      save: 'none'
    Skill:
      metric: RPS, RPSS, CRPS, CRPSS, FRPSS, BSS10, BSS90, mean_bias, mean_bias_SS # list, don't split
      save: 'all'
    Probabilities:
      percentiles: [[1/3, 2/3], [1/10, 9/10], [1/4, 2/4, 3/4]] # list, don't split
      save: 'all'
    Visualization:
      plots: skill_metrics
      multi_panel: no
      projection: robinson
    Indicators:
      index: no # ? 
  ncores: 14
  remove_NAs: yes # bool, don't split
  Output_format: S2S4E # string, don't split

################################################################################
## Run CONFIGURATION
################################################################################
Run:
  Loglevel: DEBUG
  Terminal: yes
  filesystem: mars
  output_dir: /esarchive/scratch/vagudets/auto-s2s-outputs/
  code_dir: /esarchive/scratch/vagudets/repos/auto-s2s/
  autosubmit: yes
  # fill only if using autosubmit
  auto_conf:
    script: /esarchive/scratch/vagudets/repos/auto-s2s/example_scripts/test_parallel_workflow.R # path to the script to run
    expid: a5ta ## if left empty, create new exp?
    hpc_user: bsc032762 # your hpc username
    wallclock: 02:30 # hh:mm
    processors_per_job: 14 # use ncores parameter?
    platform: nord3v2 # make this constant?
    email_notifications: yes # enable/disable email notifications
    email_address: victoria.agudetse@bsc.es # email address for notifications
    notify_completed: no # notify me by email when a job finishes
    notify_failed: yes # notify me by email when a job fails
