Dear All,
is there any way to save each predicted grid over each intermediate model using the directive list?
Best regards,
Evert
Dear All,
is there any way to save each predicted grid over each intermediate model using the directive list?
Best regards,
Evert
Try the directive:
save_directive = directives.SaveOutputDictEveryIteration(saveOnDisk=True)
.
It saves a numpy dictionary *.npz
at each iteration, and one of the key-argument is "dpred"
.
If you do not save on disk (saveOnDisk=False
), no file is created but I believe you can still access the dictionary within the script with save_directive.outDict[iteration_number]
.
Thank you very much! Merry Christmas!