I am trying to make a SDM (Species Distribution Models), to this I built a GAM model (let's say for species A: In that context, the "presence" refe ...
I am trying to make a SDM (Species Distribution Models), to this I built a GAM model (let's say for species A: In that context, the "presence" refe ...
I have a stack with large number of layers, and I want to run a pixel-wise cumulative sum function across the layers with reset when sum becomes <0 ...
I have a netCDF file ("SSP119.nc") containing information on land-use change from 2015 to 2100, inclusive (source: https://luh.umd.edu/data.shtml). I ...
I would like an official source for drawing the relief over a map of Switzerland. I downloaded https://cms.geo.admin.ch/ogd/topography/DHM25_BM_SHP.z ...
I would like an official source for drawing the relief over a map of Switzerland. On one of the pages of swisstopo I found following file: https://dat ...
From 19 climatic rasters, I try to crop only the raster area in the polygon (in France). For this, I try to generate a loop that crops each rasters on ...
My question follows this previous question, that has been partially answered : Reading a grib2 dataset with 4 dimensions and 2 variables with R I am ...
I have a raster layer ranging from 0 (minimum) to 100 (maximum) and I would like to change its values to range from 1 to 100. It is important that dat ...
I need to do calculations on a lot of big rasters(28000 cells, 181 layers). I tried my code on a small subset (24cells, 181 layers). I took help from ...
I have a bathymetry raster and a bounding gridded shapefile. I cannot isolate the 'values' column of the list that lapply produces. The intention is ...
I have a raster brick (ncell=28536 and nlayers=181). I need to run mathematical functions on the original brick and create two more bricks of same siz ...
I'm trying to highlight a portion of a DEM using ggplot — essentially, just a colored, semi-transparent territorial subset. As long as I do not add a ...
I am trying to implement random forest (RF) regression using the ranger package in R, but I am getting this error: Error: Missing data in columns: pop ...
The griddap function in the library(rerddap) in R provides an excellent function for accessing satellite data from ERDDAP Servers in a simple and stra ...
In a sample raster r how can I change the proportion of pixel value 84 to 25% from 9% as you see in per_84? I.e. I want to increase the number of pixe ...
I have a Sentinel-1 image and Sentinel-2 images and I want to make the pixels in Sentinel-1 coincident to Sentinel-2. The more simple solution is put ...
I'm new to raster package in R, I was trying to open a .nc file with the package raster and some error popped out. In case you want to try I was using ...
I have 181 daily ndvi rasters stacked. I want to find peak for each pixel and then assign peak value to the rest. Original Data Curve: This is what ...
I've uploaded my data onto github here: https://github.com/dschmidt42/Benguela_Chla_Danielle_Schmidt. To set up my data: Here are the resulting pl ...
I've uploaded my data onto github here: https://github.com/dschmidt42/Benguela_Chla_Danielle_Schmidt. It's concerning chl a data off the eastern coas ...