Sentinel-2 is a satellite constellation maintained by ESA used to monitor land variability. Use this tag for questions related to processing Sentinel-2 images & data. Add other tags of the programming language you are using, as appropriate.
Questions tagged [sentinel2]
81 questions
1
vote
0 answers
How to clip a cloud mask function in google earth engine?
I'm looking to clip the cloud mask function (top of my code) to the AOI. For some reason, my other layers (dNDVI and RGB) work for the AOI, but my cloud mask doesn't apply to it. I've tried putting in the ee.Image.clip function but I couldn't get it…

Allison M
- 21
- 2
1
vote
2 answers
Sentinel-2: How to know the S2 tiles from latitude/longitude geographical coordinates?
In Sentinel-2, how to know the S2 tiles from latitude/longitude geographical coordinates?
1
vote
0 answers
Sentinel 2 download not triggered
I am trying to download sentinel 2 data from the Copernicus Open Access Hub, with a python script and using the sentinelsat library. I know that the rate at which you can download data is limited: max 2 concomitant downloads. However, I seem to have…

justi
- 11
- 2
1
vote
1 answer
Sentinel API error on Python: HTTP status 200 OK: API response not valid. JSON decoding failed
I have been trying to follow an easy tutorial on how to get sentinel 2 images for a series of polygons I have. For some reason, no matter what I do I keep running into the same error (detailed above).
from sentinelsat import SentinelAPI,…

Natasha Thottacherry
- 11
- 1
1
vote
0 answers
PCA for Sentinel2 SVM and RF classification
I am attempting to classify dump pile in google earth engine. Using Sentinel 2 data and classifying the first 5 PCAs lead to the best visual result. Here the PCA code used in script with Sentinel2.
Is there a way of iteratively testing SVM…

Philipp R
- 598
- 6
- 22
1
vote
2 answers
Unable to access and download Sentinel-2 images from Python API with the standard code
rec = POLYGON ((597843.23 2977645.792070312, 686175.1025585937 2977645.792070312, 686175.1025585937 3112308.537736816, 597843.23 3112308.537736816, 597843.23 2977645.792070312))
products = api.query(rec,
date = ('20191001',…

Inshu Chauhan
- 73
- 6
1
vote
0 answers
GEE supervised classification from Sentinel-2 with shapefiles
I am a beginner in GEE and I have a problem with making supervised classification from Sentinel-2 data. I used my pre-made shapefiles in five categories as training data. I tried more codes but the classification doesn't work. I don't know if it is…

Anna Brandejsová
- 11
- 1
1
vote
2 answers
SentinelAPIError. HTTP status 200 OK: API response not valid. JSON decoding failed
I have been attempting to get data via sentinel2 API with python and I have been unable to get data via geojson format. It keeps throwing a
"SentinelAPIError: HTTP status 200 OK: API response not valid. JSON decoding failed."
I followed the…

Philip-kio
- 11
- 1
- 1
1
vote
1 answer
Phar unable to extract a file
I`m trying to extract a tar file using Phar Classe, but is returning the following error:
UnexpectedValueException Object ( [message:protected] => phar error: "/home/filelocation/file.tar" is a corrupted tar file (truncated)…

Marcos Felipe
- 100
- 13
1
vote
1 answer
Why is Sentinel-2 Map coming out Black on Google Earth Engine
I am taking a look at the FIRMS dataset on the Google Earth Engine and I'd like to see Sentinel-2 images corresponding to forest fires on FIRMS, but for some reason it comes out either very dark or, when I filter the date to September 10-13th,…

rcmenoni
- 29
- 8
1
vote
1 answer
Spectral separability analysis Google Earth Engine
I need to carry out a classification using Sentinel 2 images, and for this, I need to perform a spectral separability analysis to select the best bands and vegetation indexes to use. So, I need to calculate the Mean and Standard deviation of the…

Marcos Landi
- 21
- 4
1
vote
0 answers
How to get a proper/better image from Sentinel?
I am following the code from Sentinel Hub but if I chose my bbox to be somewhere else, like Greenland or Antartica, my image doesn't show or shows only some parts of it. It looks like the resolution isn't right or perhaps my bbox coordinates are…

user2645029
- 63
- 1
- 9
1
vote
0 answers
how to use GMM on sentinel2 image?
** I am working on sentinel images and when I apply the GMM on those images I got an error while reshaping the image I tried this code:
import numpy as np
import matplotlib.pyplot as plt
from sklearn.mixture import GaussianMixture as GMM
samples =…

oussama bousselmi
- 105
- 1
- 9
1
vote
0 answers
Google Earth Engine - Buffer around Cloud Mask Sentinel2
I'm trying to create a cloud free S2 Image. Now this code works, but I want to add a buffer of 20 or 30 meters around the cloud mask, because there still is the edge of the clouds in my image. [![Example image][1]][1]
* Function to mask clouds…

Max
- 45
- 3
1
vote
2 answers
unable to get sen2r function working, some arguments missing?
I am trying to use to sen2r() function (Package sen2r_1.3.2) with default parameters but getting the following error:
Error in paste(c(...), collapse = sep) : argument is missing, with no default.
I know the error wants me to fill in some…

Mansi
- 133
- 2
- 11