Skip to main content

All Questions

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

Resampling of Sentinel-1 data to 1km resolution using gdal and snappy modules

I am trying to resample my preprocessed Sentinel-1 data to 1km resolution. I am facing the following issues when I try to do it using snappy and gdal modules. Using gdal, Used code: os.system('...
Chandra Prabha's user avatar
0 votes
2 answers
379 views

How to resample a raster considering a minimum number of valid pixels

I'm looking for a function to resample a raster that can consider a minimum number of valid pixels in order to compute the new pixel value. E.g. If I have to resample a raster of 300m/px to 1Km/px I ...
Federico Gianoli's user avatar
1 vote
0 answers
1k views

Python GDAL resampling incorrectly: masking actual data points

I am trying to resample GeoTIFF image from 460 m resolution to 500 m using the Python gdal library. But somehow GDAL is not resampling correctly. It is also resampling noData values, so resulting ...
terraCoder's user avatar
4 votes
0 answers
1k views

Using max as resampling method with gdal_translate?

My Issue According to the docs it appears that gdalwarp has many more resampling methods than gdal_translate. Can anybody explain why the resampling methods can't be used with both functions? ...
Braden Roseborough's user avatar
2 votes
1 answer
106 views

modal resampling in GDAL: what happens when two classes are equally represented

gdal_translate has a parameter to resample the values based on the most frequent class in the output pixel (-r mode). However, this most frequent class does not necessary exist (when two or more of ...
radouxju's user avatar
  • 49.9k