!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!
!!! Settings for CSO tutorial program.
!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


!-------------------------------------------------
! tutorial settings
!-------------------------------------------------

! time range:
tutorial.timerange.start           :  2018-07-01 00:00
tutorial.timerange.end             :  2018-07-01 23:59

! CAMS-II domain:
tutorial.domain.west               :  -25
tutorial.domain.east               :   45
tutorial.domain.south              :   30
tutorial.domain.north              :   72

! grid resolution:
tutorial.grid.dlon                 :  0.1
tutorial.grid.dlat                 :  0.1

! mapping from footprints to grid cells using sample points in polygon;
! sample points is centroid of footprint (level 0),
! or centroids of triangles in which footprint is recursevely devided;
! number of points for 4-sided footprint:
!  1 point (levels=0), 4 (1), 8 (2), 16 (3), 32 (4), 64 (5)
tutorial.mapping.levels            :  5


!-------------------------------------------------
! satellite product
!-------------------------------------------------

! template for listing with converted files:
tutorial.S4-syn.no2.listing           : ../CSO-data/S4_v3/listing.csv

! also read info on original track (T|F)?
! if enabled, this will be stored in the output too:
tutorial.S4-syn.no2.with_track        :  T

! put out mapping arrays? used for regridding:
tutorial.S4-syn.no2.with_mapping      :  T

!~ data

! data variables:
tutorial.S4-syn.no2.dvars             :  hp yr vr A

! half-level pressures:
!~ dimensions, copied from data file:
tutorial.S4-syn.no2.dvar.hp.dims      :  layeri
!~ source variable:
tutorial.S4-syn.no2.dvar.hp.source    :  hp

! retrieval: 
!~ dimensions, copied from data file:
tutorial.S4-syn.no2.dvar.yr.dims      :  retr
!~ source variable:
tutorial.S4-syn.no2.dvar.yr.source    :  yr

! retrieval error covariance: 
!~ dimensions, copied from data file:
tutorial.S4-syn.no2.dvar.vr.dims      :  retr retr
!~ source variable:
tutorial.S4-syn.no2.dvar.vr.source    :  y_error

! kernel:
!~ dimensions, copied from data file:
tutorial.S4-syn.no2.dvar.A.dims       :  retr layer
!~ source variable:
tutorial.S4-syn.no2.dvar.A.source     :  k


!~ state

! state varaiables to be put out from model:
tutorial.S4-syn.no2.vars                         :  mod_conc mod_hp xs ys

! model concentration profile:
!~ model layer dimension:
tutorial.S4-syn.no2.var.mod_conc.dims            :  model_layer
!~ standard attributes:
tutorial.S4-syn.no2.var.mod_conc.attrs           :  long_name units
tutorial.S4-syn.no2.var.mod_conc.attr.long_name  :  model NO2 concentrations
tutorial.S4-syn.no2.var.mod_conc.attr.units      :  ppb

! model hpentration profile:
!~ model layer interfaces:
tutorial.S4-syn.no2.var.mod_hp.dims              :  model_layeri
!~ standard attributes:
tutorial.S4-syn.no2.var.mod_hp.attrs             :  long_name units
tutorial.S4-syn.no2.var.mod_hp.attr.long_name    :  model pressure at layer interfaces
tutorial.S4-syn.no2.var.mod_hp.attr.units        :  Pa

! model concentrations at apriori layers:
!~ apriori layers:
tutorial.S4-syn.no2.var.xs.dims                  :  layer
!~ how computed:
tutorial.S4-syn.no2.var.xs.formula               :  LayerAverage( hp, mod_hp, mod_conc )
tutorial.S4-syn.no2.var.xs.formula_terms         :  hp: hp mod_hp: mod_hp mod_conc: mod_conc
!~ standard attributes:
tutorial.S4-syn.no2.var.xs.attrs                 :  long_name units
tutorial.S4-syn.no2.var.xs.attr.long_name        :  model simulations at apriori layers
tutorial.S4-syn.no2.var.xs.attr.units            :  mol m-2

! simulated retrievals
!~ retrieval layers:
tutorial.S4-syn.no2.var.ys.dims                  :  retr
!~ how computed:
tutorial.S4-syn.no2.var.ys.formula               :  A x
tutorial.S4-syn.no2.var.ys.formula_terms         :  A: A x: xs
!~ standard attributes:
tutorial.S4-syn.no2.var.ys.attrs                 :  long_name units multiplication_factor_to_convert_to_molecules_percm2
tutorial.S4-syn.no2.var.ys.attr.long_name        :  simulated retrieval
tutorial.S4-syn.no2.var.ys.attr.units            :  mol m-2
tutorial.S4-syn.no2.var.ys.attr.multiplication_factor_to_convert_to_molecules_percm2 : float: 6.022141e+19


!-------------------------------------------------
! end
!-------------------------------------------------
