MITHaystack / digital_rf

Read, write, and interact with data in the Digital RF and Digital Metadata formats
Other
97 stars 30 forks source link

Document Digital RF channel/directory structure and make it more visible #1

Open jacobagilbert opened 7 years ago

jacobagilbert commented 7 years ago

After making a recording using the Digital RF Sink block, I get the following error attempting to replay from there:

ValueError: No channels found: top_level_directory_arg = /home/jacob/H5test. If path is correct, you may need to run recreate_properties_file to re-create missing drf_properties.h5 files.

The directory, however, does contain the specified drf_properties file:

`jacob@ubuntu:/opt$ ls /home/jacob/H5test/* /home/jacob/H5test/drf_properties.h5

/home/jacob/H5test/1970-01-01T00-00-00: rf@0.000.h5 rf@3.000.h5 rf@6.000.h5 rf@9.000.h5 rf@1.000.h5 rf@4.000.h5 rf@7.000.h5 tmp.rf@10.000.h5 rf@2.000.h5 rf@5.000.h5 rf@8.000.h5`

ryanvolz commented 7 years ago

This is a clearly a case where the documentation (at least what's there so far) needs work. There are two ways to make this work:

  1. Use '/home/jacob' as your top_level_directory_arg. It will then find the subdirectory of 'H5test' as a valid channel and you should be able to proceed.
  2. Typically, we would use one further directory level to record data, using '/home/jacob/H5test/' in the Digital RF Sink block. Then we think of 'H5test' as the top-level experiment directory containing subdirectories of channel data. In that case, using '/home/jacob/H5test' as the top_level_directory_arg would be what works.

Let me know if either of those doesn't work!

jacobagilbert commented 7 years ago

That works. Thanks for the information. The throttle doesn't appear to be working but I think thats another issue. I prefer to use an explicit throttle block in GR anyway.