 |
vlmeta_voxel4d
NAME
vlmeta_voxel4d - ParVox voxel data structure.
SYNOPSIS
#include <vlmeta.h>
DESCRIPTION
Vlmeta_voxel4d is a typedef struct defined as:
typedef struct
{
short idim, jdim, kdim; /* volume size (width, length, depth) */
short num_vars; /* number of variables per voxel */
vlpoint spacing; /* "gap" sizes between data points */
short byte_per_voxel; /* byte per voxel:
1 == char
2 == short
4 == float
8 == double */
short time_tag; /* a positive integer for time tag */
float range[VL_MAX_VARS][2]; /* valid data value range:
range[][0] = min;
range[][1] = max;
first index is the var number */
char var_name[VL_MAX_VARS][MAX_VAR_NAME]; /* name of variables */
float nodata[VL_MAX_VARS]; /* value when there is no data available */
void *voxel_data; /* pointer to voxel data block */
} vlmeta_voxel4d;
To create a NetCDF ParVox data file, the user should
fill in the vlmeta_voxel4d structure with the information related to the
data and then place the data in a memory block pointed to by the voxel_data
structure member. The user then calls
vlmput_voxel4d to write the data into a ParVox voxel file in NetCDF
format.
SEE ALSO
vlmget_voxel4d,
vlmput_voxel4d,
ParVox Tutorial: Input Data Format
|
 |