save values stored in class list, not class list
jbvandermeer opened this issue · 1 comments
jbvandermeer commented
@mmuellerstoffels wtgP
is a class list, so when saving the values, we should use self.wtgP[self.idx] = self.WF.wtgP[:]
instead of self.wtgP[self.idx] = self.WF.wtgP
. That is the reason why all values were the same in the saved nc file.
mmuellerstoffels commented
Ok, I repaired this in SO.