next up previous [pdf]

Next: sfcat: Concatenate datasets. Up: sfattr: Display dataset attributes. Previous: sfattr: Display dataset attributes.

Implementation: system/main/attr.c

Computations start by finding the input data (in) size (nsiz) and dimensions (dim).

system/main/attr.c

In the main loop, we read the input data buffer by buffer.

system/main/attr.c

The data attributes are accumulated in corresponding double-precision variables.

system/main/attr.c

Finally, the attributes are reduced and printed out.

system/main/attr.c
system/main/attr.c




2012-07-19