aazuspan / sankee

Visualize classified time series data with interactive Sankey plots in Google Earth Engine
https://sankee.readthedocs.io/en/latest/index.html
MIT License
99 stars 15 forks source link

Custom dataset mtbs_1984_2018 not found #4

Closed giswqs closed 3 years ago

giswqs commented 3 years ago

I was testing the custom dataset example, and it seems the asset 'users/aazuspan/fires/mtbs_1984_2018' is not accessible. Would you mind sharing this dataset? Thanks.

image

aazuspan commented 3 years ago

@giswqs Oops, it should be available now. Thanks for letting me know!

giswqs commented 3 years ago

Thanks for your prompt response. It works now.

BTW, I ran the Premade Dataset example, the plot I got looks very different from yours. Do you know why?

Yours: image

Mine: newplot

aazuspan commented 3 years ago

It looks like the example code was sampling a different region than the figure. I updated the example code to use the correct location, so the figures should match now. Sorry for the confusion!

giswqs commented 3 years ago

Thanks for the fix. BTW, sankee has been integrated into geemap. Here is a sneak peek.

https://user-images.githubusercontent.com/5016453/117758825-b14fda80-b1f0-11eb-9b5a-707c677b4a7e.mp4

aazuspan commented 3 years ago

Wow, that looks great! I'm excited to try it.

One thing to consider: NLCD1992 uses a slightly different legend than later years (see Table 1 here for a crosswalk). For that reason, NLCD1992 isn't usable with sankee unless you set up a custom dataset because it contains some values that aren't defined by NLCD2016. I had hoped to implement a function in sankee for converting NLCD1992 to match the NLCD2016 legend, but haven't had a chance.