|
Write data array |
|
Write shaped array to a subset of data array |
|
Get number of data arrays under current node |
|
Get data array info |
|
Read data array |
|
Read data array as a certain type |
|
Read subset of data array to a shaped array |
|
Write data class |
|
Read data class |
|
Write conversion factors |
|
Get conversion factors data type |
|
Read conversion factors |
|
Write first five dimensional units |
|
Write all eight dimensional units |
|
Get number of dimensional units |
|
Read first five dimensional units |
|
Read all eight dimensional units |
|
Write first five dimensional exponents |
|
Write all eight dimensional exponents |
|
Get number of dimensional exponents |
|
Get exponent data type |
|
Read first five dimensional exponents |
|
Read all eight dimensional exponents |
Node: DataArray_t (SIDS, File Mapping)
C Functions |
Modes |
---|---|
ier = |
- w m |
ier = |
- w m |
ier = |
r - m |
ier = |
r - m |
ier = |
r - m |
ier = |
r - m |
ier = |
r - m |
Fortran interfaces |
Modes |
---|---|
call |
- w m |
call |
- w m |
call |
r - m |
call |
r - m |
call |
r - m |
call |
r - m |
call |
r - m |
Number of DataArray_t nodes under the current node.
Data array index, where 1 ≤ A ≤ narrays.
Name of the DataArray_t node.
Type of data held in the DataArray_t node. The admissible types are Integer, LongInteger, RealSingle, RealDouble, and Character.
Number of dimensions of array in file (max 12). See Node Management Routines in CGIO User’s Guide.
Dimensions of array in file.
Lower range index in file (eg., imin, jmin, kmin).
Upper range index in file (eg., imax, jmax, kmax).
The type of data held in memory. The admissible types are Integer, LongInteger, RealSingle, RealDouble, and Character.
Number of dimensions of array in memory (max 12).
Dimensions of array in memory.
Lower range index in memory (eg., imin, jmin, kmin).
Upper range index in memory (eg., imax, jmax, kmax).
The data array in memory.
Error status.
The function cg_array_general_write may be used to write from a subset of the array in memory to a subset of the array in the file. When using the partial write, any existing data from range_min to range_max will be overwritten by the new values. All other values will not be affected.
The functions cg_array_general_read and cg_array_general_write allow for type conversion when both reading from and writing to the file.
When using cg_array_general_write and cg_array_general_read, the lower core elements in the file have index 1 for defining range_min and range_max; whereas for the array in memory, defined by mem_rank and mem_dimensions, the lower array elements in memory have index 1 for defining mem_range_min and mem_range_max. The actual lower and upper bounds of the array in memory can be anything. For example, to fully read a two-dimensional 6 × 6 data array with 1 rind plane on each side in the file to an 8 × 8 array in memory (mem_rank = 2 and mem_dimensions = (8,8)), set range_min and range_max to (0,0) and (7,7), and set mem_range_min and mem_range_max to (1,1) and (8,8).
Node: DataClass_t (SIDS, File Mapping)
Node: DataConversion_t (SIDS, File Mapping)
Nodes: DimensionalUnits_t (SIDS, File Mapping)
Node: DimensionalExponents_t (SIDS, File Mapping)