You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "h5py/h5o.pyx", line 190, in h5py.h5o.open
KeyError: 'Unable to open object (component not found)'"
while trying to do a projection plot with the yt environment suddenly.
To verify the timestep, I gave a print statement for the variable entry after line 127 in lib/python3.10/site-packages/yt_idefix/io.py. It returns 2025, instead of the timestep I was trying to access. There is a 2025 in the file path (turb-sims-jan2025/test-wind/). Is there a workaround for this?
The text was updated successfully, but these errors were encountered:
Got it! This has been an edge case which was overlooked indeed. I guess we didn't expect the directory structure to contain any 4 digit number. Instead we must look for 4 digit number at the end.
I, therefore, propose the following regex in io.py line 112. See the PR.
Thanks @RitaliG for reporting and @dutta-alankar for proposing a solution so promptly !
I'm not confident I have enough details yet to understand what the problem is or what the solution should be, but let's discuss it over at #357.
Getting an error
while trying to do a projection plot with the yt environment suddenly.
To verify the timestep, I gave a print statement for the variable
entry
after line127
inlib/python3.10/site-packages/yt_idefix/io.py
. It returns 2025, instead of the timestep I was trying to access. There is a 2025 in the file path (turb-sims-jan2025/test-wind/
). Is there a workaround for this?The text was updated successfully, but these errors were encountered: