Skip to content

Performance data not shown after loading output #1216

Answered by knutfrode
brucelaughlin asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
I see that the total runtime is missing from performance stored in netCDF metadata, since it is written before the runtime is calculated.
I now fixed this, so that total runtime is also included: https://github.com/OpenDrift/opendrift/pull/1217/files
Thus you will get this if updating to the latest from Git. If using conda/mamba, you might need to wait for the next release in some days.

The performance dictionary is stored in memory after the run, but only exported to netCDF as a string.
Thus you might prefer to store the o.timing dictionary after the run, to access the data numerically. (This works also without updating to newest version).
Alternatively you may retrieve it from netCD…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@brucelaughlin
Comment options

Answer selected by brucelaughlin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants