1
vote
Accepted
Getting 1-D array (vector) from image collection or multi-band image using Google Earth Engine
While there might be more efficient ways to do it (also other ways that involve .arraySlice() and ee.Array.cat() as you mentioned), my intuition is to do it without using arrays. That is
//Collection ...
1
vote
Accepted
GEE output empty for S2_SR_HARMONIZED collection (but same code works for non-harmonised S2 collection)
The collection contains masked bands resulting in null-valued properties, which are dropped when returning the output of sampleRegions. See the answer of this question.
To resolve this, select the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
google-earth-engine × 5765google-earth-engine-javascript-api × 1202
javascript × 398
ndvi × 343
google-earth-engine-python-api × 339
export × 298
sentinel-2 × 273
landsat × 219
time-series × 207
python × 206
modis × 205
landsat-8 × 162
raster × 139
remote-sensing × 132
classification × 130
charts × 113
sentinel-1 × 111
geemap × 109
image × 108
feature-collection × 108
coordinate-system × 96
masking × 96
reducers × 91
filter × 89
random-forest × 74