-
Notifications
You must be signed in to change notification settings - Fork 10
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
HDF and H5 files in the same directory #64
Comments
Oops that doesn't sound good! I'll see what I can do. Out of interest what happens? A crash? |
No it does not crash. It reads everything but there seems to be junk, NaN everywhere |
A related issue is the following: Sometimes we create cuts of the HDF files or manipulate them and write the results in the same directory, for example I have this in one directory: PsiPy reads all the files and this messes things up.. |
When there are both For the cuts, is there a clear naming structure for the cut files that is different from the naming structure for the full 3D (original) files? |
an optional parameter argument specifying hdf_type = 'h5' or 'hdf' would allow the user to specify. Then it would be their responsibility.
Unfortunately not. If they are BC files, then yes "br_r0.hdf", etc., but if a user has created 2D files, they can be anything. Limiting the readable files to 001 to 000001 formats should address this, and if we add lower-level routines to read in the HDF files that would provide a way for all files to be read. |
If there are H5 and HDf files in the same directory (both from the same run/time steps) PsiPy will read both of them which is problematic of course.
The text was updated successfully, but these errors were encountered: