Commit 3539bd91 authored by Javier Vegas-Regidor's avatar Javier Vegas-Regidor
Browse files

Revert "Do not save basin if all values are 0"

This reverts commit 1a964f71.
parent 9f95cd95
......@@ -254,7 +254,6 @@ class Siasiesiv(Diagnostic):
else:
var_res.units = "m^2"
for i, basin in enumerate(self.masks):
if not np.all(res[i, ...] == 0):
var_region[i, ...] = netCDF4.stringtoarr(str(basin), 50)
var_res[..., i] = res[i, ...]
handler_temp.close()
......
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