Learn R Programming

APSIM (version 0.9.3)

checkMet: Check for met file errors.

Description

Checks for errors as described in Wall, B.H. "TAMET: Computer program for processing meteorological data." CSIRO Australia. Division of Tropical Crops and Pastures.Tropical Agronomy Technical Memorandum (1977): No. 4, 13p.

Usage

checkMet(met, lmint = -8, umint = 32, lmaxt = 10, umaxt = 50)

Arguments

met

Met file object.

lmint

Lower bound on minimum temperature.

umint

Upper bound on minimum temperature.

lmaxt

Lower bound on maximum temperature.

umaxt

Upper bound on maximum temperature.

Details

Errors checked include:

  • Temperature discontinuites.

  • Temperatures that are too high orlow.

  • Evaporation that is too high or low.

  • Radiation that is too high or low.

Note that issues found may not stop APSIM from running but might indicate an issue with the weather data. Warnings may not be applicable for very hot or cold climates.

Expects input in metFile object. Use prepareMet or loadMet first.

Examples

Run this code
# NOT RUN {
data(met)
checkMet(met)
# }

Run the code above in your browser using DataLab