View source: R/water_WeatherStation.R
| getDataWS | R Documentation |
Export weather conditions at the satellite overpass from a waterWeatherStation object
getDataWS(WeatherStation)
WeatherStation |
waterWeatherStation object. See |
A one-row data.frame with the conditions at the satellite overpass: wind (m/s), RH (%), temp (Celsius), radiation (W/m2), height (m), lat, long, elev (m), DOY (day of year), hours (decimal hour of the overpass in the weather station time zone) and long.z (longitude of the centre of that time zone, 15 degrees per hour of UTC offset, used by hourlyET()). An error is given if the object has no conditions at the overpass (at.sat).
Guillermo Federico Olmedo
Other Weather station related functions:
plot.waterWeatherStation(),
print.waterWeatherStation(),
read.WSdata(),
read.WSdata2()
# a small window of the Landsat 7 example scene, to run quickly
MTL <- system.file("extdata", "L7.MTL.txt", package = "water")
WeatherStation <- read.WSdata(WSdata = system.file("extdata", "apples.csv", package = "water"),
date.format = "%d/%m/%Y", lat = -35.42222, long = -71.38639, elev = 201, height = 2.2,
cf = c(1, 0.2777778, 1), tz = "America/Santiago", MTL = MTL)
image.DN <- terra::rast(L7_Talca)[1:60, 1:80, drop = FALSE]
DEM <- terra::rast(DEM_Talca)[1:60, 1:80, drop = FALSE]
getDataWS(WeatherStation)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.