>  Docs Center  >  IDL Reference  >  I/O - EOS  >  EOS_GD_SETFILLVALUE

EOS_GD_SETFILLVALUE

EOS_GD_SETFILLVALUE

This function sets the fill value for the specified field. The fill value is placed in all elements of the field which have not been explicitly defined.

Examples


In this example, we set a fill value for the “Temperature” field:

tempfill = -999.0
status = EOS_GD_SETFILLVALUE(gridID, "Temperature", tempfill)

Syntax


Result = EOS_GD_SETFILLVALUE(gridID, fieldname, fillvalue)

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

Fieldname (string).

fillvalue

The fill value to be used.

Keywords


None

Version History


5.2

Introduced



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us