Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

error to generate regular raster stack time series in R

I try to convert regular time series raster stack using bfastts funcion in bfast model in R. When I can generate a time series for 1 pixel (s in the example). However, I cannot generate time series ...
user30985's user avatar
  • 683
0 votes
0 answers
27 views

gap fill for raster stack in R

I have irregular time series NDVI raster stack over a year and there is no data for July. I would like to generate the irregular time series to a monthly regular time series to run bfast model in R. ...
user30985's user avatar
  • 683
0 votes
0 answers
186 views

Forecasting future raster values of a Starma model

I am using R package starma to develop a space-time autoregressive moving average model of a raster data. I am having trouble getting to forecast future values for the region whose data is being ...
codeload's user avatar
0 votes
1 answer
931 views

Sum pixel values in a Raster stack based on another raster stack

I have a raster stack representing Evapotranspiration (ET) with 396 layers (3 raster layers for a month for 11 years in total - 2009 to 2019). For each month the raster layer always represents 1st, ...
karthikeyan matheswaran's user avatar
1 vote
0 answers
1k views

Pixel-wise Standardized Precipitation Index (SPI) calculation of monthly rainfall raster in R

I want to calculate Standardized Precipitation Index (SPI) of monthly rainfall raster in R. I have seen one question related to this in SO (R Standardized Precipitation Index .nc file), but it was not ...
UseR10085's user avatar
  • 8,260
0 votes
0 answers
152 views

pixelwise rescaling of a time series using cumulative distribution function matching

I'm using R and I have a raster stack of surface soil moisture measurements from a radiometer on fixed on an observation tower. These data are daily values going back 10 years. I also have another ...
lamochila's user avatar
1 vote
1 answer
2k views

How to extract time series from a raster stack in R

I have created a RasterStack from NDVI layers of the MODIS data. Now i want to extract time series data from different locations of this data so that i can use BFAST/greenbrown package to estimate ...
Rehan's user avatar
  • 441
1 vote
0 answers
308 views

R raster time series stack circular statistics

I have a raster time-series with values from 1 to 36 representing 10 days (dekads) timesteps and NA values. I need to calculate the average and the standard deviation, taking into account that ...
Gianca's user avatar
  • 119
4 votes
1 answer
371 views

What's the most efficient way to use movingFun in large rasters time series?

I have to smooth a large time series and I'm using the movingFun function from the 'raster' package. I tested few options based on previous posts (see my options below). The first 2 work, but are very ...
LuluPor's user avatar
  • 165
0 votes
1 answer
180 views

How to obtain Dates of annual maximum gridcell values of rasterbrick?

How can i get two rasters that gives the maximum value for each grid cells per year and also gives the dates on which that maximum value has occured. Below is the reproducible example with some steps ...
Lily Nature's user avatar
1 vote
1 answer
989 views

r raster cumulative sum calculation according to pre-defined time steps

I have a time series of 10 daily raster data and I need to calculate the -5 to +5 time steps cumulative sums according to the pixel values (=time 0) of a reference raster. I am able to calculate the ...
Gianca's user avatar
  • 119
1 vote
0 answers
49 views

How to add dates to remote sensing data?

I am working with remote sensing data to create time series of NDVI and Cloud cover. The data consists of 30 rows (latitude) and 40 columns (Longitude) and 212 matrix slices which are the months from ...
Francis Criens's user avatar
1 vote
1 answer
305 views

R raster timeseries decomposition error

I am trying to decompose a monthly timeseries stack (dimensions : 336, 221, 74256, 420) to get the random component. I am using the following: tsfun <- function(x) { my.ts = na.remove(ts(x, ...
Gianca's user avatar
  • 119
3 votes
0 answers
909 views

R raster timeseries: what's the most efficient read and write?

I have the following problem/question: I've written an R functions which is smoothing values from a time series. The time series is defined by a big number of single global raster files, hence each ...
Val's user avatar
  • 7,053
0 votes
1 answer
688 views

Using greenbrown package with Landsat data

I have been trying to use the 'PhenologyRaster' function of the greenbrown package to model the growing season of my study area. However, everytime I run the function, I get empty outputs (e.g. the ...
EllieV's user avatar
  • 3

15 30 50 per page