Questions tagged [band]

A layer in a raster dataset.

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

Calculating vegetation indices NDRE AND RECI using Sentinel 2

I am trying to calculate NDRE and RECI using Sentinel imagery ON ArcGIS software . For RECI( RED EDGE CHLOROPHYLL INDEX) the formula is (NIR/RED-1). Can you tell me which band to use in order to ...
0 votes
1 answer
16 views

Image (Error) User memory limit exceeded

I was trying download spectral bands. Below show my scrip, the first part do a mask for take off land cover i don't wish. After, i do a date cube, for download the spectral band, where each band is a ...
0 votes
2 answers
41 views

Issue in applying condition expression to all band values in Google Earth engine

I want to apply the following condition statement to all the pixels of an indices image having only 1 band. The condition is as follows- For that first I have calculated the mean value of my image. ...
3 votes
2 answers
85 views

Automatically importing and merging bands in each folder from QGIS

How do I automatically import and merge the bands in each folder from QGIS? The C:\landsat path contains the Landsat 5 image folder. Inside each folder is a Landsat image. I want to automatically ...
  • 457
0 votes
2 answers
43 views

Can I change the max band value of sentinel 5P methane in GEE?

I am working on GEE using Sentinel 5P methane dataset. The min and max band value for this dataset is 1750 and 1900 ppb respectively. When I run the code using this value, I get majority areas to be ...
2 votes
0 answers
133 views

Getting Sentinel-2 raster values for points on Google Earth Engine

I am calculating TSM and chlorophylle in a river, for each parameter I used a function to create a new band that gives me information about each one. First I want to calculate the mean value for ...
2 votes
0 answers
34 views

Error Showing With Python-"ee.ee_exception.EEException: Image.select: Pattern 'B4' did not match any bands."

I'm working on estimation chlorophyll-a using a Landsat 8 image woth python code and then I’m trying to build an web-app which is using streamlit and geemap library. But my map doesn’t showing when I ...
1 vote
1 answer
108 views

Coding in Google Earth Engine for common ratio and band combinations used in mineral exploration

There are common ratio and band combinations throughout the geological literature, for example: ASTER Mineral Index Processing Manual I am trying to use Google Earth Engine to replicate some of these ...
  • 11
0 votes
0 answers
82 views

Defining non-color channels as ExtraSamples

I run a PYQGIS script to calculate mean and stdev of an area for one specific raster-band. processing.run('native:zonalstatisticsfb',{ 'COLUMN_PREFIX' : '_', 'INPUT' : '/Users/pugliesipc/Desktop/...
  • 115
0 votes
1 answer
157 views

Adding function as band to image collection in Sentinel-2

I need to assess TSM in a river using Sentinel-2. Which is why I need to add the function of TSM as a new band. I used Adding multiple indices as bands to image as a guide but it is not working for ...
0 votes
0 answers
54 views

Pansharpening: why does my pansharpend image show false color?

I pansharpened RGB with panchromatic image by using GDAL tool in the QGIS. But, it shows false color even though I changed the order of the band. Why can I not see the true image? I attached a photo ...
1 vote
1 answer
135 views

Spectral signature doesn’t match band set in SCP Plugin

I'm trying to do a supervised classification to see land cover change using the Semi-Automatic Plugin in QGIS. After I create my ROIs and try to assess the spectral signature plot for the ROIs, I ...
0 votes
0 answers
45 views

Why is my image not showing and in my metadata it says that my band is 0?

I'm working on estimation chlorophyll-a using a Landsat 8 image on Google Earth Engine but my image is not showing, and in my metadata it says that my band is 0. I'm really really confused because I'...
0 votes
0 answers
42 views

LANDSAT-7 strange strip on SWIR bands (B5 and B7)

I was exploring Landsat 7 data on SentinelHub and came across with this strange strip in the SWIR band B7 (also B5): By placing a pin in this strip and exploring the stats, I found that there is no ...
1 vote
1 answer
290 views

Set a property as a band value in Earth Engine

I have an image collection of MODIS monthly burn (MODIS/006/MCD64A1), in which BurnDate band is selected. I then have a function that calculates total burned area for each image (monthly). However, ...
  • 13
-1 votes
1 answer
64 views

Extract one band from a multispectral raster PyQGIS

I want to extract red band, from a multispectral raster with 5 band, using PyQGIS. I tried this code, using the GDAL rastercalculator. I tried to extract the 3 bands, and then calculate my index. ...
1 vote
1 answer
97 views

Image time series chart not reading bandName property in doy.SeriesByRegion

Here is part of my code for creating a time series chart in GEE. var addLST = function(image) { var LST = thermal.expression( '(Tb/(1 + (0.00115* (Tb / 1.438))*log(Ep)))-273.15', { 'Tb': thermal....
  • 15
2 votes
1 answer
152 views

Why does GDAL's 'GetDescription' function return an empty string?

I have used GDAL to add descriptions to my raster band. I have verified in QGIS that the bands are indeed correctly named. I use the following function for adding names as band descriptions, which has ...
  • 451
2 votes
2 answers
201 views

Hiding raster bands/palette in Layers panel in QGIS

I often have to load a lot of rasters at once into QGIS. Unfortunately, most of them appear with a "Legend" wich shows their bands (or palette for single band rasters). This takes a lot of ...
  • 2,291
3 votes
1 answer
350 views

Calculate mean for each band in raster

I'd like to re-visit this answer given by Aaron that uses gdal and numpy to calculate the mean value of each band. Issue 1: With large TIFFs ~ 5-15GB, I am running into a memory error. I am wondering ...
  • 1,047
1 vote
2 answers
38 views

Hiding pixel of one layer based on pixel value of other layer

I have a raster layer that contains multiple bands. I want to visualize one band in particular, but only the pixels that have a value of 0.6 or higher in another band of the same raster layer should ...
0 votes
0 answers
28 views

Applying indexes to level 2A Sentinel products

I am using SNAP's Band Maths tool to calculate the following indexes: FDI (Floating Debris Index) PI (Plastic Index) NDVI (Normalized Difference Vegetation Index) FAI (Floating Algae Index) FAI uses ...
1 vote
0 answers
204 views

Subtracting each image in two image collections in Google Earh Engine

I have two image collections with 14 images each. I need to subtract the first image of the first collection to the first image of the second collection, the second image of the first collection to ...
  • 126
6 votes
2 answers
3k views

Exporting single band from multiband raster in QGIS

In QGIS 3.16.8 I have a raster image in TIFF format which has 17 bands. I need to extract different band combinations as separate image files. Some of the combinations consist of images with single ...
3 votes
1 answer
295 views

Make multiple values of a raster layer transparent

I have a raster image with a single band with 0 to 255 values styled with a palette of colors. One of the values/colors I want to make transparent is 123, so I added it in the Additional no data value ...
  • 902
0 votes
1 answer
42 views

Bad image output in QGIS [closed]

I have created an Orthomosaic .tiff file from multi-spectral images using Agisoft Metashape. Now that I am trying to analyze the image using QGIS, I get a bad image, and I do not know how to fix it. ...
  • 29
0 votes
0 answers
94 views

Band ratio with Euler's number in Google Earth Engine

I've band ratio with exponential equation and Euler's number band_ratio = (0,0039e)^(2,4952*(B2/B4)) Can anyone write it in Google Earth Engine format? Or just input the Euler's number?
  • 95
0 votes
1 answer
63 views

How to make histogram of NIR band bimodal enough to differentiate water from land in GEE? [closed]

I am interested to map water bodies in a desert from swir band of sentinel 2. How I can make a bimodal histogram in GEE? I have one reference water body in scene. Is it possible to do the same in ...
1 vote
0 answers
35 views

Working with just one band to get a new map

I need to create a new image using a dataset that have just one band ranging from 0 to 30. The new image that I need must have just 2 pixels value (0, 1) with 0 being deforested between 2010 - 2020 ...
1 vote
1 answer
246 views

Band Names in Google Earth Engine - Modis LST data

I am working with some modis LST data, and am running into the following problem: I am running two functions on the data, which I will need to combine later. For that reason, the band names need to be ...
1 vote
1 answer
262 views

Band value selection in Google Earth Engine

I am working on Sentinel-5p NO2 data in Google Earth Engine. The band value of 'NO2_column_number_density' starts from negative numbers i.e.(Low : -1.34484e-05) but I need low value to be start from 0....
1 vote
1 answer
305 views

Subtracting image value from corresponding month from image collection in Google Earth Engine

I have extracted sea surface temperature(SST) images from Google Earth Engine for a specific time period and region var start = ee.Date(2012-01-01); var end = ee.Date(start).advance(1,'month'); ...
1 vote
1 answer
349 views

Transfer feature details from WMS to raster file

I need to export a WMS Map in a raster (QGIS) as I would like to do a zonal statistic after I need the WMS raster values. I can see them in the Identify results panel. The WMS has single Band color ...
  • 13
1 vote
2 answers
2k views

Image dimensions in Google Earth Engine

How can one get image (band) width and height on the server side? On the user side you do it with image.getInfo().bands[0].dimensions, following Extracting information from Google Earth Engine image ...
1 vote
1 answer
546 views

Google Earth Engine: set band as property without reducing

I have a function that takes an ImageCollection and sets a mean value as a property for another ImageCollection. var DHW = HS_SSTA_7d.map(function(im) { var res = im.reduceRegion(...
1 vote
1 answer
474 views

Performing complicated calculation on bands in Google Earth Engine

I'm trying to perform ANIR index calculation on my image collection. I'm having trouble writing the code in the right way. ANIR index formula is : cos^-1[((a^2)+(b^2)+(c^2))/(2*a*b)] (a2, b2 and c1, ...
0 votes
1 answer
145 views

Getting band names using ArcPy in ArcGIS Desktop 10.x

How do I get a list of band names using ArcPy in ArcGIS Desktop 10.x? In ArcGIS Pro, I can use Raster('myRaster').bandNames, but this is not an option in ArcGIS 10.x and I cannot seem to figure out ...
  • 1,779
0 votes
1 answer
78 views

Band Compositing

This is probably a trivial question, but is it possible to create band composites using bands of different resolutions (10m, and 20m)? I tried that and exported the resulting rasters to JPEG and it ...
1 vote
0 answers
95 views

Rasterio doesn't display the differnet bands of image

I have one raster which has three different bands. The two first bands look like this (in qgis): and the third band looks like this ( missing values in some places: The three bands sit on top of ...
  • 1,819
1 vote
2 answers
276 views

Batch NDVI calculation with PyQGIS

I'm trying to run an NDVI calculation on a set of raster layers. The approach is to adapt this QGIS 2.x code to run in GQIS 3.x. A far as I'm aware it's the "legendInterface" that's changed, ...
  • 11
1 vote
2 answers
270 views

FeatureCollection (Error) Image.reduceRegions: Group input must come after weighted inputs

I was trying to find the area of each block by category in the band. There is one band and it has 18 categories. The feature collection is a collection of blocks described uniquely by code_2011. var ...
0 votes
1 answer
1k views

Renaming images of ImageCollection to add band name at end on Google Earth Engine

I am trying to batch download an image collection using Rodrigo E. Principe's tool but I want to download each band seperately by image.select function. When I download a single band, I get the name ...
  • 127
0 votes
0 answers
45 views

How build NDVI based on multi-bands on different files (one band - one file) in geoserver?

I am using a geoserver. I have several bands (b1, b2, b3..etc) I need to build NDVI based on them, for this I need to have access to each of the bands, but since they are in separate files, when I ...
1 vote
0 answers
72 views

Accessing bands of a NetCDF by datetime in Python

I want to write each band as a separate file (after gdal.Translate operation). So I can directly address to each band by datetime, not by a number? The second way, more sophisticated is to get all ...
0 votes
1 answer
250 views

How to read a RasterBand as Dataset to use in gdal.Translate as source?

I need to translate each band of netcdf file to other format. How can I get raster.GetRasterBand() not as a band object, but as a dataset ot otherwise to use it in gdal.Translate(dst,src) as src?
0 votes
2 answers
403 views

Accessing Sentinel-2 L2A Scene Classification Layer (SCL) with GDAL

I have a Sentinel-2 L2A and was able to access it with: In[1]: image = gdal.Open(s2l2a_image.zip) subdatasets = image.GetSubdatasets() Out[1]: [('SENTINEL2_L2A:/vsizip/s2l2a_image.zip/...
2 votes
1 answer
653 views

Extracting band names of RasterLayer in R

I have a RasterLayer with 500 bands in R (I exported the raster as a single image in Google Earth Engine, which was originally an ImageCollection). I know you can extract the band you want to use by ...
  • 97
1 vote
1 answer
84 views

Band math doesn't work in GEE

I'm trying to calculate WDVI index but for some reason the computation failes and I don't find my mistake. The function works but all the pixels are 0. var addWDVI = function(image) { var red=image....
  • 1,819
1 vote
1 answer
62 views

Using multiple band combinations when creating polygons for supervised classification

I am very new to remote sensing analysis. I am conducting a supervised classification in Google Earth Engine. I want to verify that as I develop my training samples that it is ok for me to toggle ...
2 votes
2 answers
180 views

Add two bands to image gives the bands the same name

I have a sentinel -1 image collection and I have a function that suppose to use focal median in order to apply speckle correction. Each image has 2 bands: VV and VH and the function I have suppose to ...
  • 1,819