colors changed

parent 2c4ffb0c
...@@ -49,10 +49,17 @@ def report_L2ASCL(request, report,purchase_id): ...@@ -49,10 +49,17 @@ def report_L2ASCL(request, report,purchase_id):
print(labels) print(labels)
labels.remove('date') labels.remove('date')
labelNames = ["No Data", "Saturated", "Shadows", "Cloud Shadows", "Vegetation", "Not-Vegetated", "Whater", labelNames = [
"Unclassified", "Cloud Medium Probablilty", "Cloud Hight Probablilty", "Thin Cirrus", "Snow"] "No Data", "Saturated", "Shadows", "Cloud Shadows", "Vegetation",
colors = ["Black", "Red", "DarkGray", "Brown", "Green", "Yellow", "Blue", "Grey", "LightGray", "White", "Aqua", "Not-Vegetated", "Whater", "Unclassified", "Cloud Medium Probablilty",
"Pink"] "Cloud Hight Probablilty", "Thin Cirrus", "Snow"
]
colors = [
"#383838", "#de3d3d", "#696767", "#98775b", "#44ba5d", "#fff98b",
"#659acc", "#ababab", "#dddddd", "#d9f9ff", "#99d4d9", "#ff8afa"
]
for l in labels: for l in labels:
item = dict() item = dict()
item['label'] = labelNames[int(l)] item['label'] = labelNames[int(l)]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment