You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A nice way to solve this would be to include a decorator function that we can decorate functions to keeps attributes from processed imagery. As noted when doing some user defined function on ee.Image or reductions, the properties can be lost which is not very transparent to users and can be frustrating.
There is something similar implement here that keeps all the metadata from images input into mapped functions and another decorator defined for attributes on reductions.
The use internally for converted functions can be something like the following:
@ee_extra.keep_attrs
def external_function(img):
# do process
return result
Solve this: davemlz/eemont#42
The text was updated successfully, but these errors were encountered: