29 votes
Accepted

Exporting each image from collection in Google Earth Engine

Export.image.toDrive is a client-side function, and you cannot call it from a server-side function (the one you are mapping over), so you have to do it all in the client side. I have a repo where you ...
Rodrigo E. Principe's user avatar
26 votes
Accepted

Mosaicking Image Collection by Date (day) in Google Earth Engine

var poly = /* color: #d63000 */ee.Geometry.Polygon( [[[-76.0803, 10.8656], [-76.0913, 7.7436], [-73.1909, 7.7545], [-73.3776, 9.4273], [-75.2124, 10.9304]]]) var start = ...
Rodrigo E. Principe's user avatar
11 votes
Accepted

Downloading sentinel products using API?

I received help from an application developer at JNCC. I will post their answer here to help others. My problem was that I needed to escape the $ character before value. so the wget command should ...
Colabean's user avatar
  • 416
11 votes

Mosaicking Image Collection by Date (day) in Google Earth Engine

Here is another solution that does not involve iterating through days, but maps through unique dates (after removing seconds, microseconds...) that appear in the image collection. It also adds the ...
Igor Franzoni Okuyama's user avatar
10 votes
Accepted

Convert Sentinel-1 images data from dB to linear

You can covert an S1 image in db to linear with this: ee.Image().expression('pow(10, db / 10)', { db: db.select(['VV', 'VH']) }) However, there are two image collections with S1 imagery, and one of ...
Daniel Wiell's user avatar
  • 14.2k
8 votes
Accepted

What is the annual data volume produced by the individual Sentinel satellite missions?

I found a pretty exact way to answer this question. It exploits the sentinelsat Python API to extract the desired information directly from ESA's SciHub: from sentinelsat import SentinelAPI api = ...
Michael's user avatar
  • 1,186
7 votes

Downloading sentinel products using API?

A good alternative to the official Scihub is the mirrored Sentinel-2 data on Amazon Web Services. Sentinel-2 on AWS This has the advantage of better uptime and the products are already saved in ...
Kersten's user avatar
  • 9,909
7 votes

Resampling in Google Earth Engine: exporting Sentinel 1A to Google Drive

If you want to export the original image, set the crs, crsTransform and dimensions parameters to match the values of the original image. Setting the scale value may get you similar results, but scale ...
Tyler Erickson's user avatar
7 votes
Accepted

Rasterio showing single band images wrong

This isn't rasterio reading the raster incorrectly. It's whatever you are using to display the data (matplotlib?) applying a default colour ramp. By saving as an RGBA in QGIS you are changing (and ...
user2856's user avatar
  • 65.9k
7 votes

Calculating water occurrence of Sentinel-1 images in Google Earth Engine

After some research and help, I finally have the solution to the described problem, which I also want to share with the community. https://code.earthengine.google.com/8b39abcdf63cd569ee09a6ac2eb68c93?...
Stephan Büttig's user avatar
7 votes

GEE – Smoothing curve of detected water area

Maybe try to unwire some of the processing pipelines in your script. Earth Engine really adheres that map/reduce principle, with a minimum amount of processing defined in every branch of its ...
Gennadii Donchyts's user avatar
7 votes
Accepted

Creating composite RGB images from Sentinel 1 channels

First of all, the RGB combination to achieve something similar to the map you showed is: red=VV green=VH blue=VV/VH if you work with linear data. If you work with log-scaled data (in dB) it is ...
AndyB's user avatar
  • 802
7 votes
Accepted

Strange black pixels scattered on terrain flattened image

They are not strange black pixels. You set min value of S1_terrainCorrected image to -30, but the image has values lower than -30. So those lower values pixels are displayed as black. You need to set ...
Kadir Şahbaz's user avatar
6 votes
Accepted

Sentinel-1 Data opened with rasterio has no Affine/Transform/CRS

Rasterio can read and write GCPs and warp with them since version 1.0a3. src.crs returns nothing to make it clear that there is no coordinate reference system associated with the file's affine ...
sgillies's user avatar
  • 9,056
6 votes

How to produce high-resolution DEMs from new Sentinel-1 data?

Here I found an article "Preliminary results of using Sentinel-1 SAR data for DSM generation", 2015. As I understood, the vertical accuracy will not be better than 20m (an average height of a single ...
Pereputal's user avatar
6 votes
Accepted

Sentinel API query, rows exceeds maximum number

Version 0.7.1 of sentinelsat has just been published to Pypi and solves this issue. Root cause was the change in behaviour of the rows argument in SciHubs OpenSearch protocol. sentinelsat now queries ...
Kersten's user avatar
  • 9,909
6 votes

Google Earth Engine: different stretch options

As described here, you may want to try a Styled Layer Descriptor. The previous answer also works, but requires you to use getInfo(), which can cause your browser to lock (see Client-Server doc for ...
Nicholas Clinton's user avatar
6 votes

Google Earth Engine: different stretch options

If you want to stretch based on statistics for a fixed region, you can use the following approach, which demonstrates both percentage and standard deviation based stretches. // Function for ...
Tyler Erickson's user avatar
6 votes
Accepted

Is there any way to obtain high resolution images similar to RGB True colour images from Sentinel's SAR-C SAR data?

True color images can only be obtained from optical sensors that detect visible light reflected off the Earth's surface. As @jeffrey-evans mentions in the comments, Sentinel 1 is a SAR sensor, which ...
mkadunc's user avatar
  • 2,061
6 votes

Sentinel-1 HH band not loading in Google Earth Engine

Your study region is likely located outside of sea-ice regions and the polar environments, where HH images are acquired. For the remaining land-surface areas the standard dual polarisation mode is VV+...
Kersten's user avatar
  • 9,909
5 votes

Obtaining something like NDVI value from Sentinel-1 product

Um, the Sentinel-1 sensor is C-band SAR (radar) data, not spectral. Given that NDVI is a spectral index of photosynthetically active radiation using the ratio between Red and NIR spectra, what makes ...
Jeffrey Evans's user avatar
5 votes

Sentinel 1 relative orbit

You actually can find the relative orbit number of sentinel-1 image from the filename by deriving absolute orbit number provided in the name. The formula are: Sentinel-1A Relative Orbit Number = mod ...
maulana's user avatar
  • 51
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 ...
GCGM's user avatar
  • 1,118
5 votes

Determining if Sentinel-1 orbit is ascending or descending from absolute orbit number?

For the quick and dirty way to find out if it is ascending or descending, it is easier to look at the start (or end) time. For instance, in Belgium, you get the ascending images at around 5 PM and the ...
radouxju's user avatar
  • 49.7k
5 votes
Accepted

Extracting pixel values by points from multi-band image and converting to table in Google Earth Engine?

For a single (and big) table it's just one more piece of the mamushka: var mapfunc = function(feat) { var geom = feat.geometry() var addProp = function(img, f) { var newf = ee.Feature(f) ...
Rodrigo E. Principe's user avatar
5 votes
Accepted

SAR processing using Python

ESA's SNAP software does have a Python API which you can set up by following these instructions. Additionally, in your SNAP bin directory you'll find the Graph Processing Tool executable. This ...
Ali's user avatar
  • 4,055
5 votes
Accepted

Tile Grid for Sentinel -1

Sentinel 1 products do not use a a tile grid. However, to identify products over your polygon you can use one of several Sentinel 1 search/download resouces. This is not an exhaustive list by any ...
Ali's user avatar
  • 4,055
5 votes
Accepted

Does Google Earth Engine have InSAR Processing Capabilities for Sentinel-1 data?

The answer is no. It is not possible to do any InSAR processing with Google Earth Engine, at least now. You might check ESAs geohazard TEP for cloud-based insar processing or COMET Services. (Also ...
Mustafa Ustuner's user avatar
5 votes
Accepted

Problem with Sentinel 1 images in Google Earth Engine

The issue is that some of the S1 images in your collection are completely masked after clipping to the geometry of your study area. To fix, filter out those images after creating your original image ...
Nick's user avatar
  • 1,603
5 votes
Accepted

Apply multiple functions over image in GEE?

var yourVariable = addVHminusVV(yourImage) Edit: var doubleFunction = addVHbyVV(addVHminusVV(Mo_VVVH1)) print(doubleFunction, 'doubleFunction') But why not put it in one function like this: function ...
Jobbo90's user avatar
  • 2,073

Only top scored, non community-wiki answers of a minimum length are eligible