 |
vlmget_voxel4d
NAME
vlmget_voxel4d - Reads the dimensions information
and the entire data set from a ParVox voxel data file.
SYNOPSIS
#include <vlmeta.h>
int vlmget_voxel4d(int ncid, vlmeta_voxel4d *vdata, int dtype);
DESCRIPTION
Vlmget_voxel4d reads the dimension information
and the entire data set from a ParVox voxel data file. The handle
ncid, which is obtained by a previous vlmopen_vox call, points
to the file to read from. Vlmget_voxel4d reads in the header data into
the vlmeta_voxel4d structure vdata and reads the
data into the vldata->voxel_data member, allocating memory if necessary.
Dtype indicates the format the file is in, either
VL_RAW or VL_NETCDF.
SEE ALSO
vlmopen_vox,
vlmeta_voxel4d,
ParVox Tutorial: Input Data Format
DIAGNOSTICS
Upon successful completion, the value of 0 is returned.
Otherwise, a value of -1 is returned.
|
 |