- Lines 167 - 174 should be replaced by:
self.coldlak = [Util2d(model, (nlkinit,), np.float32, coldlak,
name='coldlak', locat=self.unit_number[0],
array_free_format=False)]
This is because you would get an error at line 190, saying that the method append cannot be used if self.coldlak is an Util2d object instead of a list.
- Line 227 should be replaced by:
for coldlak in self.coldlak:
f_lkt.write(coldlak.get_file_entry())
This is because in the .lkt file you would get coldlak values for the first species only
- Line 446 should be replaced by:
for icomp in range(1, ncomp):
This is because you would get an error at line 190, saying that the method append cannot be used if self.coldlak is an Util2d object instead of a list.
This is because in the .lkt file you would get coldlak values for the first species only