Configuration Forward Reference FLEXPART

Configuration Forward Reference FLEXPART#

Download config_fwd_ref_flexpart.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

###############################################################################
# pyCIF parameters

rootdir: &rootdir /tmp/CIF/
outdir: &outdir  !join [*rootdir, /.tox/py38/tmp]
verbose: 2
logfile: pycif.logtest
workdir:  !join [*outdir, /fwd_ref_flexpart]
datei: 2011-12-20 00:00:00
datef: 2012-02-01 00:00:00

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

# http://community-inversion.eu/documentation/plugins/modes/forward.html

mode:
  plugin:
    name: forward
    version: std

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

# http://community-inversion.eu/documentation/plugins/obsoperators/standard.html

obsoperator:
  plugin:
    name: standard
    version: std

  autorestart: true

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

# http://community-inversion.eu/documentation/plugins/platforms/docker.html

platform:
  plugin:
    name: docker
    version: cif

  cores: 10
  queue: mediump

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

# http://community-inversion.eu/documentation/plugins/models/lagrangian.html

model:
  plugin:
    name: Lagrangian
    version: std

  period: 1D
  run_dir_nest: /tmp/PYCIF_DATA_TEST/FLEXPART/CH4/TEST_OUTPUT/FLEXOUT/GHG/NEST
  run_dir_glob: /tmp/PYCIF_DATA_TEST/FLEXPART/CH4/TEST_OUTPUT/FLEXOUT/GHG/NEST
  run_dir_bg: /tmp/PYCIF_DATA_TEST/FLEXPART/CH4/TEST_OUTPUT/FLEXOUT/GHG/NEST
  coeff: 0.001
  mmair: 28.97
  numscale: 1000000000000000.0
  read_background: true
  chemistry:
    acspecies:
      CH4:
        molarmass: 16.0

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

# http://community-inversion.eu/documentation/plugins/domains/flexpart.html

domain:
  plugin:
    name: FLEXPART
    version: std

  nested: true
  xmin: -15.0
  xmax: 35.0
  ymin: 30.0
  ymax: 75.0
  nlon: 100
  nlat: 90
  nlev: 1
  type: deg
  xmin_glob: -179.0
  ymin_glob: -90.0
  nlon_glob: 360
  nlat_glob: 180
  dx_glob: 1.0
  dy_glob: 1.0
  dir_heights: /tmp/PYCIF_DATA_TEST/FLEXPART/CH4/TEST_OUTPUT/FLEXOUT/GHG/NEST
  outheight_header: JFJ/201201/header

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

# http://community-inversion.eu/documentation/plugins/obsvects/standard.html

obsvect:
  plugin:
    name: standard
    version: std

  dump_obs: true

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

# http://community-inversion.eu/documentation/plugins/controlvects/standard.html

controlvect:
  plugin:
    name: standard
    version: std

  dump: true

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

# http://community-inversion.eu/documentation/plugins/datavects/standard.html

datavect:
  plugin:
    name: standard
    version: std

  components:
    flux:
      parameters:
        CH4:
          plugin:
            name: FLEXPART
            version: nc
            type: flux
          to_netcdf: true
          hresol: regions
          vresol: vpixels
          type: physical
          regions_infos:
            plugin:
              name: FLEXPART
              version: nc
              type: flux
            dir: /tmp/PYCIF_DATA_TEST/FLEXPART/CH4/TEST_OUTPUT
            file: regions_ghg_pycif.nc
            varname_flx: regions
            numscale: 3600

          err_scale: 0.5
          inc_ocean: true
          tresol: 1MS
          tsubresol: 10D
          dir_netcdf:  !join [*outdir, /test_integration_fwd_flexpart_1]
          lowlim_error:
            err: 1.0e-08
            unit_scale: 277777777.7777778
          glob_err:
            total: 10.0
            unit_scale: 3.1536e-14
          numscale: 1000000000000.0
          xb_scale: 1.0
          dir: /tmp/PYCIF_DATA_TEST/FLEXPART/CH4/TEST_OUTPUT/FLUXES/GHG
          file: CH4_TOTAL_2012_05x05.nc
          file_glob: CH4_TOTAL_2012_10x10.nc
          varname_flx: emisch4
          offsets: true

    inicond:
      parameters:
        CH4:
          plugin:
            name: NOAA
            version: glob_avg
            type: field
          tresol: 1MS
          hresol: hpixels
          err: 0.05
          dir: /tmp/PYCIF_DATA_TEST/FLEXPART/CH4/TEST_INPUT/INIT_CONC/GHG
          file: 'ch4_noaa_%Y%m.nc'
          varname_init: CH4
          vertical_interpolation:
            method: linear
            coord_out: height
            fill_nans: true
          regrid:
            method: bilinear

    concs:
      parameters:
        CH4:
          plugin:
            name: standard
            version: std
            type: measurements
          dump_type: nc
          providers:
            dailyPM:
              provider: WDCGG
              format: std
              dir_obs: /tmp/PYCIF_DATA_TEST//FLEXPART/CH4/TEST_INPUT/OBS/GHG/*.cn.*2012*
              rescale: true
              na_values: -999999.99
              default_unit: ppb
              default_duration: 1
              dump: true
              measerr: 5.0
              filter_time_of_day:
              - 21