Read_checkpoint retrieve checkpoint time

Hi All,

If I’m not mistaken, read_checkpoint doesn’t provide a way to extract model time from checkpoint xdmf file. I can see a <Time Value> line in xdmf file. I want to reload both data and corresponding time. Is there an easy way? Thanks!

Not that I am aware of. For similar needs, I typically export alongside the xdmf file a list containing all times.

Thanks! I can see that class XDMFFile does not have that method, which is not good.