Closed rmgarnett closed 8 years ago
Here is one for 1979-2010. Is that a long enough time series?
For (mostly my own) reference here is the R code to extract the data
library(PEcAn.data.atmosphere)
library(PEcAn.BIOCRO)
metfile <- nc_open("/projects/arpae/met/narr/all.nc")
lat <- 33.075
lon <- -111.975
x <- load.cfmet(metfile, lat, lon, start.date = ymd('1979-01-01'), end.date = ymd('2010-12-31'))
y <- data.table(cf2biocro(x))
z <- y[,list(tmin = min(Temp), tmax = max(Temp), precip = sum(precip)), by = 'year,doy']
Perfect for now, thank you! Closing the issue; will open a new issue if something goes awry.
PS Temperature in C and precipitation in mm / d
PPS citation for these data:
Wei, Y., S. Liu, D.N. Huntzinger, A.M. Michalak, N. Viovy, W.M. Post, C.R. Schwalm, K. Schaefer, A.R. Jacobson, C. Lu, H. Tian, D.M. Ricciuto, R.B. Cook, J. Mao, and X. Shi. 2014. NACP MsTMIP: Global and North American Driver Data for Multi-Model Intercomparison. Data set. Available on-line [http://daac.ornl.gov] from Oak Ridge National Laboratory Distributed Active Archive Center, Oak Ridge, Tennessee, USA. http://dx.doi.org/10.3334/ORNLDAAC/1220
It would be great to have daily historical weather data (to include t_min, t_max, and precipitation) for Maricopa (or a nearby location) available somewhere. I will use this to build a weather model to base the regression on.