WritePyr

DESCRIPTION

WritePyr takes as input any pyramid and a file name. It writes the pyramid into the file in a form that can later be read by ReadPyr.

Special codes may be embedded in the filename using the % notation documented in strftime(3). The code %n will be replaced by an incremented integer on each new firing.

Pyramids can be written either in ASCII or binary, depending on the setting of the "Output Mode" widget. Binary is faster and smaller but ASCII is more readable.

INPUTS

Port: Input
Type: Pyramid
Constraints: 1..-layer.
optional-baseLat.
n-D compression.
n-compression type.
Any pyramid

WIDGETS

Port: Filename
Type: Text
base name of the file

Port: Output Mode
Type: Radio Box
Menu Item: ASCII
Menu Item: BINARY
ASCII or binary

OUTPUTS

PROBLEMS

The file browser widget does not correctly browse files on remote machines. The remote filename can be entered in the selection box, but the option menu is inoperable.

SEE ALSO

ReadPyr CropPyr PrintPyr
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996