Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

CFU (Climate Fortran Utilities)

...

Expand
titlecheck_files_iso

check_files_iso

Purposecheck whether all required files in a date range are in a certain directory (uses ISO time stamp: YYYYMMDDHHTmmssZ)
Callcfu check_files_iso <ystartdate> <yenddate> <hh:mm:ss> <prefix12> <prefix2> <suffix><input directory> <last output> [<itype_calendar>]
Result0=success, 1=error. In case of error the file check_files.log contains the names of the missing files. The file check_files.log is written to the directory where the program check_files_iso is called.
Meanings







ystartdatestart date in the form YYYYMMDDHHmmss
yenddateend date the form YYYYMMDDHHmmss
hh:mm:sstime increment of the files in the date range
prefix1primary prefix to be checked (e.g. caf, laf, …), i.e. the characters preceding the YYYYMMDDHH[mmss] sequence
prefix2secondary prefix to be checked (e.g. cas, lbfd, …), if prefix1 gives errors.In case only one prefix should be checked set prefix1=prefix2
suffixsuffix to be checked (e.g. .nc, c.nc, …), i.e. the characters following the YYYYMMDDHHTmmssZ sequence
input directoryfull path to directory holding the files to be checked
last outputshould be set to true T in case the yenddate should be included in the check, otherwise it should be set to false F
itype_calendar

0 = 365 days (plus taking into account for leap years) a year
1  = climatological calendar (360 days per year)
2  = climatological calendar (365 days per year)

...

Expand
titleicon_domain

icon_domain

Purposeprovide helpful input for the  ICON Grid Generator + ExtPar Web Frontend 
Callcfu icon_domain <input file> <nbound>
Result

an example output looks as follows

Code Block
 write parent grid: (tick box)
center: longitude (degrees)   -5.11000
center: latitude (degrees)    -0.77000
half width:    24.42000
half height:   23.76000
 rotate: (tick box) 
north pole: longitude (degrees) -162.00000   latitude (degrees)   39.25000
Meaningsinput fileFile that contains the rotated coordinates of the domain to which the ICON results in the post processing script of SPICE will be remapped

nboundNumber of grid point by which the domain given by the input file is extended. This is to keep the rotated domain out of the boundary zone of the regional ICON

...