GRIB2 file reader functions.
More...
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "nep_nc4.h"
#include "grib2internal.h"
#include <grib2.h>
|
| static int | nc4_set_var_type (nc_type xtype, int endianness, size_t type_size, char *type_name, NC_TYPE_INFO_T **typep) |
| static int | grib2_var_list_add (NC_GRP_INFO_T *grp, const char *name, int ndims, nc_type xtype, int endianness, size_t type_size, char *type_name, void *format_var_info, NC_VAR_INFO_T **var) |
| static int | grib2_add_int_att (NCindex *att_list, const char *name, int value) |
| static int | grib2_add_str_att (NCindex *att_list, const char *name, const char *value) |
| static int | grib2_add_float_att (NCindex *att_list, const char *name, float value) |
| int | NC_GRIB2_open (const char *path, int mode, int basepe, size_t *chunksizehintp, void *parameters, const NC_Dispatch *dispatch, int ncid) |
| int | NC_GRIB2_abort (int ncid) |
| int | NC_GRIB2_close (int ncid, void *ignore) |
| int | NC_GRIB2_inq_format (int ncid, int *formatp) |
| int | NC_GRIB2_inq_format_extended (int ncid, int *formatp, int *modep) |
| int | NC_GRIB2_get_vara (int ncid, int varid, const size_t *start, const size_t *count, void *value, nc_type memtype) |
GRIB2 file reader functions.
- Author
- Edward Hartnett
- Date
- 2026-03-08
- Copyright
- Intelligent Data Design, Inc. All rights reserved.
◆ GRIB2_MAX_TEMPLATE_LEN
| #define GRIB2_MAX_TEMPLATE_LEN 200 |
Maximum number of PDS/GDS/DRS template entries supported.
◆ grib2_add_float_att()
| int grib2_add_float_att |
( |
NCindex * | att_list, |
|
|
const char * | name, |
|
|
float | value ) |
|
static |
◆ grib2_add_int_att()
| int grib2_add_int_att |
( |
NCindex * | att_list, |
|
|
const char * | name, |
|
|
int | value ) |
|
static |
◆ grib2_add_str_att()
| int grib2_add_str_att |
( |
NCindex * | att_list, |
|
|
const char * | name, |
|
|
const char * | value ) |
|
static |
◆ grib2_var_list_add()
| int grib2_var_list_add |
( |
NC_GRP_INFO_T * | grp, |
|
|
const char * | name, |
|
|
int | ndims, |
|
|
nc_type | xtype, |
|
|
int | endianness, |
|
|
size_t | type_size, |
|
|
char * | type_name, |
|
|
void * | format_var_info, |
|
|
NC_VAR_INFO_T ** | var ) |
|
static |
◆ nc4_set_var_type()
| int nc4_set_var_type |
( |
nc_type | xtype, |
|
|
int | endianness, |
|
|
size_t | type_size, |
|
|
char * | type_name, |
|
|
NC_TYPE_INFO_T ** | typep ) |
|
static |
◆ NC_GRIB2_abort()
| int NC_GRIB2_abort |
( |
int | ncid | ) |
|
◆ NC_GRIB2_close()
| int NC_GRIB2_close |
( |
int | ncid, |
|
|
void * | ignore ) |
◆ NC_GRIB2_get_vara()
| int NC_GRIB2_get_vara |
( |
int | ncid, |
|
|
int | varid, |
|
|
const size_t * | start, |
|
|
const size_t * | count, |
|
|
void * | value, |
|
|
nc_type | memtype ) |
◆ NC_GRIB2_inq_format()
| int NC_GRIB2_inq_format |
( |
int | ncid, |
|
|
int * | formatp ) |
◆ NC_GRIB2_inq_format_extended()
| int NC_GRIB2_inq_format_extended |
( |
int | ncid, |
|
|
int * | formatp, |
|
|
int * | modep ) |
◆ NC_GRIB2_open()
| int NC_GRIB2_open |
( |
const char * | path, |
|
|
int | mode, |
|
|
int | basepe, |
|
|
size_t * | chunksizehintp, |
|
|
void * | parameters, |
|
|
const NC_Dispatch * | dispatch, |
|
|
int | ncid ) |
◆ ILLEGAL_OPEN_FLAGS
| const int ILLEGAL_OPEN_FLAGS = (NC_MMAP|NC_64BIT_OFFSET|NC_DISKLESS|NC_WRITE) |
|
static |