Versions Compared

Key

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

CFU (Climate Fortran Utilities)

...

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
Expand
titleshellpp

shellpp

Purpose"precompiles" a shell script
Callcfu shellpp <input file> <output file> <name>
Resultprecompiled file output file
Meaningsinput fileinput file containing the precompile commands

output file"precompiled" output file

namename of the ifdef clauses that should be used
Remark

This is a very rudimentary pre-compiler version like the one for e.g. FORTRAN programs. It can only handle the two commands:
#ifdef name
#endif

If you are interested in a more sophisticated bash pre-processor please check the one on bashpp GitHub. 

Expand
titletbtimestamp

tbtimestamp

PurposePrints the time stamp of the time bounds variable time_bnds
Callcfu tbtimestamp <input file> [<itype_calendar>]
ResultYYYY-MM-DDThh:mm:ss as loop over bounds (=2) and time steps
Meaningsinput file File containing the time bounds 

itype_calendar0 = 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
titletbtimestamp

tbtimestamp

PurposePrints the time stamp of the time bounds variable time_bnds
Callcfu tbtimestamp <input file> [<itype_calendar>]
ResultYYYY-MM-DDThh:mm:ss as loop over bounds (=2) and time steps
Meaningsinput file File containing the time bounds 

itype_calendar0 = 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)
Prints the time stamp of the time bounds variable time_bnds