-
Notifications
You must be signed in to change notification settings - Fork 2
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
Deepdish library no longer maintained #58
Comments
Just found out that the bug in the snippet above has been handled by h5py, and the version I was using (3.1.0) was too old. See here for the PR that fixed it. Verified that version 3.8.0 can handle TypeBitfieldID types. |
Update: Did a bit more digging, based on the date the PR was merged any h5py version >= 3.3.0 should work with TypeBitfieldID |
We can add a version requirement in setup.py (and also do we need to move to a toml at some point, probably it's own issue?) Do we also know if h5py has some dependency version requirements too, I think there was an issue I was having some time ago, but I couldn't update h5py because I couldn't get a newer version of a dependency.
|
@carleyjmartin Are you interested in attempting to replace all deepdish usages with h5py? I have a branch ( |
Yeah sure, I can get to it this week. |
DEPRECATION
package: deepdish
Reason
See this PR and this issue on the deepdish github. Newer numpy installs are going to have problems, so we can update now to avoid any issue.
Replacement
The h5py library is already used in places within pyDARNio, and is supported by the HDF5 group. It is slightly less convenient to use, but much faster than deepdish.
Details
This is a convenient time to change the structure of some Borealis files - namely, fields such as
data_descriptors
andcorrelation_descriptors
which are lists of utf-32 strings stored as one large array of uint8 type. It's a headache to write and read these fields with h5py, so this is a prime opportunity to refactor the data format to something more user-friendly. There may be some headache in dealing withscan_start_marker
. Trying to read in the field with h5py yields:The text was updated successfully, but these errors were encountered: