Hi,

Maybe you could use raster::resample

2012/6/18 Jordan Winkler <jordanrwinkler@gmail.com>

> I am confused on how to generate spatial grid data frames with attribute
> data and I've come across many different methods.  I am ultimately trying
> to extract temperature data from the CRU 3.1 data set for cropped areas
> globally.  I have both the CRU data and the cropped area dataset (Monfreda)
> in NetCDF.  I have the lon/lat vectors as well as a matrix of 1 timestep of
> the temperature data, and the same for the cropped area.  The main issue is
> that these two sets are of different resolution.  The crop data are 5
> minute, the temp is 1 degree.  My thought was to either extract the
> temperature values at each cell in the crop data set with a value > 0, then
> extract this to the country level using the appropriate shapefile.  Any
> guidance on where to start would be much appreciated.
>
> --
> --
> Jordan R Winkler
> Teaching Fellow / PhD Candidate
> Dept. of Geography and Environment
> Boston University
> 675 Commonwealth Avenue, STO 338
> Boston, MA 02215
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

	[[alternative HTML version deleted]]

