Skip to content
Discussion options

You must be logged in to vote

See https://gist.github.com/giswqs/e85b0371bc3cd15ff6ccd5adfa9643d7

def copyProps(index):
    source = ee.Image(metadata_col.toList(metadata_col.size()).get(index))
    dest = ee.Image(LS_collection.toList(LS_collection.size()).get(index))
    image = ee.Image(source.copyProperties(dest))
    return image

seq = ee.List.sequence(0, LS_collection.size().subtract(1))
final_col = ee.ImageCollection(seq.map(copyProps))

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@radwinskis
Comment options

@radwinskis
Comment options

Answer selected by giswqs
Comment options

You must be logged in to vote
2 replies
@radwinskis
Comment options

@giswqs
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants