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
Checking if the provided params are null or undefined has all the same behaviour as the current method, but allows maxCloudCover to be set to 0. For example:
// Replace default params with provided params.if(params){for(varparaminparams){if(params[param]!=null){_params[param]=params[param];}}}
The text was updated successfully, but these errors were encountered:
Reproducible example: https://code.earthengine.google.com/0060c69c481eb30ecce9d51c1c23580d
I think the issue comes from here, where because 0 evaluates as
false
it gets replaced by the default parameter of 50:msslib/msslib.js
Lines 374 to 379 in e1e59cf
Checking if the provided params are
null
orundefined
has all the same behaviour as the current method, but allows maxCloudCover to be set to 0. For example:The text was updated successfully, but these errors were encountered: