-
Notifications
You must be signed in to change notification settings - Fork 314
Problems Accessing MIMIC-III Waveform Database #254
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
Comments
Hey @fabbra, I have to look into this further but you can use this for now:
or for numerics:
This may not work for all the records in
This is ugly, so I'll work on finding a better solution. |
Hey @Lucas-Mc, thanks for your prompt reply!
Looking forward for a better solution. Thanks a lot in advance. |
@fabbra Strange, both work for me on the latest version. I got that error when I misspelled |
So far I was using wfdb version Executing the following lines results in the same
|
when i run this: `cwd = os.getcwd() wfdb.dl_database('mitdb', dl_dir=dl_dir)` got using wfdb3.1.0: 404 error, there is a %5C problem |
Sounds like a Windows thing, I really need to get my Windows computer set up so I can test on both OSs!! Anyway, I'll try and find it ... Do you have a stack trace? What is |
I confirm! When running the same commands in the Unix subsystem (Ubuntu) on my Win64 machine this works without errors.
Hope that helps to further debug the thing... |
Hey @fabbra, I just got my Windows machine to reproduce the error... let the debugging begin! |
Fixes URL path error generated on Windows machines while trying to read and download certain content. Fixes #254.
Hey @fabbra, yes I have to look around at other instances and will fix them in a separate pull request if they occur. Thanks for reminding me! |
just found another occurence which might need a fix: wfdb-python/wfdb/io/download.py Line 281 in 09ca340
|
Similar question on the same subject, is there a way to iterate through all records of the MIMIC-III Waveform Database Matched Subset? The method suggested by you above does not work since the filename of the header has a postfix, i.e. it does not correspond exactly to the name in the RECORDS file, e.g. for A potential way might be to read a different records file, e.g. |
Hi, |
I would like to access the records from the MIMIC-III Waveform Database remotely via wfdb-python. Since the entire database is quite large I first would like to access the headers remotely and only select a subset of records to download based on the availability of some waveforms and other characteristics from the header files.
Here's what I've tried:
The above example fails saying HTTPError: 404 Client Error: Not Found for url: https://physionet.org/files/mimic3wdb/1.0/.hea
Adapting it as follows gives me at least an URL which seems closer to the final goal:
But still it fails saying HTTPError: 404 Client Error: Not Found for url: https://physionet.org/content/mimic3wdb/1.0/.hea
Is this an known error?
If not, could someone provide me with a minimum working example on how to access all headers (and eventually download signals) of the MIMIC-III Waveform Database in an iterative manner (without downloading the entire database to disk first!).
The text was updated successfully, but these errors were encountered: