Configuration LMDZ Forward Setup Gcp D13Ch4 Short Reg-Ico

Configuration LMDZ Forward Setup Gcp D13Ch4 Short Reg-Ico#

Download config_lmdz_fwd_setup_gcp_d13ch4_short_reg-ico.yaml

#####################
# 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 /tmp/pytest-of-root/pytest-0
verbose: 2
logfile: pycif.log
workdir:  !join [*outdir, /fwd_setup_gcp_d13ch4_short_reg-ico]
datei: 2019-01-01 00:00:00
datef: 2019-03-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/platforms/docker.html

platform:
  plugin:
    name: docker
    version: cif

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

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

model:
  plugin:
    name: LMDZ
    version: reg-ico

  auto-recompile: true
  force-recompile: false
  compile-clean: true
  do_chemistry: true
  autoflush: false
  period_freq: 1MS
  flux_freq: 1D
  do_physics: true
  dump_chemical_lifetime: true
  dump_total_mass: true

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

# http://community-inversion.eu/documentation/plugins/chemistrys/lmdz.html

chemistry:
  plugin:
    name: LMDZ
    version: SACS

  active_species:
    13CH4:
      molar_mass: 17.035
    12CH4:
      molar_mass: 16.031
  emitted_species:
  - 12CH4
  - 13CH4
  prescribed_species:
  - OH
  - O1D
  - Cl
  deposition_species:
  - 12CH4
  - 13CH4
  reactions:
  - 13CH4+O1D->CH3O2+OH  k=1.11056e-10
  - 13CH4+O1D->H2+CH2O   k=3.70188e-11
  - 13CH4+OH->CH2O       k(T)=Aexp(-B/T),A=2.43684e-12,B=1775
  - 13CH4+Cl->HCl+CH3    k(T)=Aexp(-B/T),A=6.80729e-12,B=1276.455
  - 12CH4+O1D->CH3O2+OH  k=1.125e-10
  - 12CH4+O1D->H2+CH2O   k=3.75e-11
  - 12CH4+OH->CH2O       k(T)=Aexp(-B/T),A=2.45e-12,B=1775
  - 12CH4+Cl->HCl+CH3    k(T)=Aexp(-B/T),A=7.1e-12,B=1270

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

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

obsoperator:
  plugin:
    name: standard
    version: std

  autorestart: true
  autoflush: true

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

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

obsvect:
  plugin:
    name: standard
    version: std

  dump_obs: true
  transform_pipe:
    family_pressure:
      plugin:
        name: families
        version: std
        type: transform
      component: pressure
      parameters_in:
      - 12CH4
      parameter_out: CH4

    family_dpressure:
      plugin:
        name: families
        version: std
        type: transform
      component: dpressure
      parameters_in:
      - 12CH4
      parameter_out: CH4

    conc2ratio:
      plugin:
        name: conc2ratio
        version: std
        type: transform
      unit: volume
      component:
      - concs
      - concs
      parameters_in:
        names:
        - 12CH4
        - 13CH4
      parameters_out:
        names:
        - d13C
        - CH4
        d13C:
          isotopologues:
          - 13CH4
          refs:
          - 12CH4
          standard: 0.011113

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

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

controlvect:
  plugin:
    name: standard
    version: std

  save_out_netcdf: true
  transform_pipe:
    trans_inicond:
      plugin:
        name: ratio2conc
        version: std
        type: transform
      component:
      - isoinicond
      - inicond
      unit: mass
      parameters_in:
        names:
        - d13C
        - CH4
      parameters_out:
        names:
        - 12CH4
        - 13CH4
        spec_mass: 16.0425
        iso_mass:
        - 16.031
        - 17.035
        d13C:
          standard: 0.011113

    trans_BB:
      plugin:
        name: ratio2conc
        version: std
        type: transform
      component:
      - isosignatures
      - flux
      unit: mass
      parameters_in:
        names:
        - d13C_BB
        - CH4_BB
      parameters_out:
        names:
        - 12CH4_BB
        - 13CH4_BB
        spec_mass: 16.0425
        iso_mass:
        - 16.031
        - 17.035
        d13C_BB:
          standard: 0.011113

    trans_AGW:
      plugin:
        name: ratio2conc
        version: std
        type: transform
      component:
      - isosignatures
      - flux
      unit: mass
      parameters_in:
        names:
        - d13C_AGW
        - CH4_AGW
      parameters_out:
        names:
        - 12CH4_AGW
        - 13CH4_AGW
        spec_mass: 16.0425
        iso_mass:
        - 16.031
        - 17.035
        d13C_AGW:
          standard: 0.011113

    trans_FFG:
      plugin:
        name: ratio2conc
        version: std
        type: transform
      component:
      - isosignatures
      - flux
      unit: mass
      parameters_in:
        names:
        - d13C_FFG
        - CH4_FFG
      parameters_out:
        names:
        - 12CH4_FFG
        - 13CH4_FFG
        spec_mass: 16.0425
        iso_mass:
        - 16.031
        - 17.035
        d13C_FFG:
          standard: 0.011113

    trans_NAT:
      plugin:
        name: ratio2conc
        version: std
        type: transform
      component:
      - isosignatures
      - flux
      unit: mass
      parameters_in:
        names:
        - d13C_NAT
        - CH4_NAT
      parameters_out:
        names:
        - 12CH4_NAT
        - 13CH4_NAT
        spec_mass: 16.0425
        iso_mass:
        - 16.031
        - 17.035
        d13C_NAT:
          standard: 0.011113

    trans_WET:
      plugin:
        name: ratio2conc
        version: std
        type: transform
      component:
      - isosignatures
      - flux
      unit: mass
      parameters_in:
        names:
        - d13C_WET
        - CH4_WET
      parameters_out:
        names:
        - 12CH4_WET
        - 13CH4_WET
        spec_mass: 16.0425
        iso_mass:
        - 16.031
        - 17.035
        d13C_WET:
          standard: 0.011113

    family_12CH4:
      plugin:
        name: families
        version: std
        type: transform
      component: flux
      parameters_in:
      - 12CH4_BB
      - 12CH4_AGW
      - 12CH4_FFG
      - 12CH4_NAT
      - 12CH4_WET
      parameter_out: 12CH4

    family_13CH4:
      plugin:
        name: families
        version: std
        type: transform
      component: flux
      parameters_in:
      - 13CH4_BB
      - 13CH4_AGW
      - 13CH4_FFG
      - 13CH4_NAT
      - 13CH4_WET
      parameter_out: 13CH4

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

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

datavect:
  plugin:
    name: standard
    version: std

  components:
    meteo:
      plugin:
        name: LMDZ
        version: mass-fluxes
      file_freq: 1MS
      dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/mass-fluxes-acc

    flux:
      parameters:
        CH4_BB:
          plugin:
            name: gridded_netcdf
            version: std
            type: flux
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/flux
          file_freq: 1YS
          var_freq: 1M
          split_freq: 1MS
          sort_lat: false
          regrid:
            method: mass-conservation
          hresol: hpixels
          vresol: vpixels
          err: 1
          tresol: 1MS
          tsubresol: 10D
          file: 'BB/fch4_BB_%Y.nc'
          varname: CH4_BB

        CH4_AGW:
          plugin:
            name: gridded_netcdf
            version: std
            type: flux
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/flux
          file_freq: 1YS
          var_freq: 1M
          split_freq: 1MS
          sort_lat: false
          regrid:
            method: mass-conservation
          hresol: hpixels
          vresol: vpixels
          err: 1
          tresol: 1MS
          tsubresol: 10D
          file: 'AGW/fch4_AGW_%Y.nc'
          varname: CH4_AGW

        CH4_FFG:
          plugin:
            name: gridded_netcdf
            version: std
            type: flux
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/flux
          file_freq: 1YS
          var_freq: 1M
          split_freq: 1MS
          sort_lat: false
          regrid:
            method: mass-conservation
          hresol: hpixels
          vresol: vpixels
          err: 1
          tresol: 1MS
          tsubresol: 10D
          file: 'FFG/fch4_FFG_%Y.nc'
          varname: CH4_FFG

        CH4_NAT:
          plugin:
            name: gridded_netcdf
            version: std
            type: flux
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/flux
          file_freq: 1YS
          var_freq: 1M
          split_freq: 1MS
          sort_lat: false
          regrid:
            method: mass-conservation
          hresol: hpixels
          vresol: vpixels
          err: 1
          tresol: 1MS
          tsubresol: 10D
          file: 'NAT/fch4_NAT_%Y.nc'
          varname: CH4_NAT

        CH4_WET:
          plugin:
            name: gridded_netcdf
            version: std
            type: flux
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/flux
          file_freq: 1YS
          var_freq: 1M
          split_freq: 1MS
          sort_lat: false
          regrid:
            method: mass-conservation
          hresol: hpixels
          vresol: vpixels
          err: 1
          tresol: 1MS
          tsubresol: 10D
          file: 'WET/fch4_WET_%Y.nc'
          varname: CH4_WET

    inicond:
      parameters:
        CH4:
          plugin:
            name: LMDZ
            version: inicond-regular
            type: field
          file: restart_201901010000.nc
          hresol: bands
          bands_lat:
          - -90.1
          - -60
          - -30
          - 0
          - 30
          - 60
          - 90.1
          bands_lon:
          - -180.1
          - -150
          - -120
          - -90
          - -60
          - -30
          - 0
          - 30
          - 60
          - 90
          - 120
          - 150
          - 180.1
          calcstd: false
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/inicond/CH4
          varname: q01
          err: 0.1

    concs:
      parameters:
        d13C:
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/concs
          file: 'monitor_d13C_NOAA_%Y.nc'
          split_freq: 1MS
    isosignatures:
      parameters:
        d13C_BB:
          plugin:
            name: gridded_netcdf
            version: std
            type: flux
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/isosignatures
          file_freq: 1YS
          split_freq: 1MS
          sort_lat: false
          hresol: hpixels
          vresol: vpixels
          err: 0.4
          tresol: 1MS
          tsubresol: 10D
          file: 'BB/d13C.BB_%Y.nc'
          varname: BB

        d13C_AGW:
          plugin:
            name: gridded_netcdf
            version: std
            type: flux
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/isosignatures
          file_freq: 1YS
          split_freq: 1MS
          sort_lat: false
          hresol: hpixels
          vresol: vpixels
          err: 0.4
          tresol: 1MS
          tsubresol: 10D
          file: 'AGW/d13C.AGW_%Y.nc'
          varname: AGW

        d13C_FFG:
          plugin:
            name: gridded_netcdf
            version: std
            type: flux
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/isosignatures
          file_freq: 1YS
          split_freq: 1MS
          sort_lat: false
          hresol: hpixels
          vresol: vpixels
          err: 0.4
          tresol: 1MS
          tsubresol: 10D
          file: 'FF/d13C.FF_%Y.nc'
          varname: FF

        d13C_NAT:
          plugin:
            name: gridded_netcdf
            version: std
            type: flux
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/isosignatures
          file_freq: 1YS
          split_freq: 1MS
          sort_lat: false
          hresol: hpixels
          vresol: vpixels
          err: 0.4
          tresol: 1MS
          tsubresol: 10D
          file: 'NAT/d13C.NAT_%Y.nc'
          varname: NAT

        d13C_WET:
          plugin:
            name: gridded_netcdf
            version: std
            type: flux
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/isosignatures
          file_freq: 1YS
          split_freq: 1MS
          sort_lat: false
          hresol: hpixels
          vresol: vpixels
          err: 0.4
          tresol: 1MS
          tsubresol: 10D
          file: 'WET/d13C.WET_%Y.nc'
          varname: WET

    deposition:
      parameters:
        12CH4:
          plugin:
            name: LMDZ
            version: chemfield-regular
            type: field
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/deposition
          file: 'soil.an%Y.m%m.nc'
          file_freq: 1MS
          surface_only: true
          time_varname: time_counter
          split_freq: 1D
          varname: Dep_12CH4

        13CH4:
          plugin:
            name: LMDZ
            version: chemfield-regular
            type: field
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/deposition
          file: 'soil.an%Y.m%m.nc'
          file_freq: 1MS
          surface_only: true
          time_varname: time_counter
          split_freq: 1D
          varname: Dep_13CH4

    isoinicond:
      parameters:
        d13C:
          plugin:
            name: LMDZ
            version: inicond-regular
            type: field
          file: restart_201901010000.nc
          hresol: bands
          bands_lat:
          - -90.1
          - -60
          - -30
          - 0
          - 30
          - 60
          - 90.1
          bands_lon:
          - -180.1
          - -150
          - -120
          - -90
          - -60
          - -30
          - 0
          - 30
          - 60
          - 90
          - 120
          - 150
          - 180.1
          calcstd: false
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/inicond/d13C
          varname: q03
          err: 0.03

    prescrconcs:
      plugin:
        name: LMDZ
        version: chemfield-regular
        type: field
      parameters:
        OH:
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/prescrconcs
          file: 'OH_%Y%m.nc'
          file_freq: 1MS
        O1D:
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/prescrconcs
          file: 'O1D_%Y%m.nc'
          file_freq: 1MS
        Cl:
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/prescrconcs
          file: 'Cl_%Y%m.nc'
          file_freq: 1MS

    kinetic:
      plugin:
        name: LMDZ
        version: chemfield-regular
        type: field
      dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/kinetic
      file: 'kinetic_%Y%m.nc'
      file_freq: 1MS

    satellites:
      parameters:
        CH4:
          dir: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/GCP_d13CH4/satellites
          file: 'monitor_TROPOMI_WFMD_CH4_%Y%m.nc'
          nchunks: 10
          split_freq: 1MS
          formula: 10
          pressure: hPa
          vinterp_type: linear
          product: level
          molmass: 16.0425

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

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

domain:
  plugin:
    name: LMDZ
    version: regular

  file: /tmp/PYCIF_DATA_TEST/LMDZ/LMDZ_grid_16x10.nc
  dir_vcoord: /tmp/PYCIF_DATA_TEST/LMDZ/ACAD/restart
  file_vcoord: ELI-16x9x19ST-AP_2020_start.nc

executable:  !join [*outdir, /executables0/dispersion.reg-ico.9x16x19.e]