# NOT RUN {
## 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
## Since there is one day with missing solar radiation
check_apsim_met(iemre2)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab