TNO Intern

Skip to content
tutorial.rc 50.7 KiB
Newer Older
cso.tutorial.sim-catalogue-index.date.time.values          :  ${cso.tutorial.sim-catalogue.vars}

! content type:
cso.tutorial.sim-catalogue-index.date.time.var.type        :  img
! define image:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-catalogue-index.date.time.var.img         :  %{date[0:4]}/%{date[4:6]}/%{date[6:8]}/S5p_NO2_%{date}_%{time}_%{var}.png
cso.tutorial.sim-catalogue-index.date.time.var.kwargs      :  height=300



!======================================================================
!===
Arjo Segers's avatar
Arjo Segers committed
!=== gridded simulated orbits
!===
!======================================================================


!-----------------------------------------------------------
! gridded orbits
!-----------------------------------------------------------

! time range:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded.timerange.start        :  ${my.timerange.start}
cso.tutorial.sim-gridded.timerange.end          :  ${my.timerange.end}
! create one gridded file per hour:
cso.tutorial.sim-gridded.timerange.step         :  hour

! renew existing files?
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded.renew                  :  True
!cso.tutorial.sim-gridded.renew                  :  False
! target directory, incl. subdir for resolution and filters:
Arjo Segers's avatar
Arjo Segers committed
my.sim-gridded.dir                              :  ${my.work}/CSO-sim-gridded/${my.region}__r01x01__qa08
Arjo Segers's avatar
Arjo Segers committed
my.gridded.region                               :  ${my.region}
Arjo Segers's avatar
Arjo Segers committed
! grid definition:
!!~ same as pixel selection on conversion:
Arjo Segers's avatar
Arjo Segers committed
!cso.tutorial.sim-gridded.grid.west              :  ${my.region.west}
!cso.tutorial.sim-gridded.grid.east              :  ${my.region.east}
!cso.tutorial.sim-gridded.grid.south             :  ${my.region.south}
!cso.tutorial.sim-gridded.grid.north             :  ${my.region.north}
Arjo Segers's avatar
Arjo Segers committed
!~ observation operator tutorial:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded.grid.west              :  -10
cso.tutorial.sim-gridded.grid.east              :   30
cso.tutorial.sim-gridded.grid.south             :   35
cso.tutorial.sim-gridded.grid.north             :   65
Arjo Segers's avatar
Arjo Segers committed
! resolution:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded.grid.dlon              :  0.1
cso.tutorial.sim-gridded.grid.dlat              :  0.1
Arjo Segers's avatar
Arjo Segers committed

! level of recursive splitting of footprint into triangles,
! and assignment of centroids to grid cells;
! for 4-corner footprints, number of centroids is:
!  1 (levels=0), 4 (1), 8 (2), 16 (3), 64 (5), 256 (7)
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded.mapping.levels         :  5
Arjo Segers's avatar
Arjo Segers committed

!~

! keywords for source files; 
! the first one should have the footprints:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded.sources                  :  data state
Arjo Segers's avatar
Arjo Segers committed

! input files for each source type:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded.source.data.filenames    :  ${my.work}/CSO-oper/CSO_output_%Y%m%d_%H%M_data.nc
cso.tutorial.sim-gridded.source.state.filenames   :  ${my.work}/CSO-oper/CSO_output_%Y%m%d_%H%M_state.nc
Arjo Segers's avatar
Arjo Segers committed

!~

! keywords for filters:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded.filters                  :  quality
Arjo Segers's avatar
Arjo Segers committed

! minimum quality value required:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded.filter.quality.var       :  qa_value
cso.tutorial.sim-gridded.filter.quality.type      :  min
cso.tutorial.sim-gridded.filter.quality.min       :  0.8
cso.tutorial.sim-gridded.filter.quality.units     :  1
Arjo Segers's avatar
Arjo Segers committed
! target file, might contain templates:
!   %Y,%m,etc     : time values
!   %{basename}   : basename (without extension) of first source file
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded.output.file              :  ${my.sim-gridded.dir}/%Y/%m/CSO_output_%Y%m%d_%H%M_gridded.nc
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded.output.packed            :  True
! zlib compression level, 0 for no compression:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded.output.complevel         :  1

! data variables to be created:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded.output.vars              :  yr ys yr_m ys_m

! input variables:
!   data:yr    : from data file
!   state:ys    : from state file
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded.output.yr.source         :  data:yr
cso.tutorial.sim-gridded.output.ys.source         :  state:ys
cso.tutorial.sim-gridded.output.yr_m.source       :  state:yr_m
cso.tutorial.sim-gridded.output.ys_m.source       :  state:ys_m


!-----------------------------------------------------------
Arjo Segers's avatar
Arjo Segers committed
! catalogue of gridded simulations
!-----------------------------------------------------------

! time range:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.timerange.start        :  ${my.timerange.start}
cso.tutorial.sim-gridded-catalogue.timerange.end          :  ${my.timerange.end}
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.timerange.step         :  hour
Arjo Segers's avatar
Arjo Segers committed
! renew existing files?
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.renew                  :  True
!cso.tutorial.sim-gridded-catalogue.renew                  :  False
Arjo Segers's avatar
Arjo Segers committed
! input files:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.input.file             :  ${my.sim-gridded.dir}/%Y/%m/CSO_output_%Y%m%d_%H%M_gridded.nc
!!~ idem for daily average:
Arjo Segers's avatar
Arjo Segers committed
!cso.tutorial.sim-gridded-catalogue.input.file             :  ${my.sim-gridded.dir}/CSO_output_%Y%m%d_aver_gridded.nc

! target files, time tempates and variable name are replaced:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.output.file            :  ${my.sim-gridded.dir}/catalogue/%Y/%m/%d/S5p_NO2_%Y%m%d_%H%M_gridded_%{var}.png
!!~ idem for daily average:
Arjo Segers's avatar
Arjo Segers committed
!cso.tutorial.sim-gridded-catalogue.output.file            :  ${my.sim-gridded.dir}/catalogue/%Y/%m/%d/S5p_NO2_%Y%m%d_aver_gridded_%{var}.png

! figure size (inches), default is (8,6):
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.figsize                :  (6,6)

! variables to be plotted:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.vars                   :  yr ys yr_m ys_m
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.var.yr.source          :  yr
! convert units:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.var.yr.units           :  umol/m2
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.var.yr.vmin            :   0.0
cso.tutorial.sim-gridded-catalogue.var.yr.vmax            : 100.0
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.var.ys.source          :  ys
! convert units:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.var.ys.units           :  umol/m2
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.var.ys.vmin            :   0.0
cso.tutorial.sim-gridded-catalogue.var.ys.vmax            : 100.0
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.var.yr_m.source        :  yr_m
! convert units:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.var.yr_m.units         :  umol/m2
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.var.yr_m.vmin          :   0.0
cso.tutorial.sim-gridded-catalogue.var.yr_m.vmax          : 100.0
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.var.ys_m.source        :  ys_m
! convert units:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.var.ys_m.units         :  umol/m2
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue.var.ys_m.vmin          :   0.0
cso.tutorial.sim-gridded-catalogue.var.ys_m.vmax          : 100.0



!-----------------------------------------------------------
! gridded catalogue index
!-----------------------------------------------------------

! target location:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue-index.outdir                    :  ${my.sim-gridded.dir}/catalogue
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue-index.header                    :  CSO catalogue
! show info on created page?
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue-index.info                      :  True

! create new page for each value?
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue-index.newpage                   :  True

! content type:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue-index.type                      :  list
! define row values:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue-index.name                      :  date
cso.tutorial.sim-gridded-catalogue-index.values                    :  TimeSeries( ${my.timerange.start}, ${my.timerange.end}, '1 day', '%Y%m%d' )

! create new page for each value:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue-index.date.newpage              :  True
! content type:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue-index.date.type                 :  table-row
! define row values:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue-index.date.name                 :  time
cso.tutorial.sim-gridded-catalogue-index.date.values               :  Range( 0, 23, 1, '%2.2i00' )

! content type:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue-index.date.time.type            :  table-col
! define column values:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue-index.date.time.name            :  var
cso.tutorial.sim-gridded-catalogue-index.date.time.values          :  ${cso.tutorial.sim-gridded-catalogue.vars}

! content type:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue-index.date.time.var.type        :  img
! define image:
Arjo Segers's avatar
Arjo Segers committed
cso.tutorial.sim-gridded-catalogue-index.date.time.var.img         :  %{date[0:4]}/%{date[4:6]}/%{date[6:8]}/S5p_NO2_%{date}_%{time}_gridded_%{var}.png
cso.tutorial.sim-gridded-catalogue-index.date.time.var.kwargs      :  height=300


!======================================================================
!===
!=== end
!===
!======================================================================