Questions tagged [sentinel-2]

Remote sensing satellites with Multispectral imaging capabilities

Filter by
Sorted by
Tagged with
0
votes
2answers
276 views

Combining two scenes with different extents without overlapping in QGIS

My AOI is split between two Sentinel-2 scenes. These rasters do not overlap. So function 'merge' in the Raster menu of QGIS cannot help - it says 'Layers do not have common extent'. How to combine it ...
1
vote
1answer
8 views

Multiple atmospheric correction for Sentinel-2 L1C imagery in Google Earth Engine

I am new to Stackoverflow and to Javascript in GEE. I am looking to do an atmospheric correction of Sentinel L1C images between 2016 and 2018, so I can complete my timeseries of BOA images of Sentinel....
0
votes
0answers
9 views

Add date and time property to mosaicked imageCollection

Very similar to this question: Lost the properties in ImageCollection after Mosaicking a Image Collection in Google Earth Engine but I need the exact acquisition time for each of the mosaicked images (...
0
votes
1answer
44 views

Filtering Sentinel2 image collection by cloud coverage over specific polygon

I am pretty new to GEE. My task is to get all Sentinel 2 images from a specific time. Then I want to filter this collection by a maximum cloud coverage over an area of interest, which is imported ...
0
votes
0answers
11 views

sen2cor failing with "TCI image export failed"

I'm trying to calibrate some Sentinel L1C products to get level 2 data, but I always end up with the following message. Any idea what could cause that? I have tested it with sen2cor 2.8.0 and sen2cor ...
1
vote
1answer
47 views

Displaying single band reflectance from Sentinel in GEE

I have been able to display NDVI value in my project but I need some single certain band reflectance value for my data. I have tried in showing blue band (B2) but when I check the inspector tab, the ...
0
votes
1answer
57 views

Creating forest mask using PALSAR Forest/Non-Forest Map for Sentinel 2 image collection

I trying mask forest areas in Sentinel- 2 image collection over my study area using the 25m resolution global PALSAR Forest/Non-Forest Map. I followed the masking example given in GEE guides that uses ...
0
votes
1answer
47 views

Pansharpening Sentinel-2 Image Collection in Google Earth Engine

With reference to (Pansharpening Sentinel-2 imagery in Google Earth Engine) and (Blank Image - Pansharpening Sentinel-2 imagery in Google Earth Engine). I am trying to use the code for an image ...
1
vote
1answer
53 views

Tried to Mosaic Sentinel 2 images but my final image appeared with some overlapping Null data

I'm working on an area that required me to use three sentinel images to fully cover it, I used the "mosaic to new raster" tool in ArcGIS to merge the three images and was surprised to find ...
3
votes
1answer
128 views

LULC Classification of Sentinel-2 Using XGBoost in R

I am trying to do Land cover classification using xgboost in R language. These are the following steps: > library(raster) Loading required package: sp Warning message: R graphics engine version 14 ...
0
votes
0answers
70 views

GEE: Batch Download S2 Image Collection with pixel values = NoData

I am downloading the S2 image collection with all the bands(Band 1-Band 12)based on multiple boundaries. The code is working well and it manages to download the GeoTiff S2 image with all Band 1-Band ...
0
votes
1answer
47 views

Extracting time series from ImageCollection for multiple points using Google Earth Engine

I want to extract for each point of my shapefile the NDVI and the related time-series charts but I cannot understand how to extract values. This is the code // load the S2 dataset var S2 = ee....
0
votes
0answers
17 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 ...
0
votes
1answer
212 views

Filter sentinel 2 images that have empty areas

When trying to download a clipped area from the sentinelhub API python library, it returns images from 2 different orbits: One that passes right on top (Right pic), and the image is full, and a orbit ...
0
votes
1answer
60 views

How to avoid (occasional) 404 errors when trying to access Sentinel-2 images using pystac-client

I use pystac-client to access some sentinel images. In Google Colab, I install pystac-client and rasterio by: %%shell pip install pystac-client pip install rasterio Import both modules: from ...
1
vote
2answers
591 views

Stitching Sentinel 2 neighboring images in QGIS

I'm working with Sentinel 2 imagery, and don't know how to stitch neighbouring images. The problem is that the region im analyzing is on the border of the orbit, and there's a region with no data. How ...
0
votes
0answers
6 views

How do I load Sentinel-2 unpacked image selected bands (by band number) to numpy array in Python GDAL? [duplicate]

I can do: gdal.open('... .xml'); And it seems to work. But how do I refer to the band by B* naming convention? Let's say I would like to open B2, B4 and B5 in the best available resolutions... As far ...
0
votes
1answer
25 views

Exporting NDVI for multiPoint Geometry in Python API of Google Earth Engine

I have a list of mine coordinates and I want to export the mean NDVI of the region 5 km around the mine area. I was able to plot the mines, the region of interest and calculation of NDVI on map, but ...
0
votes
0answers
20 views

Layer error when changing platforms

I am running an analysis of vegetation and fire over a 20 year period. From 2020 - 2016, I have been using the Sentinel-2 imagery but from 2015 back to 1998 I need to use Landsat imagery. The bands ...
7
votes
1answer
14k views

Creating Sentinel-2 NDVI time series chart in Google Earth Engine?

I am exploring Sentinel-2 time-series NDVI with Google Earth Engine. In another post (here) I calculated and exported NDVI values from Sentinel-2. Now I would like to create a NDVI time series chart, ...
0
votes
1answer
29 views

Cannot tile Sentinel 2 images

When I export the big images in Google Drive, Google Earth Engine is supposed to tile them automatically but they don't even appear in my drive. What is happening? Here is my code: #!/usr/bin/env ...
1
vote
0answers
8 views

Meaning of Jeffreys-Matusita Separation values

I've computed the JM separation values for my training classes for Sentinel-2 image classification. I understand that the values range between 0-2. Most of the values are above 1.9, but some are down ...
1
vote
2answers
376 views

Rasterio merging went wrong

I try to merge some multiband rasterfiles (Sentinel 2 data) with Rasterio into a single rasterfile but the result is incorrect. The files are too big to fit in my RAM completely, but I have enough ...
0
votes
1answer
19 views

Extracting tabularized metadata information from an ImageCollection in Google Earth Engine

Sometimes, one wants to know how many (and which) satellite images (e.g. Sentinel-1, Sentinel-2, or Landsat-X) are available for a given ROI in a given time frame. In Google Earth Engine, this ...
1
vote
0answers
201 views

Is there any STAC catalog available for Sentinel-2 data on Google Cloud?

We are looking for a fast and optimum way of discovering and downloading Sentinel-2 data from Google Cloud using Python. We have tried using index data in BigQuery and it works. However, we have also ...
4
votes
1answer
2k views

Data smoothing of Sentinel-2 NDVI time series chart in Google Earth Engine?

I am exploring Sentinel-2 time-series NDVI with Google Earth Engine. In another post I learned how to plot a NDVI time series chart. I know that there are many smoothing methods for reducing NDVI ...
1
vote
1answer
29 views

Google Earth Engine updatemask removes Metadata

I'm using the Jupyter Notebooks Python GEE API. I'm using the basic sentinel 2 cloud cover algorithm, maskS2cloud, from the catalogue example. But it removes the metadata from my image collection that ...
0
votes
0answers
18 views

How to speed up reading in specific parts of Cloud-Optimized GeoTIFFs?

After installing rasterio and pystac_client (pip install rasterio & pip install pystac_client), and importing packages: from pystac_client import Client import rasterio import time import random ...
0
votes
1answer
471 views

Issue using the S2 cloud probability mask on GEE

I want to use the recently available Sentinel 2 Cloud probability mask to extract some reduced time series. I have tried using the example JS code and port it over to Python. import datetime as dt ...
0
votes
0answers
50 views

Mosaic Sentinel 2 images in QGIS

I am trying to mosaic Sentinel 2 images of Goa region. I have downloaded 03-05-2021 data from Earth Explorer. I am using SCP plugin to mosaic images. I have created four band sets then selected Mosaic ...
1
vote
1answer
31 views

Error in Exporting the image to drive. "Error: Image.setDefaultProjection, argument 'image': Invalid type. Expected type: Image<unknown bands>."

Whenever I try to export to the drive the image gives me the following error: Error: Image.setDefaultProjection, argument 'image': Invalid type. Expected type: Image. Actual type: ImageCollection. ...
1
vote
2answers
699 views

sen2cor L2A_Process not working, returns strange error

I am trying to perform the correction on some sentinel 2 imagery using sen2cor L2A_Process on the 10 m resolution. Script returns some strange error. Below is the full output: Sentinel-2 Level 2A ...
3
votes
2answers
64 views

Why is the Sentinel-2 image plot triangular in Google Earth Engine?

I'm plotting the least cloudy Sentinel image in MGRS tile '11SPV', but it's rendered as a narrow triangle on the Western edge of the tile. I've changed the temporal range but the same thing occurs. ...
0
votes
0answers
46 views

When using Landsat and Sentinel-2 data to implement the change detection, I got very different result

I used the code that is from gee-ccdc-tools.Now I know the actual time of change. I just change "getLandsat" to "getS2" for the change detection.And the result of change detection ...
0
votes
1answer
75 views

CRCError: Invalid Projection: EPSG:4326 for Sentinel API Script & AttributeError: module 'pyproj'

I am realatively new to Python programming and have an issue with pyproj mixing up the CRS database (this is what I gather from the web). I have a little script I've written to retrieve Sentinel ...
1
vote
1answer
103 views

Calculating Enhanced Vegetation Index (EVI) using Sentinel-2 Level 1C, value problem

I am trying to calculate EVI values from Sentinel-2 Level 1C. When I calculate the EVI with this formula : (2.5 * ("Band 8" - "Band 4")) / ("Band 8" + (2.4 * "Band 4&...
0
votes
1answer
125 views

Pixel Location of Sentinel 1 & Sentinel 2 and SRTM

I am processing integration S1, S2 and SRTM, since their pixel grid does not align with each other I am figuring out how to snap with them all into one grid. Before coming with specific reprojection ...
1
vote
1answer
310 views

Rasterio RGB band combo results in black TIFF

I am trying to to compose a RGB .TIFF image using rasterio with bands that I've downloaded from sentinel-2 (via sentinelsat). The resulting image is black. import rasterio # Open Bands 4, 3 and 2 ...
7
votes
2answers
131 views

How to retrieve Sentinel images without significant cloud coverage using Python

Background I am trying to retrieve images of certain areas. My aim is to get images without much cloud on them. I would like to specify the percentage of pixels with clouds on them. What I am doing ...
1
vote
1answer
32 views

Bitwise and bitmask used in mask clouds Sentinel-2 images

What is the function behind two specific line in below coding block ... 1) var cloudBitMask = 1 << 10; 2) var mask = qa.bitwiseAnd(cloudBitMask).eq(0) .and(qa.bitwiseAnd(cirrusBitMask).eq(0)); ...
1
vote
1answer
41 views

How to convert Latitude Longitude to UTM - conflicting UTM Zone codes

Just as in this question, I download a sentinel tif file: from pystac_client import Client catalog = Client.open("https://earth-search.aws.element84.com/v0") mysearch = catalog.search(...
7
votes
1answer
169 views

How to find a particular coordinate on a Sentinel image using proj:transform?

Background I am retrieving images from the Sentinel satellites. I plot these images, using pixel coordinates. I would like to show points specified using latitude and longitude on those images. Data ...
1
vote
1answer
219 views

Formula Dark Object Subtraction 1 QGIS (Semi-automatic Classification Plugin)

I am using QGIS with the plugin Semi-Automatic Classification Plugin to apply DOS1 atmospheric correction to bands 3 and 8 of Sentinel-2. Example: I want to automate this task with a python script ...
1
vote
1answer
24 views

Does Sentinel-2A Level-2A data require spectral correction?

I submitted a manuscript that uses Sentinel SAFE (Standard Archive Format) Level-2A (bottom of atmosphere) data. Sentinel-2A data includes scene classification and an atmospheric correction - https://...
0
votes
1answer
24 views

Cloud Mask Assesment without Reference Cloud Mask

We have a cloud mask but we don't have reference data set to assess its accuracy. Without generating a reference dataset by ourselves is it possible to assess the cloud mask's accuracy?? For example; ...
0
votes
1answer
35 views

Remove single (un-mosaicked) tiles after mosaicking image collection by day

I want to create a time-series of Sentinel-2 images that cover my entire study area (instead of individual tiles, since the study area spans 2 tiles). I mosaicked the image collection by day using the ...
0
votes
1answer
31 views

NIR.subtract is not a function

I am trying to calculate Kernal NDVI (kNDVI) and the code keeps giving me this error. The link to the code: https://code.earthengine.google.com/24e8503ec2f264d0ffe0ba1bfe4c6353 /// adding shapefile to ...
0
votes
0answers
10 views

How to filter for Sentinel-2 scenes that don't contain all band data

The registry of open data in AWS lists Sentinel-2 satellite imagery in requester-pays s3 buckets. How would one build a list of scene folders, per tile, for which all 13 bands (*.jp2 files) are ...
1
vote
0answers
45 views

Processing and Mosaic Sentinel 2 Data with Python [closed]

I already found this manual for processing Sentinel-2 Data: https://hatarilabs.com/ih-en/sentinel2-images-explotarion-and-processing-with-python-and-rasterio Now I'm searching for a way to mosaic ...
1
vote
1answer
36 views

TypeError: invalid driver when writing Rasterio created mosaic of Sentinel JP2's

The code below represents my attempt at mosaicing sentinel bands. I get an error right at the end when trying to write the mosaics. It states: TypeError: invalid driver: {'driver': 'GTiff', 'dtype':...

1
2 3 4 5
10