DRMS_Array_t* drms_segment_read ( DRMS_Segment_t seg,
DRMS_Type_t  type,
int *  status 
)

Reads the data associated with seg into memory in a newly created DRMS_Array_t struct, converting the data to the requested type (unless type = DRMS_TYPE_RAW, in which case the data type will be that of the external representation.).

Parameters:
seg The segment whose file is to be read into memory.
type The type to which the data of is converted.
status DRMS status (see drms_statuscodes.h). 0 if successful, non-0 otherwise.
Returns:
The created DRMS array struct.

Definition at line 986 of file drms_segment.c.


Generated on Mon Mar 26 07:00:50 2018 for JSOC_Documentation by  doxygen 1.5.7.1