Questions tagged [average]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
28 views

Aggregate data from several polygons into one in QGIS

I have looked in Stack Exchange for the answer to this but I can't find the specific answer to my query. I am using QGIS 3.10.1, and I am trying to aggregate Census data (polygons) according to ...
2
votes
1answer
30 views

Tabulating average value through spatial join in QGIS

Previous ArcGIS user and have now switched over to QGIS for a project. I am performing a spatial join of two shapefiles - one of census tracts and the other of zctas. In ArcGIS you can set the merge ...
0
votes
1answer
36 views

Calculating monthly averages from daily precipitation data

I have a raster brick for daily precipitation data and I need to convert it to monthly data, how would I go about doing this? Each layer is a day and there are 34698 days (i.e. too many to go through ...
0
votes
0answers
14 views

Code for Extraction of pixel values post Temporal Averaging

I tried to write a code for temporal averaging the pixel values of VH polarization from Sentinel 1 collection and downloading the same as a CSV. I get an error "VH value not selected in the ...
1
vote
1answer
28 views

Creating composite raster from rasters with different spatial extent without losing information using ArcGIS Pro

I am creating a composite raster using several individual rasters with different spatial extents (captured from different times), see image below. The idea here is that I want to create one mosaic ...
0
votes
1answer
143 views

How to calculate mean for multiple raster files and multiple variables using R

I have a folder with multiple raster files (.asc) which contains the biomass of different fish species (e.g., Anglerfish, Bathydemersal etc) for different years (e.g., 00012, 00024, 00036 etc) I want ...
1
vote
1answer
19 views

Binning of satellite Level 2 data

I can see that for the Aqua instruments (AIRS, MODIS, CERES etc), the Level 2 data are binned into Level 3 data providing average values for (say) a 1° x 1° cells grid. Let's say that I would like to ...
1
vote
1answer
26 views

Calculating average of values in raster in QGIS?

I want to get the average of values in a raster. How do I get this using Raster Calculator? I was looking for this kind of function: AVE("yourraster@1") in the raster calculator.
1
vote
0answers
41 views

Fit a line to 3 spatial points

I have a set of lon/ lat coordinates that locates lines. Each line is characterized by 3 points, the start, center and end which were measured using a handheld GPS. Since the individual coordinates ...
0
votes
0answers
28 views

Get daily composite in GEE [duplicate]

I am interested in getting a daily composite from the GEE S5P TROPOMI NO2 dataset for 01-01-2019 to 01-01-2020. How do I get a mean image for each day? // Fetch a NO2 data. var NO2 = ee....
0
votes
0answers
61 views

Calculate moving average (low pass filter) using fft in GRASS

I am interested in calculating a moving average for a raster in GRASS/QGIS. In other words, each cell needs to receive as value the average of its current value and the neighboring cells in a square (...
-1
votes
1answer
93 views

Calculating daily average using hourly data in Google Earth Engine

I want to get daily data such as net radiation, sensible heat flux and latent heat flux. NOAA NWS National Centers for Environmental Prediction (NCEP)[ee.ImageCollection("NOAA/CFSV2/FOR6H")] ...
2
votes
1answer
177 views

Tool in QGIS to Get Area Weighted Average

I am looking for a tool that can give me an area-weighted average. I have a shapefile of parcels and another shapefile with Curve Numbers. I want to get Area Weighted CN for each parcel. If I do it ...
0
votes
0answers
26 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
52 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
773 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
265 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
28 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
50 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
411 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
86 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
65 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 ...
2
votes
1answer
77 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 ...
1
vote
1answer
150 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
48 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 ...
4
votes
1answer
300 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
448 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
202 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 ...