extrema_scan

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
FILE FORMAT
EXAMPLES

NAME

extrema_scan - Find the min/max values in binary, floating point files

SYNOPSIS

extrema_scan [-vsfd] - | FILE ...

DESCRIPTION

extrema_scan is a hack which will scan files consisting of binary floating point data, and return the scalar minimum and maximum of that data.
When invoked with a list of files, extrema_scan computes the min/max over all files listed on the command line. If '-' is passed on the command line, then the list of files is read from the standard input instead.

OPTIONS

-v
Verbose. After each file is scanned, print out the name of the file and the current min/max pair.
-s
Swap byte order. Use this if the data was written in an opposite byte order than the machine running. extrema_scan.
-f
Read in the data as a sequence of 32-bit floats.
-d
Read in the data as a sequence of 64-bit floats. This is the default.

FILE FORMAT

extrema_scan only works on files that are made up only of 32 or 64 bit floats and nothing else, not even file headers. It is meant to read brick-of-float type files written out by Enzo, or the libc_amr library.

EXAMPLES