18.47.1 Format

[CLEAN\]WRITE Name File Format [/RANGE Start End Kind] [/TRIM [Any]]

The 3rd (and 4th) argument of the WRITE command are optional keywords indicating the output file data format, which is otherwise specified by the SET FORMAT command. Allowed values are
CSV, GILDAS, FITS, FITS VELOCITY, FITS FREQUENCY

FITS format is allowed for UV data and Images (n-D hypercubes), but not for Tables like the Clean Component Tables, or self-calibration results because of lack of suitable FITS convention for such information.

CSV format (Comma Separated Value, used by most spreadsheets) is for 2-D tables only, of limited size (less than 128 columns). WRITE fallbacks to GILDAS format if this condition is not matched.

Note also that options /APPEND and /REPLACE are only valid for GILDAS format.