
Description:
  Author: nperez
  Info: ECVs Oper ESS ECMWF SEAS5 Seasonal Forecast recipe (monthly mean, tas)

Analysis:
  Horizon: seasonal # Mandatory, str: either subseasonal, seasonal, or decadal
  Variables:
   # - {name: tas, freq: monthly_mean, units: C}
    - {name: prlr, freq: monthly_mean, units: mm, flux: no}
   # - {name: sfcWind, freq: monthly_mean}
  Datasets:
    System:
      - {name: ECMWF-SEAS5.1} 
    Multimodel: no # Mandatory, bool: Either yes/true or no/false
    Reference:
      - {name: ERA5} # Mandatory, str: Reference codename. See docu.
  Time:
    sdate: 
#      - '0101'
      - '0201'
#      - '0301'
#      - '0401'
#      - '0501'
#      - '0601'
#      - '0701'
#      - '0801'
#      - '0901'
#      - '1001'
#      - '1101'
#      - '1201'
    fcst_year: 2025 # 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: 6 # Mandatory, int: Last leadtime time step in months
  Region:
#   - {name: "Iberia", latmin: 36, latmax: 44, lonmin: -10, lonmax: 5}
   - {name: "EU", latmin: 20, latmax: 80, lonmin: -20, lonmax: 40}
  Regrid:
    method: conservative  # Mandatory, str: Interpolation method. See docu.
    type: "to_system"
    #type: /esarchive/scratch/nmilders/gitlab/git_clones/auto-s2s/conf/grid_description.txt #'r360x180' # Mandatory, str: to_system, to_reference, or CDO-accepted grid.
  Workflow:
    Anomalies:
      compute: no
      cross_validation: no
      save: none
    Calibration:
      method: bias # Mandatory, str: bias, evmos, mse_min, crps_min, rpc_based
      cross_validation: yes
      save: none
    Skill:
      metric: mean_bias rpss
      save: none 
      cross_validation: yes
    Probabilities:
      percentiles: [[1/3, 2/3], [1/10, 9/10]] # frac: Quantile thresholds.
      save:  none
    Indicators:
      index: no
    Visualization:
      plots: skill_metrics, most_likely_terciles, forecast_ensemble_mean
      NA_color: white 
      multi_panel: no
      dots: no
      mask_terciles: yes
      shapefile: /esarchive/scratch/cdelgado/aspect_outputs/casestudy-wine/shp_spain/recintos_provinciales_inspire_peninbal_etrs89/recintos_provinciales_inspire_peninbal_etrs89.shp
      file_format: PNG # Final file format of the plots. Formats available: PNG, JPG, JPEG, EPS. Defaults to PDF.
  ncores: 8 # Optional, int: number of cores, defaults to 1
  remove_NAs: TRUE # Optional, bool: Whether NAs are removed, defaults to FALSE
  Output_format: scorecards 
  logo: yes
Run:
  Loglevel: INFO
  Terminal: yes
  filesystem: esarchive
  output_dir: /esarchive/scratch/ptrascas/R/dev-test_bigpredidata/sunset # replace with the directory where you want to save the outputs
  code_dir: /esarchive/scratch/ptrascas/R/dev-test_bigpredidata/sunset/sunset # replace with the directory where your code is
  autosubmit: no
  # fill only if using autosubmit
  auto_conf:
    script: /esarchive/scratch/ptrascas/R/sunset/bigpredidata_fqa.R # replace with the path to your script
    expid: a78g # replace with your EXPID
    hpc_user: bsc032413 # replace with your hpc username
    wallclock: 02:00 # hh:mm
    processors_per_job: 16
    custom_directives: ['#SBATCH --constraint=medmem']
    platform: nord3v2 
    email_notifications: no # enable/disable email notifications. Change it if you want to.
    email_address: paloma.trascasa@bsc.es # replace with your email address
    notify_completed: no # notify me by email when a job finishes
    notify_failed: no # notify me by email when a job fails
