Last change
on this file since 2759 was
2759,
checked in by aslmd, 2 years ago
|
adding unmodified code from WRFV3.0.1.1, expurged from useless data +1M size
|
File size:
569 bytes
|
Line | |
---|
1 | #include <stdio.h> |
---|
2 | #include <stdlib.h> |
---|
3 | |
---|
4 | #include "gribmap.h" |
---|
5 | main() |
---|
6 | { |
---|
7 | int center, subcenter, parmtbl, parm_id, dec_sc_factor; |
---|
8 | int ret; |
---|
9 | int idx; |
---|
10 | Grib_Table_Info grib_table_info; |
---|
11 | |
---|
12 | /* get_grib_param_("gribmap.txt","TMN",¢er,&subcenter,&parmtbl,&parm_id,&dec_sc_factor); |
---|
13 | */ |
---|
14 | read_gribmap_("gribmap.txt",&grib_table_info,&ret); |
---|
15 | |
---|
16 | fprintf(stdout,"%d:%d:%d:%d\n",grib_table_info.center, |
---|
17 | grib_table_info.subcenter,grib_table_info.parmtbl, |
---|
18 | grib_table_info.gribid); |
---|
19 | |
---|
20 | get_grib_param_(&grib_table_info,"TMN",&idx); |
---|
21 | fprintf(stdout,"idx: %d\n",idx); |
---|
22 | |
---|
23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.