During a data acquisition experiment I'm streaming data to a bcolz carray. I can see 44 blocks saved to disk; however, if you look at the "meta/sizes" file, it reports the following:
{"shape": [0], "nbytes": 0, "cbytes": 1048576}
It seems that the crash is not causing the metadata to be updated properly before exiting. However, the data is clearly there since I can take the chunklen (131072) and multiply it by the number of blocks (44) and set the shape parameter to that. I can then read in the data from the file.
Are there any caveats to this approach? Is there a smarter way to do this? Do I need to worry about the "nbytes" parameter?
Thanks,
Brad