fddx_readfrom - seek to and read from a DDS dataset


SYNOPSIS

#include <fdds.h> (fixed-format sources)
#include <f90dds.h> (free-format sources)

integer function fddx_readfrom(bin_tag, offset, buffer, count)

integer bin_tag
integer offset
real buffer(*)
integer count

DESCRIPTION

Routine, "fddx_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)