8 Test TNO Regridding

8 Test TNO Regridding#

Download 8_test_tno_regridding.yml

# THis file is used to generate differnet TNO emissions
# using different regridding methods

# note that I explicitly added a save method to save the datastore as
# nc files in the template model plugin.

verbose: 1
workdir: ${SCRATCH}/cif_workdirs/iconart_test_fluxes_regriding/
logfile: log.txt
datei: 2018-04-01
datef: 2018-04-02

mode:
  plugin:
    name: forward
    version: std

chemistry:

  schemeid: template_CO2
  acspecies:

    CH4_default:
      mass: 12
   #CH4_mass_conservation:
   #  mass: 12
   #CH4_bilinear:
   #  mass: 12
   #CH4_gridcell:
   #  mass: 12
    CH4_mass_conservation_resol2:
      mass: 12



  emis_species:

    CH4_default:
    #CH4_mass_conservation:
    #CH4_bilinear:
    #CH4_gridcell:
    #CH4_mass_conservation_resol2:
    #CH4_mass_conservation_resol5:
    #CH4_mass_conservation_resol10:
    #CH4_mass_conservation_resol20:
    CH4_cdo_bil:
    CH4_cdo_bic:
    CH4_cdo_nn:
    CH4_cdo_dis:
    #CH4_cdo_con:
    CH4_cdo_con2:
    CH4_cdo_laf:

obsoperator:
  plugin:
    name: standard
    version: std

model:

  plugin:

    name: template

    version: std

    type: model
  require_domain: True
  require_chemistry: True
  include_fluxes: True
  only_outputs: True

domain:
  plugin:
    name: ICON-ART
    version: std
  limited_area_grid: ${SCRATCH}/synthetic_data/output_2018040100/dyn_grid.nc
  lbc_grid: ${SCRATCH}/synthetic_data/output_2018040100/lateral_boundary.grid.nc
  reduced_radiation_grid: ${SCRATCH}/synthetic_data/output_2018040100/parent_grid.nc
  map_file: ${SCRATCH}/synthetic_data/output_2018040100/map_file.latbc 
  extpar_file: ${SCRATCH}/synthetic_data/output_2018040100/extpar_file.nc



datavect:
  plugin:
    name: standard
    version: std
  components:
    concs:
      parameters:
        CH4_default:
          duration: 2H22min
          frequency: 1H
          nstations: 1
          plugin:
            name: random
            type: measurements
            version: param
          seed: true
          zmax: 100
    flux:
      parameters:
        CH4_default:
          
          plugin:
            name: TNO
            version: netcdf
            type: datastream
          dir: ${SCRATCH}/TNO
          dir_profils: ${SCRATCH}/TNO
          file: TNO_GHGco_v1_1_year%Y.nc
          varname: ch4  

        #CH4_mass_conservation_resol2:
        #  plugin:
        #    name: TNO
        #    version: netcdf
        #    type: datastream
        #  dir: ${SCRATCH}/TNO
        #  dir_profils: ${SCRATCH}/TNO
        #  file: TNO_GHGco_v1_1_year%Y.nc
        #  varname: ch4 
        #  regrid:
        #    method: mass-conservation 
        #    resol: 2
        #CH4_mass_conservation_resol5:
        #  plugin:
        #    name: TNO
        #    version: netcdf
        #    type: datastream
        #  dir: ${SCRATCH}/TNO
        #  dir_profils: ${SCRATCH}/TNO
        #  file: TNO_GHGco_v1_1_year%Y.nc
        #  varname: ch4 
        #  regrid:
        #    method: mass-conservation 
        #    resol: 5
        #CH4_mass_conservation_resol10:
        #  plugin:
        #    name: TNO
        #    version: netcdf
        #    type: datastream
        #  dir: ${SCRATCH}/TNO
        #  dir_profils: ${SCRATCH}/TNO
        #  file: TNO_GHGco_v1_1_year%Y.nc
        #  varname: ch4 
        #  regrid:
        #    method: mass-conservation 
        #    resol: 10
        #CH4_mass_conservation_resol20:
        #  plugin:
        #    name: TNO
        #    version: netcdf
        #    type: datastream
        #  dir: ${SCRATCH}/TNO
        #  dir_profils: ${SCRATCH}/TNO
        #  file: TNO_GHGco_v1_1_year%Y.nc
        #  varname: ch4 
        #  regrid:
        #    method: mass-conservation 
        #    resol: 20
        #CH4_mass_conservation:
        #  plugin:
        #    name: TNO
        #    version: netcdf
        #    type: datastream
        #  dir: ${SCRATCH}/TNO
        #  dir_profils: ${SCRATCH}/TNO
        #  file: TNO_GHGco_v1_1_year%Y.nc
        #  varname: ch4 
        #  regrid:
        #    method: mass-conservation 
        #  #unit_conversion: # Conversion kg/hour/m2 ->molecule/cm2/s
        #  #  scale: 0.038e+19 #TODO: convert to
#
        #CH4_bilinear:
        #  plugin:
        #    name: TNO
        #    version: netcdf
        #    type: datastream
        #  dir: ${SCRATCH}/TNO
        #  dir_profils: ${SCRATCH}/TNO
        #  file: TNO_GHGco_v1_1_year%Y.nc
        #  varname: ch4 
        #  regrid:
        #    method: bilinear   
#
        #CH4_gridcell:
        #  plugin:
        #    name: TNO
        #    version: netcdf
        #    type: datastream
        #  dir: ${SCRATCH}/TNO
        #  dir_profils: ${SCRATCH}/TNO
        #  file: TNO_GHGco_v1_1_year%Y.nc
        #  varname: ch4 
        #  regrid:
        #    method: gridcell      
        CH4_cdo_bil:
          plugin:
            name: TNO
            version: netcdf
            type: datastream
          dir: ${SCRATCH}/TNO
          dir_profils: ${SCRATCH}/TNO
          file: TNO_GHGco_v1_1_year%Y.nc
          varname: ch4 
          regrid:
            method: cdo_bil   
        CH4_cdo_bic:
          plugin:
            name: TNO
            version: netcdf
            type: datastream
          dir: ${SCRATCH}/TNO
          dir_profils: ${SCRATCH}/TNO
          file: TNO_GHGco_v1_1_year%Y.nc
          varname: ch4 
          regrid:
            method: cdo_bic   
        CH4_cdo_nn:
          plugin:
            name: TNO
            version: netcdf
            type: datastream
          dir: ${SCRATCH}/TNO
          dir_profils: ${SCRATCH}/TNO
          file: TNO_GHGco_v1_1_year%Y.nc
          varname: ch4 
          regrid:
            method:cdo_nn    
        CH4_cdo_dis:
          plugin:
            name: TNO
            version: netcdf
            type: datastream
          dir: ${SCRATCH}/TNO
          dir_profils: ${SCRATCH}/TNO
          file: TNO_GHGco_v1_1_year%Y.nc
          varname: ch4 
          regrid:
            method: cdo_dis   
        #CH4_cdo_con:
        #  plugin:
        #    name: TNO
        #    version: netcdf
        #    type: datastream
        #  dir: ${SCRATCH}/TNO
        #  dir_profils: ${SCRATCH}/TNO
        #  file: TNO_GHGco_v1_1_year%Y.nc
        #  varname: ch4 
        #  regrid:
        #    method: cdo_con   
        CH4_cdo_con2:
          plugin:
            name: TNO
            version: netcdf
            type: datastream
          dir: ${SCRATCH}/TNO
          dir_profils: ${SCRATCH}/TNO
          file: TNO_GHGco_v1_1_year%Y.nc
          varname: ch4 
          regrid:
            method:  cdo_con2  
        CH4_cdo_laf:
          plugin:
            name: TNO
            version: netcdf
            type: datastream
          dir: ${SCRATCH}/TNO
          dir_profils: ${SCRATCH}/TNO
          file: TNO_GHGco_v1_1_year%Y.nc
          varname: ch4 
          regrid:
            method: cdo_laf   
          #plugin:
          #  name: flux
          #  type: datastream
          #  version: template
          #plugin:
          #  name: EDGAR
          #  version: v5
          #  type: datastream