rivadd


rivadd RivaFile field value


Description

rivadd adds or replaces the named field in the header of the RivaFile. The field is given the stated value. The LBLSIZE field cannot be modified

Usage

The following listing shows how to add several fields to the header of 'image.riv':
% rivheader image.riv RivaFile: image.riv LBLSIZE=1024 % rivadd image.riv NS 5760 rivadd: editing RivaFile image.riv: NS=5760 % rivadd image.riv NL 2880 rivadd: editing RivaFile image.riv: NL=2880 % rivadd image.riv PROJECTION SINUSOIDAL rivadd: editing RivaFile image.riv: PROJECTION=SINUSOIDAL % rivadd image.riv COMMENT "This is a dummy image" rivadd: editing RivaFile image.riv: COMMENT=This is a dummy image % % rivheader image.riv RivaFile: image.riv LBLSIZE=1024 NS=5760 NL=2880 PROJECTION='SINUSOIDAL' COMMENT='This is a dummy image' %

Note that multi-token values must be enclosed in quotes.

Any number of fields may be added to a RivaFile, provided there is room in the header. By convention, all field names and symbolic values (e.g., 'SINUSOIDAL') are given in upper case, but this is in no way enforced.

See Also

RivaFile Format, rivheader, rivdel
Privacy / Copyrights
FIRST GOV   NASA Home Page This page, http://pat.jpl.nasa.gov/RIVA//public/RIVA/rivadd.html, is maintained by Peggy Li and was last modified Friday, 15-Aug-2003 11:54:23 PDT, CL 03-2169
spacer