Description Usage Arguments Details Value See Also
Quick test that gzipped NRRD has correct data length
1 | NrrdTestDataLength(infile, defaultReturnVal = TRUE)
|
infile |
Input/output files |
defaultReturnVal |
The value to return when file cannot be checked |
Tests integrity of a nrrd file by checking that the data block is as long as it should be. For a gzip file, it checks that the last 4 bytes encode the length of the uncompressed data. This says nothing about the contents but does ensure that the file has not been truncated which is much the most common problem.
A logical indicating if the check passed
NrrdTestIntegrity
which is more comprehensive but much
slower
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.