beauchamplab / rave

For all RAVE info, including installation instructions, visit
https://beauchamplab.github.io/rave
23 stars 5 forks source link

handle partially missed data #16

Closed jmagnotti closed 2 years ago

jmagnotti commented 5 years ago

We currently have data is_loaded check when module is loading to ask user if they want to read a particular data type. Could this same approach be used to assess if the data are available at all? That way even if a user didn't have (for example) access to the phase information, they could still run modules that only require power. Currently, the program crashes on the select data screen with an error from hd5fr saying file cannot be found.

dipterix commented 5 years ago

Basically the goal of this issue is to allow "partial data". For example, users might only have phase data. The goal is to load whatever users have into RAVE with less validity checking.

There are two advantages:

  1. Allow users who can convert already preprocessed data to RAVE format
  2. Allow partially copy the data (e.g. users can only copy power data if they don't use phase)

To achieve this goal there are two major tasks: One is to implement less strict checking; the other is to have error handlers to avoid crashing.

dipterix commented 5 years ago

@jmagnotti

Check the following updates. I'm testing the code. #5a09c5 and #c316ed