Skip to main content

Questions tagged [band]

A layer in a raster dataset.

Filter by
Sorted by
Tagged with
5 votes
1 answer
185 views

QGIS Batch Process to save bands of a raster layer as separate raster files

I have a .tif file with 61 bands. Normally, to save a band, I use the rastar calculator expression filename@1. But since there are 61 bands, with each band corresponding to a date, from April 1 to May ...
proy's user avatar
  • 95
0 votes
1 answer
35 views

Removing 'bad bands' from hyperspectral data in GDAL

I'm new to using GDAL and need to process hyperspectral data. I'm trying to get rid of bands within atmospheric absorption windows, but I'm note sure how to do that in GDAL or other python tools. My ...
monicaJ's user avatar
1 vote
1 answer
112 views

How to convert Sentinel-2 RGB bands to [0, 255]

I have already downloaded the Sentinel-2 RGB bands using earthengine-api with python. The resultant numpy matrix has a shape (n, m, 3), representing the RGB bands directly downloaded from Sentinel-2. ...
Guzmán R's user avatar
1 vote
1 answer
40 views

Retrieving Spectral Values at Specific Wavelengths in Landsat Imagery. Is it possible?

Imagine you are working with Landsat imagery, specifically Landsat 5, and you aim to extract spectral information at 531nm. In this scenario, you would typically choose band 2, as it operates within ...
Eladio's user avatar
  • 11
0 votes
0 answers
408 views

Create a ROI poligon: "Warning: Point outside band set or band set not defined".-Sentinel 2

I'm working on an assignment for college (geodesy), a data classification lab exercise. I downloaded and clipped the Sentinel bands to the area of ​​my municipality via clip raster bands in CSP, then ...
Sergej Lav Unibl's user avatar
0 votes
0 answers
37 views

Filtering data on QGIS

I have a raster displaying anchoring intensity in the Mediterranean Sea. As you can see in the first screenshot, there are two different classes (pink and dark pink). I would like to get rid of the ...
Arnaud Boulenger's user avatar
0 votes
1 answer
63 views

What are the mesh and raster layers in QGIS that are included when a GRIB2 file is imported?

I am currently working with grib2 files from the RDPA dataset in QGIS. When one of these grib2 files is imported, there is a raster layer and a mesh layer that is generated. I am struggling to ...
p1unge's user avatar
  • 109
1 vote
1 answer
80 views

Band calculations using satellite images captured on different dates

I want to do some band calculations using bands taken from multi spectral (MS) satellite images and bands from a short-wave infrared (SWIR) image. I have one SWIR image covering the whole area of ...
rsf69's user avatar
  • 101
0 votes
1 answer
185 views

Exporting four band TIFF for transparency (alpha channel) using ArcMap

I am using ArcMap 10.8. I try to add a fourth band with my TIFF to extract it by mask and NOT have a black box arroud with NoData values. In the end I need a four band PNG with transparency layer. ...
Frauke's user avatar
  • 59
0 votes
0 answers
54 views

Bamboo Index value for Sentinel-2 not rendering between -1 and +1

I created a composite band using last 5 years i.e., 2023, 2022, 2021, 2020, 2019 Sentinel-2 image for NDVI map and SI (Soil Moisture Index) map preparation. Then I created Bamboo Index (BI) map from ...
Pushkar's user avatar
  • 83
0 votes
0 answers
88 views

Different Band Values For NDVI Calculation For Composite Band

I created composite map using individual NDVI map of Landsat-8 from 5 years. However, I am confused with the NDVI value rendered after creating composite map. I got different values of NDVI for ...
Pushkar's user avatar
  • 83
1 vote
1 answer
229 views

What are the equivalent band combinations in Sentinel-2?

The following is the band combination of RGB to represent in natural colour, vegetation analysis, infrared colour for Landsat-8: - Natural Colour:- 4 3 2 Colour Infrared (vegetation):- 5 4 3 Healthy ...
Pushkar's user avatar
  • 83
0 votes
1 answer
31 views

Raster band values affecting analysis in ArcMap

I've been trying to clip a raster data but the output each time has different band values resulting in different symbology. I checked online and it seems there is no applicable solution, and I even ...
Yfunfur's user avatar
0 votes
1 answer
156 views

Overlapping different year NDVI Map using ArcMap

I have created a NDVI time-series map for 5 different years. Now I want to prepare a combined raster band of the 5 years' time interval to form a single combined raster band. How can this be done in ...
Pushkar's user avatar
  • 83
4 votes
1 answer
380 views

Generating new raster by combining the values of two separate ones in Python

I have two rasters in the same coordinate system and the same resolution which I am trying to combine in Python using a specific formula. I managed to replicate this in QGIS by going to Raster -> ...
A.N.'s user avatar
  • 153
0 votes
1 answer
77 views

Merge raster data whilst keeping min value and their layer name [closed]

Using numpy and arcpy I can’t figure out a method to do the following: Merge two rasters which have identical cell alignment keeping the minimum value (e.g compare the pixel values and keep minimum) ...
spk578's user avatar
  • 1,516
0 votes
0 answers
64 views

Select a specific band in GRASS (QGIS)

In GDAL you can use flags like -b 1 -b 2 to select individual bands from a multiband raster In Arc you can sometimes use "...\whatever.tif\Band_1" to select an individual band Can you do ...
Buff Fox's user avatar
1 vote
0 answers
29 views

What are the band units of L8C2L2 before applying the scale factor?

Bellow there is an image which shows "Collection 2 Landsat 8 Level 2 Science Products Band Specifications". When I use the multiplicative scale factor and the additive offset on Band 10, I ...
Chris's user avatar
  • 123
1 vote
2 answers
52 views

QgsRasterCalculator not writing any output nor showing error codes

I am trying to use QgsRasterCalculator to do some calculations. However, my script does not output anything. It also doesn't show any error codes, it just executes without writing the desired output ...
Maarten 's user avatar
3 votes
1 answer
562 views

QGIS Python script with Raster Calculator

I have a large set of radar .tif files with several bands, and I would like to have some Python scripts to perform some basic operations that I would usually perform using the Raster Calculator in ...
Joep_'s user avatar
  • 33
0 votes
3 answers
554 views

Earth Engine GEE Abnormally low NDBI values derived from Landsat 8

I wanted to compare Landsat-8 NDVI and NDBI in a city using the codes below. I am using similar formulas. However, the NDBI value is abnormally low, compared to NDVI, and compared to raster calculator ...
student's user avatar
0 votes
0 answers
106 views

Band Combination for NIR-R-G in Landsat 7 scene

What is the order for the band combination to show Landsat7 scene in NIR-R-G Band? The band combination I used is:- And the result generated is:- Is this the correct layer combination to show ...
Walker's user avatar
  • 301
1 vote
1 answer
1k 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 ...
ANSHARAH MOBEEN's user avatar
0 votes
1 answer
87 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 ...
Agustin Valenzuela's user avatar
0 votes
2 answers
163 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. ...
soumik chakraborty's user avatar
3 votes
2 answers
572 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 ...
bsg's user avatar
  • 467
0 votes
2 answers
155 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 ...
Aiswarya's user avatar
2 votes
0 answers
508 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 ...
Gabriela Chaves's user avatar
2 votes
0 answers
126 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 ...
Martanti Aji Pangestu _'s user avatar
2 votes
1 answer
671 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 ...
Sam's user avatar
  • 21
2 votes
0 answers
422 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/...
Meije3984's user avatar
  • 165
0 votes
1 answer
591 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 ...
Gabriela Chaves's user avatar
1 vote
1 answer
767 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 ...
Ailish Mills's user avatar
0 votes
0 answers
96 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'...
Martanti Aji Pangestu _'s user avatar
0 votes
0 answers
135 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 ...
Just_4n0th3r_Pr0gr4mm3r's user avatar
1 vote
1 answer
765 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, ...
hrbrnsn's user avatar
  • 13
-1 votes
1 answer
92 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. ...
Jordi Soler's user avatar
1 vote
1 answer
177 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....
cchenry's user avatar
  • 15
2 votes
1 answer
333 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 ...
Sytze's user avatar
  • 771
5 votes
2 answers
762 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 ...
sn1ks's user avatar
  • 3,022
3 votes
1 answer
1k 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 ...
Binx's user avatar
  • 1,380
1 vote
2 answers
57 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 ...
LennardDerudder's user avatar
1 vote
0 answers
395 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 ...
benedetta's user avatar
  • 138
12 votes
2 answers
13k 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 ...
srinivas's user avatar
  • 123
3 votes
1 answer
805 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 ...
JAT86's user avatar
  • 932
0 votes
1 answer
86 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. ...
Abi's user avatar
  • 29
0 votes
0 answers
163 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?
astaga's user avatar
  • 123
0 votes
1 answer
142 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 ...
Tariq Abbas's user avatar
1 vote
0 answers
52 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 ...
Ricardo Zwarg's user avatar
1 vote
1 answer
466 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 ...
Labguyvancouver's user avatar