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
100 stars 15 forks source link

Add GLC_FCS30D dataset #52

Closed aazuspan closed 8 months ago

aazuspan commented 8 months ago

https://gee-community-catalog.org/projects/glc_fcs/

aazuspan commented 8 months ago

Need to verify, but this was crosswalked from a picture of the legend table by Gemini 🤯

labels = {
    10: "Rainfed cropland",
    11: "Herbaceous cover cropland",
    12: "Tree or shrub cover (Orchard) cropland",
    20: "Irrigated cropland",
    51: "Open evergreen broadleaved forest",
    52: "Closed evergreen broadleaved forest",
    61: "Open deciduous broadleaved forest (0.15<fc<0.4)",
    62: "Closed deciduous broadleaved forest (fc>0.4)",
    71: "Open evergreen needle-leaved forest (0.15< fc <0.4)",
    72: "Closed evergreen needle-leaved forest (fc >0.4)",
    81: "Open deciduous needle-leaved forest (0.15< fc <0.4)",
    82: "Closed deciduous needle-leaved forest (fc>0.4)",
    91: "Open mixed leaf forest (broadleaved and needle-leaved)",
    92: "Closed mixed leaf forest (broadleaved and needle-leaved)",
    120: "Shrubland",
    121: "Evergreen shrubland",
    122: "Deciduous shrubland",
    130: "Grassland",
    140: "Lichens and mosses",
    150: "Sparse vegetation (fc<0.15)",
    152: "Sparse shrubland (fc<0.15)",
    153: "Sparse herbaceous (fc<0.15)",
    181: "Swamp",
    182: "Marsh",
    183: "Flooded flat",
    184: "Saline",
    185: "Mangrove",
    186: "Salt marsh",
    187: "Tidal flat",
    190: "Impervious surfaces",
    200: "Bare areas",
    201: "Consolidated bare areas",
    202: "Unconsolidated bare areas",
    210: "Water body",
    220: "Permanent ice and snow"
}

palette = {
    10: "#FFFF64",
    11: "#FFFF64",
    12: "#FFFF00",
    20: "#AACCFF",
    51: "#4C7300",
    52: "#006400",
    61: "#AA8C00",
    62: "#00A000",
    71: "#005000",
    72: "#003C00",
    81: "#286400",
    82: "#285000",
    91: "#A0B432",
    92: "#788400",
    120: "#966400",
    121: "#964B00",
    122: "#966400",
    130: "#FFB432",
    140: "#D3CC9A",
    150: "#F2E2C7",
    152: "#D3A98A",
    153: "#F2E2C7",
    181: "#A8A870",
    182: "#70D8A2",
    183: "#9DB3CE",
    184: "#828282",
    185: "#F57EAA",
    186: "#64C8A5",
    187: "#44508D",
    190: "#C31200",
    200: "#F5F5DC",
    201: "#DDDDDD",
    202: "#F5F5DC",
    210: "#4285F4",
    220: "#FFFFFF"
}
aazuspan commented 8 months ago

After a closer look at the dataset, I'm going to hold off unless this is specifically requested.