Processing update: fix empty file issue

This commit is contained in:
Edgar P. Burkhart 2022-03-15 10:21:09 +01:00
parent 68e8d16f7c
commit 009e500d7a
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 13 additions and 19 deletions

View file

@ -32,8 +32,10 @@ log.info(f"Wrinting output in '{inp}'")
log.info("Reading 'dep'")
np.save(inp.joinpath("dep"), rsws.read_scalar(sws_out.joinpath("dep.dat")))
log.info("Reading 'botl'")
np.save(inp.joinpath("botl"), rsws.read_scalar(sws_out.joinpath("botl.dat"),
const=True))
np.save(
inp.joinpath("botl"),
rsws.read_scalar(sws_out.joinpath("botl.dat"), const=True),
)
log.info("Reading 'watl'")
np.save(inp.joinpath("watl"), rsws.read_scalar(sws_out.joinpath("watl.dat")))
log.info("Reading 'vel'")