EOS_SW_SETFILLVALUE

Syntax | Return Value | Arguments | Keywords | Examples | Version History

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

Syntax

Result = EOS_SW_SETFILLVALUE(swathID, fieldname, fillvalue)

Return Value

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

Arguments

swathID

Swath id (long) returned by EOS_SW_CREATE or EOS_SW__ATTACH.

fieldname

Fieldname (string).

fillvalue

The fill value to be used.

Keywords

None

Examples

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

tempfill = -999.0 
status = EOS_SW_SETFILLVALUE(swathID, "Temperature", tempfill) 

Version History

5.2

Introduced