cddx_readfrom - seek to and read from a DDS dataset


SYNOPSIS

#include "cdds.h"

int function cddx_readfrom(bin_tag, offset, buffer, count);

BIN_TAG bin_tag
long offset
void *buffer
int count

DESCRIPTION

Routine, "cddx_readfrom", reads "count" traces from the input dataset referenced by "bin_tag" starting from offset trace location number, "offset", into array "buffer". An "offset" value of "0" will read from the first trace in the dataset. The number of traces read is returned or < 0 on error.

AUTHOR

Jerry Ehlers, BP America (May 2003)