Global temperature/evaporation methods.
More...
Global temperature/evaporation methods.
◆ climate_getNextEvapDate()
| DateTime climate_getNextEvapDate |
( |
void | | ) |
|
Gets the next date when evaporation rate changes.
- Returns
- The current value of NextEvapDate
- See also
- Declaration contract for climate_getNextEvapDate().
◆ climate_initState()
| void climate_initState |
( |
void | | ) |
|
◆ climate_openFile()
| void climate_openFile |
( |
void | | ) |
|
Opens a climate file and reads in first set of values.
- See also
- Declaration contract for climate_openFile().
◆ climate_readAdjustments()
| int climate_readAdjustments |
( |
char * | tok[], |
|
|
int | ntoks ) |
Reads adjustments to monthly evaporation or rainfall from input line of data.
- Parameters
-
| [in] | tok | Array of string tokens |
| [in] | ntoks | Number of tokens |
- Returns
- Error code
- Data formats are:
- TEMPERATURE v1 ... v12
- EVAPORATION v1 ... v12
- RAINFALL v1 ... v12
- CONDUCTIVITY v1 ... v12
- N-PERV subcatchID patternID
- DSTORE subcatchID patternID
- INFIL subcatchID patternID
- See also
- Declaration contract for climate_readAdjustments().
◆ climate_readEvapParams()
| int climate_readEvapParams |
( |
char * | tok[], |
|
|
int | ntoks ) |
Reads evaporation parameters from input line of data.
- Parameters
-
| [in] | tok | Array of string tokens |
| [in] | ntoks | Number of tokens |
- Returns
- Error code
- Data formats are:
- CONSTANT value
- MONTHLY v1 ... v12
- TIMESERIES name
- TEMPERATURE
- FILE (v1 ... v12)
- RECOVERY name
- DRY_ONLY YES/NO
- See also
- Declaration contract for climate_readEvapParams().
◆ climate_readParams()
| int climate_readParams |
( |
char * | tok[], |
|
|
int | ntoks ) |
Reads climate/temperature parameters from input line of data.
- Parameters
-
| [in] | tok | Array of string tokens |
| [in] | ntoks | Number of tokens |
- Returns
- Error code
- Format of data can be:
- TIMESERIES name
- FILE name (start) (units)
- WINDSPEED MONTHLY v1 v2 ... v12
- WINDSPEED FILE
- SNOWMELT v1 v2 ... v6
- ADC IMPERV/PERV v1 v2 ... v10
- See also
- Declaration contract for climate_readParams().
◆ climate_setState()
| void climate_setState |
( |
DateTime | theDate | ) |
|
Sets climate variables for current date.
- Parameters
-
| [in] | theDate | Simulation date |
- See also
- Declaration contract for climate_setState().
◆ climate_validate()
| void climate_validate |
( |
void | | ) |
|