Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avtFileFormat::GuessCycle() called for every file name in a series except the first #20096

Open
markcmiller86 opened this issue Dec 2, 2024 · 0 comments
Labels
bug Something isn't working impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood

Comments

@markcmiller86
Copy link
Member

markcmiller86 commented Dec 2, 2024

Describe the bug

In debugging #20080, I discovered that avtFileFormat::GuessCycle() is called for all files in a series except the first (or perhaps the state being opened). This means that the cycle associated with the first state in a series is currently always displaying as zero (0) in the time slider.

This is an issue somewhere else in VisIt where VisIt is deciding not to call avtFileFormat::GuessCycle().

I suspect if one opened a time series of 10 files at state (index) 5, then it could wind up declaring that state 0 and all the other states it would call avtFileFormat::GuessCycle() from. In other words, it probably is using guesses only for states other than the state being used to open the series (which defaults to the first state but doens't mandate that). So, there is probably an optimization that says "hey, since I am opening at state k, don't guess the cycle for that state, just get the cycle from the opened file...and then that is failing, but guess the cycle for all other states."

@markcmiller86 markcmiller86 added bug Something isn't working likelihood medium Neither low nor high likelihood impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) labels Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood
Projects
None yet
Development

No branches or pull requests

1 participant