NEP 2.7.0
NetCDF Extension Pack
Loading...
Searching...
No Matches
Data Fields
NC_PDS4_VAR_INFO Struct Reference

#include <pds4dispatch.h>

Data Fields

size_t data_offset
 
size_t record_length
 
size_t field_offset
 
size_t field_length
 
int is_table_field
 
int is_ascii
 
int is_delimited
 
int field_number
 
int is_group_field
 
size_t group_location
 
size_t group_length
 
size_t repetitions
 
size_t inner_field_offset
 
int group_depth
 
size_t outer_group_location
 
size_t outer_group_length
 
size_t outer_repetitions
 
size_t inner_group_location
 
size_t inner_group_length
 
size_t inner_repetitions
 
size_t inner2_field_offset
 

Detailed Description

Per-variable PDS4 layout info (stored in var->format_var_info)

Field Documentation

◆ data_offset

size_t NC_PDS4_VAR_INFO::data_offset

Byte offset of Array or Table in data file

◆ field_length

size_t NC_PDS4_VAR_INFO::field_length

Field byte length (tables only)

◆ field_number

int NC_PDS4_VAR_INFO::field_number

1-based column index for Table_Delimited fields

◆ field_offset

size_t NC_PDS4_VAR_INFO::field_offset

Field byte offset within record (0-based, tables only)

◆ group_depth

int NC_PDS4_VAR_INFO::group_depth

Nesting depth: 1 = flat group, 2 = group-in-group

◆ group_length

size_t NC_PDS4_VAR_INFO::group_length

Byte size of one repetition block

◆ group_location

size_t NC_PDS4_VAR_INFO::group_location

Byte offset of group start within record (0-based)

◆ inner2_field_offset

size_t NC_PDS4_VAR_INFO::inner2_field_offset

Byte offset of field within one inner rep (0-based)

◆ inner_field_offset

size_t NC_PDS4_VAR_INFO::inner_field_offset

Byte offset of field within one repetition (0-based)

◆ inner_group_length

size_t NC_PDS4_VAR_INFO::inner_group_length

Byte size of one inner repetition block

◆ inner_group_location

size_t NC_PDS4_VAR_INFO::inner_group_location

Byte offset of inner group start within outer rep (0-based)

◆ inner_repetitions

size_t NC_PDS4_VAR_INFO::inner_repetitions

Number of inner repetitions

◆ is_ascii

int NC_PDS4_VAR_INFO::is_ascii

1 if ASCII text field (needs parsing), 0 if binary

◆ is_delimited

int NC_PDS4_VAR_INFO::is_delimited

1 if Table_Delimited (comma-separated); field_number used instead of field_offset

◆ is_group_field

int NC_PDS4_VAR_INFO::is_group_field

1 if this field is inside a Group_Field_Binary

◆ is_table_field

int NC_PDS4_VAR_INFO::is_table_field

1 if this is a table field, 0 if array

◆ outer_group_length

size_t NC_PDS4_VAR_INFO::outer_group_length

Byte size of one outer repetition block

◆ outer_group_location

size_t NC_PDS4_VAR_INFO::outer_group_location

Byte offset of outer group start within record (0-based)

◆ outer_repetitions

size_t NC_PDS4_VAR_INFO::outer_repetitions

Number of outer repetitions

◆ record_length

size_t NC_PDS4_VAR_INFO::record_length

Record length in bytes (tables only)

◆ repetitions

size_t NC_PDS4_VAR_INFO::repetitions

Number of group repetitions


The documentation for this struct was generated from the following file: