Questions tagged [band]

A layer in a raster dataset.

Filter by
Sorted by
Tagged with
0
votes
1answer
25 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 ...
0
votes
1answer
23 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
0answers
22 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
vote
2answers
58 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, ...
1
vote
1answer
33 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
1answer
50 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, ...
0
votes
0answers
20 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
0answers
26 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
1answer
19 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
2answers
39 views

How to access 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/...
0
votes
1answer
34 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 ...
1
vote
1answer
27 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
vote
1answer
46 views

Verifying that it is ok to use multiple band combinations as I create polygons for my supervised classification?

I am sorry if this is a naive question, but 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 ...
2
votes
2answers
59 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
vote
1answer
42 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 ...
2
votes
1answer
41 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 /...
0
votes
0answers
26 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 ...
1
vote
1answer
29 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 ...
0
votes
2answers
192 views

Processing images with file type .ntf [closed]

I am use to posting in Stack Overflow, but it seems this question is best geared towards the GIS Stack Exchange. I need to understand the .ntf file types for satellite images. I am in grad school and ...
3
votes
2answers
190 views

Merging two Landsat TIFF file of same band in QGIS 3.4

I've been wanting to merge two TIFF files of same band (this case it will be B1 in Landsat). I have followed tutorials which I came across online, but none of them seems to work. Generally, raster > ...
-1
votes
1answer
81 views

Add an NDVI band to NAIP imagery and then chart it (using Google Earth Engine)

I am attempting to calculate NDVI from NAIP imagery, add the NDVI band as an additional band to the NAIP imagery and then chart it. I am easily able to calculate NDVI from NAIP imagery with the below ...
2
votes
0answers
30 views

Querying / seting up PostGIS (raster) table to efficiently get all bands at once?

I have created a PostGIS raster table from raster2psql. I have use cases where I might have bands sizes of 114 to 670 bands inside a raster (The number is consistent across a given dataset.) My ...
0
votes
0answers
112 views

BandOffsets.length is wrong!

I am trying to process large GeoTIFF images using GeoTIFF reader provided by Geotools library. However while processing the image getting below error: org.geotools.data.DataSourceException: ...
0
votes
1answer
141 views

Batch changing of Raster Bands of Multiple Rasters in ArcGIS Desktop?

I have a ton of rasters in my ArcGIS project, each with 4 bands. At the moment, I am changing the raster bands, one by one, for each file: Red becomes Band 2 Green becomes Band 1 And I am setting ...
1
vote
1answer
428 views

Google Earth Engine band did not match any bands errord

According to the dataset, there should be a band named: total_precipitation_surface. However, when I try to get data from this band I get: > Collection.first: Error in map(ID=2019061000F000): ...
1
vote
0answers
33 views

Earth Engine Image Collection Reduction Glitch

I am having a visual glitch when adding an image as a band to the map. The glitch consists of a vertical line which is not rendered at all. The more I zoom out of the map, the more this line increases ...
2
votes
1answer
115 views

QGIS 3.4 Modeler: Select a band of a raster layer for processing

As model input data I select a raster stack with three bands. The first processing tool just needs specific bands of this stack which I like to select in the input dialog. I create a 'Raster Layer' ...
1
vote
1answer
1k views

Finding all the values within a band in google earth engine

I have an image composite which includes a day of year band. When I display the band using Map.addLayer and stretch by 100% in the Visualization Parameters I can see that the range of values is 151-...
0
votes
1answer
54 views

Exporting band data of a large number of points

I have a question regarding exporting a data from GEE. I am new to coding and GEE. What I would like to achieve is export pixel band data of points a have managed to upload using Fusion Table. Is is ...
2
votes
1answer
310 views

NDVI index based on QA bands for MCD43A4 , in GEE

I want to calculate the NDVI index based on the MODIS/006/MCD43A4 collection and based on quality bands, but as a new GEE user I have no idea If I am on the rght way to do this. So far I have the ...
0
votes
0answers
71 views

Rasterise shapefile as 1 band (grayscale)

My code converts shapefiles to rasters. I had first done this in colour, but now I need greyscale (1 band). The code seems to create this for the first raster file, but the other raster files seem ...
0
votes
0answers
60 views

How to remove unnecessary bands from .sid file (keeping file format)

An ImageMosaic layer created from .sid data containing 5 bands has black areas where data is missing and setting transparency parameter in GeoServer does not help as error appears: Error rendering ...
0
votes
1answer
90 views

Map.addLayer automation

As in the Hillshade Example, I wanted to automate adding all Layer from one Image for visual inspection. var band_names =Image.bandNames() print(ee.String(band_names.get(0))) for (var i = 0; i < ...
0
votes
1answer
171 views

.bandnames() as String

var bandname = ee.String(ee.ImageCollection.first().bandNames()) gets a print of: using ee.Image.regexpRename(bandname, new_name) or using var bandname = ee.String(bandname) results in : ...
1
vote
1answer
847 views

Google Earth Engine, get a List of Bands

I want to Automate Band selection for all bands. Therefore a List of the Bands is needed. This didn´t work: ee.List(image.get('bands'))
1
vote
1answer
419 views

Count pixels of different bands in MODIS

I need some help with my script in GEE. I’m working with a MODIS Terra Vegetation Continuous Fields Yearly (MOD44B.051 Terra Vegetation Continuous Fields Yearly Global 250m) and I’m trying to obtain ...
0
votes
2answers
207 views

NDVI from ENVI to Arcmap stretched value

I calculated NDVI in ENVI by band math. When I drag and drop the image in ArcMap it becomes a black image with stretched value =0 for all pixels. However, by identity clicking each pixel has a value ...
2
votes
2answers
489 views

Are Landsat 8 data from ESPA corrected and calibrated?

I am trying to figure out Landsat 8 data corrections and calibrations. Actually, I don't really know how this can be done and which data needs what kind of correction and calibration for further ...
0
votes
0answers
474 views

Landsat 8 bands of 432 looks too dark in ArcGIS

I have created a composite map using the combination of Landsat 8 bands of 4, 3 and 2 (I read this combination gives true natural color) to see the scene in true color in ArcGIS, but it looks too dark....
3
votes
1answer
223 views

GeoTools extract band

I have a tiff image with 4 bands (Red, Green, Blue and Infrared) and I need to extract two of them. I want to input one image and split it and make two images. I want to do it with GeoTools since I ...
0
votes
2answers
167 views

band name for landsat surface reflectance product

I'm looking for any link/documentation where the centre wavelengths of Landsat surface reflectance product are stated/written (i.e. the value for each centre band). Specifically, I wanted to be sure ...
1
vote
0answers
177 views

Difference in the maximum values of a Raster band when using numpy array and when using gdal function directly

import numpy as np from gdalconst import* band = 'band1.tif' band1_12 = dataset1_12.GetRasterBand(1) max = band1_12.GetMaximum() print(max) #this gives 2425.0 data1 = np.array(band1_12.ReadAsArray())...
6
votes
2answers
618 views

Why is a normalized parameter involving the Green band and Red band not used for Vegetation determination?

The green region reflects solar energy sufficiently well. So does the NIR region, much more than the green region, indeed. However, reflection in Green region is based on the chlorophyll concentration,...
1
vote
1answer
181 views

Batch Processing single band raster to create multi spectral images using arcpy.CompositeBands_management?

I am kind of new to python but I am trying to batch process single band raster images to create multispectral imageries using arcpy Composite Bands. I have 24 single band rasters (Bands 1 - 3 ) all ...
6
votes
1answer
995 views

Viewing bands of landsat 8 images in QGIS for NDVI calculation?

I am trying to calculate NDVI values for sites I sampled with landsat 8 imagery. The equation is simple : NDVI = (NIR band - Red band)/(NIR band + Red Band) Now I understand that landsat 8 images ...
2
votes
1answer
1k views

How to use GDAL translate tool in python script QGIS

I'm trying to use gdal_translate tool in a python script I'm writing in QGIS 2.18.3. I use the translate tool because I want to change all the zero values (in all 8 bands of my raster) to nodata. I'm ...
1
vote
0answers
374 views

Processing multi-band raster in qgis using python script? [closed]

Is there a way to process (for example by using raster calculator or r.null) a multi-band raster? When I try to use raster calculator in QGIS 2.18.3 on multi-band raster the output is a raster that ...
1
vote
1answer
363 views

How to know Band overview resolutions available using gdal [closed]

I want to know bands resolution. Is there any way using GDAL that we can see the resolution of bands?
1
vote
1answer
660 views

gdalwarp causes ERROR 6: PNG driver doesn't support 6 bands in gdal2tiles

I've a problem with my gdalwarp function. What I've done: I built a .vrt file from 6 .tif images: gdalbuildvrt -overwrite /input/base.vrt /home/tiles/BASE/*.tif My gdalinfo looks like that: ...
4
votes
2answers
408 views

How to reduce number of raster bands of a RGB picture?

For my Master Thesis in Ecology I want to calculate an NDVI Index. The tricky part is, that I don't have sattelite pictures with bands and so on, but RGB pictures. The pictures where taken with a ...