TNO Intern

Commit d1f92a7d authored by Arjo Segers's avatar Arjo Segers
Browse files

Updated template settings.

parent c71c1d04
Loading
Loading
Loading
Loading
+4 −34
Original line number Diff line number Diff line
@@ -22,32 +22,6 @@
!======================================================================


!-----------------------------------------------------------
! inquire downloaded GlyRetro data
!-----------------------------------------------------------

! Obtain names of all available S5p files.
! Stored as csv with processing type, processor version, filenames, etc.

! renew table if file already exists?
cso.s5p.chocho.inquire-table-glyretro.renew                  :  False

! time range:
cso.s5p.chocho.inquire-table-glyretro.timerange.start        :  ${my.full-timerange.start}
cso.s5p.chocho.inquire-table-glyretro.timerange.end          :  ${my.full-timerange.end}

! output table, time templates are filled with date of today;
! base path is used for searching input files:
cso.s5p.chocho.inquire-table-glyretro.file                   :  ${my.work}/Copernicus-inquire/Copernicus_S5p_CHOCHO_glyretro__2022-09-22.csv

! filename filters relative to listing file that should be scanned for orbit files;
! names could include time templates ;
! if same orbit is found in multiple directories, the first found is used;
! remove existing table for safety to ensure that this is done correctly ...
cso.s5p.chocho.inquire-table-glyretro.patterns               :   %Y/%m/%d/S5P_RPRO_L2__CHOCHO_*.nc \
                                                                 %Y/%m/%d/S5P_OFFL_L2__CHOCHO_*.nc


!-----------------------------------------------------------------------
! inquire PAL portal
!-----------------------------------------------------------------------
@@ -84,8 +58,7 @@ cso.s5p.chocho.inquire-table-pal.output.file : ${my.work}/Copernicus
cso.s5p.chocho.inquire-plot.renew                    :  True

! listing files, here from two inquires:
cso.s5p.chocho.inquire-plot.file                     :  ${cso.s5p.chocho.inquire-table-glyretro.file} ; \
                                                        ${cso.s5p.chocho.inquire-table-pal.output.file}
cso.s5p.chocho.inquire-plot.file                     :  ${cso.s5p.chocho.inquire-table-pal.output.file}
!~ specify dates ("yyyy-mm-dd") to use historic tables,
!  default is table of today:
cso.s5p.chocho.inquire-plot.filedate                 :  2022-09-22 ;
@@ -146,18 +119,15 @@ my.s5p.chocho.selection : Cxx
!   (%{collection} == '03') and (%{processing} == 'OFFL')
!
#if "${my.s5p.chocho.selection}" == "Cxx"
! strange archive, need to combine collections;
! prefere PAL_ for later years, otherwise RPRO or OFFL:
cso.s5p.chocho.convert.selection                      :  (%{processing} == 'PAL_') ; \
                                                         (%{processing} == 'RPRO') ; \
                                                         (%{processing} == 'OFFL')
! only PAL archive:
cso.s5p.chocho.convert.selection                      :  (%{processing} == 'PAL_')
#else
#error unsupported my.s5p.chocho.selection "${my.s5p.chocho.selection}"
#endif

! target dir for downloads;
! here the local archive:
cso.s5p.chocho.convert.input.dir                      :  ${my.observations}/GlyRetro
cso.s5p.chocho.convert.input.dir                      :  ${my.work}/Copernicus/S5P/%{processing}/CHOCHO/%Y/%m

! remove downloaded files?
! here all data comes from local archive, set False anyway ...