1
0
Fork 0

Local weather: change unknown landcover message to use logprint

This commit is contained in:
Richard Harrison 2021-10-18 15:28:00 +02:00
parent dc697141b8
commit b5b9568bc7

View file

@ -2169,7 +2169,7 @@ while (i < nc) {
if (info[1] != nil){
var landcover = info[1].names[0];
if (contains(landcover_map,landcover)) {p = p + landcover_map[landcover];}
else {print(p, " ", info[1].names[0]);}
else {logprint(LOG_INFO,"local_weather: Unknown landcover ",p, " ", info[1].names[0]);}
}}
else {
# to avoid gaps, we create default clouds