if (FALSE) {
## This will not write a file to disk
iemre <- get_iemre_apsim_met(lonlat = c(-93,42), dates = c("2012-01-01","2012-12-31"))
## Note that solar radiation is not available, but can be filled in
## using the nasapower package
iemre2 <- get_iemre_apsim_met(lonlat = c(-93,42),
dates = c("2012-01-01","2012-12-31"),
fillin.radn = TRUE)
summary(iemre)
summary(iemre2)
## Still it is important to check this object
check_apsim_met(iemre2)
}
Run the code above in your browser using DataLab