This function writes the field metadata for a grid field not defined by the Grid API.

Note: Array ordering of variables used or returned by this routine changed in IDL 5.5. Programs written for versions of this routine prior to IDL 5.5 may need to be modified to work correctly with the current version.

Examples


status = EOS_GD_writefieldmeta(gridID, "ExternField", $
   "Ydim,Xdim", 5)

Syntax


Result = EOS_GD_WRITEFIELDMETA(gridID, fieldname, dimlist, numbertype)

Return Value


Returns SUCCEED(0) if successful and FAIL(–1) otherwise

Arguments


gridID

Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.

fieldname

Name of field (string) that metadata information is to be written.

dimlist

Dimension list of field (long).

numbertype

Number type of data in field (long).

Keywords


None

Version History


5.2

Introduced