Gcp-Groups

Gcp-Groups#

Download gcp-groups.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: pyvar.logtest
workdir:  !join [*outdir, /gcp]
datei: 2019-01-01 00:00:00
datef: 2019-02-01 00:00:00

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

# 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/obsoperators/standard.html

obsoperator:
  plugin:
    name: standard
    version: std

  autorestart: true
  save_debug: true
  init_inputs:
    components:
      flux: []
  ignore_model: true
  force_propagate_attributes: true

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

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

obsvect:
  plugin:
    name: standard
    version: std

  dump: true

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

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

controlvect:
  plugin:
    name: standard
    version: std

  transform_pipe:
    sum_anthropo_bio:
      plugin:
        name: families
        version: std
        type: transform
      component: flux_anthropogenic
      parameters_in:
      - CH4_biofuels
      - CH4_biomass
      component_out: flux
      parameter_out: CH4_bioff

    dump_flx_anthropo_1:
      plugin:
        name: dump2format
        version: std
        type: transform
      component: flux
      parameter: CH4_bioff
      dump_file: 'fch4.bioff.gcp2022.%Y%m.nc'
      dump_format:
        name: GCP
        version: 1x1
        type: flux
      dump_options:
        contact_person: Docker runner
        contact_mail: No contact
        dump_longname: Biomass burning emissions

    sum_anthropo_ff:
      plugin:
        name: families
        version: std
        type: transform
      component: flux_anthropogenic
      parameters_in:
      - CH4_coal
      - CH4_oilgasind
      component_out: flux
      parameter_out: CH4_ff

    dump_flx_anthropo_2:
      plugin:
        name: dump2format
        version: std
        type: transform
      component: flux
      parameter: CH4_ff
      dump_file: 'fch4.ff.gcp2022.%Y%m.nc'
      dump_format:
        name: GCP
        version: 1x1
        type: flux
      dump_options:
        contact_person: Docker runner
        contact_mail: No contact
        dump_longname: Fossil fuel emissions

    sum_anthropo_enteric:
      plugin:
        name: families
        version: std
        type: transform
      component: flux_anthropogenic
      parameters_in:
      - CH4_livestock
      - CH4_rice
      - CH4_waste
      component_out: flux
      parameter_out: CH4_enteric

    dump_flx_anthropo_3:
      plugin:
        name: dump2format
        version: std
        type: transform
      component: flux
      parameter: CH4_enteric
      dump_file: 'fch4.enteric.gcp2022.%Y%m.nc'
      dump_format:
        name: GCP
        version: 1x1
        type: flux
      dump_options:
        contact_person: Docker runner
        contact_mail: No contact
        dump_longname: Enteric emissions

    sum_bio_enteric:
      plugin:
        name: families
        version: std
        type: transform
      component: flux_natural
      parameters_in:
      - CH4_freshwaters
      - CH4_termites
      - CH4_wetlands
      component_out: flux
      parameter_out: CH4_biogenic

    dump_flx_bio_1:
      plugin:
        name: dump2format
        version: std
        type: transform
      component: flux
      parameter: CH4_biogenic
      dump_file: 'fch4.biogenic.gcp2022.%Y%m.nc'
      dump_format:
        name: GCP
        version: 1x1
        type: flux
      dump_options:
        contact_person: Docker runner
        contact_mail: No contact
        dump_longname: Biogenic emissions

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

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

datavect:
  plugin:
    name: standard
    version: std

  components:
    flux_anthropogenic:
      file_freq: 1MS
      dir: /tmp/PYCIF_DATA_TEST/RAW/EMISSIONS/GCP-CH4/ANTHROPOGENIC
      varname: fch4
      parameters:
        CH4_biofuels:
          plugin:
            name: GCP
            version: 1x1
            type: flux
          file: fch4.biofuels.edgarv6.1x1.2000-2020.nc

        CH4_coal:
          plugin:
            name: GCP
            version: 1x1
            type: flux
          file: fch4.coal.edgarv6.1x1.2000-2020.nc

        CH4_livestock:
          plugin:
            name: GCP
            version: 1x1
            type: flux
          file: fch4.livestock.edgarv6.1x1.2000-2020.nc

        CH4_oilgasind:
          plugin:
            name: GCP
            version: 1x1
            type: flux
          file: fch4.oilgasind.edgarv6.1x1.2000-2020.nc

        CH4_rice:
          plugin:
            name: GCP
            version: 1x1
            type: flux
          file: fch4.rice.edgarv6.1x1.2000-2020.nc

        CH4_waste:
          plugin:
            name: GCP
            version: 1x1
            type: flux
          file: fch4.waste.edgarv6.1x1.2000-2020.nc

        CH4_biomass:
          plugin:
            name: GCP
            version: 1x1
            type: flux
          file: fch4.biomass.gfedv41s.1x1.2000-2020.nc

    flux_natural:
      file_freq: 1MS
      dir: /tmp/PYCIF_DATA_TEST/RAW/EMISSIONS/GCP-CH4/NATURAL
      varname: fch4
      parameters:
        CH4_freshwaters:
          plugin:
            name: GCP
            version: 1x1
            type: flux
          file: fch4.freshwaters.stavert2021.1x1.clim.nc
          is_climato: true

        CH4_geological:
          plugin:
            name: GCP
            version: 1x1
            type: flux
          file: fch4.geological.scaledEtiope2019.1x1.clim.nc
          is_climato: true

        CH4_ocean:
          plugin:
            name: GCP
            version: 1x1
            type: flux
          file: fch4.ocean.weber2019.1x1.clim.nc
          is_climato: true

        CH4_soils:
          plugin:
            name: GCP
            version: 1x1
            type: flux
          file: fch4.soils.murguiaFlores2018.1x1.2000-2020.nc

        CH4_termites:
          plugin:
            name: GCP
            version: 1x1
            type: flux
          file: fch4.termites.saunois2020.1x1.clim.nc
          is_climato: true

        CH4_wetlands:
          plugin:
            name: GCP
            version: 1x1
            type: flux
          file: fch4.wetlands.saunois2020.1x1.clim.nc
          is_climato: true