16 Ensrf Regional Short Gpu

16 Ensrf Regional Short Gpu#

Download 16_ensrf_regional_short_gpu.yml

#####################
# PYCIF config file #
#####################

# Define here all parameters for PYCIF following Yaml syntax
# For details on Yaml syntax, please see:
# http://docs.ansible.com/ansible/latest/YAMLSyntax.html

# For non-specified parameters, one can either comment the corresponding line
# or give the value "null"

# Some parameters are switches that need to be activated or not.
# PYCIF expects a boolean True/False
# Yaml accepts the following syntax to be converted to booleans:
# y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF
# This offers flexibility, but one should stick to a style for consistency

#####################################################################
# PYCIF parameters

# Variables
icon_dir: &icon_dir ${SCRATCH}/icon-gpu/
grid_dir: &grid_dir /users/icontest/pool/data/ICON/art_data/oem_methane/grids
input_dir: &input_dir /users/icontest/pool/data/ICON/art_data/oem_methane/input

# Verbose level
# 2 = Basic information
# 1 = Debugging
verbose: 1

# Log file (to be saved in $wordkir)
logfile: cif.log

# Execution directory
workdir: /scratch/snx3000/jthanwer/cif_workdirs/N50L600_test_gpu

# Initial date
# Use the following compatible format for the date:
# YYYY-mm-dd or YYYY-mm-dd HH:mm:ss
datei: 2019-08-05 00:00:00

# End date (same as for the initial date)
datef: 2019-08-06 00:00:00
#####################################################################

#####################################################################
mode:
  plugin:
    name: EnSRF
    version: std
    type: mode
  nsample: 61
  window_length: 1D
  nlag: 1
  seed: true
  seed_id: 1000
  mean_propagwgt:
    flux: 0.666666666666666666666666666666
  localization:
    decay_func: normal
    decay_length: 600
  restart_format: restart_%Y%m%d%H.nc
  level_metrics: 2
#####################################################################

#####################################################################
model:
  plugin:
    name: ICON-ART
    version: std
  periods: 1D
  icon_dir: *icon_dir
  icon_exe: !join [*icon_dir, /gpu/bin/icon]
  meteo_inicond_file : !join [*input_dir, /era5_2019080500.nc]
  meteo_lbc_dir: *input_dir
  meteo_lbc_file: era5_%Y%m%d%H_lbc.nc
  namelist_file: ${SCRATCH}/cif/examples/iconart/nml_iconart_europe_gpu
  run_icon_with_another_job: True
  use_hourofyear: False
#####################################################################

#####################################################################
domain:
  plugin:
    name: ICON-ART
    version: std
  dynamics_grid: !join [*grid_dir, /dyn_grid.nc]
  lbc_grid: !join [*input_dir, /lateral_boundary.grid.nc]
  reduced_radiation_grid: !join [*grid_dir, /parent_grid.nc]
  extpar_file: !join [*grid_dir, /extpar_file.nc]
  map_file: !join [*input_dir, /map_file.latbc]
  ifs_137_level_def_file: ${SCRATCH}/paper_ensrf/DATA/GRIDS/IFS_level_definition_137.csv
#####################################################################

#####################################################################
chemistry:
  schemeid: template_CH4
  acspecies:
    CH4:
      mass: 16.04
      emis_species:
        - CH4_agri
        # - CH4_other
#####################################################################

#####################################################################
platform:
  plugin:
    name: EMPA
    version: daint
    type: platform
  project: em05
  queue: normal
  time: 00:10:00
  nodes: 9
  cores: 1
  constraint: gpu
  python: /opt/python/3.9.4.1/bin/python

#####################################################################

#####################################################################
obsoperator:
  plugin:
    name: standard
    version: std
  autoflush: true
#####################################################################

#####################################################################
obsvect:
  plugin:
    name: standard
    version: std
    type: obsvect
#####################################################################

#####################################################################
controlvect:
  plugin:
    name: standard
    version: std
    type: controlvect
#####################################################################

#####################################################################
datavect:
  plugin:
    name: standard
    version: std
  components:
    concs:
      parameters:
        CH4:
          duration: 1H
          frequency: 1H
          nstations: 5
          plugin:
            name: random
            type: measurements
            version: param
          seed: true
          zmax: 100
          obs_min: 1800
          obs_max: 2000

    flux:
      parameters:

        CH4_agri:
          plugin:
            name: ICON-ART
            type: flux
            version: sflx
          dir: !join [*input_dir, /oem/]
          file: tno.nc
          varname: agri
          tfactors_hod_file: !join [*input_dir, /oem/hourofday.nc]
          tfactors_dow_file: !join [*input_dir, /oem/dayofweek.nc]
          tfactors_moy_file: !join [*input_dir, /oem/monthofyear.nc]
          oem_group: GNFR_A
          hresol: hpixels
          err: 1.
          tresol: 1D

        # CH4_other:
        #   plugin:
        #     name: ICON-ART
        #     type: flux
        #     version: sflx
        #   dir: !join [*input_dir, /oem/]
        #   file: tno.nc
        #   varname: other
        #   tfactors_hod_file: !join [*input_dir, /oem/hourofday.nc]
        #   tfactors_dow_file: !join [*input_dir, /oem/dayofweek.nc]
        #   tfactors_moy_file: !join [*input_dir, /oem/monthofyear.nc]
        #   oem_group: GNFR_A

    inicond:
      parameters:
        CH4:
          plugin:
            name: ICON-ART
            type: field
            version: icbc
          dir: *input_dir
          file: era5_2019080500.nc
          comp_type: inicond
          varname: T #test
          
    lbc:
      parameters:
        CH4:
          plugin:
            name: ICON-ART
            type: field
            version: icbc
          dir: *input_dir
          file: era5_%Y%m%d%H_lbc.nc
          file_freq: 3H
          comp_type: lbc
          varname: T #test
#####################################################################