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

make /how attribute of scans in read.pvol() optional #39

Closed
plieper opened this issue Jun 23, 2017 · 2 comments
Closed

make /how attribute of scans in read.pvol() optional #39

plieper opened this issue Jun 23, 2017 · 2 comments
Milestone

Comments

@plieper
Copy link
Contributor

plieper commented Jun 23, 2017

It looks like quite some countries (NL, BE, FR for example) do not have a subfolder how under dataset1/2/3/.... However, the function read.pvol() requires this and trying to read in pvols that do not have the how subfolder makes the function crash with the error: Error in h5readAttributes(filename, paste(scan, "/how", sep = "")) : Object dataset1/how does not exist in this HDF5 file.

One way to solve this would be to make the how attribute optional in the function read.pvol().

@adokter
Copy link
Owner

adokter commented Sep 25, 2017

This error message has been solved already a while ago.

@adokter adokter closed this as completed Sep 25, 2017
adokter added a commit that referenced this issue Sep 25, 2017
@adokter
Copy link
Owner

adokter commented Sep 25, 2017

commit a58a3fb now also checks the presence of what, where and how groups at the root.

@peterdesmet peterdesmet added this to the 0.2.x milestone Sep 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants