- ←Prev
- HDSTOOLS
Tools To Display and Edit HDS Objects -
- TOC ↑
Description:
Writes values from
an HDS primitive object into an ASCII (default) or binary file. One value is written per
record.
For ASCII file output a default format is used unless explicitly overridden.
Usage:
hwrite
inp file [binary=] [fmt=]
Parameters:
INP = UNIV (Read)
Object to be input and read.
GLOBAL.HDSOBJ
FILE = _CHAR (Read)
Output filename.
BINARY = _LOGICAL (Read)
Whether file to be binary
(Fortran unformatted). [NO]
FMT = _CHAR (Read)
Output format for ASCII file. If null (!) is
specified, a default format is used for each different data type. [!]
Examples:
% hwrite
cfile.structure.data values.dat
Write component DATA to ASCII file values.dat with default format
% hwrite cfile.structure.data values.dat fmt=F12.6
As above but with specified format % hwrite
cfile.structure.data values.dat binary
Write component DATA in binary form into sequential,
unformatted file. Copyright © 2000 Council for the Central Laboratory of the Research Councils
-
←Prev
- HDSTOOLS
Tools To Display and Edit HDS Objects -
- TOC ↑