# NOT RUN {
# Fetch daily "ag" community temperature, relative humidity and precipitation
# for January 1 1985 at Kingsthorpe, Queensland, Australia
ag_d <- get_power(
community = "ag",
lonlat = c(151.81, -27.48),
pars = c("RH2M", "T2M", "PRECTOTCORR"),
dates = "1985-01-01",
temporal_api = "daily"
)
ag_d
# Fetch single point climatology for air temperature
ag_c_point <- get_power(
community = "ag",
pars = "T2M",
c(151.81, -27.48),
temporal_api = "climatology"
)
ag_c_point
# Fetch global ag climatology for air temperature
ag_c_global <- get_power(
community = "ag",
pars = "T2M",
lonlat = "global",
temporal_api = "climatology"
)
ag_c_global
# Fetch interannual solar cooking parameters for a given region
sse_i <- get_power(
community = "re",
lonlat = c(112.5, -55.5, 115.5, -50.5),
dates = c("1984", "1985"),
temporal_api = "monthly",
pars = c("CLRSKY_SFC_SW_DWN", "ALLSKY_SFC_SW_DWN")
)
sse_i
# }
Run the code above in your browser using DataLab