OasisLMF / ktools

In-memory simulation kernel for loss modelling.
BSD 3-Clause "New" or "Revised" License
29 stars 18 forks source link

Empty leccalc output files when using period weights and return periods file #343

Closed hchagani-oasislmf closed 1 year ago

hchagani-oasislmf commented 1 year ago

Issue Description

Header-only output from leccalc has been witnessed when using period weights and a return periods file. Interestingly, when the return periods file is not used, output data covers the range of return periods in this file. This has been witnessed in the full uncertainty and sample mean AEP and OEP outputs.

Version / Environment information

ktools >=v3.9.5.

hchagani-oasislmf commented 1 year ago

According to the log files, the process appears to complete successfully and there is no obvious issue with the code or data. Next step is to expand the logging and ask for the process to be rerun.

hchagani-oasislmf commented 1 year ago

In the process of expanding the logging, the source of the issue has been found: a leftover conditional statement.