ggorman/poreflow

convert_microct error

Closed this issue · 1 comments

If we try to convert the rock LV60B with the command convert_microct we observe this error:

ev1214@valhalla:~/projects$ convert_microct -v -c vox -s 64 LV60B
int read_raw_ese_image(char *name, int slab_size)
WARNING: Could not find meta-data for CT-Image.INFO: Inferring that the image size is 442^3
INFO: Setting the resolution to be 1.0. Consider setting the resolution from the command line.
ERROR: Inferred image size does not correspond to file size. Giving up.

It is the raw file itself that is corrupted. Using a hex binary viewer we can see the tail of the file looks like:

5213560: 0101 0101 0101 0101 0101 0000 0000 0000 ................
5213570: 0000 0000 0000 0000 0000 0000 0001 0101 ................
5213580: 0101 0101 0101 0101 0101 0101 0101 0101 ................
5213590: 0101 0101 0101 0101 0101 0101 0101 0101 ................
52135a0: 0101 0100 0a .....

du confirms that the file is truncated. However, it does appear that the .dat file is correct so it could be used to generate a new .raw file. I recommend you report this to Ali Qaseminejad Raeini.