OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
Copy Field Elems * This group of functions is for copying the data of the given field into the given
Collaboration diagram for Copy Field Elems * This group of functions is for copying the data of the given field into the given:

buffer of elements by selected type. The actual number of elements copied is the minimum of the given number of elements (the buffer's size) and the actual number of elements contained in the field.

If the actual field data type is not selected type, the function automatically performs the conversion.

Parameters
fieldthe field from which to copy the elements
bufferthe buffer in which to copy the data
num_elemsthe number of elements in the given buffer
Returns
the actual number of elements copied