All functions

DOY()

Calculate day of year according to date

Met2RData()

Convert met file to RData files

WeaAna-class

Define the class for multiple sites

WeaAnaSite-class

Define the class of WeaAna

addMarkers(<WeaAna>)

Add marker for each site

addMarkers()

Add marker for each site

addResult(<result>,<result>)

Add new result name and type

addResult()

Add new result name and type

changeWeatherRecords(<WeaAna>)

Change weather records

changeWeatherRecords()

Change weather records

convert2Records()

Convert a data frame to weaana class

createWeaAna()

create WeaAna class

dayLength()

The time elapsed in hours between the specified sun angle from 90 degree in am and pm. +ve above the horizon, -ve below the horizon.

defaultPara()

Get the all/a default parameter value

delMarkers(<WeaAna>)

Delete marker for each site

delMarkers()

Delete marker for each site

diurnalT()

Calculate the diurnal variation in air temperature with Parton and Logan, 1981

fileList()

Get all file path from a vector of files and folders

findResType(<WeaAna>,<character>)

Get result type by name

findResType()

Get result type by name

firstFrostDay(<WeaAna>)

Calculate the last frost

firstFrostDay(<numeric>)

Calculate the last frost

firstFrostDay()

Calculate the first frost event

firstHeatDay(<WeaAna>)

Calculate the first heat day

firstHeatDay(<numeric>)

Calculate the first heat day

firstHeatDay()

Calculate the first heat day

getAvaiVars(<WeaAna>)

Get available variables of weather records

getAvaiVars(<WeaAnaSite>)

Get available variables of weather records

getAvaiVars()

Get available variables of weather records

getFilenames(<WeaAna>)

Get filename

getFilenames()

Get filename

getResults(<WeaAna>)

Get results by name

getResults()

Get results by name

getStationInforByString(<WeaAnaSite>)

Get a string which contains the basic information of weather station.

getStationInforByString()

Get a string which contains the basic information of weather station.

getWeaAnaSiteByPos(<WeaAna>)

Plot site position in a map

getWeaAnaSiteByPos()

Get WeaAnaSite object by position

getWeatherRecords(<WeaAna>)

Get all weather records by year range

getWeatherRecords()

Get all weather records by year range

`[`(<WeaAna>)

Getter to access the weather data at a specific position.

hourly2Daily()

Convert hourly weather records for daily APSIM format

interpolationFunction()

Return a y value from a linear interpolation function

lastFrostDay(<WeaAna>)

Calculate the last frost

lastFrostDay(<numeric>)

Calculate the last frost

lastFrostDay()

Calculate the last frost

leapYear()

Judge a leap or common year

maximumDays()

Calculate the maximum days which degree days is more than "key.degree.day"

mov()

Calculate the moving values

mov.avg()

Use Calculate the moving average. For compatibility only.

mov.max()

Calculate the moving maximum. For compatibility only.

mov.min()

Calculate the moving minimum. For compatibility only.

mov.sum()

Calculate the moving sum. For compatibility only.

movExtremeByDay(<WeaAna>)

Calculate the moving extreme temperature by days

movExtremeByDay()

Calculate the moving extreme temperature by days

movExtremeByDegreeDay(<WeaAna>)

Calculate the moving extreme temperature by commulated temperature

movExtremeByDegreeDay()

Calculate the moving extreme temperature by commulated temperature

numberFrostDay(<WeaAna>)

Calculate number of frost day

numberFrostDay(<numeric>)

Calculate number of frost day

numberFrostDay()

Calculate number of frost day

numberHeatDay(<WeaAna>)

Calculate number of heat day

numberHeatDay(<numeric>)

Calculate number of heat day

numberHeatDay()

Calculate number of heat day

periodIndex()

Calcualte the index according year and days at a specific period

newPointer() readWeatherRecords() readSite() readSiteAPSIM() readSiteRDATA() readSiteGHCN()

Create new pointer object

records

Demo weather records

registerRes(<WeaAna>,<character>,<character>)

Register name and type of new result

registerRes()

Register name and type of new result

result-class

Define the class for statistics results

resultsInfor(<WeaAna>)

Get name and type of results

resultsInfor()

Get name and type of results

setPara()

Set parameters

show(<WeaAna>)

Show basic information of class WeaAna

sign_apsim()

Transfer of sign - from FORTRAN. The result is of the same type and kind as a. Its value is the abs(a) of a, if b is greater than or equal positive zero; and -abs(a), if b is less than or equal to negative zero. Example a = sign_apsim (30,-2) ! a is assigned the value -30

siteInfor(<WeaAna>)

Get site information

siteInfor(<WeaAnaSite>)

Get site information

siteInfor()

Get site information

siteList()

Get all file name from a vector of files

siteNum(<WeaAna>)

Site number

siteNum()

Site number

spatial()

Calculate the spatial slope and aspect

sphericalDistance()

Calculate the sphere distance

len() left() right() omitBlank() searchChar() omitBlankSE() vector2string()

String function in this package

thermalTime()

Calculate thermal time using cardinal temperatures

thermalTimeDaily()

Calculate thermal time using cardinal temperatures

thermalTimeHourly()

Calculate thermal time using the hourly temperature (non daily temperature)

ttest_ts()

Significantly t-test with auto-correlation for time serial data

vpd.apsim()

Calculate the vpd using apsim method

waGetPara()

Get parameters

wapply(<WeaAna>)

Statistics weather records by a certain period and function

wapply()

Statistics weather records by a certain period and function

wcal(<WeaAna>)

Calculate weather variables through function or a string formula.

wcal()

Calculate weather variables through function or a string formula.

wcalFun()

Calculate weather variables through a function.

wcalStr()

Calculate weather variables through a string formula.

weaanaVersion()

Obtain version of package weaana

writeWeatherRecords(<WeaAna>)

Write weather records into file

writeWeatherRecords()

Write weather records into file