Questions tagged [average]

The tag has no usage guidance.

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

GRASS r.statistics method=average for non-integer maps

I need use the functionality of r.statistics using the average method. I have one map with cell clumps for a base layer and another containing various non-integer cell values for a cover layer. ...
1
vote
1answer
39 views

Finding average distance to nearest point

I would like to find out the average distance from high schools (represented as a point in QGIS) to libraries (represented as another point in QGIS) in New York's 32 districts. I have already ...
3
votes
1answer
198 views

Calculate statistics for rasters with multiple bands (600) in QGIS

I am a new user of raster layers in QGIS. I need to generate a new raster file with the average value for each pixel, from a raster file with 600 bands. The average has to be calculated from all the ...
2
votes
1answer
49 views

QGIS: Creating average of a precipitation multiple raster set?

I have a set of 12 precipitation raster layers downloaded from WorldClim, each one representing monthly precipitation data on a global scale. I've clipped all 12 layers with the area of interest. How ...
1
vote
0answers
16 views

Band rerendering netcdf file by variable not time. Using gdal, nco, cdo

I want to average netcdf data (band1: precipitation) in bins (i.e. 0.01,0.10,0.25,0.5,0.75,1.0, etc.). What nco, gdal, or nco tools can I use to regrid the netcdf file this way?
1
vote
1answer
36 views

Average of specific pixels

I have a raster of estimated soil moisture values and 30 points of field measurements. I wanted to correlate the measured and estimated values using scatterplot but the result in not good. There ...
1
vote
1answer
211 views

Weighted mean of raster by polygons in R?

I have two rasters, raster_a and raster_b, and a shapefile, world_shapefile. Both rasters are of the world extent and overlay each other. What I want to do is to create a weighted average of raster_a,...
1
vote
2answers
80 views

Missing values when calculating mean

I have uploaded a table containing information on river basins within countries (https://code.earthengine.google.com/?asset=users/basins/TFDD_BCU). I want to calculate the mean population density in ...
1
vote
1answer
59 views

Mean values from a table in Earth Engine

I have uploaded a table containing information on river basins within countries (https://code.earthengine.google.com/?asset=users/basins/TFDD_BCU). I want to calculate the mean population density in ...
0
votes
0answers
30 views

Weighted averages: accounting for cell size

I'm a non-geographer using ArcMap 10.6. I have a similar question to the two asked here: Weighted averages: accounting for grid cell surface variation in proportion to the cosine of its latitude I ...
2
votes
1answer
45 views

Computing the harmonic mean of an image collection in the Google Earth Engine

How can I compute the harmonic instead of arithmetic mean for a series of images in Google Earth Engine? There is a build-in function to compute the arithmetic mean and median, but there is no ...
0
votes
0answers
13 views

Make a map using netCDF file

I need to plot a map which shows average precipitation for a long period, say 30 years, over a selected domain, using netCDF file. My question is how can I use a netCDF file and take an average of ...
0
votes
0answers
38 views

Dissolving GeoJSON with nodes and lines to one average line?

I have a GeoJSON with two layers. One with lines and one with nodes. I'd like to dissolve it (or at least the layer with the nodes) to one single line, by averaging the positions. I've looked at Turf....
1
vote
1answer
111 views

Calculating meshes average within boundary?

I have mesh data of elevations. Each mesh has a value of elevation (e.g. 87, 60, 33, ...). And I also have data of administrative boundaries. I want to calculate the average of each administrative ...
0
votes
0answers
39 views

Polygon interpolation neighbour average?

I am trying to estimate empty values based on a polygon layer we received from another study. Is there a way to calculate an average value for polygon A based on neighbours B,C, etc that border it? I ...
3
votes
1answer
203 views

Weighted Average of Band Based on another Band in Image Collection [Google Earth Engine]

Using monthly VIIRS data, I'm trying to estimate a weighted average of radiance where I want to weight by the number of cloud free days. Each image in the image collection has two bands: "avg_rad" ...
1
vote
1answer
292 views

GEE: apply ee.Reducer.mean to a list

After classification of an image in GEE, I got 2 lists of user's and producer's accuracies (1*7 and 7*1 dimensions). How can I calculate an average value for each of them now? print('Validation ...
2
votes
0answers
164 views

How to smooth a classified raster layer in QGIS?

In QGIS 3.0.2, I want to smooth a reclassified raster layer by r.neighbor tool. In this process I use average operation. The raster layer created from this tool is empty. I tested this process with ...