Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 157379
1 vote

Earth Engine: combining reducers does not give same output as running reducers separately?

So this is a fun error. My guess is that sharedInputs: true does not work with .unweighted. This is very likely since the inputs should ideally be different, but are not expected to be different. This …
JonasV's user avatar
  • 3,794
1 vote
Accepted

Temporally reducing image bands using Google Earth Engine

I think it would be easiest to actually write a system:time_start variable when you reduce to days. And then instead of calling .toBands() you can .map() over the Image Collection to subtract the mean …
JonasV's user avatar
  • 3,794
2 votes
Accepted

Retrieve projection inside .map() GEE

You do not need to specify crsTransform if use the same transform as given in the projection you passed to crs. Furthermore, if you don't set a different crs than supplied by the image you are mapping …
JonasV's user avatar
  • 3,794
0 votes
Accepted

Count the number of water pixels in an image collection (Landsat 5)

To get the sum of some pixels in a region of an image you need to use .reduceRegion(). See here for the documentation. So in your case if you want to calculate the number of water pixels for each Imag …
JonasV's user avatar
  • 3,794
2 votes
Accepted

Google Earth Engine memory capacity exceeded

Your issue is most likely this line: var outputMonthly = byMonth.filter(ee.Filter.listContains('system:band_names', 'constant').not()) .sort('system:time_start').toBands(); I assume y …
JonasV's user avatar
  • 3,794
0 votes

Mapping over a reduceRegions command in Earth Engine

There are a few issues with your code. First, instead of your function newCollectionToImage() which is really slow because you are using .iterate(), use .toBands(). //Apply the function to create a st …
JonasV's user avatar
  • 3,794