Re: [R-sig-Geo] [raster newbie] projectRaster hangs regridding global latlong - CONUS LCC

2012-10-04 Thread Tom Roche
Tom Roche Wed, 03 Oct 2012 11:34:58 -0400 I'm getting very wrong output Robert J. Hijmans Wed, 3 Oct 2012 20:27:07 -0700 I do not know why you say the output is wrong. Why you would expect that input variables would have to be preserved I should have worded that better. Moreover, since the

Re: [R-sig-Geo] [raster newbie] projectRaster hangs regridding global latlong - CONUS LCC

2012-10-03 Thread Tom Roche
summary: Robert Hijmans' advice fixed my hang, but now I'm getting very wrong output--i.e., input variables are not preserved. How to get the appropriate output schema (e.g., data variables)? details: https://stat.ethz.ch/pipermail/r-sig-geo/2012-October/016215.html My current [NetCDF] input

Re: [R-sig-Geo] [raster newbie] projectRaster hangs regridding global latlong - CONUS LCC

2012-10-03 Thread Robert J. Hijmans
Tom, I do not know why you say the output is wrong. Why you would expect that input variables would have to be preserved (copied to the output file)? For 'raster' there is input data and output data, the input and output files (formats, attributes) are not related in any way. You could use the

[R-sig-Geo] [raster newbie] projectRaster hangs regridding global latlong - CONUS LCC

2012-10-02 Thread Tom Roche
summary: I'm debugging an apparent hang of raster::projectRaster when projecting the values from an input global lon-lat-gridded emissions inventory (EI) to an output over the contiguous US (CONUS) gridded Lambert conformal conic (LCC). I'm new to 'raster' and relatively new to geomatics and

Re: [R-sig-Geo] [raster newbie] projectRaster hangs regridding global latlong - CONUS LCC

2012-10-02 Thread Robert J. Hijmans
Tom, If you do not provide a to argument, projectRaster guesses one, and this is not entirely fool-proof. I think that in this case it created a big task, and that is simply taking a very long time. Adding an argument like progress='window' can be helpful. projectRaster is 4 times faster om my