OPTIONS USING TOML

The constant parameters and options are provided by the .toml file.

It is reminded that $1 W = 1 J s^{-1}$

[path] - Path:

As provided in the example:


ParamExampleDescription
StationNameTimoleague-
Path_InputDATAINPUT-
Path_OutputDATAOUTPUT-
FilenameInputClimateCsvTimoleagueClimateMinute.csv-
FilenameOutputPlotTimoleaguePet10minutes.svg-
FilenameOutputTableCsvTimoleaguePet10minutes.csvTime step as provided by the input file
FilenameOutputTableΔTCsvTimoleaguePetΔToutput.csvTime step as provided in [output]ΔT_Output

[date] - Date

The start and end date of simulation can be differ than provided by the input file


ParamExampleDescription
Date_Start[2023, 1, 1, 0, 0]Starting date of simulation [Year, Month, Day, Hour, Minute]
Date_Start[2023, 12, 31, 0, 0]Ending date of simulation [Year, Month, Day, Hour, Minute]

[output] - Outputs

For the output file Filename_Output_TableΔTCsv


ParamExampleUniteDescription
ΔT_Output86400[seconds]time step of output starting at Date_Start

[missings] - Missing

For the input file Filename_Output_TableCsv


ParamExampleDescription
ΔTmax_Missing14400[second] maximum time were there is consecutative data missing before flagged as missing
MissingValue-9999Value of missing data

[flag] - Flags


ParamExampleDescription
🎏_PetObstrueIftrue then observed PET is provided in the input file
🎏_RaParamtrueiffalse then RaParam is computed with petFunc.aerodynamic.Rₐ_INV_AERODYNAMIC_RESISTANCE()
🎏_RsParamfalseiffalse then RsParam is computed with petFunc.aerodynamic.Rₛ_SURFACE_RESISTANCE()
🎏_Plottrueiftrue then plotting output
🎏_Tabletrueiftrue tables saved as .csv

[param] - Parameters

Could be modified

ParamUnitsValueDescription
Latitude[degree]52.61582Latitude
Longitude[degree]-6.31438Longitude
Longitude_LocalTime[-]0.0Longitude of center of time zone East to west e.g. greenwich
Zaltitude[m]26.0Altitude
α[-]0.25Albedo or canopy reflection coefficient
SoilHeatFlux_Sunlight[-]0.2Adjustment of soil heat flux parameters
SoilHeatFlux_Night[-]0.5Adjustment of soil heat flux parameters

Depending on🎏_Ra_Param

***IF 🎏_Ra_Param = true***


ParamUnitsValueDescription
ParamUnitValueDescription
RaParam[]300aerodynamic resistance to turbulent

***IF 🎏_Ra_Param = false***

RaParam is computed from petFunc.aerodynamic.Rₐ_INV_AERODYNAMIC_RESISTANCE() which requires the following variables:


ParamUnitValueDescription
Hcrop[m]0.1height of the crop
Z_Humidity[m]2.0height from ground of measuring humidity;
Z_Wind[m]2.0height from ground of measuring wind

Depending on 🎏_RS_Param

***IF 🎏_RS_Param = true***


ParamUnitValueDescription
Rₛ[s m⁻¹]90Aerodynamic resistance

***IF 🎏_RS_Param = false***

Rₛ is computed from petFunc.aerodynamic.Rₛ_SURFACE_RESISTANCE() which requires the following variables:


ParamUnitValueDescription
R_Stomatal[s m⁻¹]140.0stomatal resistance of the well-illuminated leaf

[cst] - Physical constants:

Not recommended to modify.


ParamUnitsValueDescription
Cₚ[J kg⁻¹ °C⁻¹]1013.0Cp
Gsc[J m⁻2 second⁻¹]82000Solar constant
Karmen[-]0.41Karmen
T_Kelvin[-]273.15Conversion from C to Kelvin
σ[W m−2 K−4]0.0000000567Stefan-Boltzmann constant
ϵ[-]0.622ratio molecular weight of water vapour/dry air
[J kg⁻¹ K⁻¹]287.0specific gas constant
ρwater[kg m-3]1000.0density of water