Thanks for the input, Michael and Loic.
It looks like remote's "anomalize" might work, but the overlay approach was
more convenient to use based on the shape of my data.
Greetings,
-- Thiago V. dos Santos
PhD student
Land and Atmospheric Science
University of Minnesota
On Sunday, February
On 12/02/2017 03:14, Michael Sumner wrote:
> I believe the "remote" package has functions for doing exactly this.
>
> HTH
>
> On Sun, Feb 12, 2017, 17:42 Thiago V. dos Santos via R-sig-Geo <
> r-sig-geo@r-project.org> wrote:
>
>> Dear all,
>>
>> I have a netcdf file with monthly temperatures
I believe the "remote" package has functions for doing exactly this.
HTH
On Sun, Feb 12, 2017, 17:42 Thiago V. dos Santos via R-sig-Geo <
r-sig-geo@r-project.org> wrote:
> Dear all,
>
> I have a netcdf file with monthly temperatures values covering the period
> of January 1961 to December 2010:
Dear all,
I have a netcdf file with monthly temperatures values covering the period of
January 1961 to December 2010:
library(raster)
# Create date sequence
idx = seq(as.Date("1961/1/1"), as.Date("2010/12/31"), by = "month")
# Create raster stack and assign dates
r = raster(ncol=5, nrow=5)
s =