Posted by bob cox on November 14, 2002 at 11:05:58:
In Reply to: 3dinfo nz extraction posted by Andrea Rebmann on November 14, 2002 at 10:28:29:
What you want can be done with the 3dAttribute program. For example:
% 3dAttribute DATASET_DIMENSIONS fred+orig
256 256 124 0 0
foreach dset ( *+orig.HEAD )
set ddd = ( `3dAttribute DATASET_DIMENSIONS $dset` )
set nz = $ddd[3]
... do something with $nz ...
end
For a list of all the attributes you're likely to find in a .HEAD file, see file README.attributes.
bob cox