Questions tagged [band]

A layer in a raster dataset.

Filter by
Sorted by
Tagged with
1 vote
0 answers
18 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 ...
user avatar
0 votes
0 answers
32 views

Different scale in Merged GeoTIFF and TIFF 16bit

My workflow is as follows: STEP 01 -> Merge some DEMs -- I get a band scale of -14 to 2607. STEO 02 -> Export said Merged TIFF as a 16 bit TIFF. STEP 03 -> Open said 16bit TIFF in Photoshop/...
user avatar
1 vote
0 answers
15 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 ...
user avatar
1 vote
1 answer
25 views

Geology - Mineral Exploration - Coding in Google Earth Engine for Common Ratio and Band Combinations

There are common ratio and band combinations throughout the geological literature, for example: chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/viewer.html?pdfurl=https%3A%2F%2Fwww.ga.gov.au%...
user avatar
  • 11
0 votes
0 answers
23 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/...
user avatar
  • 115
0 votes
1 answer
39 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 ...
user avatar
0 votes
0 answers
31 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 ...
user avatar
0 votes
1 answer
42 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 ...
user avatar
0 votes
0 answers
40 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'...
user avatar
0 votes
0 answers
29 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 ...
user avatar
0 votes
1 answer
144 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, ...
user avatar
-1 votes
1 answer
49 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. ...
user avatar
1 vote
1 answer
56 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....
user avatar
  • 15
2 votes
1 answer
122 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 ...
user avatar
  • 431
2 votes
2 answers
104 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 ...
user avatar
  • 2,219
3 votes
1 answer
183 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 ...
user avatar
  • 896
1 vote
2 answers
37 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 ...
user avatar
0 votes
0 answers
26 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 ...
user avatar
1 vote
0 answers
135 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 ...
user avatar
  • 126
4 votes
2 answers
2k 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 ...
user avatar
3 votes
1 answer
202 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 ...
user avatar
  • 892
0 votes
1 answer
39 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. ...
user avatar
  • 29
0 votes
0 answers
81 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?
user avatar
  • 95
0 votes
1 answer
52 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 ...
user avatar
1 vote
0 answers
32 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 ...
user avatar
1 vote
1 answer
144 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 ...
user avatar
1 vote
1 answer
137 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....
user avatar
1 vote
1 answer
262 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'); ...
user avatar
1 vote
1 answer
254 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 ...
user avatar
  • 13
1 vote
2 answers
1k 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 ...
user avatar
1 vote
1 answer
486 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(...
user avatar
1 vote
1 answer
349 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, ...
user avatar
0 votes
1 answer
108 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 ...
user avatar
  • 1,699
0 votes
1 answer
54 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 ...
user avatar
1 vote
0 answers
67 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 ...
user avatar
  • 1,797
1 vote
2 answers
223 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, ...
user avatar
  • 11
1 vote
2 answers
192 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 ...
user avatar
0 votes
1 answer
953 views

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

Helllo everyone, 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, ...
user avatar
  • 127
0 votes
0 answers
43 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 ...
user avatar
1 vote
0 answers
56 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 ...
user avatar
0 votes
1 answer
164 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?
user avatar
0 votes
2 answers
335 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/...
user avatar
2 votes
1 answer
550 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 ...
user avatar
  • 97
1 vote
1 answer
76 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....
user avatar
  • 1,797
1 vote
1 answer
60 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 ...
user avatar
2 votes
2 answers
141 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 ...
user avatar
  • 1,797
1 vote
1 answer
76 views

Calculate number of pixels and more variables by classes in QGIS

I have one band raster that has 3 possible values: 1,2 or 3. I want to calculate for this raster different variables, for example how many pixels we have for each values and also to do some band math ...
user avatar
  • 1,797
2 votes
1 answer
324 views

How remove alpha band from *.sid

I've got a ImageMosaic (GeoServer) created from 4 band *.sid files. Images become transparent around the outer edges of *.sid files . When 4-th band is removed with gdal_translate -b 1 -b 2 -b 3 -of /...
user avatar
0 votes
0 answers
116 views

Exported GEE one band raster shows three bands in ArcGIS

I made a raster layer on google earth engine that only contain pixels have value higher than SAVI mean+1SD. I exported the raster layer as GeoTIFF and specified the raster as green colour. When I ...
user avatar
1 vote
1 answer
58 views

Error with select one band in image

I have code that suppose to calculte NDVI and then to cound the number of pixels in the raster that are higher than 0.3 There is part of the code where there is function that suppose to select the ...
user avatar
  • 1,797