1 #define MAX_LINE_CHARS 2500
6 # define LOAD_GRIB1_TABLES load_grib1_tables
7 # define GET_GRIB_PARAM get_grib_param
8 # define FREE_GRIBMAP free_gribmap
9 # define GET_GRIB1_TABLE_INFO_SIZE get_grib1_table_info_size
10 # define GET_GRIB1_TABLES_SIZE get_grib1_tables_size
11 # define READ_GRIBMAP read_gribmap
14 # define LOAD_GRIB1_TABLES load_grib1_tables__
15 # define GET_GRIB_PARAM get_grib_param__
16 # define FREE_GRIBMAP free_gribmap__
17 # define GET_GRIB1_TABLES_SIZE get_grib1_tables_size__
18 # define READ_GRIBMAP read_gribmap__
20 # define LOAD_GRIB1_TABLES load_grib1_tables_
21 # define GET_GRIB_PARAM get_grib_param_
22 # define FREE_GRIBMAP free_gribmap_
23 # define GET_GRIB1_TABLES_SIZE get_grib1_tables_size_
24 # define READ_GRIBMAP read_gribmap_
34 int parm_id
[MAX_PARAMS
];
35 int dec_sc_factor
[MAX_PARAMS
];
36 char **wrf_param
[MAX_PARAMS
];
37 int num_wrf_params
[MAX_PARAMS
];
43 Grib1_Table_Info
*grib_table_info
;
47 int GET_GRIB_PARAM (Grib1_Tables
*grib_tables
, char *varname
, int *center
,
48 int *subcenter
, int *parmtbl
, int *tablenum
, int *index
,
49 int strlen1
, int strlen2
);
51 int GET_GRIB1_TABLES_SIZE (int *size
);
53 int LOAD_GRIB1_TABLES (char filename
[],
54 Grib1_Tables
*grib_tables
, int *ret
, int strlen1
);
56 Grib1_Tables
*copy_grib_tables(Grib1_Tables
*);