ATL_CREAT

Write an AST Object to a text file or NDF specified using an environment parameter

Description:

Write an AST Object to a text file or NDF specified using an environment parameter.

Invocation

CALL ATL_CREAT( FPARAM, IAST, STATUS )

Arguments

FPARAM = CHARACTER ( ) (Given)
The parameter name. If the supplied string contains a colon, then the parameter name is taken to be the string following the colon. The string before the colon indicates the format required for the output text file:

" AST:" - AST_SHOW format " STCS:" - STCS format " MOC-JSON:" - MOC JSON format " MOC" - MOC " string" format " XML:" - AST XML format " FITS-xxx:" - FITS, using the specified encoding " NATIVE:" - FITS, using NATIVE encoding

The default (i.e. used if the string does not contain a colon) is " AST" . Attribute values for the Channel (of whatever class) can be specified using the environment variable ATOOLS_CHATT_OUT.

IAST = INTEGER (Given)
The AST Object, or AST__NULL.
STATUS = INTEGER (Given and Returned)
The global status.