OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
Field Single Element Access
Collaboration diagram for Field Single Element Access:

This group of functions is for getting the elements of a field as a typed value.
Typed value means that the returned variable is of a certain variable type, e.g. such as short or float.
The type is located in the field info. See epr_get_field_type.
One field must have one type only.

Parameters
fieldthe field, must not be NULL
elem_indexthe zero-based index of element to be returned, must not be negative.
Returns
the typed value from given field