Create an instance of NewhallDataset
NewhallDataset(
stationName,
country,
latDD,
lonDD,
elev,
allPrecipsDbl,
allAirTempsDbl,
pdbegin,
pdend,
smcsawc,
checkargs = TRUE
)
character; station name
character; country
double; latitude decimal degrees
double; longitude decimal degrees
double; station elevation
double; length 12
precipitation, monthly (millimeters of water)
double; length 12
air temperature, monthly (degrees Celsius)
integer; beginning year
integer; ending year
double; soil moisture control section available water capacity (millimeters)
logical; check argument length and data types? Default: FALSE
an instance of NewhallDataset
input_direct <- NewhallDataset(
stationName = "WILLIAMSPORT",
country = "US",
latDD = 41.24,
lonDD = -76.92,
elev = 158.0,
allPrecipsDbl = c(44.2, 40.39, 113.54, 96.77, 95, 98.55,
66.04, 13.46, 54.86, 6.35, 17.53, 56.39),
allAirTempsDbl = c(-2.17, 0.89, 3.72, 9.11, 16.28, 21.11,
22.83, 21.94, 19.78, 10.5, 5.33, -1.06),
pdbegin = 1930,
pdend = 1930,
smcsawc = 200.0
)