17
votes
Exported bands must have compatible data types; found inconsistent types: UInt16 and UInt32
If you have a look at Sentinel 2 bands you'll find that all bands are type unsigned int 16 except for QA20 that is unsigned int 32, that band is causing the issue.
You can solve it in different ways,...
15
votes
Accepted
Cloud mask for Landsat8 on Google Earth Engine
Please, read the related answer.
Use the right parameters and always check metadata
You're trying to filter with BQA band and in SR product, there is no BQA band, there is pixel_qa band instead. ...
14
votes
Accepted
Is the reflectance required to get the NDVI, for Landsat 8 images?
NDVI is defined for any two bands with near-infrared and infrared data (it is an empirical remote sensing index). As such, you can calculate it straight from the DNs. This is mostly OK if you are only ...
12
votes
Cloud mask for Landsat8 on Google Earth Engine
@Aldo's answer is the correct one, no doubt, but if you want to make the code shorter and you don't mind loosing the 'core' of cloud masking, you can use a module:
var point = /* color: #98ff00 */ee....
10
votes
Is it scientifically correct to pansharpen landsat reflectance product with pan band
Fundamentally the question here is "what does 'scientifically valid' mean". If you are looking to do spectral modelling on the data, then the answer is possibly different than if you are looking at ...
9
votes
EVI and NDVI range value
You are right: the range of the NDVI is limited to values between -1 and 1 due to its' normalization properties.
The negative limit of -1 will be reached if you encounter maximal reflectance (1) in ...
9
votes
Accepted
From where can I get Landsat 7 and Landsat 8 metadata files?
The USGS provides a tool for bulk downloading of Landsat Metadata:
Landsat Bulk Metadata Service
The MTL files will allways be distributed with the data if you download the scenes through USGS ...
8
votes
Accepted
Error installing landsat-util on Linux
gnutls.h which is required is missing from the filesystem even if you install libcurl4-gnutls-dev which supposedly has the headers files for curl.
to correct for that error run:
# apt-get install ...
8
votes
Accepted
Counting number of pixel identified as water from a collection of landsat image using Google Earth Engine
It's going to be something like this:
var landsat8= ee.ImageCollection('LANDSAT/LC8_L1T_TOA').filterBounds(geometry)
var waterThreshold = 0;
// water function:
var waterfunction = function(image){
...
7
votes
Accepted
Landsat8 DN to TOA Reflectance (minus values)
One flaw in your approach. You don't need to go through DN to radiance.
You can go straight to the DN to reflectance.
Just stick to ((B1*0.00002)-0.1)/0.74457226676389733207607359928648.
7
votes
Accepted
Why vegetation index, NDVI or SAVI is not working in the desert?
The sensitivity of the normalized difference vegetation index (NDVI) to the soil background and atmospheric effects has generated an increasing interest in the development of new indices. The NDVI ...
7
votes
Accepted
Smoothing/interpolating across images in an ImageCollection to remove missing data
You can replace the values using where().
// Replace masked pixels by the mean of the previous and next months
// (otherwise, how to deal with the first images??)
var replacedVals = composites.map(...
6
votes
Accepted
Viewing bands of landsat 8 images in QGIS for NDVI calculation?
You have downloaded the data and you can find it if you unpack the .tar.gz file using 7zip or similar software for unpacking files. The .tar.gz file is the fourth file from the top that can be seen in ...
6
votes
Accepted
NDBI formula for Landsat 8
I am not 100% familiar with the NDBI Index, but found an article here: https://www.researchgate.net/publication/273886729_Built-up_area_extraction_using_Landsat_8_OLI_imagery
Specifically on Page 14 ...
6
votes
Accepted
Exporting entire ImageCollection in Google Earth Engine using geetools for JavaScript or Python for Windows?
I am the author of both geetools (Python and JavaScript)
The JavaScript repo is share with anyone can read so it should work, but anyhow you can click here to accept the repo, and then do:
var batch = ...
5
votes
Accepted
Difference between a spectroradiometer and multispectral sensor
According to NASA, a spectral radiometer is a multispectral sensor.
Spectroradiometer—A radiometer that measures the intensity of radiation in multiple wavelength bands (i.e., multispectral). Many ...
5
votes
Accepted
Clipping of a Raster changes Range of Cell Values
Your clipping fails because the raster has the odd nodata value of -3.4E+38. Unfortunately, you can not enter that value in the input form.
So I suggest to use gdalwarp to change the nodata value and ...
5
votes
Sun glints and landsat 8 surface reflectance product
The Landsat 8 Surface Reflectance products are not sunglint corrected , so if your application is going to be adversely impacted by the presence of sunglints, then you should implement a suitable ...
5
votes
Accepted
Do clouds reflect NIR/Red bands
Yes, it affects the values of NDVI, and it may not give the desired results sometimes. Information from Wikipedia: Normalized Difference Vegetation Index provides some details about the effects of ...
5
votes
Accepted
Atmospheric effects on extracting soil from BSI index?
Bare soil and urban areas are notoriously hard to segregate. Even with a perfect atmospheric correction, there will be relatively high confusion between the two, particularly when limited to ...
5
votes
Accepted
What are the necessary correction/calibration on Landsat 8 imagery for land cover classification?
You can perform a land cover classification on a single Landsat scene without performing spectral and radiometric corrections. You will only need to do those corrections if you're trying to apply ...
5
votes
Accepted
Are landsat 8 SR and TOA rasters calibrated/corrected data or the data to be used for calibration/correction?
You will want to use the *_sr_band1 to band7 data for your analyses as these are atmospherically corrected surface reflectance products (Figure 1). Only the Surface Reflectance data products and ...
5
votes
Accepted
Do we get world grid with date and time of visit of Sentinel 1 and Sentinel 2?
About Tiles:
There is a kml file provided by ESA that shows the location of each Tile. Overlay it with your study area and you will see which is your target tile.
About acquisition:
Acquisiton ...
5
votes
Accepted
RGB composite of Landsat 8 bands not plotting correctly (Python, GDAL)
The issue is that array.astype() is not applying any stretching or scaling, you need to do that yourself to make the input range of 16-bit values (2^16-1 == max of 65535) fit into an 8-bit integer (2^...
5
votes
Accepted
Fill null pixels resulting from Landsat 8 SR image cloud masking (Earth Engine)
Cloud masking works by removing clouds from the dataset and giving them a 'null' value, which is why you have 'holes' in your image. How you handle this will depend on how much you value the specific ...
5
votes
Accepted
How to add to the map all the images on a image collection with cloud pixels masked on Google Earth Engine?
The solution you have tried uses the image 'id' so you end up displaying the 'original' image in the collection. As an alternative, following what you said in the comment, you can use the .get() ...
5
votes
Accepted
(GEE) Constant value in Chart after applying scaling factor to LANDSAT
According to the chart, you seem to be getting a constant value. But that's not true. If you limit the axis, you will see the result clearly. To limit the axis, add viewWindow: {min: -0.20001, max: -0....
4
votes
how to remove cloud values of Landsat image from R
The best established Landsat cloud detection algorithm used today is fmask published by Zhu&Woodcock.
It is not written in R but in MATLAB, it can be downloaded as MATLAB code or as a compiled C ...
4
votes
Accepted
Different band file format when downloading Landsat 8 from earthexplorer
The difference that you see arise from having a mix of 'surface reflectance' data, and 'uncorrected' / 'raw' data.
The scenes with a MTL.txt are 'uncorrected' while the ones with the xml files are '...
4
votes
Accepted
RGB values in Landsat 8 image
It is because the Landsat 8 images are provided in 16 bit instead of 8 bit in previous Landsat images. It is stated clearly in USGS-Landsat-8:
These sensors both provide improved signal-to-noise (...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
landsat-8 × 430google-earth-engine × 149
remote-sensing × 94
landsat × 63
ndvi × 44
arcgis-desktop × 36
qgis × 26
raster × 25
python × 24
envi × 21
cloud-cover × 21
atmospheric-correction × 21
reflectance × 21
classification × 20
landsat-7 × 20
gdal × 18
r × 18
grass-gis × 17
google-earth-engine-javascript-api × 13
digital-image-processing × 13
pansharpening × 13
javascript × 12
export × 12
sentinel-2 × 12
land-classification × 12