Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running UI Time Series Animator #38

Open
brhays91 opened this issue Aug 29, 2023 · 0 comments
Open

Error when running UI Time Series Animator #38

brhays91 opened this issue Aug 29, 2023 · 0 comments

Comments

@brhays91
Copy link

Hey there,

Thanks very much for the useful tool and maintaining it! I'm new to this and trying to use the UI Time Series Animator to make a GIF. After running the code and defining the region of interest, I get the following error:

Line 205: List.map, argument 'list': Invalid type.
Expected type: List.
Actual type: Float.
Actual value: -110.438

And line 205 is:
var scaleString = ee.String('Width (km): ').cat(ee.Geometry.LineString([[geomLims.xmin, geomLims.ymin],[geomLims.xmax, geomLims.ymin]]).length().divide(1000).multiply(100).round().divide(100)).getInfo();

This seems to be associated with the geomLims objects. When I try to print those above line 205 I get:

Number (Error)
List.map, argument 'list': Invalid type.
Expected type: List.
Actual type: Float.
Actual value: -110.438

I get these errors both when running the "UI LandTrendr Time Series Animator" and "UI LandTrendr Time Series Animator (dev)". The API(?) version works though ("UI LandTrendr Fitted Imagery Time Series Viewer"), and I was able to export a .tif file w/ annual images for my area of interest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant