[R-sig-Geo] Raster multi-band time series analysis
Dominik Schneider
Dominik.Schneider at colorado.edu
Mon Oct 26 16:18:01 CET 2015
Check out the spatial.tools package for parallel processing with the raster
package.
On Mon, Oct 26, 2015 at 7:22 AM, Loïc Dutrieux <loic.dutrieux at wur.nl> wrote:
> Hi Victor,
>
> I don't have much experience with beginCluster; however, I have written a
> parallel version of raster::calc a little while ago that uses forking.
> https://github.com/dutri001/bfastSpatial/blob/master/R/mc.calc.R
>
> calc and overlay are analogue so that it shouldn't be too hard to extend
> this function to overlay, using an undefined number of rasterStack or
> Bricks as input. You will need a bit more checks and control flow at the
> beginning of the function though.
> I'm not sure at all whether this is the most efficient way of
> parallelizing things, but it will for sure speed up your processing
> compared to single core processing.
>
> Hope this helps,
> Cheers,
> Loïc
>
>
> On 10/26/2015 12:23 PM, Victor Maus wrote:
>
>> Hi Loïc,
>>
>> Thank your very much for your answer. I am working on your suggestion.
>> But I still have a question.
>>
>> The function raster::overlay works for multiple RasterBrick objects.
>> However, I noticed that raster::beginCluster works with raster::overlay
>> as long as a single RasterStack or RasterBrick is provided as the first
>> argument. Do you have any suggestion for parallel processing of multiple
>> RasterBrick objects?
>>
>> Thank you!
>>
>> Best,
>> Victor
>>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
[[alternative HTML version deleted]]
More information about the R-sig-Geo
mailing list