Create new pointer object

Read weather records from a file list and/or a folder list

Read weather records from a weather data file

Read weather records from a weather data file with APSIM format

Read weather records from a weather data file with RDATA format

Read weather records from a weather data file with GHCN format

newPointer(value)

readWeatherRecords(
  dataFiles = NULL,
  dataFolders = NULL,
  dataFormat = "APSIM",
  dataWeather = NULL,
  load.later = FALSE,
  ...
)

readSite(filename, dataFormat = "APSIM", ...)

readSiteAPSIM(filename)

readSiteRDATA(filename)

readSiteGHCN(filename, ...)

Arguments

value

The value for this pointer

dataFiles

A character vector to specify the path of weather data files.

dataFolders

A character vector to specify the path of weather data folders.

dataFormat

The format of weather data file.

dataWeather

A data.frame for existing data.

load.later

Whether load weather records now or later. "dataFroamt" should be One of "APSIM" and "RDATA".

...

Other arguments for site information

filename

The file name of weather data file.

Value

A new pointer to value

A WeaAna class which contains all weather data.

A WeaAnaSite class which contains all weather data.

A WeaAnaSite class which contains all weather data.

A WeaAnaSite class which contains all weather data.

A WeaAnaSite class which contains all weather data.