Get site information

Get site information

Get site information

siteInfor(object, ...)

# S4 method for class 'WeaAna'
siteInfor(object, load.now = FALSE)

# S4 method for class 'WeaAnaSite'
siteInfor(object, load.now = FALSE)

Arguments

object

A WeaAnaSite object.

...

Not used

load.now

Whether load site information

Value

Site information in the WeaAna object

Site information in the WeaAnaSite object

Examples

library(weaana)
data( "WeatherRecordsDemo" ) 
#> Warning: data set ‘WeatherRecordsDemo’ not found
siteInfor( records )
#>                  Name  Number Latitude Longitude
#> 1 DEMO Weather Site 1 0000001      -25       135
#> 2 DEMO Weather Site 2 0000002      -25       130
siteInfor( records, load.now = TRUE )
#>                  Name  Number Latitude Longitude
#> 1 DEMO Weather Site 1 0000001      -25       135
#> 2 DEMO Weather Site 2 0000002      -25       130