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 not deleted user 208986

Google's cloud computing platform for geospatial data & analysis at earthengine.google.com.

0 votes
1 answer
37 views

How to continuously add bands to an image of an ImageCollection in Google Earth Engine

Consider the following code for Google Earth Engine: var sample_list = ee.List([0, 1, 2, 3]); var sample_bandNames = ee.List(['B1', 'B2', 'B3', 'B4']); var sample_function = function(image) { var …
magus_e's user avatar
  • 47
0 votes

How to continuously add bands to an image of an ImageCollection in Google Earth Engine

I can't believe the answer is simple. The problem with my code is that the function never enters the loop because sample_list.length does not return a number, but rather a function, so no bands are ad …
magus_e's user avatar
  • 47