Questions tagged [sentinelsat]

Python library for querying and downloading satellite imagery from the European Space Agency's API. Only use if your code includes the line `import sentinelsat` or similar!

Information on the sentinelsat Python library can be found here.

Anything related to Sentinel data in general but not to the Python library called sentinelsat should not use this tag but sentinel1, sentinel2, etc. tags as appropriate.

29 questions
6
votes
1 answer

AttributeError: module 'rasterio' has no attribute 'mask'

I am trying to learn sentinelsat by following some tutorials. Part of the codes goes like this. import rasterio as rio import geopandas as gpd nReserve = gpd.read_file('NReserve/NaturalReserve_Polygon.shp') nReserve_proj = nReserve.to_crs({'init':…
6
votes
0 answers

"HTTP status 500 Internal Server Error :UnsupportedOperationException : Error creating stream from file"- SentinelAPI

I'm using SentinelAPI (from sentinelsat), to download Satellite imagery from sentinel. The code i'm using (not fully): from sentinelsat import SentinelAPI api = SentinelAPI(user, password, 'https://scihub.copernicus.eu/dhus') products =…
Alon8200
  • 151
  • 1
  • 2
  • 8
5
votes
2 answers

Python API sentinelsat error in query intersect

I'm facing a problem when searching for an image that contains specific coordinates. I can't get the intersect function to work with the API. I'm getting this error message: sentinelsat.sentinel.SentinelAPIError: HTTP status 200 OK: Invalid query…
2
votes
1 answer

Cannot import sentinelsat python module

I am a python newbie and am trying to get the sentinelhub module to work but have been receving this error message on my code: import sentinelhub Traceback (most recent call last): File "", line 1, in import sentinelhub ImportError: No…
Paul
  • 21
  • 1
2
votes
2 answers

Downscaling sentinel-2 bands to 10m using R language

I'm trying to calculate NDRE using sentinel-2 bands in R language. The formula for NDRE = (nir-re)/(nir+re) nir- Near InfraRed (Band8) re - RedEdge (Band5) My Code: library(raster) library(RStoolbox) re_path <-…
2
votes
1 answer

Error ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))

I am working on importing Sentinel 2 satellite images to jupyter notebook for applying raster analysis but while importing I have faced this issue: from sentinelsat import SentinelAPI user = 'Username' password = 'password' api = SentinelAPI(user,…
2
votes
1 answer

Python API sentinelsat HTTP status 500 Internal Server Error:

shows the error: "HTTP status 500 Internal Server Error: Trying to download an offline product" The code i am using is import time import datetime from sentinelsat import SentinelAPI, read_geojson, geojson_to_wkt api = SentinelAPI('*****','******',…
2
votes
0 answers

Issues - Extracting satellite image using sentinelsat

I am using the below code to extract satellite image using sentinelsat from sentinelsat import SentinelAPI, read_geojson, geojson_to_wkt from datetime import date api = SentinelAPI('userid', 'password',…
Subramanian
  • 67
  • 1
  • 10
2
votes
2 answers

How to download a product in a directory?

I am coding a simple script to obtain some SENTINEL products using the Sentinelsat´s Python API Then I would like to download some of the products to a diferent directory than the script is. I don´t know how to do it. My script api =…
kamome
  • 828
  • 3
  • 11
  • 27
2
votes
1 answer

Obtaining the sum of several elements listed in a geojson

I apologize if this question has been asked or answered elsewhere before. I couldn't locate it. I'm still relatively new to python and I'm currently setting up a script for downloading files from the ESA sentinel hub via the sentinelsat module. Now…
Mars
  • 341
  • 1
  • 3
  • 12
2
votes
1 answer

Python API sentinelsat error in download

I am having a go at using the sentinelsat python API to download satellite imagery. However, I am receiving error messages when I try to convert to a pandas dataframe. This code works and downloads my requested sentinel satellite images: from…
dave
  • 23
  • 4
1
vote
1 answer

sentinelsat api returning not all expected data

I currently try to download s5p data via the sentielSat API. The first thing I noticed was, that the files - or at least their names - returned there do not always match the filenames given in OpenAccessHub. However I then try to download all files…
1
vote
0 answers

How to Solve "ConnectionError: ('Connection aborted.', BrokenPipeError(32, 'Broken pipe'))"

I want to download sentinel-2 imagery for a research, using sentinelsat. However, I keep receiving ConnectionError: ('Connection aborted.', BrokenPipeError(32, 'Broken pipe')). How do I solve this and get the data? Here's my approach: import…
1
vote
1 answer

Invalid Checksum with Python API sentinelsat. Using GEOPANDAS and Geojson

I'm trying to find a way to automatically download satellite imagery to create a database. I'm figuring this out and started with sentinelsat API, there isn't much about it out there due to its specificity. My steps where: I used this site…
1
vote
0 answers

Display .nc obtained via SentinelAPI

I obtained some satellite data with the sentinelsat package in python. I have 2 main problems: I would like to plot the data I have downloaded, I cannot find the documentation describing all the features available in the file I have downloaded I…
1
2