Commit 93cf8f39 authored by Tristan Klempka's avatar Tristan Klempka

BUG: fix instance not set when no snow

parent cba5ccc4
......@@ -236,6 +236,7 @@ class snow_detector :
self.rRed_pass2*=self.multi
self.fsnow_lim=snow.get("fsnow_lim")
self.fsnow_total_lim=snow.get("fsnow_total_lim")
self.zs=-1 #default value when zs is not set
#Build useful paths
self.redBand_path=op.join(self.path_tmp,"red.tif")
self.ndsi_pass1_path=op.join(self.path_tmp,"pass1.tif")
......
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