diff --git a/Partition.py b/Partition.py index 678432781bb2527f8602c227e93cf2dbca78f8fc..ec0333de9d58544e229787769854c1c188be4f1f 100644 --- a/Partition.py +++ b/Partition.py @@ -442,9 +442,11 @@ class partition : elif order == 'F' : x[self.landcorelist,:] = 0.0 else : - ERROR("Unforessen order for variable to zero") + ERROR("Unforessen order for variable to be set to zero over core region.") sys.exit() - + else : + ERROR("Unforessen rank for variable to summedibe set to zero over the core region.") + sys.exit() return # # Function to sum over the core regions @@ -458,6 +460,9 @@ class partition : elif order == 'F' : y = np.nansum(x[self.landcorelist,:], axis=0) else : - ERROR("Unforessen order for variable to zero") + ERROR("Unforessen order for variable to summed over the core region.") sys.exit() + else : + ERROR("Unforessen rank for variable to summed over the core region.") + sys.exit() return y