|
Hi I need to resample (660) files with resolution 0.07 x 0.07 (lat/long) to a resolution of 0.5 x 0.5 using an average function. i.e the output pixels should be the mean value of all overlapping pixels but excluding pixels with values = NO_DATA_VALUE (currently set to -10000) as like to exclude water areas (i.e the low, unrepresentative NDVI values for water areas as these will decrease the average output values if included). I have written a script to do it, but as I interpret the RESAMP algorithm, it can't produce average values as the resolution diffeernce is to large (at least a factor of 2). Any suggestions on how to solve this, seems like a fairly simple task. I must be possible to use in EASI-scripts. ----------------------------------- From the RESAMP help: EASI>RESAMPLE="AVERA" | The average interpolation method. If the resampling has reduced the image by at least a factor of 2, or the function uses NEAR by default. Regards /Jonas Ardö Department of Earth and Ecosystem Sciences Division of Physical Geography and Ecosystem Analysis Lund University, Sölvegatan 12, SE-223 62 Lund, Sweden |