From dcd93f9fc565e38c45dbcf4de0ccfc4e51a584db Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Wed, 18 Oct 2023 15:10:47 -0600 Subject: [PATCH] updated to 1.8.0 --- annotated.html | 27 +- annotated_dup.js | 11 + classes.html | 30 +- cmplxpack_8c.html | 12 +- cmplxpack_8c_source.html | 22 +- compack_8c.html | 14 +- compack_8c_source.html | 28 +- comunpack_8c.html | 22 +- comunpack_8c_source.html | 605 +- dec__jpeg2000_8c.html | 184 +- dec__jpeg2000_8c.js | 4 +- dec__jpeg2000_8c_source.html | 257 +- dec__png_8c.html | 16 +- dec__png_8c_source.html | 26 +- decenc__openjpeg_8c.html | 12 +- decenc__openjpeg_8c_source.html | 20 +- dir_1120c50dc01af8bc3323139f424a1f58.html | 12 +- dir_49e56c817e5e54854c35e136979f97ca.html | 12 +- dir_68267d1309a1af8e8297ef4c3efbcdba.html | 50 +- dir_cbdb8362360e11eafe2fa3bc74cf0ffd.html | 112 + doxygen.css | 154 +- drstemplates_8c.html | 172 +- drstemplates_8c.js | 5 +- drstemplates_8c_source.html | 307 +- dynsections.js | 33 +- enc__jpeg2000_8c.html | 145 +- enc__jpeg2000_8c.js | 3 +- enc__jpeg2000_8c_source.html | 233 +- enc__png_8c.html | 16 +- enc__png_8c_source.html | 30 +- files.html | 73 +- files_dup.js | 13 + functions.html | 232 +- functions_vars.html | 232 +- g2__addfield_8c.html | 30 +- g2__addfield_8c_source.html | 84 +- g2__addgrid_8c.html | 22 +- g2__addgrid_8c_source.html | 60 +- g2__addlocal_8c.html | 14 +- g2__addlocal_8c_source.html | 40 +- g2__create_8c.html | 14 +- g2__create_8c_source.html | 28 +- g2__free_8c.html | 14 +- g2__free_8c_source.html | 38 +- g2__getfld_8c.html | 30 +- g2__getfld_8c_source.html | 130 +- g2__gribend_8c.html | 14 +- g2__gribend_8c_source.html | 38 +- g2__info_8c.html | 28 +- g2__info_8c_source.html | 277 +- g2__miss_8c.html | 14 +- g2__miss_8c_source.html | 26 +- g2__unpack1_8c.html | 14 +- g2__unpack1_8c_source.html | 28 +- g2__unpack2_8c.html | 24 +- g2__unpack2_8c_source.html | 28 +- g2__unpack3_8c.html | 42 +- g2__unpack3_8c_source.html | 348 +- g2__unpack4_8c.html | 22 +- g2__unpack4_8c_source.html | 48 +- g2__unpack5_8c.html | 22 +- g2__unpack5_8c_source.html | 46 +- g2__unpack6_8c.html | 14 +- g2__unpack6_8c_source.html | 30 +- g2__unpack7_8c.html | 301 +- g2__unpack7_8c.js | 4 +- g2__unpack7_8c_source.html | 288 +- g2c__compare_8c.html | 173 + g2c__compare_8c.js | 4 + g2c__compare_8c_source.html | 185 + g2c__degrib2_8c.html | 173 + g2c__degrib2_8c.js | 4 + g2c__degrib2_8c_source.html | 179 + g2c__index_8c.html | 173 + g2c__index_8c.js | 4 + g2c__index_8c_source.html | 179 + g2ccompare_8c.html | 210 + g2ccompare_8c.js | 5 + g2ccompare_8c_source.html | 289 + g2cdegrib2_8c.html | 515 ++ g2cdegrib2_8c.js | 11 + g2cdegrib2_8c_source.html | 854 +++ g2cfile_8c.html | 1411 +++++ g2cfile_8c.js | 28 + g2cfile_8c_source.html | 1284 ++++ g2cindex_8c.html | 1061 ++++ g2cindex_8c.js | 20 + g2cindex_8c_source.html | 942 +++ g2cinq_8c.html | 623 ++ g2cinq_8c.js | 10 + g2cinq_8c_source.html | 409 ++ g2cio_8c.html | 824 +++ g2cio_8c.js | 17 + g2cio_8c_source.html | 446 ++ g2cparams_8c.html | 482 ++ g2cparams_8c.js | 9 + g2cparams_8c_source.html | 1242 ++++ g2cprod_8c.html | 227 + g2cprod_8c.js | 5 + g2cprod_8c_source.html | 234 + g2cutil_8c.html | 344 ++ g2cutil_8c.js | 9 + g2cutil_8c_source.html | 350 ++ g2cxml_8c.html | 460 ++ g2cxml_8c.js | 12 + g2cxml_8c_source.html | 381 ++ gbits_8c.html | 172 +- gbits_8c.js | 2 + gbits_8c_source.html | 217 +- getdim_8c.html | 14 +- getdim_8c_source.html | 22 +- getpoly_8c.html | 14 +- getpoly_8c_source.html | 22 +- globals.html | 20 +- globals_b.html | 116 + globals_c.html | 113 + globals_d.html | 112 + globals_defs.html | 394 +- globals_dup.js | 23 + globals_e.html | 126 + globals_f.html | 113 + globals_func.html | 314 +- globals_func.js | 16 + globals_func_c.html | 110 + globals_func_d.html | 109 + globals_func_e.html | 122 + globals_func_f.html | 107 + globals_func_g.html | 482 ++ globals_func_i.html | 105 + globals_func_j.html | 114 + globals_func_m.html | 114 + globals_func_p.html | 118 + globals_func_r.html | 117 + globals_func_s.html | 126 + globals_func_u.html | 107 + globals_g.html | 982 +++ globals_h.html | 101 + globals_i.html | 105 + globals_j.html | 114 + globals_l.html | 110 + globals_m.html | 130 + globals_n.html | 101 + globals_o.html | 101 + globals_p.html | 125 + globals_r.html | 120 + globals_s.html | 126 + globals_t.html | 113 + globals_type.html | 45 +- globals_u.html | 107 + globals_vars.html | 41 +- globals_w.html | 101 + grib2_8h.html | 6509 ++++++++++++++++---- grib2_8h.js | 120 +- grib2_8h_source.html | 677 +- grib2__int_8h.html | 3763 +++++++++-- grib2__int_8h.js | 157 + grib2__int_8h_source.html | 654 +- grib2__int_8h_structg2c__code__table.js | 6 + grib2__int_8h_structg2c__dim__info.js | 7 + grib2__int_8h_structg2c__entry.js | 7 + grib2__int_8h_structg2c__file__info.js | 8 + grib2__int_8h_structg2c__message__info.js | 33 + grib2__int_8h_structg2c__param.js | 9 + grib2__int_8h_structg2c__section3__info.js | 10 + grib2__int_8h_structg2c__section4__info.js | 7 + grib2__int_8h_structg2c__section5__info.js | 5 + grib2__int_8h_structg2c__section6__info.js | 4 + grib2__int_8h_structg2c__section__info.js | 13 + gridtemplates_8c.html | 235 +- gridtemplates_8c.js | 8 +- gridtemplates_8c_source.html | 480 +- index.html | 12 +- int__power_8c.html | 14 +- int__power_8c_source.html | 20 +- jpcpack_8c.html | 264 +- jpcpack_8c.js | 5 +- jpcpack_8c_source.html | 438 +- jpcunpack_8c.html | 221 +- jpcunpack_8c.js | 5 +- jpcunpack_8c_source.html | 203 +- menu.js | 37 +- menudata.js | 87 +- misspack_8c.html | 14 +- misspack_8c_source.html | 30 +- mkieee_8c.html | 14 +- mkieee_8c_source.html | 22 +- navtree.js | 32 +- navtreedata.js | 38 +- navtreeindex0.js | 312 +- navtreeindex1.js | 374 +- navtreeindex2.js | 253 + navtreeindex3.js | 28 + pack__gp_8c.html | 12 +- pack__gp_8c_source.html | 26 +- pdstemplates_8c.html | 233 +- pdstemplates_8c.js | 6 +- pdstemplates_8c_source.html | 1138 ++-- pngpack_8c.html | 230 +- pngpack_8c.js | 5 +- pngpack_8c_source.html | 410 +- pngunpack_8c.html | 219 +- pngunpack_8c.js | 5 +- pngunpack_8c_source.html | 198 +- rdieee_8c.html | 14 +- rdieee_8c_source.html | 99 +- reduce_8c.html | 12 +- reduce_8c_source.html | 18 +- resize.js | 37 +- search/all_0.js | 5 +- search/all_1.js | 15 +- search/all_10.js | 31 +- search/all_11.js | 9 +- search/all_12.html | 37 + search/all_12.js | 8 + search/all_13.html | 37 + search/all_13.js | 5 + search/all_14.html | 37 + search/all_14.js | 4 + search/all_15.html | 37 + search/all_15.js | 4 + search/all_2.js | 16 +- search/all_3.js | 20 +- search/all_4.js | 22 +- search/all_5.js | 10 +- search/all_6.js | 425 +- search/all_7.js | 18 +- search/all_8.js | 23 +- search/all_9.js | 10 +- search/all_a.js | 23 +- search/all_b.js | 25 +- search/all_c.js | 23 +- search/all_d.js | 6 +- search/all_e.js | 26 +- search/all_f.js | 14 +- search/classes_0.js | 15 +- search/defines_0.js | 2 +- search/defines_1.js | 7 +- search/defines_2.js | 2 +- search/defines_3.js | 55 +- search/defines_4.js | 3 +- search/defines_5.js | 153 +- search/defines_6.js | 2 +- search/defines_7.html | 37 + search/defines_7.js | 7 + search/defines_8.html | 37 + search/defines_8.js | 9 + search/defines_9.html | 37 + search/defines_9.js | 4 + search/defines_a.html | 37 + search/defines_a.js | 4 + search/defines_b.html | 37 + search/defines_b.js | 4 + search/defines_c.html | 37 + search/defines_c.js | 5 + search/defines_d.html | 37 + search/defines_d.js | 4 + search/files_0.js | 6 +- search/files_1.js | 8 +- search/files_2.js | 4 +- search/files_3.js | 57 +- search/files_4.js | 2 +- search/files_5.js | 4 +- search/files_6.js | 4 +- search/files_7.js | 8 +- search/files_8.js | 4 +- search/files_9.js | 10 +- search/files_a.js | 2 +- search/functions_0.js | 5 +- search/functions_1.js | 5 +- search/functions_2.js | 8 +- search/functions_3.js | 33 +- search/functions_4.js | 4 +- search/functions_5.js | 101 +- search/functions_6.js | 4 +- search/functions_7.js | 7 +- search/functions_8.js | 6 +- search/functions_9.js | 12 +- search/functions_a.js | 9 +- search/functions_b.html | 37 + search/functions_b.js | 10 + search/functions_c.html | 37 + search/functions_c.js | 6 + search/searchdata.js | 8 +- search/typedefs_0.js | 21 +- search/typedefs_1.js | 2 +- search/variables_0.js | 2 +- search/variables_1.js | 8 +- search/variables_10.html | 37 + search/variables_10.js | 4 + search/variables_11.html | 37 + search/variables_11.js | 5 + search/variables_12.html | 37 + search/variables_12.js | 4 + search/variables_2.js | 3 +- search/variables_3.js | 9 +- search/variables_4.js | 4 +- search/variables_5.js | 4 +- search/variables_6.js | 25 +- search/variables_7.js | 4 +- search/variables_8.js | 18 +- search/variables_9.js | 12 +- search/variables_a.js | 11 +- search/variables_b.js | 15 +- search/variables_c.js | 2 +- search/variables_d.html | 37 + search/variables_d.js | 7 + search/variables_e.html | 37 + search/variables_e.js | 17 + search/variables_f.html | 37 + search/variables_f.js | 9 + seekgb_8c.html | 84 +- seekgb_8c.js | 1 - seekgb_8c_source.html | 152 +- simpack_8c.html | 14 +- simpack_8c_source.html | 233 +- simunpack_8c.html | 18 +- simunpack_8c_source.html | 105 +- specpack_8c.html | 12 +- specpack_8c_source.html | 22 +- specunpack_8c.html | 16 +- specunpack_8c_source.html | 30 +- util_8c.html | 26 +- util_8c_source.html | 43 +- 323 files changed, 38246 insertions(+), 7676 deletions(-) create mode 100644 dir_cbdb8362360e11eafe2fa3bc74cf0ffd.html create mode 100644 g2c__compare_8c.html create mode 100644 g2c__compare_8c.js create mode 100644 g2c__compare_8c_source.html create mode 100644 g2c__degrib2_8c.html create mode 100644 g2c__degrib2_8c.js create mode 100644 g2c__degrib2_8c_source.html create mode 100644 g2c__index_8c.html create mode 100644 g2c__index_8c.js create mode 100644 g2c__index_8c_source.html create mode 100644 g2ccompare_8c.html create mode 100644 g2ccompare_8c.js create mode 100644 g2ccompare_8c_source.html create mode 100644 g2cdegrib2_8c.html create mode 100644 g2cdegrib2_8c.js create mode 100644 g2cdegrib2_8c_source.html create mode 100644 g2cfile_8c.html create mode 100644 g2cfile_8c.js create mode 100644 g2cfile_8c_source.html create mode 100644 g2cindex_8c.html create mode 100644 g2cindex_8c.js create mode 100644 g2cindex_8c_source.html create mode 100644 g2cinq_8c.html create mode 100644 g2cinq_8c.js create mode 100644 g2cinq_8c_source.html create mode 100644 g2cio_8c.html create mode 100644 g2cio_8c.js create mode 100644 g2cio_8c_source.html create mode 100644 g2cparams_8c.html create mode 100644 g2cparams_8c.js create mode 100644 g2cparams_8c_source.html create mode 100644 g2cprod_8c.html create mode 100644 g2cprod_8c.js create mode 100644 g2cprod_8c_source.html create mode 100644 g2cutil_8c.html create mode 100644 g2cutil_8c.js create mode 100644 g2cutil_8c_source.html create mode 100644 g2cxml_8c.html create mode 100644 g2cxml_8c.js create mode 100644 g2cxml_8c_source.html create mode 100644 globals_b.html create mode 100644 globals_c.html create mode 100644 globals_d.html create mode 100644 globals_dup.js create mode 100644 globals_e.html create mode 100644 globals_f.html create mode 100644 globals_func.js create mode 100644 globals_func_c.html create mode 100644 globals_func_d.html create mode 100644 globals_func_e.html create mode 100644 globals_func_f.html create mode 100644 globals_func_g.html create mode 100644 globals_func_i.html create mode 100644 globals_func_j.html create mode 100644 globals_func_m.html create mode 100644 globals_func_p.html create mode 100644 globals_func_r.html create mode 100644 globals_func_s.html create mode 100644 globals_func_u.html create mode 100644 globals_g.html create mode 100644 globals_h.html create mode 100644 globals_i.html create mode 100644 globals_j.html create mode 100644 globals_l.html create mode 100644 globals_m.html create mode 100644 globals_n.html create mode 100644 globals_o.html create mode 100644 globals_p.html create mode 100644 globals_r.html create mode 100644 globals_s.html create mode 100644 globals_t.html create mode 100644 globals_u.html create mode 100644 globals_w.html create mode 100644 grib2__int_8h_structg2c__code__table.js create mode 100644 grib2__int_8h_structg2c__dim__info.js create mode 100644 grib2__int_8h_structg2c__entry.js create mode 100644 grib2__int_8h_structg2c__file__info.js create mode 100644 grib2__int_8h_structg2c__message__info.js create mode 100644 grib2__int_8h_structg2c__param.js create mode 100644 grib2__int_8h_structg2c__section3__info.js create mode 100644 grib2__int_8h_structg2c__section4__info.js create mode 100644 grib2__int_8h_structg2c__section5__info.js create mode 100644 grib2__int_8h_structg2c__section6__info.js create mode 100644 grib2__int_8h_structg2c__section__info.js create mode 100644 navtreeindex2.js create mode 100644 navtreeindex3.js create mode 100644 search/all_12.html create mode 100644 search/all_12.js create mode 100644 search/all_13.html create mode 100644 search/all_13.js create mode 100644 search/all_14.html create mode 100644 search/all_14.js create mode 100644 search/all_15.html create mode 100644 search/all_15.js create mode 100644 search/defines_7.html create mode 100644 search/defines_7.js create mode 100644 search/defines_8.html create mode 100644 search/defines_8.js create mode 100644 search/defines_9.html create mode 100644 search/defines_9.js create mode 100644 search/defines_a.html create mode 100644 search/defines_a.js create mode 100644 search/defines_b.html create mode 100644 search/defines_b.js create mode 100644 search/defines_c.html create mode 100644 search/defines_c.js create mode 100644 search/defines_d.html create mode 100644 search/defines_d.js create mode 100644 search/functions_b.html create mode 100644 search/functions_b.js create mode 100644 search/functions_c.html create mode 100644 search/functions_c.js create mode 100644 search/variables_10.html create mode 100644 search/variables_10.js create mode 100644 search/variables_11.html create mode 100644 search/variables_11.js create mode 100644 search/variables_12.html create mode 100644 search/variables_12.js create mode 100644 search/variables_d.html create mode 100644 search/variables_d.js create mode 100644 search/variables_e.html create mode 100644 search/variables_e.js create mode 100644 search/variables_f.html create mode 100644 search/variables_f.js diff --git a/annotated.html b/annotated.html index 380a826e..c0fab24b 100644 --- a/annotated.html +++ b/annotated.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: Data Types List @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -88,8 +88,19 @@
Here are the data types with brief descriptions:
- - + + + + + + + + + + + + +
 CgribfieldStruct for GRIB field
 CgtemplateStruct for GRIB template
 Cg2c_code_tableA GRIB2 code table
 Cg2c_dim_infoKeep information about dimensions defined in section 3
 Cg2c_entryAn entry in a GRIB2 code table
 Cg2c_file_infoThis is the information about each open file
 Cg2c_message_infoThis is the information about each message
 Cg2c_paramAn entry in the table of NOAA abbreviations for GRIB parameters
 Cg2c_section3_infoInformation about Section 3 GRID DEFINITION SECTION
 Cg2c_section4_infoInformation about Section 4 PRODUCT DEFINITION SECTION
 Cg2c_section5_infoInformation about Section 5 DATA REPRESENTATION SECTION
 Cg2c_section6_infoInformation about Section 6 BIT-MAP SECTION
 Cg2c_section_infoInformation about a section 3 through 7 in a GRIB2 message
 CgribfieldStruct for GRIB field
 CgtemplateStruct for GRIB template, returned by getgridtemplate()
@@ -97,9 +108,7 @@ diff --git a/annotated_dup.js b/annotated_dup.js index db022a75..acfd7238 100644 --- a/annotated_dup.js +++ b/annotated_dup.js @@ -1,5 +1,16 @@ var annotated_dup = [ + [ "g2c_code_table", "grib2__int_8h.html#structg2c__code__table", "grib2__int_8h_structg2c__code__table" ], + [ "g2c_dim_info", "grib2__int_8h.html#structg2c__dim__info", "grib2__int_8h_structg2c__dim__info" ], + [ "g2c_entry", "grib2__int_8h.html#structg2c__entry", "grib2__int_8h_structg2c__entry" ], + [ "g2c_file_info", "grib2__int_8h.html#structg2c__file__info", "grib2__int_8h_structg2c__file__info" ], + [ "g2c_message_info", "grib2__int_8h.html#structg2c__message__info", "grib2__int_8h_structg2c__message__info" ], + [ "g2c_param", "grib2__int_8h.html#structg2c__param", "grib2__int_8h_structg2c__param" ], + [ "g2c_section3_info", "grib2__int_8h.html#structg2c__section3__info", "grib2__int_8h_structg2c__section3__info" ], + [ "g2c_section4_info", "grib2__int_8h.html#structg2c__section4__info", "grib2__int_8h_structg2c__section4__info" ], + [ "g2c_section5_info", "grib2__int_8h.html#structg2c__section5__info", "grib2__int_8h_structg2c__section5__info" ], + [ "g2c_section6_info", "grib2__int_8h.html#structg2c__section6__info", "grib2__int_8h_structg2c__section6__info" ], + [ "g2c_section_info", "grib2__int_8h.html#structg2c__section__info", "grib2__int_8h_structg2c__section__info" ], [ "gribfield", "grib2_8h.html#structgribfield", "grib2_8h_structgribfield" ], [ "gtemplate", "grib2__int_8h.html#structgtemplate", "grib2__int_8h_structgtemplate" ] ]; \ No newline at end of file diff --git a/classes.html b/classes.html index c0c83384..b0040bb4 100644 --- a/classes.html +++ b/classes.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: Data Types @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -86,26 +86,18 @@
Data Types
- - - - - - - - - -
  g  
-
gtemplate   
gribfield   
- + +
diff --git a/cmplxpack_8c.html b/cmplxpack_8c.html index c06c96d6..0c720d88 100644 --- a/cmplxpack_8c.html +++ b/cmplxpack_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: cmplxpack.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -197,9 +197,7 @@

diff --git a/cmplxpack_8c_source.html b/cmplxpack_8c_source.html index c0072b1d..5e06ebc2 100644 --- a/cmplxpack_8c_source.html +++ b/cmplxpack_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: cmplxpack.c Source File @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -90,7 +90,7 @@
7 #include "grib2_int.h"
8 
35 void
-
36 cmplxpack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl,
+
36 cmplxpack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl,
37  unsigned char *cpack, g2int *lcpack)
38 {
39  if (idrstmpl[6] == 0) /* No internal missing values */
@@ -104,20 +104,18 @@
47  }
48 
49 }
- - -
void compack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a data field using a complex packing algorithm as defined in the GRIB2 docum...
Definition: compack.c:42
void cmplxpack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a data field using a complex packing algorithm as defined in the GRIB2 docum...
Definition: cmplxpack.c:36
+
void compack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a data field using a complex packing algorithm as defined in the GRIB2 docum...
Definition: compack.c:42
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
Header file with internal function prototypes NCEPLIBS-g2c library.
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
void misspack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This function packs up a data field using a complex packing algorithm as defined in the GRIB2 documen...
Definition: misspack.c:42
+ + diff --git a/compack_8c.html b/compack_8c.html index 768c50ff..1cc2a818 100644 --- a/compack_8c.html +++ b/compack_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: compack.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -187,7 +187,7 @@

Definition at line 42 of file compack.c.

-

References ALOG2, int_power(), mkieee(), pack_gp(), sbit(), and sbits().

+

References ALOG2, int_power(), mkieee(), pack_gp(), sbit(), and sbits().

Referenced by cmplxpack().

@@ -199,9 +199,7 @@

diff --git a/compack_8c_source.html b/compack_8c_source.html index 8ef6d0af..e4f236ea 100644 --- a/compack_8c_source.html +++ b/compack_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: compack.c Source File @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -92,7 +92,7 @@
10 #include "grib2_int.h"
11 
41 void
-
42 compack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl,
+
42 compack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl,
43  unsigned char *cpack, g2int *lcpack)
44 {
45 
@@ -470,24 +470,22 @@
417  /* differencing values */
418  }
419 }
- -
void compack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a data field using a complex packing algorithm as defined in the GRIB2 docum...
Definition: compack.c:42
-
double int_power(double x, g2int y)
Function similar to C pow() power function.
Definition: int_power.c:18
+
void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:180
+
void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:38
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
Header file with internal function prototypes NCEPLIBS-g2c library.
-
void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:114
void mkieee(float *a, g2int *rieee, g2int num)
This subroutine stores a list of real values in 32-bit IEEE floating point format.
Definition: mkieee.c:22
+
double int_power(double x, g2int y)
Function similar to C pow() power function.
Definition: int_power.c:18
int pack_gp(g2int *kfildo, g2int *ic, g2int *nxy, g2int *is523, g2int *minpk, g2int *inc, g2int *missp, g2int *misss, g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov, g2int *ndg, g2int *lx, g2int *ibit, g2int *jbit, g2int *kbit, g2int *novref, g2int *lbitref, g2int *ier)
Determines groups of variable size, but at least of size minpk, the associated max (jmax( )) and min ...
Definition: pack_gp.c:255
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
-
#define ALOG2
ln(2.0)
Definition: grib2_int.h:21
-
void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:38
+
#define ALOG2
ln(2.0)
Definition: grib2_int.h:30
+ + diff --git a/comunpack_8c.html b/comunpack_8c.html index 78587cba..5e51a3eb 100644 --- a/comunpack_8c.html +++ b/comunpack_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: comunpack.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -166,11 +166,11 @@

Program History Log

- + - + - +
Date Programmer Comments
Date Programmer Comments
2002-10-29 Gilbert Initial
2002-10-29 Gilbert Initial
2004-12-16 Gilbert Added test (from Arthur Taylor/MDL) verifying group widths/lengths
2004-12-16 Gilbert Added test (from Arthur Taylor/MDL) verifying group widths/lengths
Parameters
@@ -189,9 +189,9 @@

Definition at line 42 of file comunpack.c.

-

References gbit(), gbits(), int_power(), and rdieee().

+

References gbit(), gbits(), int_power(), LOG, and rdieee().

-

Referenced by g2_unpack7().

+

Referenced by g2c_unpack7_int().

@@ -201,9 +201,7 @@

diff --git a/comunpack_8c_source.html b/comunpack_8c_source.html index 92f2d7c0..b235767b 100644 --- a/comunpack_8c_source.html +++ b/comunpack_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: comunpack.c Source File @@ -26,7 +26,7 @@

@@ -34,10 +34,10 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
- + @@ -92,7 +92,7 @@
8 #include "grib2_int.h"
9 
41 int
-
42 comunpack(unsigned char *cpack, g2int lensec, g2int idrsnum,
+
42 comunpack(unsigned char *cpack, g2int lensec, g2int idrsnum,
43  g2int *idrstmpl, g2int ndpts, float *fld)
44 {
45  g2int nbitsd=0, isign;
@@ -104,310 +104,311 @@
51  float ref, bscale, dscale, rmiss1, rmiss2;
52  g2int totBit, totLen;
53 
-
54  rdieee(idrstmpl, &ref, 1);
-
55  bscale = (float)int_power(2.0, idrstmpl[1]);
-
56  dscale = (float)int_power(10.0, -idrstmpl[2]);
-
57  nbitsgref = idrstmpl[3];
-
58  itype = idrstmpl[4];
-
59  ngroups = idrstmpl[9];
-
60  nbitsgwidth = idrstmpl[11];
-
61  nbitsglen = idrstmpl[15];
-
62  if (idrsnum == 3)
-
63  nbitsd=idrstmpl[17] * 8;
-
64 
-
65  /* Constant field */
-
66  if (ngroups == 0)
-
67  {
-
68  for (j = 0; j < ndpts; j++)
-
69  fld[j] = ref;
-
70  return(0);
-
71  }
-
72 
-
73  iofst = 0;
-
74  ifld = (g2int *)calloc(ndpts, sizeof(g2int));
-
75  gref = (g2int *)calloc(ngroups, sizeof(g2int));
-
76  gwidth = (g2int *)calloc(ngroups, sizeof(g2int));
-
77 
-
78  /* Get missing values, if supplied */
-
79  if (idrstmpl[6] == 1)
-
80  {
-
81  if (itype == 0)
-
82  rdieee(idrstmpl+7,&rmiss1,1);
-
83  else
-
84  rmiss1 = (float)idrstmpl[7];
-
85  }
-
86  if (idrstmpl[6] == 2)
-
87  {
-
88  if (itype == 0)
-
89  {
-
90  rdieee(idrstmpl+7,&rmiss1,1);
-
91  rdieee(idrstmpl+8,&rmiss2,1);
-
92  }
-
93  else {
-
94  rmiss1 = (float)idrstmpl[7];
-
95  rmiss2 = (float)idrstmpl[8];
-
96  }
-
97  }
-
98 
-
99  /* Extract Spatial differencing values, if using DRS Template 5.3 */
-
100  if (idrsnum == 3)
-
101  {
-
102  if (nbitsd != 0)
-
103  {
-
104  /* wne mistake here shoujld be unsigned int */
-
105  gbit(cpack, &ival1, iofst, nbitsd);
-
106  iofst = iofst + nbitsd;
-
107  if (idrstmpl[16] == 2)
-
108  {
-
109  /* wne mistake here shoujld be unsigned int */
-
110  gbit(cpack, &ival2, iofst, nbitsd);
-
111  iofst = iofst + nbitsd;
-
112  }
-
113  gbit(cpack, &isign, iofst, 1);
-
114  iofst = iofst + 1;
-
115  gbit(cpack, &minsd, iofst, nbitsd - 1);
-
116  iofst = iofst + nbitsd - 1;
-
117  if (isign == 1)
-
118  minsd = -minsd;
-
119  }
-
120  else {
-
121  ival1 = 0;
-
122  ival2 = 0;
-
123  minsd = 0;
-
124  }
-
125  }
-
126 
-
127  /* Extract Each Group's reference value */
-
128  if (nbitsgref != 0)
-
129  {
-
130  gbits(cpack, gref, iofst, nbitsgref, 0, ngroups);
-
131  itemp = nbitsgref * ngroups;
-
132  iofst = iofst + itemp;
-
133  if (itemp % 8 != 0)
-
134  iofst = iofst + (8 - (itemp % 8));
-
135  }
-
136  else
-
137  {
-
138  for (j = 0; j < ngroups; j++)
-
139  gref[j] = 0;
-
140  }
-
141 
-
142  /* Extract Each Group's bit width */
-
143  if (nbitsgwidth != 0) {
-
144  gbits(cpack, gwidth, iofst, nbitsgwidth, 0, ngroups);
-
145  itemp = nbitsgwidth * ngroups;
-
146  iofst = iofst + itemp;
-
147  if (itemp % 8 != 0)
-
148  iofst = iofst + (8 - (itemp % 8));
-
149  }
-
150  else {
-
151  for (j = 0; j < ngroups; j++)
-
152  gwidth[j] = 0;
-
153  }
-
154 
-
155  for (j = 0; j < ngroups; j++)
-
156  gwidth[j] = gwidth[j] + idrstmpl[10];
-
157 
-
158  /* Extract Each Group's length (number of values in each group) */
-
159  glen = calloc(ngroups, sizeof(g2int));
-
160  if (nbitsglen != 0)
-
161  {
-
162  gbits(cpack, glen, iofst, nbitsglen, 0, ngroups);
-
163  itemp = nbitsglen * ngroups;
-
164  iofst = iofst + itemp;
-
165  if (itemp % 8 != 0)
-
166  iofst = iofst + (8 - (itemp % 8));
-
167  }
-
168  else
-
169  {
-
170  for (j = 0; j < ngroups; j++)
-
171  glen[j] = 0;
-
172  }
-
173  for (j = 0;j<ngroups;j++)
-
174  glen[j] = (glen[j]*idrstmpl[13])+idrstmpl[12];
-
175  glen[ngroups-1] = idrstmpl[14];
-
176 
-
177  /* Test to see if the group widths and lengths are consistent
-
178  * with number of values, and length of section 7. */
-
179  totBit = 0;
-
180  totLen = 0;
-
181  for (j = 0; j < ngroups; j++)
-
182  {
-
183  totBit += (gwidth[j] * glen[j]);
-
184  totLen += glen[j];
-
185  }
-
186  if (totLen != ndpts)
-
187  return 1;
-
188  if (totBit / 8. > lensec)
+
54  LOG((3, "comunpack lensec %ld idrsnum %ld ndpts %ld", lensec, idrsnum, ndpts));
+
55 
+
56  rdieee(idrstmpl, &ref, 1);
+
57  bscale = (float)int_power(2.0, idrstmpl[1]);
+
58  dscale = (float)int_power(10.0, -idrstmpl[2]);
+
59  nbitsgref = idrstmpl[3];
+
60  itype = idrstmpl[4];
+
61  ngroups = idrstmpl[9];
+
62  nbitsgwidth = idrstmpl[11];
+
63  nbitsglen = idrstmpl[15];
+
64  if (idrsnum == 3)
+
65  nbitsd=idrstmpl[17] * 8;
+
66 
+
67  /* Constant field */
+
68  if (ngroups == 0)
+
69  {
+
70  for (j = 0; j < ndpts; j++)
+
71  fld[j] = ref;
+
72  return(0);
+
73  }
+
74 
+
75  iofst = 0;
+
76  ifld = (g2int *)calloc(ndpts, sizeof(g2int));
+
77  gref = (g2int *)calloc(ngroups, sizeof(g2int));
+
78  gwidth = (g2int *)calloc(ngroups, sizeof(g2int));
+
79 
+
80  /* Get missing values, if supplied */
+
81  if (idrstmpl[6] == 1)
+
82  {
+
83  if (itype == 0)
+
84  rdieee(idrstmpl+7,&rmiss1,1);
+
85  else
+
86  rmiss1 = (float)idrstmpl[7];
+
87  }
+
88  if (idrstmpl[6] == 2)
+
89  {
+
90  if (itype == 0)
+
91  {
+
92  rdieee(idrstmpl+7,&rmiss1,1);
+
93  rdieee(idrstmpl+8,&rmiss2,1);
+
94  }
+
95  else {
+
96  rmiss1 = (float)idrstmpl[7];
+
97  rmiss2 = (float)idrstmpl[8];
+
98  }
+
99  }
+
100 
+
101  /* Extract Spatial differencing values, if using DRS Template 5.3 */
+
102  if (idrsnum == 3)
+
103  {
+
104  if (nbitsd != 0)
+
105  {
+
106  /* wne mistake here shoujld be unsigned int */
+
107  gbit(cpack, &ival1, iofst, nbitsd);
+
108  iofst = iofst + nbitsd;
+
109  if (idrstmpl[16] == 2)
+
110  {
+
111  /* wne mistake here shoujld be unsigned int */
+
112  gbit(cpack, &ival2, iofst, nbitsd);
+
113  iofst = iofst + nbitsd;
+
114  }
+
115  gbit(cpack, &isign, iofst, 1);
+
116  iofst = iofst + 1;
+
117  gbit(cpack, &minsd, iofst, nbitsd - 1);
+
118  iofst = iofst + nbitsd - 1;
+
119  if (isign == 1)
+
120  minsd = -minsd;
+
121  }
+
122  else {
+
123  ival1 = 0;
+
124  ival2 = 0;
+
125  minsd = 0;
+
126  }
+
127  }
+
128 
+
129  /* Extract Each Group's reference value */
+
130  if (nbitsgref != 0)
+
131  {
+
132  gbits(cpack, gref, iofst, nbitsgref, 0, ngroups);
+
133  itemp = nbitsgref * ngroups;
+
134  iofst = iofst + itemp;
+
135  if (itemp % 8 != 0)
+
136  iofst = iofst + (8 - (itemp % 8));
+
137  }
+
138  else
+
139  {
+
140  for (j = 0; j < ngroups; j++)
+
141  gref[j] = 0;
+
142  }
+
143 
+
144  /* Extract Each Group's bit width */
+
145  if (nbitsgwidth != 0) {
+
146  gbits(cpack, gwidth, iofst, nbitsgwidth, 0, ngroups);
+
147  itemp = nbitsgwidth * ngroups;
+
148  iofst = iofst + itemp;
+
149  if (itemp % 8 != 0)
+
150  iofst = iofst + (8 - (itemp % 8));
+
151  }
+
152  else {
+
153  for (j = 0; j < ngroups; j++)
+
154  gwidth[j] = 0;
+
155  }
+
156 
+
157  for (j = 0; j < ngroups; j++)
+
158  gwidth[j] = gwidth[j] + idrstmpl[10];
+
159 
+
160  /* Extract Each Group's length (number of values in each group) */
+
161  glen = calloc(ngroups, sizeof(g2int));
+
162  if (nbitsglen != 0)
+
163  {
+
164  gbits(cpack, glen, iofst, nbitsglen, 0, ngroups);
+
165  itemp = nbitsglen * ngroups;
+
166  iofst = iofst + itemp;
+
167  if (itemp % 8 != 0)
+
168  iofst = iofst + (8 - (itemp % 8));
+
169  }
+
170  else
+
171  {
+
172  for (j = 0; j < ngroups; j++)
+
173  glen[j] = 0;
+
174  }
+
175  for (j = 0;j<ngroups;j++)
+
176  glen[j] = (glen[j]*idrstmpl[13])+idrstmpl[12];
+
177  glen[ngroups-1] = idrstmpl[14];
+
178 
+
179  /* Test to see if the group widths and lengths are consistent
+
180  * with number of values, and length of section 7. */
+
181  totBit = 0;
+
182  totLen = 0;
+
183  for (j = 0; j < ngroups; j++)
+
184  {
+
185  totBit += (gwidth[j] * glen[j]);
+
186  totLen += glen[j];
+
187  }
+
188  if (totLen != ndpts)
189  return 1;
-
190 
-
191  /* For each group, unpack data values */
-
192  if (idrstmpl[6] == 0)
-
193  { /* no missing values */
-
194  n = 0;
-
195  for (j = 0; j < ngroups; j++)
-
196  {
-
197  if (gwidth[j] != 0)
-
198  {
-
199  gbits(cpack, ifld + n, iofst, gwidth[j], 0, glen[j]);
-
200  for (k = 0; k < glen[j]; k++)
-
201  {
-
202  ifld[n] = ifld[n] + gref[j];
-
203  n = n + 1;
-
204  }
-
205  }
-
206  else
-
207  {
-
208  for (l = n; l < n + glen[j]; l++)
-
209  ifld[l] = gref[j];
-
210  n = n + glen[j];
-
211  }
-
212  iofst = iofst + (gwidth[j] * glen[j]);
-
213  }
-
214  }
-
215  else if (idrstmpl[6] == 1 || idrstmpl[6] == 2)
-
216  {
-
217  /* missing values included */
-
218  ifldmiss = malloc(ndpts * sizeof(g2int));
-
219  for (j = 0; j < ndpts; j++)
-
220  ifldmiss[j] = 0;
-
221  n = 0;
-
222  non = 0;
-
223  for (j = 0; j < ngroups; j++)
-
224  {
-
225  if (gwidth[j] != 0)
-
226  {
-
227  msng1 = (g2int)int_power(2.0, gwidth[j]) - 1;
-
228  msng2 = msng1 - 1;
-
229  gbits(cpack, ifld + n, iofst, gwidth[j], 0, glen[j]);
-
230  iofst = iofst + (gwidth[j] * glen[j]);
-
231  for (k = 0; k < glen[j]; k++)
-
232  {
-
233  if (ifld[n] == msng1)
-
234  ifldmiss[n] = 1;
-
235  else if (idrstmpl[6] == 2 && ifld[n] == msng2)
-
236  ifldmiss[n] = 2;
-
237  else {
-
238  ifldmiss[n] = 0;
-
239  ifld[non++] = ifld[n] + gref[j];
-
240  }
-
241  n++;
-
242  }
-
243  }
-
244  else
-
245  {
-
246  msng1 = (g2int)int_power(2.0, nbitsgref) -1;
-
247  msng2 = msng1 - 1;
-
248  if (gref[j] == msng1)
-
249  {
-
250  for (l = n; l < n + glen[j]; l++)
-
251  ifldmiss[l] = 1;
-
252  }
-
253  else if (idrstmpl[6] == 2 && gref[j] == msng2)
-
254  {
-
255  for (l = n; l < n + glen[j]; l++)
-
256  ifldmiss[l] = 2;
-
257  }
-
258  else
-
259  {
-
260  for (l = n; l < n + glen[j]; l++)
-
261  ifldmiss[l] = 0;
-
262  for (l = non; l < non + glen[j]; l++)
-
263  ifld[l] = gref[j];
-
264  non += glen[j];
-
265  }
-
266  n = n + glen[j];
-
267  }
-
268  }
-
269  }
-
270 
-
271  if (gref)
-
272  free(gref);
-
273  if (gwidth)
-
274  free(gwidth);
-
275  if (glen)
-
276  free(glen);
-
277 
-
278  /* If using spatial differences, add overall min value, and sum up recursively */
-
279  if (idrsnum == 3)
-
280  { /* spatial differencing */
-
281  if (idrstmpl[16] == 1)
-
282  { /* first order */
-
283  ifld[0] = ival1;
-
284  if (idrstmpl[6] == 0)
-
285  itemp = ndpts; /* no missing values */
-
286  else
-
287  itemp = non;
-
288  for (n = 1; n < itemp; n++)
-
289  {
-
290  ifld[n] = ifld[n] + minsd;
-
291  ifld[n] = ifld[n] + ifld[n - 1];
-
292  }
-
293  }
-
294  else if (idrstmpl[16] == 2)
-
295  { /* second order */
-
296  ifld[0] = ival1;
-
297  ifld[1] = ival2;
-
298  if (idrstmpl[6] == 0)
-
299  itemp = ndpts; /* no missing values */
-
300  else
-
301  itemp = non;
-
302  for (n = 2; n < itemp; n++)
-
303  {
-
304  ifld[n] = ifld[n] + minsd;
-
305  ifld[n] = ifld[n] + (2 * ifld[n - 1]) - ifld[n - 2];
-
306  }
-
307  }
-
308  }
-
309 
-
310  /* Scale data back to original form */
-
311  if (idrstmpl[6] == 0)
-
312  { /* no missing values */
-
313  for (n = 0; n <ndpts; n++)
-
314  {
-
315  fld[n] = (((float)ifld[n] * bscale) + ref) * dscale;
-
316  }
-
317  }
-
318  else if (idrstmpl[6] == 1 || idrstmpl[6] == 2)
-
319  {
-
320  /* missing values included */
-
321  non = 0;
-
322  for (n = 0; n < ndpts; n++)
-
323  {
-
324  if (ifldmiss[n] == 0)
-
325  {
-
326  fld[n] = (((float)ifld[non++] * bscale) + ref) * dscale;
-
327  }
-
328  else if (ifldmiss[n] == 1)
-
329  fld[n] = rmiss1;
-
330  else if (ifldmiss[n] == 2)
-
331  fld[n] = rmiss2;
-
332  }
-
333  if (ifldmiss)
-
334  free(ifldmiss);
-
335  }
-
336 
-
337  if (ifld)
-
338  free(ifld);
-
339 
-
340  return 0;
-
341 }
- - -
void rdieee(g2int *rieee, float *a, g2int num)
This subroutine reads a list of real values in 32-bit IEEE floating point format.
Definition: rdieee.c:21
-
double int_power(double x, g2int y)
Function similar to C pow() power function.
Definition: int_power.c:18
-
Header file with internal function prototypes NCEPLIBS-g2c library.
-
void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits)
Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
Definition: gbits.c:20
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
+
190  if (totBit / 8. > lensec)
+
191  return 1;
+
192 
+
193  /* For each group, unpack data values */
+
194  if (idrstmpl[6] == 0)
+
195  { /* no missing values */
+
196  n = 0;
+
197  for (j = 0; j < ngroups; j++)
+
198  {
+
199  if (gwidth[j] != 0)
+
200  {
+
201  gbits(cpack, ifld + n, iofst, gwidth[j], 0, glen[j]);
+
202  for (k = 0; k < glen[j]; k++)
+
203  {
+
204  ifld[n] = ifld[n] + gref[j];
+
205  n = n + 1;
+
206  }
+
207  }
+
208  else
+
209  {
+
210  for (l = n; l < n + glen[j]; l++)
+
211  ifld[l] = gref[j];
+
212  n = n + glen[j];
+
213  }
+
214  iofst = iofst + (gwidth[j] * glen[j]);
+
215  }
+
216  }
+
217  else if (idrstmpl[6] == 1 || idrstmpl[6] == 2)
+
218  {
+
219  /* missing values included */
+
220  ifldmiss = malloc(ndpts * sizeof(g2int));
+
221  for (j = 0; j < ndpts; j++)
+
222  ifldmiss[j] = 0;
+
223  n = 0;
+
224  non = 0;
+
225  for (j = 0; j < ngroups; j++)
+
226  {
+
227  if (gwidth[j] != 0)
+
228  {
+
229  msng1 = (g2int)int_power(2.0, gwidth[j]) - 1;
+
230  msng2 = msng1 - 1;
+
231  gbits(cpack, ifld + n, iofst, gwidth[j], 0, glen[j]);
+
232  iofst = iofst + (gwidth[j] * glen[j]);
+
233  for (k = 0; k < glen[j]; k++)
+
234  {
+
235  if (ifld[n] == msng1)
+
236  ifldmiss[n] = 1;
+
237  else if (idrstmpl[6] == 2 && ifld[n] == msng2)
+
238  ifldmiss[n] = 2;
+
239  else {
+
240  ifldmiss[n] = 0;
+
241  ifld[non++] = ifld[n] + gref[j];
+
242  }
+
243  n++;
+
244  }
+
245  }
+
246  else
+
247  {
+
248  msng1 = (g2int)int_power(2.0, nbitsgref) -1;
+
249  msng2 = msng1 - 1;
+
250  if (gref[j] == msng1)
+
251  {
+
252  for (l = n; l < n + glen[j]; l++)
+
253  ifldmiss[l] = 1;
+
254  }
+
255  else if (idrstmpl[6] == 2 && gref[j] == msng2)
+
256  {
+
257  for (l = n; l < n + glen[j]; l++)
+
258  ifldmiss[l] = 2;
+
259  }
+
260  else
+
261  {
+
262  for (l = n; l < n + glen[j]; l++)
+
263  ifldmiss[l] = 0;
+
264  for (l = non; l < non + glen[j]; l++)
+
265  ifld[l] = gref[j];
+
266  non += glen[j];
+
267  }
+
268  n = n + glen[j];
+
269  }
+
270  }
+
271  }
+
272 
+
273  if (gref)
+
274  free(gref);
+
275  if (gwidth)
+
276  free(gwidth);
+
277  if (glen)
+
278  free(glen);
+
279 
+
280  /* If using spatial differences, add overall min value, and sum up recursively */
+
281  if (idrsnum == 3)
+
282  { /* spatial differencing */
+
283  if (idrstmpl[16] == 1)
+
284  { /* first order */
+
285  ifld[0] = ival1;
+
286  if (idrstmpl[6] == 0)
+
287  itemp = ndpts; /* no missing values */
+
288  else
+
289  itemp = non;
+
290  for (n = 1; n < itemp; n++)
+
291  {
+
292  ifld[n] = ifld[n] + minsd;
+
293  ifld[n] = ifld[n] + ifld[n - 1];
+
294  }
+
295  }
+
296  else if (idrstmpl[16] == 2)
+
297  { /* second order */
+
298  ifld[0] = ival1;
+
299  ifld[1] = ival2;
+
300  if (idrstmpl[6] == 0)
+
301  itemp = ndpts; /* no missing values */
+
302  else
+
303  itemp = non;
+
304  for (n = 2; n < itemp; n++)
+
305  {
+
306  ifld[n] = ifld[n] + minsd;
+
307  ifld[n] = ifld[n] + (2 * ifld[n - 1]) - ifld[n - 2];
+
308  }
+
309  }
+
310  }
+
311 
+
312  /* Scale data back to original form */
+
313  if (idrstmpl[6] == 0)
+
314  { /* no missing values */
+
315  for (n = 0; n <ndpts; n++)
+
316  {
+
317  fld[n] = (((float)ifld[n] * bscale) + ref) * dscale;
+
318  }
+
319  }
+
320  else if (idrstmpl[6] == 1 || idrstmpl[6] == 2)
+
321  {
+
322  /* missing values included */
+
323  non = 0;
+
324  for (n = 0; n < ndpts; n++)
+
325  {
+
326  if (ifldmiss[n] == 0)
+
327  {
+
328  fld[n] = (((float)ifld[non++] * bscale) + ref) * dscale;
+
329  }
+
330  else if (ifldmiss[n] == 1)
+
331  fld[n] = rmiss1;
+
332  else if (ifldmiss[n] == 2)
+
333  fld[n] = rmiss2;
+
334  }
+
335  if (ifldmiss)
+
336  free(ifldmiss);
+
337  }
+
338 
+
339  if (ifld)
+
340  free(ifld);
+
341 
+
342  return 0;
+
343 }
int comunpack(unsigned char *cpack, g2int lensec, g2int idrsnum, g2int *idrstmpl, g2int ndpts, float *fld)
This subroutine unpacks a data field that was packed using a complex packing algorithm as defined in ...
Definition: comunpack.c:42
+
void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits)
Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
Definition: gbits.c:20
void gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits, g2int nskip, g2int n)
Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
Definition: gbits.c:57
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
+
Header file with internal function prototypes NCEPLIBS-g2c library.
+
double int_power(double x, g2int y)
Function similar to C pow() power function.
Definition: int_power.c:18
+
#define LOG(e)
Ignore logging to stdout.
Definition: grib2_int.h:417
+
void rdieee(g2int *rieee, float *a, g2int num)
This subroutine reads a list of real values in 32-bit IEEE floating point format.
Definition: rdieee.c:21
+ + diff --git a/dec__jpeg2000_8c.html b/dec__jpeg2000_8c.html index 14ffb866..cf127fd1 100644 --- a/dec__jpeg2000_8c.html +++ b/dec__jpeg2000_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: dec_jpeg2000.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -104,11 +104,27 @@ int dec_jpeg2000 (char *injpc, g2int bufsize, g2int *outfld)  This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software. More...
  +int g2c_dec_jpeg2000 (char *injpc, size_t bufsize, int *outfld) + This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software. More...
+  +static int int_dec_jpeg2000 (char *injpc, g2int bufsize, void *outfld, int out_is_g2int) + This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software. More...

Detailed Description

Decodes JPEG2000 code stream.

Author
Stephen Gilbert
-
Date
2002-12-02
+
Date
2002-12-02
+

+Program History Log

+ + + + + + + +
Date Programmer Comments
2002-12-02 Gilbert Initial
2022-04-15 Hartnett Converted to use jas_ instead of jpc_ functions.

Definition in file dec_jpeg2000.c.

Function Documentation

@@ -145,21 +161,141 @@

This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software.

-

-Program History Log

- - - - - - - +
Parameters
+
Date Programmer Comments
2002-12-02 Gilbert Initial
2022-04-15 Hartnett Converted to use jas_ instead of jpc_ functions.
+ + + +
injpcPointer to buffer that holds the input JPEG2000 code stream.
bufsizeLength (in bytes) of the buffer that holds the input JPEG2000 code stream.
outfldPointer to g2int array, already allocated, that gets the unpacked data.
+

+
+
Returns
+
+
Author
Stephen Gilbert, Ed Hartnett
+ +

Definition at line 201 of file dec_jpeg2000.c.

+ +

References int_dec_jpeg2000().

+ +

Referenced by jpcunpack_int().

+ + + + +

◆ g2c_dec_jpeg2000()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int g2c_dec_jpeg2000 (char * injpc,
size_t bufsize,
int * outfld 
)
+
+ +

This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software.

+
Parameters
+ + + + +
injpcPointer to buffer that holds the input JPEG2000 code stream.
bufsizeLength (in bytes) of the buffer that holds the input JPEG2000 code stream.
outfldPointer to int array, already allocated, that gets the unpacked data.
+
+
+
Returns
+
+
Author
Ed Hartnett
+
Date
9/7/22
+ +

Definition at line 174 of file dec_jpeg2000.c.

+ +

References int_dec_jpeg2000().

+ +
+
+ +

◆ int_dec_jpeg2000()

+ +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static int int_dec_jpeg2000 (char * injpc,
g2int bufsize,
void * outfld,
int out_is_g2int 
)
+
+static
+
+ +

This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software.

Parameters
- - - + + + +
injpcInput JPEG2000 code stream.
bufsizeLength (in bytes) of the input JPEG2000 code stream.
outfldOutput matrix of grayscale image values.
injpcPointer to buffer that holds the input JPEG2000 code stream.
bufsizeLength (in bytes) of the buffer that holds the input JPEG2000 code stream.
outfldPointer to either int or g2int array, already allocated, that gets the unpacked data.
out_is_g2intNon-zero if the output array is of type g2int (i.e. 64-bit ints), zero if output is an int array (32-bits).
@@ -172,13 +308,15 @@

Author
Stephen Gilbert
Date
2002-12-02
-
Author
Ed Hartnett
+
Author
Ed Hartnett
+
+Eric Engle
-

Definition at line 38 of file dec_jpeg2000.c.

+

Definition at line 44 of file dec_jpeg2000.c.

-

References G2_JASPER_DECODE, G2_JASPER_DECODE_COLOR, G2_JASPER_INIT, and G2C_JASPER_JPEG_FORMAT_NAME.

+

References G2_JASPER_DECODE, G2_JASPER_DECODE_COLOR, G2_JASPER_INIT, G2C_JASPER_JPEG_FORMAT_NAME, G2C_JASPER_MAX_MEM, and LOG.

-

Referenced by jpcunpack_int().

+

Referenced by dec_jpeg2000(), and g2c_dec_jpeg2000().

@@ -188,9 +326,7 @@

diff --git a/dec__jpeg2000_8c.js b/dec__jpeg2000_8c.js index c9406b8c..fc5e335d 100644 --- a/dec__jpeg2000_8c.js +++ b/dec__jpeg2000_8c.js @@ -1,4 +1,6 @@ var dec__jpeg2000_8c = [ - [ "dec_jpeg2000", "dec__jpeg2000_8c.html#aecc47ef133bb090df718275d41098613", null ] + [ "dec_jpeg2000", "dec__jpeg2000_8c.html#aecc47ef133bb090df718275d41098613", null ], + [ "g2c_dec_jpeg2000", "dec__jpeg2000_8c.html#a20c41af558ecb88ae8a6015b9361914e", null ], + [ "int_dec_jpeg2000", "dec__jpeg2000_8c.html#ac822263ee9732d7603f242a848888ed9", null ] ]; \ No newline at end of file diff --git a/dec__jpeg2000_8c_source.html b/dec__jpeg2000_8c_source.html index 44dfaf66..134a9157 100644 --- a/dec__jpeg2000_8c_source.html +++ b/dec__jpeg2000_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: dec_jpeg2000.c Source File @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -87,122 +87,151 @@
Go to the documentation of this file.
1 
-
6 #include <stdio.h>
-
7 #include <stdlib.h>
-
8 #include <string.h>
-
9 #include "grib2_int.h"
-
10 #include "jasper/jasper.h"
-
11 
-
37 int
-
38 dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld)
-
39 {
-
40  g2int i, j, k;
-
41  jas_image_t *image = NULL;
-
42  jas_stream_t *jpcstream;
-
43  jas_image_cmpt_t *pcmpt;
-
44  char *opts = NULL;
-
45  jas_matrix_t *data;
-
46  int fmt;
-
47 
-
48  /* Initialize Jasper. */
-
49 #ifdef JASPER3
-
50  jas_conf_clear();
-
51  /* static jas_std_allocator_t allocator; */
-
52  /* jas_std_allocator_init(&allocator); */
-
53  /* jas_conf_set_allocator(JAS_CAST(jas_std_allocator_t *, &allocator)); */
-
54  jas_conf_set_max_mem_usage(10000000);
-
55  jas_conf_set_multithread(true);
-
56  if (jas_init_library())
-
57  return G2_JASPER_INIT;
-
58  if (jas_init_thread())
-
59  return G2_JASPER_INIT;
-
60 #else
-
61  if (jas_init())
-
62  return G2_JASPER_INIT;
-
63 #endif /* JASPER3 */
-
64 
-
65  /* Create jas_stream_t containing input JPEG200 codestream in
-
66  * memory. */
-
67  jpcstream = jas_stream_memopen(injpc, bufsize);
-
68 
-
69  /* Get jasper ID of JPEG encoder. */
-
70  fmt = jas_image_strtofmt(G2C_JASPER_JPEG_FORMAT_NAME);
-
71 
-
72  /* Decode JPEG200 codestream into jas_image_t structure. */
-
73  if (!(image = jas_image_decode(jpcstream, fmt, opts)))
-
74  return G2_JASPER_DECODE;
-
75 
-
76  pcmpt = image->cmpts_[0];
-
77  /*
-
78  printf(" SAGOUT DECODE:\n");
-
79  printf(" tlx %d \n", image->tlx_);
-
80  printf(" tly %d \n", image->tly_);
-
81  printf(" brx %d \n", image->brx_);
-
82  printf(" bry %d \n", image->bry_);
-
83  printf(" numcmpts %d \n", image->numcmpts_);
-
84  printf(" maxcmpts %d \n", image->maxcmpts_);
-
85  printf(" colorspace %d \n", image->clrspc_);
-
86  printf(" inmem %d \n", image->inmem_);
-
87  printf(" COMPONENT:\n");
-
88  printf(" tlx %d \n", pcmpt->tlx_);
-
89  printf(" tly %d \n", pcmpt->tly_);
-
90  printf(" hstep %d \n", pcmpt->hstep_);
-
91  printf(" vstep %d \n", pcmpt->vstep_);
-
92  printf(" width %d \n", pcmpt->width_);
-
93  printf(" height %d \n", pcmpt->height_);
-
94  printf(" prec %d \n", pcmpt->prec_);
-
95  printf(" sgnd %d \n", pcmpt->sgnd_);
-
96  printf(" cps %d \n", pcmpt->cps_);
-
97  printf(" type %d \n", pcmpt->type_);
-
98  */
-
99 
-
100  /* Expecting jpeg2000 image to be grayscale only. No color components. */
-
101  if (image->numcmpts_ != 1)
-
102  return G2_JASPER_DECODE_COLOR;
-
103 
-
104  /* Create a data matrix of grayscale image values decoded from the
-
105  * jpeg2000 codestream. */
-
106  data = jas_matrix_create(jas_image_height(image), jas_image_width(image));
-
107  jas_image_readcmpt(image, 0, 0, 0, jas_image_width(image),
-
108  jas_image_height(image), data);
-
109 
-
110  /* Copy data matrix to output integer array. */
-
111  k = 0;
-
112  for (i = 0; i < pcmpt->height_; i++)
-
113  for (j = 0; j < pcmpt->width_; j++)
-
114  outfld[k++] = data->rows_[i][j];
-
115 
-
116  /* Clean up JasPer work structures. */
-
117  jas_matrix_destroy(data);
-
118  jas_stream_close(jpcstream);
-
119  jas_image_destroy(image);
-
120 
-
121  /* Finalize jasper. */
-
122 #ifdef JASPER3
-
123  jas_cleanup_thread();
-
124  jas_cleanup_library();
-
125 #else
-
126  jas_cleanup();
-
127 #endif /* JASPER3 */
-
128 
-
129  return 0;
-
130 }
+
12 #include <stdio.h>
+
13 #include <stdlib.h>
+
14 #include <string.h>
+
15 #include "grib2_int.h"
+
16 #include "jasper/jasper.h"
+
17 
+
43 static int
+
44 int_dec_jpeg2000(char *injpc, g2int bufsize, void *outfld, int out_is_g2int)
+
45 {
+
46  g2int i, j, k;
+
47  jas_image_t *image = NULL;
+
48  jas_stream_t *jpcstream;
+
49  jas_image_cmpt_t *pcmpt;
+
50  char *opts = NULL;
+
51  jas_matrix_t *data;
+
52  int fmt;
+
53 
+
54  LOG((3, "int_dec_jpeg2000 bufsize %ld out_is_g2int %d", bufsize, out_is_g2int));
+
55 
+
56  /* Initialize Jasper. */
+
57 #ifdef JASPER3
+
58  jas_conf_clear();
+
59  /* static jas_std_allocator_t allocator; */
+
60  /* jas_std_allocator_init(&allocator); */
+
61  /* jas_conf_set_allocator(JAS_CAST(jas_std_allocator_t *, &allocator)); */
+
62  jas_conf_set_max_mem_usage(G2C_JASPER_MAX_MEM);
+
63  jas_conf_set_multithread(true);
+
64  if (jas_init_library())
+
65  return G2_JASPER_INIT;
+
66  if (jas_init_thread())
+
67  return G2_JASPER_INIT;
+
68 #else
+
69  if (jas_init())
+
70  return G2_JASPER_INIT;
+
71 #endif /* JASPER3 */
+
72 
+
73  /* Create jas_stream_t containing input JPEG200 codestream in
+
74  * memory. */
+
75  jpcstream = jas_stream_memopen(injpc, bufsize);
+
76 
+
77  /* Get jasper ID of JPEG encoder. */
+
78  fmt = jas_image_strtofmt(G2C_JASPER_JPEG_FORMAT_NAME);
+
79 
+
80  /* Decode JPEG200 codestream into jas_image_t structure. */
+
81  if (!(image = jas_image_decode(jpcstream, fmt, opts)))
+
82  return G2_JASPER_DECODE;
+
83 
+
84  pcmpt = image->cmpts_[0];
+
85  /*
+
86  printf(" SAGOUT DECODE:\n");
+
87  printf(" tlx %d \n", image->tlx_);
+
88  printf(" tly %d \n", image->tly_);
+
89  printf(" brx %d \n", image->brx_);
+
90  printf(" bry %d \n", image->bry_);
+
91  printf(" numcmpts %d \n", image->numcmpts_);
+
92  printf(" maxcmpts %d \n", image->maxcmpts_);
+
93  printf(" colorspace %d \n", image->clrspc_);
+
94  printf(" inmem %d \n", image->inmem_);
+
95  printf(" COMPONENT:\n");
+
96  printf(" tlx %d \n", pcmpt->tlx_);
+
97  printf(" tly %d \n", pcmpt->tly_);
+
98  printf(" hstep %d \n", pcmpt->hstep_);
+
99  printf(" vstep %d \n", pcmpt->vstep_);
+
100  printf(" width %d \n", pcmpt->width_);
+
101  printf(" height %d \n", pcmpt->height_);
+
102  printf(" prec %d \n", pcmpt->prec_);
+
103  printf(" sgnd %d \n", pcmpt->sgnd_);
+
104  printf(" cps %d \n", pcmpt->cps_);
+
105  printf(" type %d \n", pcmpt->type_);
+
106  */
+
107 
+
108  /* Expecting jpeg2000 image to be grayscale only. No color components. */
+
109  if (image->numcmpts_ != 1)
+
110  return G2_JASPER_DECODE_COLOR;
+
111 
+
112  /* Create a data matrix of grayscale image values decoded from the
+
113  * jpeg2000 codestream. */
+
114  data = jas_matrix_create(jas_image_height(image), jas_image_width(image));
+
115  jas_image_readcmpt(image, 0, 0, 0, jas_image_width(image),
+
116  jas_image_height(image), data);
+
117 
+
118 
+
119  LOG((3, "pcmpt->height_ %d pcmpt->width_ %d", pcmpt->height_, pcmpt->width_));
+
120 
+
121  /* Copy data matrix to output integer array. */
+
122  k = 0;
+
123  if (out_is_g2int)
+
124  {
+
125  for (i = 0; i < pcmpt->height_; i++)
+
126  for (j = 0; j < pcmpt->width_; j++)
+
127  ((g2int *)outfld)[k++] = data->rows_[i][j];
+
128  }
+
129  else
+
130  {
+
131  for (i = 0; i < pcmpt->height_; i++)
+
132  for (j = 0; j < pcmpt->width_; j++)
+
133  ((int *)outfld)[k++] = data->rows_[i][j];
+
134  }
+
135 
+
136  /* Clean up JasPer work structures. */
+
137  jas_matrix_destroy(data);
+
138  jas_stream_close(jpcstream);
+
139  jas_image_destroy(image);
+
140 
+
141  /* Finalize jasper. */
+
142 #ifdef JASPER3
+
143  jas_cleanup_thread();
+
144  jas_cleanup_library();
+
145 #else
+
146  jas_cleanup();
+
147 #endif /* JASPER3 */
+
148 
+
149  return 0;
+
150 }
+
151 
+
173 int
+
174 g2c_dec_jpeg2000(char *injpc, size_t bufsize, int *outfld)
+
175 {
+
176  return int_dec_jpeg2000(injpc, bufsize, outfld, 0);
+
177 }
+
178 
+
200 int
+
201 dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld)
+
202 {
+
203  return int_dec_jpeg2000(injpc, bufsize, outfld, 1);
+
204 }
+
205 
+
int g2c_dec_jpeg2000(char *injpc, size_t bufsize, int *outfld)
This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i....
Definition: dec_jpeg2000.c:174
+
static int int_dec_jpeg2000(char *injpc, g2int bufsize, void *outfld, int out_is_g2int)
This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i....
Definition: dec_jpeg2000.c:44
+
int dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld)
This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i....
Definition: dec_jpeg2000.c:201
+
#define G2_JASPER_INIT
In enc_jpeg2000()/dec_jpeg2000() error initializing jasper library.
Definition: grib2.h:470
+
#define G2_JASPER_DECODE
In dec_jpeg2000() error decoding image with jasper.
Definition: grib2.h:472
+
#define G2C_JASPER_MAX_MEM
Maximum size for the Jasper memory buffer.
Definition: grib2.h:420
+
#define G2_JASPER_DECODE_COLOR
In dec_jpeg2000() decoded image had multiple color components.
Definition: grib2.h:473
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
+
Header file with internal function prototypes NCEPLIBS-g2c library.
+
#define G2C_JASPER_JPEG_FORMAT_NAME
Name of JPEG codec in Jasper.
Definition: grib2_int.h:33
+
#define LOG(e)
Ignore logging to stdout.
Definition: grib2_int.h:417
-
#define G2_JASPER_INIT
In enc_jpeg2000()/dec_jpeg2000() error initializing jasper library.
Definition: grib2.h:322
-
#define G2C_JASPER_JPEG_FORMAT_NAME
Name of JPEG codec in Jasper.
Definition: grib2_int.h:23
-
#define G2_JASPER_DECODE_COLOR
In dec_jpeg2000() decoded image had multiple color components.
Definition: grib2.h:325
-
Header file with internal function prototypes NCEPLIBS-g2c library.
-
int dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld)
This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i....
Definition: dec_jpeg2000.c:38
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
-
#define G2_JASPER_DECODE
In dec_jpeg2000() error decoding image with jasper.
Definition: grib2.h:324
diff --git a/dec__png_8c.html b/dec__png_8c.html index 13bc878e..011b73a1 100644 --- a/dec__png_8c.html +++ b/dec__png_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: dec_png.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -135,7 +135,7 @@

Definition at line 20 of file dec_png.c.

+

Definition at line 1 of file dec_png.c.

@@ -195,7 +195,7 @@

References user_read_data().

-

Referenced by pngunpack_int().

+

Referenced by pngunpack_int().

@@ -254,9 +254,7 @@

diff --git a/dec__png_8c_source.html b/dec__png_8c_source.html index a9364725..b1549f95 100644 --- a/dec__png_8c_source.html +++ b/dec__png_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: dec_png.c Source File @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -86,7 +86,7 @@
dec_png.c
-Go to the documentation of this file.
1 
+Go to the documentation of this file.
1 
6 #include <stdio.h>
7 #include <stdlib.h>
8 #include <string.h>
@@ -98,7 +98,7 @@
17  unsigned char *stream_ptr;
18  g2int stream_len;
19 };
-
20 typedef struct png_stream png_stream;
+
20 typedef struct png_stream png_stream;
22 void user_read_data(png_structp, png_bytep, png_uint_32);
23 
34 void
@@ -116,7 +116,7 @@
46 }
47 
60 int
-
61 dec_png(unsigned char *pngbuf, g2int *width, g2int *height,
+
61 dec_png(unsigned char *pngbuf, g2int *width, g2int *height,
62  unsigned char *cout)
63 {
64  int interlace, color, compres, filter, bit_depth;
@@ -205,20 +205,18 @@
147  png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
148  return 0;
149 }
-
-
int dec_png(unsigned char *pngbuf, g2int *width, g2int *height, unsigned char *cout)
Decode PNG.
Definition: dec_png.c:61
+
struct png_stream png_stream
Typedef for PNG stream.
Definition: dec_png.c:20
void user_read_data(png_structp, png_bytep, png_uint_32)
Custom read function used so that libpng will read a PNG stream from memory instead of a file on disk...
Definition: dec_png.c:35
-
struct png_stream png_stream
Typedef for PNG stream.
Definition: dec_png.c:20
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
Header file with internal function prototypes NCEPLIBS-g2c library.
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
+ + diff --git a/decenc__openjpeg_8c.html b/decenc__openjpeg_8c.html index 39205eaf..f38f459a 100644 --- a/decenc__openjpeg_8c.html +++ b/decenc__openjpeg_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: decenc_openjpeg.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -105,9 +105,7 @@ diff --git a/decenc__openjpeg_8c_source.html b/decenc__openjpeg_8c_source.html index 766e9714..1c6510ed 100644 --- a/decenc__openjpeg_8c_source.html +++ b/decenc__openjpeg_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: decenc_openjpeg.c Source File @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -414,19 +414,17 @@
480 }
481 
482 #endif
+
int dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld)
This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i....
Definition: dec_jpeg2000.c:201
+
int enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen)
This Function encodes a grayscale image into a JPEG2000 code stream specified in the JPEG2000 Part-1 ...
Definition: enc_jpeg2000.c:100
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
+
Header file with internal function prototypes NCEPLIBS-g2c library.
-
Header file with internal function prototypes NCEPLIBS-g2c library.
-
int dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld)
This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i....
Definition: dec_jpeg2000.c:38
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
-
int enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen)
This Function encodes a grayscale image into a JPEG2000 code stream specified in the JPEG2000 Part-1 ...
Definition: enc_jpeg2000.c:51
diff --git a/dir_1120c50dc01af8bc3323139f424a1f58.html b/dir_1120c50dc01af8bc3323139f424a1f58.html index 5adae8ed..8f71542b 100644 --- a/dir_1120c50dc01af8bc3323139f424a1f58.html +++ b/dir_1120c50dc01af8bc3323139f424a1f58.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: src Directory Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -99,9 +99,7 @@ diff --git a/dir_49e56c817e5e54854c35e136979f97ca.html b/dir_49e56c817e5e54854c35e136979f97ca.html index 66bbed1f..101086eb 100644 --- a/dir_49e56c817e5e54854c35e136979f97ca.html +++ b/dir_49e56c817e5e54854c35e136979f97ca.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: docs Directory Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -92,9 +92,7 @@ diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html index fe9e0a12..bb4f0546 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: src Directory Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -150,7 +150,7 @@  Unpack Section 2 (Local Use Section) as defined in GRIB Edition 2.
  file  g2_unpack3.c [code] - Unpack Section 3 (Grid Definition Section) as defined in GRIB Edition 2.
+ Unpack Section 3 (Grid Definition Section) from a GRIB2 message.
  file  g2_unpack4.c [code]  Unpack Section 4 (Product Definition Section) as defined in GRIB Edition 2.
@@ -164,6 +164,36 @@ file  g2_unpack7.c [code]  Unpack Section 7 (Data Section) as defined in GRIB Edition 2.
  +file  g2ccompare.c [code] + Compare the metadata of two open GRIB2 files.
+  +file  g2cdegrib2.c [code] + Write summary output to a file, as is done by utility grb2index.
+  +file  g2cfile.c [code] + File functions for the g2c library.
+  +file  g2cindex.c [code] + Write summary output to an index file, as is done by utility grb2index.
+  +file  g2cinq.c [code] + Inquiry functions.
+  +file  g2cio.c [code] + File I/O functions for the g2c library.
+  +file  g2cparams.c [code] + Functions for serving up NOAA parameter abbreviations and GRIB1/GRIB2 translations.
+  +file  g2cprod.c [code] + Product functions for the g2c library.
+  +file  g2cutil.c [code] + Internal utility functions for the NCEPLIBS-g2c library for the new g2c API.
+  +file  g2cxml.c [code] + This file reads the GRIB2 XML files.
+  file  gbits.c [code]  Functions to pack and unpack bits to/from a packed bit string.
  @@ -183,10 +213,10 @@  Provide function similar to C pow() power function.
  file  jpcpack.c [code] - Pack up a data field into a JPEG2000 code stream.
+ Pack and unpack an array of float/double using JPEG2000.
  file  jpcunpack.c [code] - Unpack a data field that was packed into a JPEG2000 code stream.
+ Unpack a data field that was packed with JPEG2000.
  file  misspack.c [code]  Pack up a data field using a complex packing algorithm as defined in the GRIB2 documention.
@@ -211,7 +241,7 @@  Determines whether the number of groups should be increased in order to reduce the size of the large groups, and to make that adjustment.
  file  seekgb.c [code] - Searches a file for the next GRIB message.
+ Search a file for the next GRIB message.
  file  simpack.c [code]  Pack up a data field using the simple packing algorithm.
@@ -234,9 +264,7 @@ diff --git a/dir_cbdb8362360e11eafe2fa3bc74cf0ffd.html b/dir_cbdb8362360e11eafe2fa3bc74cf0ffd.html new file mode 100644 index 00000000..b63e1adf --- /dev/null +++ b/dir_cbdb8362360e11eafe2fa3bc74cf0ffd.html @@ -0,0 +1,112 @@ + + + + + + + +NCEPLIBS-g2c: utils Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
NCEPLIBS-g2c +  1.8.0 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
utils Directory Reference
+
+
+ + + + + + + + + + + +

+Files

file  g2c_compare.c [code]
 This is a utility to compare two GRIB2 files.
 
file  g2c_degrib2.c [code]
 This is a utility to print a summary of a GRIB2 file.
 
file  g2c_index.c [code]
 Print a summary of a GRIB1 or GRIB2 index file.
 
+
+
+ + + + diff --git a/doxygen.css b/doxygen.css index 73ecbb2c..ffbff022 100644 --- a/doxygen.css +++ b/doxygen.css @@ -1,4 +1,4 @@ -/* The standard CSS for doxygen 1.8.17 */ +/* The standard CSS for doxygen 1.9.1 */ body, table, div, p, dl { font: 400 14px/22px Roboto,sans-serif; @@ -66,7 +66,7 @@ p.startli, p.startdd { margin-top: 2px; } -th p.starttd, p.intertd, p.endtd { +th p.starttd, th p.intertd, th p.endtd { font-size: 100%; font-weight: 700; } @@ -103,30 +103,96 @@ caption { } span.legend { - font-size: 70%; - text-align: center; + font-size: 70%; + text-align: center; } h3.version { - font-size: 90%; - text-align: center; + font-size: 90%; + text-align: center; } -div.qindex, div.navtab{ - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; +div.navtab { + border-right: 1px solid #A3B4D7; + padding-right: 15px; + text-align: right; + line-height: 110%; +} + +div.navtab table { + border-spacing: 0; } -div.qindex, div.navpath { +td.navtab { + padding-right: 6px; + padding-left: 6px; +} +td.navtabHL { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + padding-right: 6px; + padding-left: 6px; +} + +td.navtabHL a, td.navtabHL a:visited { + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} + +a.navtab { + font-weight: bold; +} + +div.qindex{ + text-align: center; width: 100%; line-height: 140%; + font-size: 130%; + color: #A0A0A0; } -div.navtab { - margin-right: 15px; +dt.alphachar{ + font-size: 180%; + font-weight: bold; +} + +.alphachar a{ + color: black; +} + +.alphachar a:hover, .alphachar a:visited{ + text-decoration: none; +} + +.classindex dl { + padding: 25px; + column-count:1 +} + +.classindex dd { + display:inline-block; + margin-left: 50px; + width: 90%; + line-height: 1.15em; +} + +.classindex dl.odd { + background-color: #F8F9FC; +} + +@media(min-width: 1120px) { + .classindex dl { + column-count:2 + } +} + +@media(min-width: 1320px) { + .classindex dl { + column-count:3 + } } + /* @group Link Styling */ a { @@ -143,17 +209,6 @@ a:hover { text-decoration: underline; } -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #9CAFD4; - color: #FFFFFF; - border: 1px double #869DCA; -} - .contents a.qindexHL:visited { color: #FFFFFF; } @@ -1358,10 +1413,12 @@ dl.citelist dt { font-weight:bold; margin-right:10px; padding:5px; + text-align:right; + width:52px; } dl.citelist dd { - margin:2px 0; + margin:2px 0 2px 72px; padding:5px 0; } @@ -1424,6 +1481,12 @@ div.toc li.level4 { margin-left: 45px; } +span.emoji { + /* font family used at the site: https://unicode.org/emoji/charts/full-emoji-list.html + * font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", Times, Symbola, Aegyptus, Code2000, Code2001, Code2002, Musica, serif, LastResort; + */ +} + .PageDocRTL-title div.toc li.level1 { margin-left: 0 !important; margin-right: 0; @@ -1661,47 +1724,6 @@ tr.heading h2 { /* @group Markdown */ -/* -table.markdownTable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.markdownTable td, table.markdownTable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.markdownTableHead tr { -} - -table.markdownTableBodyLeft td, table.markdownTable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -th.markdownTableHeadLeft { - text-align: left -} - -th.markdownTableHeadRight { - text-align: right -} - -th.markdownTableHeadCenter { - text-align: center -} -*/ - table.markdownTable { border-collapse:collapse; margin-top: 4px; diff --git a/drstemplates_8c.html b/drstemplates_8c.html index aa0c6011..d610b23c 100644 --- a/drstemplates_8c.html +++ b/drstemplates_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: drstemplates.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -83,7 +83,6 @@
@@ -93,25 +92,18 @@

Functions for GRIB2 Data Representation Templates (DRT) for the Data Representation Setcion. More...

-
#include <stdlib.h>
-#include "grib2_int.h"
+
#include "grib2_int.h"

Go to the source code of this file.

- - - - - - - -

-Macros

#define MAXDRSMAPLEN   200
 maximum template map length More...
 
#define MAXDRSTEMP   9
 maximum number of templates More...
 
+ + + @@ -121,9 +113,9 @@

Functions

gtemplateextdrstemplate (g2int number, g2int *list)
 This subroutine generates the remaining octet map for a given Data Representation Template, if required. More...
 
int g2c_get_drs_template (int drs_template_num, int *maplen, int *map, int *needext)
 Get DRS template information. More...
 
static g2int getdrsindex (g2int number)
 This function returns the index of specified Data Representation Template. More...
 
- - - + + +

Variables

static const struct drstemplate templatesdrs [MAXDRSTEMP]
 Stuct holding data for GRIB2 Data Representation Section (DRS) template. More...
 
static const struct drstemplate templatesdrs [G2C_MAX_DRS_TEMPLATE]
 Stuct holding data for GRIB2 Data Representation Section (DRS) template. More...
 

Detailed Description

Functions for GRIB2 Data Representation Templates (DRT) for the Data Representation Setcion.

@@ -137,54 +129,19 @@

Program History Log

- + - + - + + +
Date Programmer Comments
Date Programmer Comments
2001-06-28 Gilbert Initial
2001-06-28 Gilbert Initial
2009-01-14 Vuong Changed structure name template to gtemplate
2009-01-14 Vuong Changed structure name template to gtemplate
2022-10-18 Hartnett Added g2c_get_drs_template().
Author
Stephen Gilbert
Date
2001-06-28

Definition in file drstemplates.c.

-

Macro Definition Documentation

- -

◆ MAXDRSMAPLEN

- -
-
- - - - -
#define MAXDRSMAPLEN   200
-
- -

maximum template map length

- -

Definition at line 39 of file drstemplates.c.

- -
-
- -

◆ MAXDRSTEMP

- -
-
- - - - -
#define MAXDRSTEMP   9
-
- -

maximum number of templates

- -

Definition at line 38 of file drstemplates.c.

- -
-
-

Function Documentation

+

Function Documentation

◆ extdrstemplate()

@@ -224,12 +181,77 @@

Author
Stephen Gilbert
Date
2000-05-11
-

Definition at line 212 of file drstemplates.c.

+

Definition at line 208 of file drstemplates.c.

-

References getdrsindex(), and getdrstemplate().

+

References getdrsindex(), and getdrstemplate().

Referenced by g2_unpack5().

+

+
+ +

◆ g2c_get_drs_template()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int g2c_get_drs_template (int drs_template_num,
int * maplen,
int * map,
int * needext 
)
+
+ +

Get DRS template information.

+

The DRS template consists of a template map, and its length. There are no supported DRS templates with extensions.

+
Parameters
+ + + + + +
drs_template_numThe DRS template number.
maplenPointer that gets the length of the map. Ignored if NULL.
mapPointer that gets the map as an array of int. Memory must be allocated by caller. Ignored if NULL.
needextPointer that a non-zero value if an extension to this template is needed. Ignored if NULL.
+
+
+
Returns
+
+
Author
Ed Hartnett
+
Date
10/18/22
+ +

Definition at line 256 of file drstemplates.c.

+ +

References G2C_ENOTEMPLATE, G2C_MAX_DRS_TEMPLATE, G2C_NOERROR, and templatesdrs.

+ +

Referenced by g2c_rw_section5_metadata().

+
@@ -267,11 +289,11 @@

Author
Stephen Gilbert
Date
2001-06-28
-

Definition at line 134 of file drstemplates.c.

+

Definition at line 130 of file drstemplates.c.

-

References MAXDRSTEMP, and templatesdrs.

+

References G2C_MAX_DRS_TEMPLATE, and templatesdrs.

-

Referenced by extdrstemplate(), and getdrstemplate().

+

Referenced by extdrstemplate(), and getdrstemplate().

@@ -303,17 +325,17 @@

Author
Stephen Gilbert
Date
2000-05-11
-

Definition at line 166 of file drstemplates.c.

+

Definition at line 162 of file drstemplates.c.

-

References getdrsindex(), and templatesdrs.

+

References getdrsindex(), and templatesdrs.

-

Referenced by extdrstemplate(), g2_addfield(), and g2_unpack5().

+

Referenced by extdrstemplate(), g2_addfield(), and g2_unpack5().

Variable Documentation

- -

◆ templatesdrs

+ +

◆ templatesdrs

@@ -346,9 +368,7 @@

diff --git a/drstemplates_8c.js b/drstemplates_8c.js index 96e7a8f5..9e4d6cb4 100644 --- a/drstemplates_8c.js +++ b/drstemplates_8c.js @@ -1,9 +1,8 @@ var drstemplates_8c = [ - [ "MAXDRSMAPLEN", "drstemplates_8c.html#ade593949cef71416060205db106c2828", null ], - [ "MAXDRSTEMP", "drstemplates_8c.html#a94872ea1f11e8ea068177a6506e0a3e4", null ], [ "extdrstemplate", "drstemplates_8c.html#a29eb8a2ca16e15e491d7115725ff907c", null ], + [ "g2c_get_drs_template", "drstemplates_8c.html#aa9a9b32379db85395891b59213f08a5d", null ], [ "getdrsindex", "drstemplates_8c.html#a307a8ced5bd81dd2bf110596fc9e6532", null ], [ "getdrstemplate", "drstemplates_8c.html#acf3195b5cecc028727faa8a921eba03e", null ], - [ "templatesdrs", "drstemplates_8c.html#a08f7c019317d1e6235a863ee8ce6e9e2", null ] + [ "templatesdrs", "drstemplates_8c.html#a091bb17f961371f8e1fbb561704c8d79", null ] ]; \ No newline at end of file diff --git a/drstemplates_8c_source.html b/drstemplates_8c_source.html index a1a6990e..39fd4fbe 100644 --- a/drstemplates_8c_source.html +++ b/drstemplates_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: drstemplates.c Source File @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -86,154 +86,181 @@
drstemplates.c
-Go to the documentation of this file.
1 
-
35 #include <stdlib.h>
-
36 #include "grib2_int.h"
-
37 
-
38 #define MAXDRSTEMP 9
-
39 #define MAXDRSMAPLEN 200
-
44 struct drstemplate
-
45 {
-
46  g2int template_num;
-
47  g2int mapdrslen;
-
48  g2int needext;
-
49  g2int mapdrs[MAXDRSMAPLEN];
-
50 };
-
51 
-
56 static const struct drstemplate templatesdrs[MAXDRSTEMP] =
-
57 {
-
60  { 0, 5, 0, {4,-2,-2,1,1} },
+Go to the documentation of this file.
1 
+
35 #include "grib2_int.h"
+
36 
+
40 struct drstemplate
+
41 {
+
42  g2int template_num;
+
43  g2int mapdrslen;
+
44  g2int needext;
+ +
46 };
+
47 
+
52 static const struct drstemplate templatesdrs[G2C_MAX_DRS_TEMPLATE] =
+
53 {
+
56  {0, 5, 0, {4, -2, -2, 1, 1}},
+
57 
+
60  {2, 16, 0, {4, -2, -2, 1, 1, 1, 1, 4, 4, 4, 1, 1, 4, 1, 4, 1}},
61 
-
64  { 2, 16, 0, {4,-2,-2,1,1,1,1,4,4,4,1,1,4,1,4,1} },
+
64  {3, 18, 0, {4, -2, -2, 1, 1, 1, 1, 4, 4, 4, 1, 1, 4, 1, 4, 1, 1, 1}},
65 
-
68  { 3, 18, 0, {4,-2,-2,1,1,1,1,4,4,4,1,1,4,1,4,1,1,1} },
+
68  {50, 5, 0, {4, -2, -2, 1, 4}},
69 
-
72  { 50, 5, 0, {4,-2,-2,1,4} },
+
72  {51, 10, 0, {4, -2, -2, 1, -4, 2, 2, 2, 4, 1}},
73 
-
76  { 51, 10, 0, {4,-2,-2,1,-4,2,2,2,4,1} },
-
77 
-
78  /* 5.1: Matrix values at gridpoint - Simple packing.
-
79  * Comment from Stephen Gilbert in 2021:
-
80  *
-
81  * This encoder/decoder was written in the early days of GRIB2
-
82  * adoption as a standard. It was used to help WMO validate the
-
83  * templates in the specification by sharing GRIB2 encoded message
-
84  * with other organizations to verify that the data could be
-
85  * transmitted and processed successfully.
-
86  *
-
87  * We did not have a use case for DRS template 5.1 at that time
-
88  * and did not produce any GRIB2 messages using that template. It
-
89  * appears that other organizations did not work on it as
-
90  * well. The latest GRIB2 specification still includes the DRS
-
91  * Template 5.1 definition, but there is a disclaimer to use it
-
92  * with caution, since it has not yet been validated. I assume we
-
93  * commented it out because it was not validated, which means it's
-
94  * definition could possibly change during any validation attempts
-
95  * in the future.
-
96  */
-
97 
-
98  /* { 1, 15, 1, {4,-2,-2,1,1,1,4,2,2,1,1,1,1,1,1} }, */
+
74  /* 5.1: Matrix values at gridpoint - Simple packing.
+
75  * Comment from Stephen Gilbert in 2021:
+
76  *
+
77  * This encoder/decoder was written in the early days of GRIB2
+
78  * adoption as a standard. It was used to help WMO validate the
+
79  * templates in the specification by sharing GRIB2 encoded message
+
80  * with other organizations to verify that the data could be
+
81  * transmitted and processed successfully.
+
82  *
+
83  * We did not have a use case for DRS template 5.1 at that time
+
84  * and did not produce any GRIB2 messages using that template. It
+
85  * appears that other organizations did not work on it as
+
86  * well. The latest GRIB2 specification still includes the DRS
+
87  * Template 5.1 definition, but there is a disclaimer to use it
+
88  * with caution, since it has not yet been validated. I assume we
+
89  * commented it out because it was not validated, which means it's
+
90  * definition could possibly change during any validation attempts
+
91  * in the future.
+
92  */
+
93 
+
94  /* {1, 15, 1, {4, -2, -2, 1, 1, 1, 4, 2, 2, 1, 1, 1, 1, 1, 1}}, */
+
95 
+
98  {40, 7, 0, {4, -2, -2, 1, 1, 1, 1}},
99 
-
102  { 40, 7, 0, {4,-2,-2,1,1,1,1} },
+
102  {41, 5, 0, {4, -2, -2, 1, 1}},
103 
-
106  { 41, 5, 0, {4,-2,-2,1,1} },
-
107 
-
112  { 40000, 7, 0, {4,-2,-2,1,1,1,1} },
-
113 
-
118  { 40010, 5, 0, {4,-2,-2,1,1} }
-
119 } ;
-
120 
-
133 static g2int
- -
135 {
-
136  g2int j, getdrsindex = -1;
-
137 
-
138  for (j = 0; j < MAXDRSTEMP; j++)
-
139  {
-
140  if (number == templatesdrs[j].template_num)
-
141  {
-
142  getdrsindex = j;
-
143  return(getdrsindex);
-
144  }
-
145  }
-
146 
-
147  return(getdrsindex);
-
148 }
-
149 
-
165 gtemplate *
- -
167 {
-
168  g2int index;
-
169  gtemplate *new;
-
170 
-
171  index = getdrsindex(number);
-
172 
-
173  if (index != -1)
-
174  {
-
175  new = malloc(sizeof(gtemplate));
-
176  new->type = 5;
-
177  new->num = templatesdrs[index].template_num;
-
178  new->maplen = templatesdrs[index].mapdrslen;
-
179  new->needext = templatesdrs[index].needext;
-
180  new->map = (g2int *)templatesdrs[index].mapdrs;
-
181  new->extlen = 0;
-
182  new->ext = NULL;
-
183  return(new);
-
184  }
-
185  else
-
186  {
-
187  printf("getdrstemplate: DRS Template 5.%d not defined.\n", (int)number);
-
188  return(NULL);
-
189  }
-
190 
-
191  return(NULL);
-
192 }
-
193 
-
211 gtemplate *
-
212 extdrstemplate(g2int number, g2int *list)
-
213 {
-
214  gtemplate *new;
-
215 
-
216  if (getdrsindex(number) == -1)
-
217  return NULL;
-
218 
-
219  new = getdrstemplate(number);
-
220 
-
221  if (!new->needext)
-
222  return(new);
-
223 
-
224  /* This template is commented out (see comment in struct
-
225  * drstemplate for explanation). */
-
226  /* if (number == 1) */
-
227  /* { */
-
228  /* new->extlen = list[10] + list[12]; */
-
229  /* new->ext = malloc(sizeof(g2int) * new->extlen); */
-
230  /* for (i = 0; i < new->extlen; i++) */
-
231  /* { */
-
232  /* new->ext[i] = 4; */
-
233  /* } */
-
234  /* } */
-
235 
-
236  return new;
-
237 }
+
108  {40000, 7, 0, {4, -2, -2, 1, 1, 1, 1}},
+
109 
+
114  {40010, 5, 0, {4, -2, -2, 1, 1}}
+
115 } ;
+
116 
+
129 static g2int
+ +
131 {
+
132  g2int j, getdrsindex = -1;
+
133 
+
134  for (j = 0; j < G2C_MAX_DRS_TEMPLATE; j++)
+
135  {
+
136  if (number == templatesdrs[j].template_num)
+
137  {
+
138  getdrsindex = j;
+
139  return(getdrsindex);
+
140  }
+
141  }
+
142 
+
143  return(getdrsindex);
+
144 }
+
145 
+
161 gtemplate *
+ +
163 {
+
164  g2int index;
+
165  gtemplate *new;
+
166 
+
167  index = getdrsindex(number);
+
168 
+
169  if (index != -1)
+
170  {
+
171  new = malloc(sizeof(gtemplate));
+
172  new->type = 5;
+
173  new->num = templatesdrs[index].template_num;
+
174  new->maplen = templatesdrs[index].mapdrslen;
+
175  new->needext = templatesdrs[index].needext;
+
176  new->map = (g2int *)templatesdrs[index].mapdrs;
+
177  new->extlen = 0;
+
178  new->ext = NULL;
+
179  return(new);
+
180  }
+
181  else
+
182  {
+
183  printf("getdrstemplate: DRS Template 5.%d not defined.\n", (int)number);
+
184  return(NULL);
+
185  }
+
186 
+
187  return(NULL);
+
188 }
+
189 
+
207 gtemplate *
+
208 extdrstemplate(g2int number, g2int *list)
+
209 {
+
210  gtemplate *new;
+
211 
+
212  if (getdrsindex(number) == -1)
+
213  return NULL;
+
214 
+
215  new = getdrstemplate(number);
+
216 
+
217  if (!new->needext)
+
218  return(new);
+
219 
+
220  /* This template is commented out (see comment in struct
+
221  * drstemplate for explanation). */
+
222  /* if (number == 1) */
+
223  /* { */
+
224  /* new->extlen = list[10] + list[12]; */
+
225  /* new->ext = malloc(sizeof(g2int) * new->extlen); */
+
226  /* for (i = 0; i < new->extlen; i++) */
+
227  /* { */
+
228  /* new->ext[i] = 4; */
+
229  /* } */
+
230  /* } */
+
231 
+
232  return new;
+
233 }
+
234 
+
255 int
+
256 g2c_get_drs_template(int drs_template_num, int *maplen, int *map, int *needext)
+
257 {
+
258  int j, m;
+
259 
+
260  /* Look through the array of templates to find a matching one. */
+
261  for (j = 0; j < G2C_MAX_DRS_TEMPLATE; j++)
+
262  {
+
263  if (drs_template_num == templatesdrs[j].template_num)
+
264  {
+
265  /* Copy maplen and map if the caller wants them. */
+
266  if (maplen)
+
267  *maplen = templatesdrs[j].mapdrslen;
+
268  if (map)
+
269  for (m = 0; m < templatesdrs[j].mapdrslen; m++)
+
270  map[m] = templatesdrs[j].mapdrs[m];
+
271  if (needext)
+
272  *needext = templatesdrs[j].needext;
+
273 
+
274  /* Done. */
+
275  return G2C_NOERROR;
+
276  }
+
277  }
+
278 
+
279  /* If we didn't find a template, return an error. */
+
280  return G2C_ENOTEMPLATE;
+
281 }
+
282 
+
static const struct drstemplate templatesdrs[G2C_MAX_DRS_TEMPLATE]
Stuct holding data for GRIB2 Data Representation Section (DRS) template.
Definition: drstemplates.c:52
+
gtemplate * extdrstemplate(g2int number, g2int *list)
This subroutine generates the remaining octet map for a given Data Representation Template,...
Definition: drstemplates.c:208
+
static g2int getdrsindex(g2int number)
This function returns the index of specified Data Representation Template.
Definition: drstemplates.c:130
+
int g2c_get_drs_template(int drs_template_num, int *maplen, int *map, int *needext)
Get DRS template information.
Definition: drstemplates.c:256
+
gtemplate * getdrstemplate(g2int number)
This subroutine returns DRS template information for a specified Data Representation Template.
Definition: drstemplates.c:162
+
#define G2C_MAX_DRS_TEMPLATE
Maximum number of DRS templates.
Definition: grib2.h:305
+
#define G2C_ENOTEMPLATE
Template not found.
Definition: grib2.h:497
+
#define G2C_MAX_DRS_TEMPLATE_MAPLEN
Maximum DRS template map length.
Definition: grib2.h:306
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
+
#define G2C_NOERROR
No error.
Definition: grib2.h:476
+
Header file with internal function prototypes NCEPLIBS-g2c library.
+
Struct for GRIB template, returned by getgridtemplate().
Definition: grib2_int.h:276
-
gtemplate * getdrstemplate(g2int number)
This subroutine returns DRS template information for a specified Data Representation Template.
Definition: drstemplates.c:166
-
#define MAXDRSMAPLEN
maximum template map length
Definition: drstemplates.c:39
-
static const struct drstemplate templatesdrs[MAXDRSTEMP]
Stuct holding data for GRIB2 Data Representation Section (DRS) template.
Definition: drstemplates.c:56
-
Header file with internal function prototypes NCEPLIBS-g2c library.
-
gtemplate * extdrstemplate(g2int number, g2int *list)
This subroutine generates the remaining octet map for a given Data Representation Template,...
Definition: drstemplates.c:212
-
static g2int getdrsindex(g2int number)
This function returns the index of specified Data Representation Template.
Definition: drstemplates.c:134
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
-
#define MAXDRSTEMP
maximum number of templates
Definition: drstemplates.c:38
-
Struct for GRIB template.
Definition: grib2_int.h:28
diff --git a/dynsections.js b/dynsections.js index c8e84aaa..88f2c27e 100644 --- a/dynsections.js +++ b/dynsections.js @@ -1,25 +1,26 @@ /* - @licstart The following is the entire license notice for the - JavaScript code in this file. + @licstart The following is the entire license notice for the JavaScript code in this file. - Copyright (C) 1997-2017 by Dimitri van Heesch + The MIT License (MIT) - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + Copyright (C) 1997-2020 by Dimitri van Heesch - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. - @licend The above is the entire license notice - for the JavaScript code in this file + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file */ function toggleVisibility(linkObj) { diff --git a/enc__jpeg2000_8c.html b/enc__jpeg2000_8c.html index db6337ce..1f869c72 100644 --- a/enc__jpeg2000_8c.html +++ b/enc__jpeg2000_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: enc_jpeg2000.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -110,6 +110,9 @@ int enc_jpeg2000 (unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen)  This Function encodes a grayscale image into a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software. More...
  +int g2c_enc_jpeg2000 (unsigned char *cin, int width, int height, int nbits, int ltype, int ratio, int retry, char *outjpc, size_t jpclen) + This Function encodes a grayscale image into a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software. More...

Detailed Description

Encodes JPEG2000 code stream.

@@ -205,18 +208,136 @@

+

This Function encodes a grayscale image into a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software.

+

+Program History Log

+ + + + + + + + + +
Date Programmer Comments
2002-12-02 Gilbert Initial
2004-12-16 Gilbert Added retry argument allowing increased guard bits.
2022-04-15 Hartnett Converted to use jas_ instead of jpc_ functions.
+
Parameters
+ + + + + + + + + + +
cinPacked matrix of Grayscale image values to encode.
widthwidth of image.
heightheight of image.
nbitsdepth (in bits) of image. i.e number of bits used to hold each data value.
ltypeindicator of lossless or lossy compression.
    +
  • 1, for lossy compression
  • +
  • != 1, for lossless compression
  • +
+
ratiotarget compression ratio. (ratio:1) Used only when ltype == 1.
retryIf 1 try increasing number of guard bits.
outjpcOutput encoded JPEG2000 code stream.
jpclenNumber of bytes allocated for the output JPEG2000 code stream in outjpc.
+
+
+
Returns
    +
  • > 0 = Length in bytes of encoded JPEG2000 code stream
  • +
  • G2_JASPER_INIT Error initializing jasper library.
  • +
  • G2_JASPER_ENCODE Error encode jpeg2000 code stream.
  • +
+
+
Note
Requires JasPer Software version 1.500.4 or 1.700.2 or later.
+
Author
Stephen Gilbert
+
Date
2002-12-02
+
Author
Ed Hartnett
+ +

Definition at line 100 of file enc_jpeg2000.c.

+ +

References G2_JASPER_ENCODE, G2_JASPER_INIT, G2C_JASPER_JPEG_FORMAT_NAME, LOG, and MAXOPTSSIZE.

+ +

Referenced by g2c_enc_jpeg2000(), and jpcpack_int().

+ +

+ + +

◆ g2c_enc_jpeg2000()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int g2c_enc_jpeg2000 (unsigned char * cin,
int width,
int height,
int nbits,
int ltype,
int ratio,
int retry,
char * outjpc,
size_t jpclen 
)
+
+

This Function encodes a grayscale image into a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software.

Program History Log

- + - + - + - +
Date Programmer Comments
Date Programmer Comments
2002-12-02 Gilbert Initial
2002-12-02 Gilbert Initial
2004-12-16 Gilbert Added retry argument allowing increased guard bits.
2004-12-16 Gilbert Added retry argument allowing increased guard bits.
2022-04-15 Hartnett Converted to use jas_ instead of jpc_ functions.
2022-04-15 Hartnett Converted to use jas_ instead of jpc_ functions.
Parameters
@@ -249,9 +370,7 @@

Definition at line 51 of file enc_jpeg2000.c.

-

References G2_JASPER_ENCODE, G2_JASPER_INIT, G2C_JASPER_JPEG_FORMAT_NAME, and MAXOPTSSIZE.

- -

Referenced by jpcpack_int().

+

References enc_jpeg2000().

@@ -261,9 +380,7 @@

diff --git a/enc__jpeg2000_8c.js b/enc__jpeg2000_8c.js index 91f7ccc9..8ffa11ff 100644 --- a/enc__jpeg2000_8c.js +++ b/enc__jpeg2000_8c.js @@ -1,5 +1,6 @@ var enc__jpeg2000_8c = [ [ "MAXOPTSSIZE", "enc__jpeg2000_8c.html#a9855b4e8c40619aab0092ba284943a67", null ], - [ "enc_jpeg2000", "enc__jpeg2000_8c.html#af4af6d586d2f9ca5da713d025dccf781", null ] + [ "enc_jpeg2000", "enc__jpeg2000_8c.html#af4af6d586d2f9ca5da713d025dccf781", null ], + [ "g2c_enc_jpeg2000", "enc__jpeg2000_8c.html#a4e0e87e1e9d443c03c2c5c080d049119", null ] ]; \ No newline at end of file diff --git a/enc__jpeg2000_8c_source.html b/enc__jpeg2000_8c_source.html index a71557e4..195a1bad 100644 --- a/enc__jpeg2000_8c_source.html +++ b/enc__jpeg2000_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: enc_jpeg2000.c Source File @@ -26,7 +26,7 @@

@@ -34,10 +34,10 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
- + @@ -93,119 +93,134 @@
9 #include "jasper/jasper.h"
10 
11 #define MAXOPTSSIZE 1024
-
50 int
-
51 enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits,
-
52  g2int ltype, g2int ratio, g2int retry, char *outjpc,
-
53  g2int jpclen)
+
50 int
+
51 g2c_enc_jpeg2000(unsigned char *cin, int width, int height, int nbits,
+
52  int ltype, int ratio, int retry, char *outjpc,
+
53  size_t jpclen)
54 {
-
55  int ier, rwcnt;
-
56  jas_image_t image;
-
57  jas_stream_t *jpcstream, *istream;
-
58  jas_image_cmpt_t cmpt, *pcmpt;
-
59  char opts[MAXOPTSSIZE];
-
60  int fmt;
+
55  g2int width8 = width, height8 = height, nbits8 = nbits, ltype8 = ltype;
+
56  g2int ratio8 = ratio, retry8 = retry, jpclen8 = jpclen;
+
57 
+
58  return enc_jpeg2000(cin, width8, height8, nbits8, ltype8, ratio8, retry8,
+
59  outjpc, jpclen8);
+
60 }
61 
-
62  /* Set lossy compression options, if requested. */
-
63  if (ltype != 1)
-
64  opts[0] = (char)0;
-
65  else
-
66  snprintf(opts,MAXOPTSSIZE,"mode=real\nrate=%f",1.0/(float)ratio);
-
67 
-
68  if (retry == 1) /* option to increase number of guard bits */
-
69  strcat(opts,"\nnumgbits=4");
-
70 
-
71  /* Initialize the JasPer image structure describing the grayscale
-
72  * image to encode into the JPEG2000 code stream. */
-
73  image.tlx_ = 0;
-
74  image.tly_ = 0;
-
75  image.brx_ = (jas_image_coord_t)width;
-
76  image.bry_ = (jas_image_coord_t)height;
-
77  image.numcmpts_ = 1;
-
78  image.maxcmpts_ = 1;
-
79  image.clrspc_ = JAS_CLRSPC_SGRAY; /* grayscale Image */
-
80  image.cmprof_ = 0;
-
81 
-
82  cmpt.tlx_ = 0;
-
83  cmpt.tly_ = 0;
-
84  cmpt.hstep_ = 1;
-
85  cmpt.vstep_ = 1;
-
86  cmpt.width_ = (jas_image_coord_t)width;
-
87  cmpt.height_ = (jas_image_coord_t)height;
-
88  cmpt.type_ = JAS_IMAGE_CT_COLOR(JAS_CLRSPC_CHANIND_GRAY_Y);
-
89  cmpt.prec_ = nbits;
-
90  cmpt.sgnd_ = 0;
-
91  cmpt.cps_ = (nbits + 7) / 8;
-
92 
-
93  pcmpt = &cmpt;
-
94  image.cmpts_ = &pcmpt;
-
95 
-
96  /* Initialize Jasper. */
-
97 #ifdef JASPER3
-
98  jas_conf_clear();
-
99  /* static jas_std_allocator_t allocator; */
-
100  /* jas_std_allocator_init(&allocator); */
-
101  /* jas_conf_set_allocator(JAS_CAST(jas_std_allocator_t *, &allocator)); */
-
102  jas_conf_set_max_mem_usage(10000000);
-
103  jas_conf_set_multithread(true);
-
104  if (jas_init_library())
-
105  return G2_JASPER_INIT;
-
106  if (jas_init_thread())
-
107  return G2_JASPER_INIT;
-
108 #else
-
109  if (jas_init())
-
110  return G2_JASPER_INIT;
-
111 #endif /* JASPER3 */
-
112 
-
113  /* Open a JasPer stream containing the input grayscale values. */
-
114  istream = jas_stream_memopen((char *)cin, height * width * cmpt.cps_);
-
115  cmpt.stream_ = istream;
-
116 
-
117  /* Open an output stream that will contain the encoded jpeg2000
-
118  * code stream. */
-
119  jpcstream = jas_stream_memopen(outjpc, (int)jpclen);
-
120 
-
121  /* Get jasper ID of JPEG encoder. */
-
122  fmt = jas_image_strtofmt(G2C_JASPER_JPEG_FORMAT_NAME);
-
123 
-
124  /* Encode image. */
-
125  if ((ier = jas_image_encode(&image, jpcstream, fmt, opts)))
-
126  return G2_JASPER_ENCODE;
-
127 
-
128  /* Rememeber the length in bytes of the encoded JPEG code
-
129  * stream. */
-
130  rwcnt = jpcstream->rwcnt_;
-
131 
-
132  /* Clean up JasPer work structures. */
-
133  ier = jas_stream_close(istream);
-
134  ier = jas_stream_close(jpcstream);
-
135 
-
136  /* Finalize jasper. */
-
137 #ifdef JASPER3
-
138  jas_cleanup_thread();
-
139  jas_cleanup_library();
-
140 #else
-
141  jas_cleanup();
-
142 #endif /* JASPER3 */
-
143 
-
144  /* Return size of jpeg2000 code stream. */
-
145  return rwcnt;
-
146 }
-
- +
99 int
+
100 enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits,
+
101  g2int ltype, g2int ratio, g2int retry, char *outjpc,
+
102  g2int jpclen)
+
103 {
+
104  int ier, rwcnt;
+
105  jas_image_t image;
+
106  jas_stream_t *jpcstream, *istream;
+
107  jas_image_cmpt_t cmpt, *pcmpt;
+
108  char opts[MAXOPTSSIZE];
+
109  int fmt;
+
110 
+
111  LOG((3, "enc_jpeg2000 width %ld height %ld nbits %ld ltype %ld ratio %ld retry %ld jpclen %d",
+
112  width, height, nbits, ltype, ratio, retry, jpclen));
+
113 
+
114  /* Set lossy compression options, if requested. */
+
115  if (ltype != 1)
+
116  opts[0] = (char)0;
+
117  else
+
118  snprintf(opts,MAXOPTSSIZE,"mode=real\nrate=%f",1.0/(float)ratio);
+
119 
+
120  if (retry == 1) /* option to increase number of guard bits */
+
121  strcat(opts,"\nnumgbits=4");
+
122 
+
123  /* Initialize the JasPer image structure describing the grayscale
+
124  * image to encode into the JPEG2000 code stream. */
+
125  image.tlx_ = 0;
+
126  image.tly_ = 0;
+
127  image.brx_ = (jas_image_coord_t)width;
+
128  image.bry_ = (jas_image_coord_t)height;
+
129  image.numcmpts_ = 1;
+
130  image.maxcmpts_ = 1;
+
131  image.clrspc_ = JAS_CLRSPC_SGRAY; /* grayscale Image */
+
132  image.cmprof_ = 0;
+
133 
+
134  cmpt.tlx_ = 0;
+
135  cmpt.tly_ = 0;
+
136  cmpt.hstep_ = 1;
+
137  cmpt.vstep_ = 1;
+
138  cmpt.width_ = (jas_image_coord_t)width;
+
139  cmpt.height_ = (jas_image_coord_t)height;
+
140  cmpt.type_ = JAS_IMAGE_CT_COLOR(JAS_CLRSPC_CHANIND_GRAY_Y);
+
141  cmpt.prec_ = nbits;
+
142  cmpt.sgnd_ = 0;
+
143  cmpt.cps_ = (nbits + 7) / 8;
+
144 
+
145  pcmpt = &cmpt;
+
146  image.cmpts_ = &pcmpt;
+
147 
+
148  /* Initialize Jasper. */
+
149 #ifdef JASPER3
+
150  jas_conf_clear();
+
151  /* static jas_std_allocator_t allocator; */
+
152  /* jas_std_allocator_init(&allocator); */
+
153  /* jas_conf_set_allocator(JAS_CAST(jas_std_allocator_t *, &allocator)); */
+
154  jas_conf_set_max_mem_usage(10000000);
+
155  jas_conf_set_multithread(true);
+
156  if (jas_init_library())
+
157  return G2_JASPER_INIT;
+
158  if (jas_init_thread())
+
159  return G2_JASPER_INIT;
+
160 #else
+
161  if (jas_init())
+
162  return G2_JASPER_INIT;
+
163 #endif /* JASPER3 */
+
164 
+
165  /* Open a JasPer stream containing the input grayscale values. */
+
166  istream = jas_stream_memopen((char *)cin, height * width * cmpt.cps_);
+
167  cmpt.stream_ = istream;
+
168 
+
169  /* Open an output stream that will contain the encoded jpeg2000
+
170  * code stream. */
+
171  jpcstream = jas_stream_memopen(outjpc, (int)jpclen);
+
172 
+
173  /* Get jasper ID of JPEG encoder. */
+
174  fmt = jas_image_strtofmt(G2C_JASPER_JPEG_FORMAT_NAME);
+
175 
+
176  /* Encode image. */
+
177  if ((ier = jas_image_encode(&image, jpcstream, fmt, opts)))
+
178  return G2_JASPER_ENCODE;
+
179 
+
180  /* Rememeber the length in bytes of the encoded JPEG code
+
181  * stream. */
+
182  rwcnt = jpcstream->rwcnt_;
+
183 
+
184  /* Clean up JasPer work structures. */
+
185  ier = jas_stream_close(istream);
+
186  ier = jas_stream_close(jpcstream);
+
187 
+
188  /* Finalize jasper. */
+
189 #ifdef JASPER3
+
190  jas_cleanup_thread();
+
191  jas_cleanup_library();
+
192 #else
+
193  jas_cleanup();
+
194 #endif /* JASPER3 */
+
195 
+
196  /* Return size of jpeg2000 code stream. */
+
197  return rwcnt;
+
198 }
+
int g2c_enc_jpeg2000(unsigned char *cin, int width, int height, int nbits, int ltype, int ratio, int retry, char *outjpc, size_t jpclen)
This Function encodes a grayscale image into a JPEG2000 code stream specified in the JPEG2000 Part-1 ...
Definition: enc_jpeg2000.c:51
#define MAXOPTSSIZE
Maximum size of options.
Definition: enc_jpeg2000.c:11
-
#define G2_JASPER_INIT
In enc_jpeg2000()/dec_jpeg2000() error initializing jasper library.
Definition: grib2.h:322
-
#define G2C_JASPER_JPEG_FORMAT_NAME
Name of JPEG codec in Jasper.
Definition: grib2_int.h:23
-
#define G2_JASPER_ENCODE
In enc_jpeg2000() error encoding image with jasper.
Definition: grib2.h:323
+
int enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen)
This Function encodes a grayscale image into a JPEG2000 code stream specified in the JPEG2000 Part-1 ...
Definition: enc_jpeg2000.c:100
+
#define G2_JASPER_INIT
In enc_jpeg2000()/dec_jpeg2000() error initializing jasper library.
Definition: grib2.h:470
+
#define G2_JASPER_ENCODE
In enc_jpeg2000() error encoding image with jasper.
Definition: grib2.h:471
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
Header file with internal function prototypes NCEPLIBS-g2c library.
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
-
int enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen)
This Function encodes a grayscale image into a JPEG2000 code stream specified in the JPEG2000 Part-1 ...
Definition: enc_jpeg2000.c:51
+
#define G2C_JASPER_JPEG_FORMAT_NAME
Name of JPEG codec in Jasper.
Definition: grib2_int.h:33
+
#define LOG(e)
Ignore logging to stdout.
Definition: grib2_int.h:417
+ + diff --git a/enc__png_8c.html b/enc__png_8c.html index 0a99996d..e416723d 100644 --- a/enc__png_8c.html +++ b/enc__png_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: enc_png.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -138,7 +138,7 @@

Definition at line 21 of file enc_png.c.

+

Definition at line 1 of file enc_png.c.

@@ -205,7 +205,7 @@

References user_flush_data(), and user_write_data().

-

Referenced by pngpack_int().

+

Referenced by pngpack_int().

@@ -295,9 +295,7 @@

diff --git a/enc__png_8c_source.html b/enc__png_8c_source.html index be868ac3..ec82325f 100644 --- a/enc__png_8c_source.html +++ b/enc__png_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: enc_png.c Source File @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -86,7 +86,7 @@
enc_png.c
-Go to the documentation of this file.
1 
+Go to the documentation of this file.
1 
6 #include <stdio.h>
7 #include <stdlib.h>
8 #include <string.h>
@@ -99,7 +99,7 @@
18  g2int stream_len;
19 };
20 
-
21 typedef struct png_stream png_stream;
+
21 typedef struct png_stream png_stream;
23 void user_write_data(png_structp, png_bytep, png_uint_32);
24 void user_flush_data(png_structp);
25 
@@ -122,7 +122,7 @@
59 }
60 
74 int
-
75 enc_png(unsigned char *data, g2int width, g2int height, g2int nbits,
+
75 enc_png(unsigned char *data, g2int width, g2int height, g2int nbits,
76  unsigned char *pngbuf)
77 {
78  int color_type;
@@ -190,21 +190,19 @@
140  pnglen = write_io_ptr.stream_len;
141  return pnglen;
142 }
-
-
int enc_png(unsigned char *data, g2int width, g2int height, g2int nbits, unsigned char *pngbuf)
Encode PNG.
Definition: enc_png.c:75
-
Header file with internal function prototypes NCEPLIBS-g2c library.
-
struct png_stream png_stream
Typedef for PNG stream.
Definition: enc_png.c:21
-
void user_write_data(png_structp, png_bytep, png_uint_32)
Custom write function used to that libpng will write to memory location instead of a file on disk.
Definition: enc_png.c:37
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
+
struct png_stream png_stream
Typedef for PNG stream.
Definition: enc_png.c:21
void user_flush_data(png_structp)
Dummy Custom flush function.
Definition: enc_png.c:57
+
void user_write_data(png_structp, png_bytep, png_uint_32)
Custom write function used to that libpng will write to memory location instead of a file on disk.
Definition: enc_png.c:37
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
+
Header file with internal function prototypes NCEPLIBS-g2c library.
+ + diff --git a/files.html b/files.html index a207f8ee..4f58a43b 100644 --- a/files.html +++ b/files.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: File List @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -108,34 +108,47 @@  g2_miss.cCheck the Data Representation Template to see if missing value management is used, and returns the missing value(s) in the data field  g2_unpack1.cUnpack Section 1 (Identification Section) as defined in GRIB Edition 2  g2_unpack2.cUnpack Section 2 (Local Use Section) as defined in GRIB Edition 2 - g2_unpack3.cUnpack Section 3 (Grid Definition Section) as defined in GRIB Edition 2 + g2_unpack3.cUnpack Section 3 (Grid Definition Section) from a GRIB2 message  g2_unpack4.cUnpack Section 4 (Product Definition Section) as defined in GRIB Edition 2  g2_unpack5.cUnpack Section 5 (Data Representation Section) as defined in GRIB Edition 2  g2_unpack6.cUnpack Section 6 (Bit-Map Section) as defined in GRIB Edition 2  g2_unpack7.cUnpack Section 7 (Data Section) as defined in GRIB Edition 2 - gbits.cFunctions to pack and unpack bits to/from a packed bit string - getdim.cReturn the dimensions and scanning mode of a grid definition packed in GRIB2 Grid Definition Section 3 format - getpoly.cReturn the J, K, and M pentagonal resolution parameters specified in a GRIB Grid Definition Section used spherical harmonic coefficients using GDT 5.50 through 5.53 - grib2.hHeader file for NCEPLIBS-g2c library - grib2_int.hHeader file with internal function prototypes NCEPLIBS-g2c library - gridtemplates.cReturns grid template information for a specified Grid Definition Template for Section 3 - the Grid Definition Section (GDS) - int_power.cProvide function similar to C pow() power function - jpcpack.cPack up a data field into a JPEG2000 code stream - jpcunpack.cUnpack a data field that was packed into a JPEG2000 code stream - misspack.cPack up a data field using a complex packing algorithm as defined in the GRIB2 documention - mkieee.c - pack_gp.c - pdstemplates.cFunctions for GRIB2 Product Definition Templates used in Section 4 - the Product Definition Section (PDS) - pngpack.cFunction to pack data with PNG compression - pngunpack.cContains a function to unpack data packed with PNG compression - rdieee.cRead a list of real values in 32-bit IEEE floating point format - reduce.cDetermines whether the number of groups should be increased in order to reduce the size of the large groups, and to make that adjustment - seekgb.cSearches a file for the next GRIB message - simpack.cPack up a data field using the simple packing algorithm - simunpack.c - specpack.cPack a spectral data field using the complex packing algorithm for spherical harmonic data - specunpack.cUnpack a spectral data field that was packed using the complex packing algorithm for spherical harmonic data - util.cInternal utility functions for the g2c library + g2c_compare.cThis is a utility to compare two GRIB2 files + g2c_degrib2.cThis is a utility to print a summary of a GRIB2 file + g2c_index.cPrint a summary of a GRIB1 or GRIB2 index file + g2ccompare.cCompare the metadata of two open GRIB2 files + g2cdegrib2.cWrite summary output to a file, as is done by utility grb2index + g2cfile.cFile functions for the g2c library + g2cindex.cWrite summary output to an index file, as is done by utility grb2index + g2cinq.cInquiry functions + g2cio.cFile I/O functions for the g2c library + g2cparams.cFunctions for serving up NOAA parameter abbreviations and GRIB1/GRIB2 translations + g2cprod.cProduct functions for the g2c library + g2cutil.cInternal utility functions for the NCEPLIBS-g2c library for the new g2c API + g2cxml.cThis file reads the GRIB2 XML files + gbits.cFunctions to pack and unpack bits to/from a packed bit string + getdim.cReturn the dimensions and scanning mode of a grid definition packed in GRIB2 Grid Definition Section 3 format + getpoly.cReturn the J, K, and M pentagonal resolution parameters specified in a GRIB Grid Definition Section used spherical harmonic coefficients using GDT 5.50 through 5.53 + grib2.hHeader file for NCEPLIBS-g2c library + grib2_int.hHeader file with internal function prototypes NCEPLIBS-g2c library + gridtemplates.cReturns grid template information for a specified Grid Definition Template for Section 3 - the Grid Definition Section (GDS) + int_power.cProvide function similar to C pow() power function + jpcpack.cPack and unpack an array of float/double using JPEG2000 + jpcunpack.cUnpack a data field that was packed with JPEG2000 + misspack.cPack up a data field using a complex packing algorithm as defined in the GRIB2 documention + mkieee.c + pack_gp.c + pdstemplates.cFunctions for GRIB2 Product Definition Templates used in Section 4 - the Product Definition Section (PDS) + pngpack.cFunction to pack data with PNG compression + pngunpack.cContains a function to unpack data packed with PNG compression + rdieee.cRead a list of real values in 32-bit IEEE floating point format + reduce.cDetermines whether the number of groups should be increased in order to reduce the size of the large groups, and to make that adjustment + seekgb.cSearch a file for the next GRIB message + simpack.cPack up a data field using the simple packing algorithm + simunpack.c + specpack.cPack a spectral data field using the complex packing algorithm for spherical harmonic data + specunpack.cUnpack a spectral data field that was packed using the complex packing algorithm for spherical harmonic data + util.cInternal utility functions for the g2c library @@ -143,9 +156,7 @@ diff --git a/files_dup.js b/files_dup.js index e81540b4..f515d21a 100644 --- a/files_dup.js +++ b/files_dup.js @@ -25,6 +25,19 @@ var files_dup = [ "g2_unpack5.c", "g2__unpack5_8c.html", "g2__unpack5_8c" ], [ "g2_unpack6.c", "g2__unpack6_8c.html", "g2__unpack6_8c" ], [ "g2_unpack7.c", "g2__unpack7_8c.html", "g2__unpack7_8c" ], + [ "g2c_compare.c", "g2c__compare_8c.html", "g2c__compare_8c" ], + [ "g2c_degrib2.c", "g2c__degrib2_8c.html", "g2c__degrib2_8c" ], + [ "g2c_index.c", "g2c__index_8c.html", "g2c__index_8c" ], + [ "g2ccompare.c", "g2ccompare_8c.html", "g2ccompare_8c" ], + [ "g2cdegrib2.c", "g2cdegrib2_8c.html", "g2cdegrib2_8c" ], + [ "g2cfile.c", "g2cfile_8c.html", "g2cfile_8c" ], + [ "g2cindex.c", "g2cindex_8c.html", "g2cindex_8c" ], + [ "g2cinq.c", "g2cinq_8c.html", "g2cinq_8c" ], + [ "g2cio.c", "g2cio_8c.html", "g2cio_8c" ], + [ "g2cparams.c", "g2cparams_8c.html", "g2cparams_8c" ], + [ "g2cprod.c", "g2cprod_8c.html", "g2cprod_8c" ], + [ "g2cutil.c", "g2cutil_8c.html", "g2cutil_8c" ], + [ "g2cxml.c", "g2cxml_8c.html", "g2cxml_8c" ], [ "gbits.c", "gbits_8c.html", "gbits_8c" ], [ "getdim.c", "getdim_8c.html", "getdim_8c" ], [ "getpoly.c", "getpoly_8c.html", "getpoly_8c" ], diff --git a/functions.html b/functions.html index ae2e788d..827ffb30 100644 --- a/functions.html +++ b/functions.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: Data Fields @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -84,14 +84,42 @@
Here is a list of all documented data types members with links to the data structure documentation for each member
+

- a -

+ +

- b -

- c -

diff --git a/functions_vars.html b/functions_vars.html index 807b49cf..8db41c73 100644 --- a/functions_vars.html +++ b/functions_vars.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: Data Fields - Variables @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -84,14 +84,42 @@
  +

- a -

+ +

- b -

- c -

diff --git a/g2__addfield_8c.html b/g2__addfield_8c.html index 2e64d1ba..393533a8 100644 --- a/g2__addfield_8c.html +++ b/g2__addfield_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: g2_addfield.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -193,23 +193,23 @@

Product Definition Section, Data Representation Section, Bit-Map Section and Data Section, respectively.

This routine is used with routines g2_create(), g2_addlocal(), g2_addgrid(), and g2_gribend() to create a complete GRIB2 message. Function g2_create() must be called first to initialize a new GRIB2 message. Function g2_addgrid() must be called after g2_create() and before this routine to add the appropriate grid description to the GRIB2 message. A call to g2_gribend() is required to complete GRIB2 message after all fields have been added.

-

+

Program History Log

- + - + - + - + - + - + - +
Date Programmer Comments
Date Programmer Comments
2002-11-05 Gilbert Initial
2002-11-05 Gilbert Initial
2002-12-23 Gilbert Added complex spherical harmonic packing
2002-12-23 Gilbert Added complex spherical harmonic packing
2003-08-27 Gilbert Added support for new templates using PNG and JPEG2000 algorithms/templates.
2003-08-27 Gilbert Added support for new templates using PNG and JPEG2000 algorithms/templates.
2004-11-29 Gilbert JPEG2000 now can use WMO Template 5.40 PNG can use WMO Template 5.41. Added packing algorithm check.
2004-11-29 Gilbert JPEG2000 now can use WMO Template 5.40 PNG can use WMO Template 5.41. Added packing algorithm check.
2005-05-10 Gilbert Imposed minimum size on cpack.
2005-05-10 Gilbert Imposed minimum size on cpack.
2009-01-14 Vuong Changed structure name template to gtemplate
2009-01-14 Vuong Changed structure name template to gtemplate
Parameters
@@ -253,7 +253,7 @@

Definition at line 98 of file g2_addfield.c.

-

References cmplxpack(), gtemplate::ext, gtemplate::extlen, extpdstemplate(), G2_ADD_MSG_COMPLETE, G2_ADD_MSG_INIT, G2_ADDFIELD_BAD_BITMAP, G2_ADDFIELD_BAD_DRT, G2_ADDFIELD_BAD_GDS, G2_ADDFIELD_BAD_GDT, G2_ADDFIELD_BAD_PDT, G2_ADDFIELD_ERR, G2_BAD_SEC, G2_BAD_SEC_COUNTS, g2c_check_msg(), G2C_MSG_COMPLETE, G2C_NOT_GRIB, gbit(), getdim(), getdrstemplate(), getpdstemplate(), getpoly(), jpcpack(), gtemplate::map, gtemplate::maplen, mkieee(), gtemplate::needext, pngpack(), sbit(), sbits(), simpack(), and specpack().

+

References cmplxpack(), gtemplate::ext, gtemplate::extlen, extpdstemplate(), G2_ADD_MSG_COMPLETE, G2_ADD_MSG_INIT, G2_ADDFIELD_BAD_BITMAP, G2_ADDFIELD_BAD_DRT, G2_ADDFIELD_BAD_GDS, G2_ADDFIELD_BAD_GDT, G2_ADDFIELD_BAD_PDT, G2_ADDFIELD_ERR, G2_BAD_SEC, G2_BAD_SEC_COUNTS, g2c_check_msg(), G2C_EMSGCOMPLETE, G2C_ENOTGRIB, gbit(), getdim(), getdrstemplate(), getpdstemplate(), getpoly(), jpcpack(), gtemplate::map, gtemplate::maplen, mkieee(), gtemplate::needext, pngpack(), sbit(), sbits(), simpack(), and specpack().

@@ -263,9 +263,7 @@

diff --git a/g2__addfield_8c_source.html b/g2__addfield_8c_source.html index 67ac6432..71f9fcb7 100644 --- a/g2__addfield_8c_source.html +++ b/g2__addfield_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: g2_addfield.c Source File @@ -26,7 +26,7 @@

@@ -34,10 +34,10 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
- + @@ -92,7 +92,7 @@
9 #include "grib2_int.h"
10 
97 g2int
-
98 g2_addfield(unsigned char *cgrib, g2int ipdsnum, g2int *ipdstmpl,
+
98 g2_addfield(unsigned char *cgrib, g2int ipdsnum, g2int *ipdstmpl,
99  float *coordlist, g2int numcoord, g2int idrsnum, g2int *idrstmpl,
100  float *fld, g2int ngrdpts, g2int ibmap, g2int *bmap)
101 {
@@ -117,9 +117,9 @@
120  * to the legacy G2 error codes. */
121  if ((ret = g2c_check_msg(cgrib, &lencurr, 1)))
122  {
-
123  if (ret == G2C_NOT_GRIB)
+
123  if (ret == G2C_ENOTGRIB)
124  return G2_ADD_MSG_INIT;
-
125  if (ret == G2C_MSG_COMPLETE)
+
125  if (ret == G2C_EMSGCOMPLETE)
126  return G2_ADD_MSG_COMPLETE;
127  }
128 
@@ -495,51 +495,49 @@
498 
499  return newlen;
500 }
- - -
gtemplate * extpdstemplate(g2int number, g2int *list)
This subroutine generates the remaining octet map for a given Product Definition Template,...
Definition: pdstemplates.c:329
-
g2int * ext
Number of octets of each entry in the extension part of the template.
Definition: grib2_int.h:53
-
#define G2_ADDFIELD_ERR
In g2_addfield() error packing data field.
Definition: grib2.h:318
-
g2int getdim(unsigned char *csec3, g2int *width, g2int *height, g2int *iscan)
This subroutine returns the dimensions and scanning mode of a grid definition packed in GRIB2 Grid De...
Definition: getdim.c:29
-
#define G2_ADDFIELD_BAD_DRT
In g2_addfield() unsupported Data Representationi Template.
Definition: grib2.h:315
-
gtemplate * getdrstemplate(g2int number)
This subroutine returns DRS template information for a specified Data Representation Template.
Definition: drstemplates.c:166
-
void jpcpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a data field into a JPEG2000 code stream.
Definition: jpcpack.c:253
void cmplxpack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a data field using a complex packing algorithm as defined in the GRIB2 docum...
Definition: cmplxpack.c:36
-
#define G2_ADDFIELD_BAD_BITMAP
In g2_addfield() no bitmap in the GRIB message.
Definition: grib2.h:316
-
g2int needext
Indicates whether or not the template needs to be extended.
Definition: grib2_int.h:46
-
#define G2_BAD_SEC
Previous Section was unexpected.
Definition: grib2.h:300
+
gtemplate * getdrstemplate(g2int number)
This subroutine returns DRS template information for a specified Data Representation Template.
Definition: drstemplates.c:162
+
g2int g2_addfield(unsigned char *cgrib, g2int ipdsnum, g2int *ipdstmpl, float *coordlist, g2int numcoord, g2int idrsnum, g2int *idrstmpl, float *fld, g2int ngrdpts, g2int ibmap, g2int *bmap)
This routine packs up Sections 4 through 7 for a given field and adds them to a GRIB2 message.
Definition: g2_addfield.c:98
+
void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits)
Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
Definition: gbits.c:20
+
void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:180
+
void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:38
+
g2int getdim(unsigned char *csec3, g2int *width, g2int *height, g2int *iscan)
This subroutine returns the dimensions and scanning mode of a grid definition packed in GRIB2 Grid De...
Definition: getdim.c:29
+
g2int getpoly(unsigned char *csec3, g2int *jj, g2int *kk, g2int *mm)
This subroutine returns the J, K, and M pentagonal resolution parameters specified in a GRIB Grid Def...
Definition: getpoly.c:40
+
#define G2_BAD_SEC_COUNTS
Sum of Section byte counts doesn't add to total byte count.
Definition: grib2.h:460
+
#define G2_ADDFIELD_BAD_GDS
In g2_addfield() section 3 (GDS) not previously defined in message.
Definition: grib2.h:462
+
#define G2_BAD_SEC
Previous Section was unexpected.
Definition: grib2.h:448
+
#define G2_ADDFIELD_BAD_BITMAP
In g2_addfield() no bitmap in the GRIB message.
Definition: grib2.h:464
+
#define G2_ADDFIELD_BAD_DRT
In g2_addfield() unsupported Data Representationi Template.
Definition: grib2.h:463
+
#define G2_ADD_MSG_COMPLETE
GRIB message already complete.
Definition: grib2.h:459
+
#define G2_ADDFIELD_BAD_PDT
In g2_addfield() could not find requested Product Definition Template.
Definition: grib2.h:461
+
#define G2_ADD_MSG_INIT
GRIB message was not initialized - call g2_create() first.
Definition: grib2.h:458
+
#define G2C_ENOTGRIB
GRIB header not found.
Definition: grib2.h:478
+
#define G2_ADDFIELD_BAD_GDT
In g2_addfield() GDT of one of 5.50 through 5.53 required when using DRT 5.51.
Definition: grib2.h:465
+
#define G2C_EMSGCOMPLETE
GRIB message already complete.
Definition: grib2.h:479
+
#define G2_ADDFIELD_ERR
In g2_addfield() error packing data field.
Definition: grib2.h:466
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
Header file with internal function prototypes NCEPLIBS-g2c library.
-
g2int maplen
Number of entries in the static part of the template.
Definition: grib2_int.h:39
-
void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:114
-
g2int * map
Number of octets of each entry in the static part of the template.
Definition: grib2_int.h:43
+
void pngpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a float data field into PNG image format.
Definition: pngpack.c:242
void mkieee(float *a, g2int *rieee, g2int num)
This subroutine stores a list of real values in 32-bit IEEE floating point format.
Definition: mkieee.c:22
-
void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits)
Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
Definition: gbits.c:20
-
gtemplate * getpdstemplate(g2int number)
This subroutine returns PDS template information for a specified Product Definition Template.
Definition: pdstemplates.c:281
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
+
g2int * ext
Number of octets of each entry in the extension part of the template.
Definition: grib2_int.h:300
+
int g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose)
Check for 'GRIB' at the beginning of a GRIB message, and check to see if the message is already termi...
Definition: util.c:26
+
gtemplate * extpdstemplate(g2int number, g2int *list)
This subroutine generates the remaining octet map for a given Product Definition Template,...
Definition: pdstemplates.c:325
+
g2int extlen
Number of entries in the template extension.
Definition: grib2_int.h:296
+
g2int * map
Number of octets of each entry in the static part of the template.
Definition: grib2_int.h:290
+
g2int needext
Indicates whether or not the template needs to be extended.
Definition: grib2_int.h:293
void specpack(float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs a spectral data field using the complex packing algorithm for spherical harmoni...
Definition: specpack.c:33
-
#define G2_BAD_SEC_COUNTS
Sum of Section byte counts doesn't add to total byte count.
Definition: grib2.h:312
-
#define G2_ADD_MSG_COMPLETE
GRIB message already complete.
Definition: grib2.h:311
-
g2int getpoly(unsigned char *csec3, g2int *jj, g2int *kk, g2int *mm)
This subroutine returns the J, K, and M pentagonal resolution parameters specified in a GRIB Grid Def...
Definition: getpoly.c:40
-
#define G2C_MSG_COMPLETE
GRIB message already complete.
Definition: grib2.h:330
-
g2int extlen
Number of entries in the template extension.
Definition: grib2_int.h:49
void simpack(float *fld, g2int ndpts, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a data field using the simple packing algorithm as defined in the GRIB2 docu...
Definition: simpack.c:34
-
#define G2_ADD_MSG_INIT
GRIB message was not initialized - call g2_create() first.
Definition: grib2.h:310
-
void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:38
-
#define G2C_NOT_GRIB
GRIB header not found.
Definition: grib2.h:329
-
#define G2_ADDFIELD_BAD_GDS
In g2_addfield() section 3 (GDS) not previously defined in message.
Definition: grib2.h:314
-
#define G2_ADDFIELD_BAD_GDT
In g2_addfield() GDT of one of 5.50 through 5.53 required when using DRT 5.51.
Definition: grib2.h:317
-
void pngpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a float data field into PNG image format.
Definition: pngpack.c:224
-
#define G2_ADDFIELD_BAD_PDT
In g2_addfield() could not find requested Product Definition Template.
Definition: grib2.h:313
-
g2int g2_addfield(unsigned char *cgrib, g2int ipdsnum, g2int *ipdstmpl, float *coordlist, g2int numcoord, g2int idrsnum, g2int *idrstmpl, float *fld, g2int ngrdpts, g2int ibmap, g2int *bmap)
This routine packs up Sections 4 through 7 for a given field and adds them to a GRIB2 message.
Definition: g2_addfield.c:98
-
Struct for GRIB template.
Definition: grib2_int.h:28
-
int g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose)
Check for 'GRIB' at the beginning of a GRIB message, and check to see if the message is already termi...
Definition: util.c:26
+
void jpcpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This function packs up a float array into a JPEG2000 code stream.
Definition: jpcpack.c:270
+
gtemplate * getpdstemplate(g2int number)
This subroutine returns PDS template information for a specified Product Definition Template.
Definition: pdstemplates.c:277
+
g2int maplen
Number of entries in the static part of the template.
Definition: grib2_int.h:286
+
Struct for GRIB template, returned by getgridtemplate().
Definition: grib2_int.h:276
+ + diff --git a/g2__addgrid_8c.html b/g2__addgrid_8c.html index 17044a02..b1dce94a 100644 --- a/g2__addgrid_8c.html +++ b/g2__addgrid_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: g2_addgrid.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -156,15 +156,15 @@

Grid Definition Section (Section 3) and adds it to a GRIB2 message.

It is used with routines g2_create(), g2_addlocal(), g2_addfield(), and g2_gribend() to create a complete GRIB2 message. g2_create() must be called first to initialize a new GRIB2 message.

-

+

Program History Log

- + - + - +
Date Programmer Comments
Date Programmer Comments
2002-11-01 Gilbert Initial.
2002-11-01 Gilbert Initial.
2009-01-14 Vuong Changed structure name template to gtemplate
2009-01-14 Vuong Changed structure name template to gtemplate
Parameters
@@ -198,7 +198,7 @@

Definition at line 70 of file g2_addgrid.c.

-

References gtemplate::ext, extgridtemplate(), gtemplate::extlen, G2_ADD_MSG_COMPLETE, G2_ADD_MSG_INIT, G2_ADDGRID_BAD_GDT, G2_BAD_SEC, G2_BAD_SEC_COUNTS, g2c_check_msg(), G2C_MSG_COMPLETE, G2C_NOT_GRIB, gbit(), getgridtemplate(), gtemplate::map, gtemplate::maplen, gtemplate::needext, sbit(), and sbits().

+

References gtemplate::ext, extgridtemplate(), gtemplate::extlen, G2_ADD_MSG_COMPLETE, G2_ADD_MSG_INIT, G2_ADDGRID_BAD_GDT, G2_BAD_SEC, G2_BAD_SEC_COUNTS, g2c_check_msg(), G2C_EMSGCOMPLETE, G2C_ENOTGRIB, gbit(), getgridtemplate(), gtemplate::map, gtemplate::maplen, gtemplate::needext, sbit(), and sbits().

@@ -208,9 +208,7 @@

diff --git a/g2__addgrid_8c_source.html b/g2__addgrid_8c_source.html index 7d465fa2..95b660b6 100644 --- a/g2__addgrid_8c_source.html +++ b/g2__addgrid_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: g2_addgrid.c Source File @@ -26,7 +26,7 @@

@@ -34,10 +34,10 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
- + @@ -92,7 +92,7 @@
10 #include "grib2_int.h"
11 
69 g2int
-
70 g2_addgrid(unsigned char *cgrib, g2int *igds, g2int *igdstmpl, g2int *ideflist,
+
70 g2_addgrid(unsigned char *cgrib, g2int *igds, g2int *igdstmpl, g2int *ideflist,
71  g2int idefnum)
72 {
73  static g2int one = 1, three = 3, miss = 65535;
@@ -105,9 +105,9 @@
80  * to the legacy G2 error codes. */
81  if ((ret = g2c_check_msg(cgrib, &lencurr, 1)))
82  {
-
83  if (ret == G2C_NOT_GRIB)
+
83  if (ret == G2C_ENOTGRIB)
84  return G2_ADD_MSG_INIT;
-
85  if (ret == G2C_MSG_COMPLETE)
+
85  if (ret == G2C_EMSGCOMPLETE)
86  return G2_ADD_MSG_COMPLETE;
87  }
88 
@@ -244,37 +244,35 @@
219 
220  return lencurr;
221 }
- - -
g2int * ext
Number of octets of each entry in the extension part of the template.
Definition: grib2_int.h:53
-
g2int needext
Indicates whether or not the template needs to be extended.
Definition: grib2_int.h:46
-
gtemplate * extgridtemplate(g2int number, g2int *list)
This subroutine generates the remaining octet map for a given Grid Definition Template,...
-
#define G2_BAD_SEC
Previous Section was unexpected.
Definition: grib2.h:300
-
Header file with internal function prototypes NCEPLIBS-g2c library.
-
g2int maplen
Number of entries in the static part of the template.
Definition: grib2_int.h:39
-
void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:114
-
gtemplate * getgridtemplate(g2int number)
This subroutine returns grid template information for a specified Grid Definition Template for [Secti...
-
g2int * map
Number of octets of each entry in the static part of the template.
Definition: grib2_int.h:43
+
g2int g2_addgrid(unsigned char *cgrib, g2int *igds, g2int *igdstmpl, g2int *ideflist, g2int idefnum)
This routine packs up a Grid Definition Section (Section 3) and adds it to a GRIB2 message.
Definition: g2_addgrid.c:70
void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits)
Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
Definition: gbits.c:20
-
#define G2_ADDGRID_BAD_GDT
In g2_addgrid() Could not find requested Grid Definition Template.
Definition: grib2.h:319
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
-
#define G2_BAD_SEC_COUNTS
Sum of Section byte counts doesn't add to total byte count.
Definition: grib2.h:312
-
#define G2_ADD_MSG_COMPLETE
GRIB message already complete.
Definition: grib2.h:311
-
#define G2C_MSG_COMPLETE
GRIB message already complete.
Definition: grib2.h:330
-
g2int extlen
Number of entries in the template extension.
Definition: grib2_int.h:49
-
#define G2_ADD_MSG_INIT
GRIB message was not initialized - call g2_create() first.
Definition: grib2.h:310
+
void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:180
void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:38
-
#define G2C_NOT_GRIB
GRIB header not found.
Definition: grib2.h:329
-
Struct for GRIB template.
Definition: grib2_int.h:28
+
#define G2_BAD_SEC_COUNTS
Sum of Section byte counts doesn't add to total byte count.
Definition: grib2.h:460
+
#define G2_BAD_SEC
Previous Section was unexpected.
Definition: grib2.h:448
+
#define G2_ADDGRID_BAD_GDT
In g2_addgrid() Could not find requested Grid Definition Template.
Definition: grib2.h:467
+
#define G2_ADD_MSG_COMPLETE
GRIB message already complete.
Definition: grib2.h:459
+
#define G2_ADD_MSG_INIT
GRIB message was not initialized - call g2_create() first.
Definition: grib2.h:458
+
#define G2C_ENOTGRIB
GRIB header not found.
Definition: grib2.h:478
+
#define G2C_EMSGCOMPLETE
GRIB message already complete.
Definition: grib2.h:479
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
+
Header file with internal function prototypes NCEPLIBS-g2c library.
+
gtemplate * extgridtemplate(g2int number, g2int *list)
This subroutine generates the remaining octet map for a given Grid Definition Template,...
+
g2int * ext
Number of octets of each entry in the extension part of the template.
Definition: grib2_int.h:300
int g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose)
Check for 'GRIB' at the beginning of a GRIB message, and check to see if the message is already termi...
Definition: util.c:26
-
g2int g2_addgrid(unsigned char *cgrib, g2int *igds, g2int *igdstmpl, g2int *ideflist, g2int idefnum)
This routine packs up a Grid Definition Section (Section 3) and adds it to a GRIB2 message.
Definition: g2_addgrid.c:70
+
g2int extlen
Number of entries in the template extension.
Definition: grib2_int.h:296
+
g2int * map
Number of octets of each entry in the static part of the template.
Definition: grib2_int.h:290
+
g2int needext
Indicates whether or not the template needs to be extended.
Definition: grib2_int.h:293
+
g2int maplen
Number of entries in the static part of the template.
Definition: grib2_int.h:286
+
gtemplate * getgridtemplate(g2int number)
This subroutine returns grid template information for a specified Grid Definition Template for [Secti...
+
Struct for GRIB template, returned by getgridtemplate().
Definition: grib2_int.h:276
+ + diff --git a/g2__addlocal_8c.html b/g2__addlocal_8c.html index dff1f978..94340997 100644 --- a/g2__addlocal_8c.html +++ b/g2__addlocal_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: g2_addlocal.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -164,7 +164,7 @@

Definition at line 40 of file g2_addlocal.c.

-

References G2_ADD_MSG_COMPLETE, G2_ADD_MSG_INIT, G2_BAD_SEC, G2_BAD_SEC_COUNTS, g2c_check_msg(), G2C_MSG_COMPLETE, G2C_NOT_GRIB, gbit(), and sbit().

+

References G2_ADD_MSG_COMPLETE, G2_ADD_MSG_INIT, G2_BAD_SEC, G2_BAD_SEC_COUNTS, g2c_check_msg(), G2C_EMSGCOMPLETE, G2C_ENOTGRIB, gbit(), and sbit().

@@ -174,9 +174,7 @@

diff --git a/g2__addlocal_8c_source.html b/g2__addlocal_8c_source.html index 04725119..2b3b5e99 100644 --- a/g2__addlocal_8c_source.html +++ b/g2__addlocal_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: g2_addlocal.c Source File @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -91,7 +91,7 @@
7 #include "grib2_int.h"
8 
39 g2int
-
40 g2_addlocal(unsigned char *cgrib, unsigned char *csec2, g2int lcsec2)
+
40 g2_addlocal(unsigned char *cgrib, unsigned char *csec2, g2int lcsec2)
41 {
42  static g2int two = 2;
43  g2int j, k, lensec2, iofst, ibeg, lencurr, ilen, len, istart;
@@ -102,9 +102,9 @@
48  * to the legacy G2 error codes. */
49  if ((ret = g2c_check_msg(cgrib, &lencurr, 1)))
50  {
-
51  if (ret == G2C_NOT_GRIB)
+
51  if (ret == G2C_ENOTGRIB)
52  return G2_ADD_MSG_INIT;
-
53  if (ret == G2C_MSG_COMPLETE)
+
53  if (ret == G2C_EMSGCOMPLETE)
54  return G2_ADD_MSG_COMPLETE;
55  }
56 
@@ -163,27 +163,25 @@
109 
110  return lencurr;
111 }
- - -
#define G2_BAD_SEC
Previous Section was unexpected.
Definition: grib2.h:300
-
Header file with internal function prototypes NCEPLIBS-g2c library.
-
void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits)
Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
Definition: gbits.c:20
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
g2int g2_addlocal(unsigned char *cgrib, unsigned char *csec2, g2int lcsec2)
This routine adds a Local Use Section (Section 2) to a GRIB2 message.
Definition: g2_addlocal.c:40
-
#define G2_BAD_SEC_COUNTS
Sum of Section byte counts doesn't add to total byte count.
Definition: grib2.h:312
-
#define G2_ADD_MSG_COMPLETE
GRIB message already complete.
Definition: grib2.h:311
-
#define G2C_MSG_COMPLETE
GRIB message already complete.
Definition: grib2.h:330
-
#define G2_ADD_MSG_INIT
GRIB message was not initialized - call g2_create() first.
Definition: grib2.h:310
+
void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits)
Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
Definition: gbits.c:20
void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:38
-
#define G2C_NOT_GRIB
GRIB header not found.
Definition: grib2.h:329
+
#define G2_BAD_SEC_COUNTS
Sum of Section byte counts doesn't add to total byte count.
Definition: grib2.h:460
+
#define G2_BAD_SEC
Previous Section was unexpected.
Definition: grib2.h:448
+
#define G2_ADD_MSG_COMPLETE
GRIB message already complete.
Definition: grib2.h:459
+
#define G2_ADD_MSG_INIT
GRIB message was not initialized - call g2_create() first.
Definition: grib2.h:458
+
#define G2C_ENOTGRIB
GRIB header not found.
Definition: grib2.h:478
+
#define G2C_EMSGCOMPLETE
GRIB message already complete.
Definition: grib2.h:479
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
+
Header file with internal function prototypes NCEPLIBS-g2c library.
int g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose)
Check for 'GRIB' at the beginning of a GRIB message, and check to see if the message is already termi...
Definition: util.c:26
+ + diff --git a/g2__create_8c.html b/g2__create_8c.html index 2967ee57..966863c3 100644 --- a/g2__create_8c.html +++ b/g2__create_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: g2_create.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -228,7 +228,7 @@

Definition at line 68 of file g2_create.c.

-

References G2_CREATE_GRIB_VERSION, LENSEC0, MAPSEC1LEN, and sbit().

+

References G2_CREATE_GRIB_VERSION, LENSEC0, MAPSEC1LEN, and sbit().

@@ -238,9 +238,7 @@

diff --git a/g2__create_8c_source.html b/g2__create_8c_source.html index ad8d0e05..33884949 100644 --- a/g2__create_8c_source.html +++ b/g2__create_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: g2_create.c Source File @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -92,8 +92,8 @@
9 
10 #define MAPSEC1LEN 13
11 #define LENSEC0 16
-
67 g2int
-
68 g2_create(unsigned char *cgrib, g2int *listsec0, g2int *listsec1)
+
67 g2int
+
68 g2_create(unsigned char *cgrib, g2int *listsec0, g2int *listsec1)
69 {
70  g2int zero = 0, one = 1;
71 
@@ -150,22 +150,20 @@
122  sbit(cgrib, &len, 96, 32);
123  return (len);
124 }
- -
g2int g2_create(unsigned char *cgrib, g2int *listsec0, g2int *listsec1)
This routine initializes a new GRIB2 message and packs GRIB2 Section 0 (Indicator Section) and Sectio...
Definition: g2_create.c:68
-
Header file with internal function prototypes NCEPLIBS-g2c library.
#define LENSEC0
Length of GRIB Section 0.
Definition: g2_create.c:11
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
-
#define G2_CREATE_GRIB_VERSION
Wrong GRIB version for g2_create(), must be 2.
Definition: grib2.h:276
-
void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:38
#define MAPSEC1LEN
Length of Map Section 1.
Definition: g2_create.c:10
+
void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:38
+
#define G2_CREATE_GRIB_VERSION
Wrong GRIB version for g2_create(), must be 2.
Definition: grib2.h:424
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
+
Header file with internal function prototypes NCEPLIBS-g2c library.
+ + diff --git a/g2__free_8c.html b/g2__free_8c.html index f2263d55..439ec027 100644 --- a/g2__free_8c.html +++ b/g2__free_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: g2_free.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -138,7 +138,7 @@

Definition at line 24 of file g2_free.c.

-

References gribfield::bmap, gribfield::coord_list, gribfield::fld, gribfield::idrtmpl, gribfield::idsect, gribfield::igdtmpl, gribfield::ipdtmpl, gribfield::list_opt, and gribfield::local.

+

References gribfield::bmap, gribfield::coord_list, gribfield::fld, gribfield::idrtmpl, gribfield::idsect, gribfield::igdtmpl, gribfield::ipdtmpl, gribfield::list_opt, and gribfield::local.

Referenced by g2_getfld().

@@ -150,9 +150,7 @@

diff --git a/g2__free_8c_source.html b/g2__free_8c_source.html index 801cad2e..723131ba 100644 --- a/g2__free_8c_source.html +++ b/g2__free_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: g2_free.c Source File @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -91,7 +91,7 @@
8 #include "grib2_int.h"
9 
23 void
- +
25 {
26  if (gfld->idsect)
27  free(gfld->idsect);
@@ -115,27 +115,25 @@
45 
46  return;
47 }
+
void g2_free(gribfield *gfld)
This routine frees up memory that was allocated for struct gribfield.
Definition: g2_free.c:24
+
g2int * ipdtmpl
Contains the data values for the Product Definition Template specified by ipdtnum.
Definition: grib2.h:167
+
float * coord_list
Array containing floating point values intended to document the vertical discretisation associated to...
Definition: grib2.h:175
+
g2int * igdtmpl
Contains the data values for the Grid Definition Template specified by igdtnum.
Definition: grib2.h:155
+
g2int * idrtmpl
Contains the data values for the Data Representation Template specified by idrtnum.
Definition: grib2.h:189
+
g2int * list_opt
(Used if numoct_opt .ne.
Definition: grib2.h:143
+
g2int * idsect
Contains the entries in the Identification Section (Section 1).
Definition: grib2.h:99
+
float * fld
Array of ndpts unpacked data points.
Definition: grib2.h:217
+
unsigned char * local
Pointer to character array containing contents of Local Section 2, if included.
Definition: grib2.h:106
+
g2int * bmap
Integer array containing decoded bitmap, if ibmap=0 or ibap=254.
Definition: grib2.h:214
+
Struct for GRIB field.
Definition: grib2.h:45
+
Header file with internal function prototypes NCEPLIBS-g2c library.
-
g2int * igdtmpl
Contains the data values for the Grid Definition Template specified by igdtnum.
Definition: grib2.h:152
-
g2int * idsect
Contains the entries in the Identification Section (Section 1).
Definition: grib2.h:96
-
Header file with internal function prototypes NCEPLIBS-g2c library.
-
g2int * idrtmpl
Contains the data values for the Data Representation Template specified by idrtnum.
Definition: grib2.h:186
-
void g2_free(gribfield *gfld)
This routine frees up memory that was allocated for struct gribfield.
Definition: g2_free.c:24
-
float * coord_list
Array containing floating point values intended to document the vertical discretisation associated to...
Definition: grib2.h:172
-
float * fld
Array of ndpts unpacked data points.
Definition: grib2.h:214
-
unsigned char * local
Pointer to character array containing contents of Local Section 2, if included.
Definition: grib2.h:103
-
Struct for GRIB field.
Definition: grib2.h:41
-
g2int * list_opt
(Used if numoct_opt .ne.
Definition: grib2.h:140
-
g2int * bmap
Integer array containing decoded bitmap, if ibmap=0 or ibap=254.
Definition: grib2.h:211
-
g2int * ipdtmpl
Contains the data values for the Product Definition Template specified by ipdtnum.
Definition: grib2.h:164
diff --git a/g2__getfld_8c.html b/g2__getfld_8c.html index 1beb6f6e..c5f94dec 100644 --- a/g2__getfld_8c.html +++ b/g2__getfld_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: g2_getfld.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -157,15 +157,15 @@

grib2.h. Users of this routine will need to include grib2.h in their source code that calls this routine.

Since there can be multiple data fields packed into a GRIB2 message, the calling routine indicates which field is being requested with the ifldnum argument.

-

+

Program History Log

- + - + - +
Date Programmer Comments
Date Programmer Comments
2002-10-28 Gilbert Initial
2002-10-28 Gilbert Initial
2013-08-08 Vuong Free up memory in array igds - free(igds)
2013-08-08 Vuong Free up memory in array igds - free(igds)
Parameters
@@ -206,13 +206,16 @@

Note
Struct gribfield is allocated by this routine and it also contains pointers to many arrays of data that were allocated during decoding. Users are encouraged to free up this memory, when it is no longer needed, by an explicit call to routine g2_free().
-

+

Example:

#include "grib2.h"
gribfield *gfld;
ret=g2_getfld(cgrib,1,1,1,&gfld);
...
g2_free(gfld);
+
g2int g2_getfld(unsigned char *cgrib, g2int ifldnum, g2int unpack, g2int expand, gribfield **gfld)
This subroutine returns all the metadata, template values, bit-map (if applicable),...
Definition: g2_getfld.c:91
+
Header file for NCEPLIBS-g2c library.
+
Struct for GRIB field.
Definition: grib2.h:45

Routine g2_info() can be used to first determine how many data fields exist in a given GRIB message.

Note
It may not always be possible to expand a bit-mapped data field. If a pre-defined bit-map is used and not included in the GRIB2 message itself, this routine would not have the necessary information to expand the data. In this case, gfld->expanded would would be set to 0 (false), regardless of the value of input argument expand.
Author
Stephen Gilbert
@@ -220,22 +223,17 @@

Definition at line 91 of file g2_getfld.c.

-

References gribfield::bmap, gribfield::coord_list, gribfield::discipline, gribfield::expanded, gribfield::fld, g2_free(), G2_GETFLD_BAD_END, G2_GETFLD_BAD_SEC1, G2_GETFLD_BAD_SEC2, G2_GETFLD_BAD_SEC3, G2_GETFLD_BAD_SEC4, G2_GETFLD_BAD_SEC5, G2_GETFLD_BAD_SEC6, G2_GETFLD_BAD_SEC7, G2_GETFLD_GRIB_VERSION, G2_GETFLD_INVAL, G2_GETFLD_INVAL_SEC, G2_GETFLD_NO_BITMAP, G2_GETFLD_NO_GRIB, G2_GETFLD_WRONG_END, G2_GETFLD_WRONG_NFLDS, G2_NO_ERROR, g2_unpack1(), g2_unpack2(), g2_unpack3(), g2_unpack4(), g2_unpack5(), g2_unpack6(), g2_unpack7(), gbit(), gribfield::griddef, gribfield::ibmap, gribfield::idrtlen, gribfield::idrtmpl, gribfield::idrtnum, gribfield::idsect, gribfield::idsectlen, gribfield::ifldnum, gribfield::igdtlen, gribfield::igdtmpl, gribfield::igdtnum, gribfield::interp_opt, gribfield::ipdtlen, gribfield::ipdtmpl, gribfield::ipdtnum, gribfield::list_opt, gribfield::local, gribfield::locallen, gribfield::ndpts, gribfield::ngrdpts, gribfield::num_coord, gribfield::num_opt, gribfield::numoct_opt, gribfield::unpacked, and gribfield::version.

+

References gribfield::bmap, gribfield::coord_list, gribfield::discipline, gribfield::expanded, gribfield::fld, g2_free(), G2_GETFLD_BAD_END, G2_GETFLD_BAD_SEC1, G2_GETFLD_BAD_SEC2, G2_GETFLD_BAD_SEC3, G2_GETFLD_BAD_SEC4, G2_GETFLD_BAD_SEC5, G2_GETFLD_BAD_SEC6, G2_GETFLD_BAD_SEC7, G2_GETFLD_GRIB_VERSION, G2_GETFLD_INVAL, G2_GETFLD_INVAL_SEC, G2_GETFLD_NO_BITMAP, G2_GETFLD_NO_GRIB, G2_GETFLD_WRONG_END, G2_GETFLD_WRONG_NFLDS, G2_NO_ERROR, g2_unpack1(), g2_unpack2(), g2_unpack3(), g2_unpack4(), g2_unpack5(), g2_unpack6(), g2_unpack7(), gbit(), gribfield::griddef, gribfield::ibmap, gribfield::idrtlen, gribfield::idrtmpl, gribfield::idrtnum, gribfield::idsect, gribfield::idsectlen, gribfield::ifldnum, gribfield::igdtlen, gribfield::igdtmpl, gribfield::igdtnum, gribfield::interp_opt, gribfield::ipdtlen, gribfield::ipdtmpl, gribfield::ipdtnum, gribfield::list_opt, gribfield::local, gribfield::locallen, gribfield::ndpts, gribfield::ngrdpts, gribfield::num_coord, gribfield::num_opt, gribfield::numoct_opt, gribfield::unpacked, and gribfield::version.

-
Header file for NCEPLIBS-g2c library.
-
Struct for GRIB field.
Definition: grib2.h:41
-
g2int g2_getfld(unsigned char *cgrib, g2int ifldnum, g2int unpack, g2int expand, gribfield **gfld)
This subroutine returns all the metadata, template values, bit-map (if applicable),...
Definition: g2_getfld.c:91
diff --git a/g2__getfld_8c_source.html b/g2__getfld_8c_source.html index c07810be..f52421f7 100644 --- a/g2__getfld_8c_source.html +++ b/g2__getfld_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: g2_getfld.c Source File @@ -26,7 +26,7 @@

@@ -34,10 +34,10 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
- + @@ -92,7 +92,7 @@
8 #include "grib2_int.h"
9 
90 g2int
-
91 g2_getfld(unsigned char *cgrib, g2int ifldnum, g2int unpack, g2int expand,
+
91 g2_getfld(unsigned char *cgrib, g2int ifldnum, g2int unpack, g2int expand,
92  gribfield **gfld)
93 {
94 
@@ -392,74 +392,72 @@
388  g2_free(lgfld);
389  return G2_GETFLD_WRONG_NFLDS;
390 }
- - -
g2int g2_unpack5(unsigned char *cgrib, g2int *iofst, g2int *ndpts, g2int *idrsnum, g2int **idrstmpl, g2int *mapdrslen)
This subroutine unpacks Section 5 (Data Representation Section) as defined in GRIB Edition 2.
Definition: g2_unpack5.c:42
-
g2int * igdtmpl
Contains the data values for the Grid Definition Template specified by igdtnum.
Definition: grib2.h:152
-
#define G2_GETFLD_NO_BITMAP
In g2_getfld() previous bitmap specified, yet none exists.
Definition: grib2.h:298
-
#define G2_GETFLD_BAD_SEC7
Error in g2_getfld() unpacking section 7.
Definition: grib2.h:297
-
g2int ngrdpts
Number of grid points in the defined grid.
Definition: grib2.h:119
-
#define G2_GETFLD_BAD_SEC6
Error in g2_getfld() unpacking section 6.
Definition: grib2.h:296
-
g2int unpacked
Logical value indicating whether the bitmap and data values were unpacked.
Definition: grib2.h:190
-
g2int ifldnum
Field number within GRIB message.
Definition: grib2.h:109
-
#define G2_GETFLD_BAD_SEC3
Error in g2_getfld() unpacking section 3.
Definition: grib2.h:293
-
g2int idrtlen
Number of elements in idrtmpl.
Definition: grib2.h:182
-
#define G2_NO_ERROR
Function succeeded.
Definition: grib2.h:275
-
g2int ibmap
Bitmap indicator (see Table 6.0).
Definition: grib2.h:207
-
g2int griddef
Source of grid definition (see Table 3.0).
Definition: grib2.h:116
-
g2int numoct_opt
Number of octets needed for each additional grid points definition.
Definition: grib2.h:124
-
g2int * idsect
Contains the entries in the Identification Section (Section 1).
Definition: grib2.h:96
-
g2int g2_unpack4(unsigned char *cgrib, g2int *iofst, g2int *ipdsnum, g2int **ipdstmpl, g2int *mappdslen, float **coordlist, g2int *numcoord)
This subroutine unpacks Section 4 (Product Definition Section) as defined in GRIB Edition 2.
Definition: g2_unpack4.c:46
-
Header file with internal function prototypes NCEPLIBS-g2c library.
-
#define G2_GETFLD_WRONG_NFLDS
In g2_getfld() message did not contain the requested number of data fields.
Definition: grib2.h:287
-
#define G2_GETFLD_WRONG_END
g2_info() found "7777" not where expected.
Definition: grib2.h:286
-
g2int * idrtmpl
Contains the data values for the Data Representation Template specified by idrtnum.
Definition: grib2.h:186
-
g2int g2_unpack2(unsigned char *cgrib, g2int *iofst, g2int *lencsec2, unsigned char **csec2)
This subroutine unpacks Section 2 (Local Use Section) as defined in GRIB Edition 2.
Definition: g2_unpack2.c:38
-
#define G2_GETFLD_BAD_SEC4
Error in g2_getfld() unpacking section 4.
Definition: grib2.h:294
-
g2int interp_opt
Interpretation of list for optional points definition.
Definition: grib2.h:129
-
g2int ipdtlen
Number of elements in ipdtmpl - i.e.
Definition: grib2.h:160
-
void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits)
Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
Definition: gbits.c:20
void g2_free(gribfield *gfld)
This routine frees up memory that was allocated for struct gribfield.
Definition: g2_free.c:24
-
#define G2_GETFLD_BAD_SEC5
Error in g2_getfld() unpacking section 5.
Definition: grib2.h:295
+
g2int g2_getfld(unsigned char *cgrib, g2int ifldnum, g2int unpack, g2int expand, gribfield **gfld)
This subroutine returns all the metadata, template values, bit-map (if applicable),...
Definition: g2_getfld.c:91
g2int g2_unpack1(unsigned char *cgrib, g2int *iofst, g2int **ids, g2int *idslen)
This subroutine unpacks Section 1 - Identification Section as defined in GRIB Edition 2.
Definition: g2_unpack1.c:55
-
g2int discipline
Message Discipline (see Table 0.0).
Definition: grib2.h:48
-
g2int num_opt
(Used if numoct_opt .ne.
Definition: grib2.h:135
-
#define G2_GETFLD_BAD_END
g2_getfld() didn't find "7777" at end of message.
Definition: grib2.h:288
-
float * coord_list
Array containing floating point values intended to document the vertical discretisation associated to...
Definition: grib2.h:172
-
g2int ipdtnum
Product Definition Template Number (see Table 4.0).
Definition: grib2.h:156
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
-
#define G2_GETFLD_GRIB_VERSION
Wrong GRIB version for g2_getfld(), must be 2.
Definition: grib2.h:284
-
g2int g2_unpack3(unsigned char *cgrib, g2int *iofst, g2int **igds, g2int **igdstmpl, g2int *mapgridlen, g2int **ideflist, g2int *idefnum)
This routine unpacks Section 3 (Grid Definition Section) as defined in GRIB Edition 2.
Definition: g2_unpack3.c:57
-
float * fld
Array of ndpts unpacked data points.
Definition: grib2.h:214
-
unsigned char * local
Pointer to character array containing contents of Local Section 2, if included.
Definition: grib2.h:103
+
g2int g2_unpack2(unsigned char *cgrib, g2int *iofst, g2int *lencsec2, unsigned char **csec2)
This subroutine unpacks Section 2 (Local Use Section) as defined in GRIB Edition 2.
Definition: g2_unpack2.c:38
+
g2int g2_unpack3(unsigned char *cgrib, g2int *iofst, g2int **igds, g2int **igdstmpl, g2int *mapgridlen, g2int **ideflist, g2int *idefnum)
This routine unpacks Section 3 (Grid Definition Section) from a GRIB2 message.
Definition: g2_unpack3.c:62
+
g2int g2_unpack4(unsigned char *cgrib, g2int *iofst, g2int *ipdsnum, g2int **ipdstmpl, g2int *mappdslen, float **coordlist, g2int *numcoord)
This subroutine unpacks Section 4 (Product Definition Section) as defined in GRIB Edition 2.
Definition: g2_unpack4.c:46
+
g2int g2_unpack5(unsigned char *cgrib, g2int *iofst, g2int *ndpts, g2int *idrsnum, g2int **idrstmpl, g2int *mapdrslen)
This subroutine unpacks Section 5 (Data Representation Section) as defined in GRIB Edition 2.
Definition: g2_unpack5.c:42
g2int g2_unpack6(unsigned char *cgrib, g2int *iofst, g2int ngpts, g2int *ibmap, g2int **bmap)
This subroutine unpacks Section 6 (Bit-Map Section) as defined in GRIB Edition 2.
Definition: g2_unpack6.c:33
-
g2int idrtnum
Data Representation Template Number (see Table 5.0).
Definition: grib2.h:179
-
#define G2_GETFLD_INVAL
g2_getfld() data field request number was not positive.
Definition: grib2.h:285
-
g2int num_coord
Number of values in array coord_list.
Definition: grib2.h:167
-
g2int expanded
Logical value indicating whether the data field was expanded to the grid in the case where a bit-map ...
Definition: grib2.h:199
-
g2int g2_unpack7(unsigned char *cgrib, g2int *iofst, g2int igdsnum, g2int *igdstmpl, g2int idrsnum, g2int *idrstmpl, g2int ndpts, float **fld)
This subroutine unpacks Section 7 (Data Section) as defined in GRIB Edition 2.
Definition: g2_unpack7.c:55
-
Struct for GRIB field.
Definition: grib2.h:41
-
g2int version
GRIB edition number (2).
Definition: grib2.h:44
-
g2int locallen
Length of array local.
Definition: grib2.h:106
-
#define G2_GETFLD_INVAL_SEC
g2_getfld() encountered unrecognized section.
Definition: grib2.h:289
-
g2int ndpts
Number of data points unpacked and returned.
Definition: grib2.h:175
-
g2int igdtlen
Number of elements in igdtmpl - i.e.
Definition: grib2.h:148
-
g2int * list_opt
(Used if numoct_opt .ne.
Definition: grib2.h:140
-
g2int igdtnum
Grid Definition Template Number (See Table 3.1).
Definition: grib2.h:144
-
#define G2_GETFLD_BAD_SEC1
Error in g2_getfld() unpacking section 1.
Definition: grib2.h:291
-
#define G2_GETFLD_BAD_SEC2
Error in g2_getfld() unpacking section 2.
Definition: grib2.h:292
-
g2int * bmap
Integer array containing decoded bitmap, if ibmap=0 or ibap=254.
Definition: grib2.h:211
-
g2int g2_getfld(unsigned char *cgrib, g2int ifldnum, g2int unpack, g2int expand, gribfield **gfld)
This subroutine returns all the metadata, template values, bit-map (if applicable),...
Definition: g2_getfld.c:91
-
#define G2_GETFLD_NO_GRIB
g2_getfld() can't find beginning characters "GRIB".
Definition: grib2.h:283
-
g2int * ipdtmpl
Contains the data values for the Product Definition Template specified by ipdtnum.
Definition: grib2.h:164
-
g2int idsectlen
Number of elements in idsect.
Definition: grib2.h:99
+
g2int g2_unpack7(unsigned char *cgrib, g2int *iofst, g2int igdsnum, g2int *igdstmpl, g2int idrsnum, g2int *idrstmpl, g2int ndpts, float **fld)
This subroutine unpacks Section 7 (Data Section) of a GRIB2 message.
Definition: g2_unpack7.c:207
+
void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits)
Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
Definition: gbits.c:20
+
g2int igdtnum
Grid Definition Template Number (See Table 3.1).
Definition: grib2.h:147
+
g2int locallen
Length of array local.
Definition: grib2.h:109
+
g2int ibmap
Bitmap indicator (see Table 6.0).
Definition: grib2.h:210
+
#define G2_GETFLD_BAD_SEC7
Error in g2_getfld() unpacking section 7.
Definition: grib2.h:445
+
g2int interp_opt
Interpretation of list for optional points definition.
Definition: grib2.h:132
+
g2int ngrdpts
Number of grid points in the defined grid.
Definition: grib2.h:122
+
#define G2_GETFLD_INVAL
g2_getfld() data field request number was not positive.
Definition: grib2.h:433
+
g2int ifldnum
Field number within GRIB message.
Definition: grib2.h:112
+
#define G2_GETFLD_GRIB_VERSION
Wrong GRIB version for g2_getfld(), must be 2.
Definition: grib2.h:432
+
g2int griddef
Source of grid definition (see Table 3.0).
Definition: grib2.h:119
+
g2int ipdtnum
Product Definition Template Number (see Table 4.0).
Definition: grib2.h:159
+
g2int * ipdtmpl
Contains the data values for the Product Definition Template specified by ipdtnum.
Definition: grib2.h:167
+
#define G2_GETFLD_WRONG_NFLDS
In g2_getfld() message did not contain the requested number of data fields.
Definition: grib2.h:435
+
g2int discipline
Message Discipline (see Table 0.0).
Definition: grib2.h:51
+
#define G2_GETFLD_BAD_SEC2
Error in g2_getfld() unpacking section 2.
Definition: grib2.h:440
+
g2int numoct_opt
Number of octets needed for each additional grid points definition.
Definition: grib2.h:127
+
#define G2_GETFLD_BAD_SEC1
Error in g2_getfld() unpacking section 1.
Definition: grib2.h:439
+
#define G2_GETFLD_BAD_SEC5
Error in g2_getfld() unpacking section 5.
Definition: grib2.h:443
+
g2int idrtlen
Number of elements in idrtmpl.
Definition: grib2.h:185
+
g2int unpacked
Logical value indicating whether the bitmap and data values were unpacked.
Definition: grib2.h:193
+
g2int idsectlen
Number of elements in idsect.
Definition: grib2.h:102
+
g2int ipdtlen
Number of elements in ipdtmpl - i.e.
Definition: grib2.h:163
+
#define G2_GETFLD_WRONG_END
g2_info() found "7777" not where expected.
Definition: grib2.h:434
+
#define G2_GETFLD_BAD_SEC4
Error in g2_getfld() unpacking section 4.
Definition: grib2.h:442
+
#define G2_NO_ERROR
Function succeeded.
Definition: grib2.h:423
+
#define G2_GETFLD_NO_GRIB
g2_getfld() can't find beginning characters "GRIB".
Definition: grib2.h:431
+
float * coord_list
Array containing floating point values intended to document the vertical discretisation associated to...
Definition: grib2.h:175
+
g2int * igdtmpl
Contains the data values for the Grid Definition Template specified by igdtnum.
Definition: grib2.h:155
+
g2int idrtnum
Data Representation Template Number (see Table 5.0).
Definition: grib2.h:182
+
g2int ndpts
Number of data points unpacked and returned.
Definition: grib2.h:178
+
g2int * idrtmpl
Contains the data values for the Data Representation Template specified by idrtnum.
Definition: grib2.h:189
+
#define G2_GETFLD_BAD_SEC6
Error in g2_getfld() unpacking section 6.
Definition: grib2.h:444
+
g2int * list_opt
(Used if numoct_opt .ne.
Definition: grib2.h:143
+
g2int version
GRIB edition number (2).
Definition: grib2.h:47
+
#define G2_GETFLD_BAD_SEC3
Error in g2_getfld() unpacking section 3.
Definition: grib2.h:441
+
g2int * idsect
Contains the entries in the Identification Section (Section 1).
Definition: grib2.h:99
+
float * fld
Array of ndpts unpacked data points.
Definition: grib2.h:217
+
g2int num_coord
Number of values in array coord_list.
Definition: grib2.h:170
+
unsigned char * local
Pointer to character array containing contents of Local Section 2, if included.
Definition: grib2.h:106
+
#define G2_GETFLD_BAD_END
g2_getfld() didn't find "7777" at end of message.
Definition: grib2.h:436
+
g2int expanded
Logical value indicating whether the data field was expanded to the grid in the case where a bit-map ...
Definition: grib2.h:202
+
g2int num_opt
(Used if numoct_opt .ne.
Definition: grib2.h:138
+
g2int igdtlen
Number of elements in igdtmpl - i.e.
Definition: grib2.h:151
+
#define G2_GETFLD_NO_BITMAP
In g2_getfld() previous bitmap specified, yet none exists.
Definition: grib2.h:446
+
g2int * bmap
Integer array containing decoded bitmap, if ibmap=0 or ibap=254.
Definition: grib2.h:214
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
+
#define G2_GETFLD_INVAL_SEC
g2_getfld() encountered unrecognized section.
Definition: grib2.h:437
+
Struct for GRIB field.
Definition: grib2.h:45
+
Header file with internal function prototypes NCEPLIBS-g2c library.
+ + diff --git a/g2__gribend_8c.html b/g2__gribend_8c.html index 4167fc74..31f1dc10 100644 --- a/g2__gribend_8c.html +++ b/g2__gribend_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: g2_gribend.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -146,7 +146,7 @@

Definition at line 37 of file g2_gribend.c.

-

References G2_ADD_MSG_COMPLETE, G2_ADD_MSG_INIT, G2_BAD_SEC, G2_BAD_SEC_COUNTS, g2c_check_msg(), G2C_MSG_COMPLETE, G2C_NOT_GRIB, gbit(), and sbit().

+

References G2_ADD_MSG_COMPLETE, G2_ADD_MSG_INIT, G2_BAD_SEC, G2_BAD_SEC_COUNTS, g2c_check_msg(), G2C_EMSGCOMPLETE, G2C_ENOTGRIB, gbit(), and sbit().

@@ -156,9 +156,7 @@

diff --git a/g2__gribend_8c_source.html b/g2__gribend_8c_source.html index cb103140..19a1b5f2 100644 --- a/g2__gribend_8c_source.html +++ b/g2__gribend_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: g2_gribend.c Source File @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -90,7 +90,7 @@
6 #include <stdio.h>
7 #include "grib2_int.h"
8 
-
37 g2int g2_gribend(unsigned char *cgrib)
+
37 g2int g2_gribend(unsigned char *cgrib)
38 {
39  g2int iofst, lencurr, len, ilen, isecnum;
40  g2int lengrib;
@@ -101,9 +101,9 @@
45  * to the legacy G2 error codes. */
46  if ((ret = g2c_check_msg(cgrib, &lencurr, 1)))
47  {
-
48  if (ret == G2C_NOT_GRIB)
+
48  if (ret == G2C_ENOTGRIB)
49  return G2_ADD_MSG_INIT;
-
50  if (ret == G2C_MSG_COMPLETE)
+
50  if (ret == G2C_EMSGCOMPLETE)
51  return G2_ADD_MSG_COMPLETE;
52  }
53 
@@ -155,27 +155,25 @@
99  /* Return the length of the message. */
100  return lengrib;
101 }
- -
g2int g2_gribend(unsigned char *cgrib)
This routine finalizes a GRIB2 message after all grids and fields have been added.
Definition: g2_gribend.c:37
-
#define G2_BAD_SEC
Previous Section was unexpected.
Definition: grib2.h:300
-
Header file with internal function prototypes NCEPLIBS-g2c library.
void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits)
Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
Definition: gbits.c:20
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
-
#define G2_BAD_SEC_COUNTS
Sum of Section byte counts doesn't add to total byte count.
Definition: grib2.h:312
-
#define G2_ADD_MSG_COMPLETE
GRIB message already complete.
Definition: grib2.h:311
-
#define G2C_MSG_COMPLETE
GRIB message already complete.
Definition: grib2.h:330
-
#define G2_ADD_MSG_INIT
GRIB message was not initialized - call g2_create() first.
Definition: grib2.h:310
void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:38
-
#define G2C_NOT_GRIB
GRIB header not found.
Definition: grib2.h:329
+
#define G2_BAD_SEC_COUNTS
Sum of Section byte counts doesn't add to total byte count.
Definition: grib2.h:460
+
#define G2_BAD_SEC
Previous Section was unexpected.
Definition: grib2.h:448
+
#define G2_ADD_MSG_COMPLETE
GRIB message already complete.
Definition: grib2.h:459
+
#define G2_ADD_MSG_INIT
GRIB message was not initialized - call g2_create() first.
Definition: grib2.h:458
+
#define G2C_ENOTGRIB
GRIB header not found.
Definition: grib2.h:478
+
#define G2C_EMSGCOMPLETE
GRIB message already complete.
Definition: grib2.h:479
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
+
Header file with internal function prototypes NCEPLIBS-g2c library.
int g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose)
Check for 'GRIB' at the beginning of a GRIB message, and check to see if the message is already termi...
Definition: util.c:26
+ + diff --git a/g2__info_8c.html b/g2__info_8c.html index 09df6aa4..f82f18b0 100644 --- a/g2__info_8c.html +++ b/g2__info_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: g2_info.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -158,14 +158,14 @@

Parameters
- - + - - - + +
cgribCharacter pointer to the GRIB2 message.
listsec0pointer to an array containing information decoded from GRIB Indicator Section 0. Must be allocated with >= 3 elements.
    +
cgribPointer to a buffer containing the GRIB2 message.
listsec0Pointer to an array that gets the information decoded from GRIB Indicator Section 0. Must be allocated with >= 3 elements (see G2C_SECTION0_LEN).
  • listsec0(0) Discipline-GRIB Master Table Number (Code Table 0.0).
  • listsec0[1] GRIB Edition Number (currently 2).
  • listsec0[2] Length of GRIB message.
listsec1Pointer to an array containing information read from GRIB Identification Section 1. Must be allocated with >= 13 elements.
    +
listsec1Pointer to an array that gets the information read from GRIB Identification Section 1. Must be allocated with >= 13 elements (see G2C_SECTION1_LEN).
  • listsec1[0] Id of orginating centre (Table 0).
  • listsec1[1] Id of orginating sub-centre (Table C).
  • listsec1[2] GRIB Master Tables Version Number (Table 1.0).
  • @@ -181,12 +181,12 @@

    Table 1.4).

numfieldsThe number of gridded fields found in the GRIB message. That is, the number of occurences of Sections 4 - 7.
numlocalThe number of Local Use Sections ( Section 2 ) found in the GRIB message.
numfieldsA pointer that gets the number of gridded fields found in the GRIB message. That is, the number of occurences of Sections 4 - 7.
numlocalA pointer that gets the number of Local Use Sections (section 2) found in the GRIB message.

-
Returns
0 foe success, otherwise:
-
Returns
PNG length, or negative number for error.
-
Author
Stephen Gilbert
+
Returns
-G2C_NOERROR No error.
+
Author
Ed Hartnett
+
Date
10/16/22
-

Definition at line 75 of file enc_png.c.

+

Definition at line 877 of file g2cfile.c.

-

References user_flush_data(), and user_write_data().

+

References g2c_message_info::center, g2c_message_info::day, G2C_ENOSECTION, g2c_file_io_short(), g2c_file_io_ubyte(), g2c_file_io_uint(), G2C_NOERROR, G2C_SECTION1_BYTES, g2c_message_info::hour, g2c_message_info::local_version, LOG, g2c_message_info::master_version, g2c_message_info::minute, g2c_message_info::month, g2c_message_info::sec1_len, g2c_message_info::second, g2c_message_info::sig_ref_time, g2c_message_info::status, g2c_message_info::subcenter, g2c_message_info::type, and g2c_message_info::year.

-

Referenced by pngpack_int().

+

Referenced by g2c_open_index(), g2c_write_index(), and read_msg_metadata().

- -

◆ extdrstemplate()

+ +

◆ g2c_rw_section3_metadata()

-
Returns
Pointer to the returned template struct. Returns NULL pointer, if template not found.
-
Author
Stephen Gilbert
-
Date
2000-05-11
+
Returns
+
+
Author
Ed Hartnett
+
Date
Sep 15, 2022
-

Definition at line 212 of file drstemplates.c.

+

Definition at line 481 of file g2cfile.c.

-

References getdrsindex(), and getdrstemplate().

+

References determine_dims(), G2C_EINVAL, G2C_ENOMEM, g2c_file_io_template(), g2c_file_io_ubyte(), g2c_file_io_uint(), g2c_file_io_ushort(), g2c_get_grid_template(), G2C_MAX_GDS_TEMPLATE_MAPLEN, G2C_NOERROR, g2c_section3_info::grid_def, g2c_section3_info::interp_list, LOG, g2c_section3_info::num_data_points, g2c_section3_info::num_opt, g2c_section_info::sec_info, g2c_section_info::sec_num, g2c_section3_info::source_grid_def, g2c_section_info::template, and g2c_section_info::template_len.

-

Referenced by g2_unpack5().

+

Referenced by add_section(), and g2c_write_index().

- -

◆ extgridtemplate()

+ +

◆ g2c_rw_section4_metadata()

-
Returns
Pointer to the returned template struct. Returns NULL pointer, if template not found.
-
Author
Stephen Gilbert
-
Date
2000-05-09
+
Returns
+
+
Author
Ed Hartnett
+
Date
Sep 16, 2022
-

Definition at line 229 of file gridtemplates.c.

+

Definition at line 577 of file g2cfile.c.

-

References getgridindex(), and getgridtemplate().

+

References G2C_EINVAL, G2C_ENOMEM, g2c_file_io_template(), g2c_file_io_ushort(), g2c_get_pds_template(), G2C_MAX_PDS_TEMPLATE_MAPLEN, G2C_NOERROR, LOG, g2c_section_info::msg, g2c_section4_info::num_coord, g2c_message_info::num_fields, g2c_section4_info::prod_def, g2c_section_info::sec_info, g2c_section_info::sec_num, g2c_section_info::template, and g2c_section_info::template_len.

-

Referenced by g2_addgrid(), and g2_unpack3().

+

Referenced by add_section(), and g2c_write_index().

- -

◆ extpdstemplate()

+ +

◆ g2c_rw_section5_metadata()

- + - - + + - - + + + + + + + + @@ -1070,51 +3907,57 @@

-

This subroutine generates the remaining octet map for a given Product Definition Template, if required.

-

Some Templates can vary depending on data values given in an earlier part of the Template, and it is necessary to know some of the earlier entry values to generate the full octet map of the Template.

-

This function allocates memory in the ext field of the gtemplate struct. This memory must be freed by the caller.

+

Read or write the metadata from section 5 (Data Representation Section) of a GRIB2 message.

+

When this function is called, the file cursor is positioned just after the section number field in the section. The size of the section, and the section number, have already been read when this function is called.

Parameters

gtemplate* extpdstemplate int g2c_rw_section5_metadata (g2int number, FILE * f,
g2intlist int rw_flag,
G2C_SECTION_INFO_Tsec 
- - + + +
numbernumber of the Product Definition Template 4.NN that is being requested.
listThe list of values for each entry in the the Product Definition Template.
fFILE pointer to open GRIB2 file.
rw_flagG2C_FILE_WRITE if function should write, G2C_FILE_READ if it should read.
secPointer to the G2C_SECTION_INFO_T struct.
-
Returns
Pointer to the returned template struct. Returns NULL pointer if template not found.
-
Author
Stephen Gilbert
-
Date
2000-05-11
+
Returns
+
+
Author
Ed Hartnett
+
Date
Sep 16, 2022
-

Definition at line 329 of file pdstemplates.c.

+

Definition at line 666 of file g2cfile.c.

-

References getpdsindex(), and getpdstemplate().

+

References g2c_section5_info::data_def, G2C_EINVAL, G2C_ENOMEM, g2c_file_io_template(), g2c_file_io_uint(), g2c_file_io_ushort(), g2c_get_drs_template(), G2C_MAX_PDS_TEMPLATE_MAPLEN, G2C_NOERROR, LOG, g2c_section5_info::num_data_points, g2c_section_info::sec_info, g2c_section_info::template, and g2c_section_info::template_len.

-

Referenced by g2_addfield(), and g2_unpack4().

+

Referenced by add_section(), and g2c_write_index().

- -

◆ g2c_check_msg()

+ +

◆ g2c_rw_section6_metadata()

- + - - + + - - + + - - + + @@ -1124,29 +3967,31 @@

-

Check for 'GRIB' at the beginning of a GRIB message, and check to see if the message is already terminated with '7777'.

+

Read or write the metadata from section 6 (Data Representation Section) of a GRIB2 message.

+

When this function is called, the file cursor is positioned just after the section number field in the section. The size of the section, and the section number, have already been read when this function is called.

Parameters

int g2c_check_msg int g2c_rw_section6_metadata (unsigned char * cgrib, FILE * f,
g2intlencurr, int rw_flag,
int verbose G2C_SECTION_INFO_Tsec 
- - - + + +
cgribBuffer that contains the GRIB message.
lencurrPointer that gets the length of the GRIB message.
verboseIf non-zero, print any error messages to stdout.
fFILE pointer to open GRIB2 file.
rw_flagG2C_FILE_WRITE if function should write, G2C_FILE_READ if it should read.
secPointer to the G2C_SECTION_INFO_T struct.
Returns
Author
Ed Hartnett
-
Date
Nov 11, 2021
+
Date
Sep 16, 2022
-

Definition at line 26 of file util.c.

+

Definition at line 748 of file g2cfile.c.

-

References G2C_MSG_COMPLETE, G2C_NO_ERROR, G2C_NOT_GRIB, and gbit().

+

References G2C_EINVAL, G2C_ENOMEM, g2c_file_io_ubyte(), G2C_NOERROR, g2c_section6_info::indicator, LOG, and g2c_section_info::sec_info.

-

Referenced by g2_addfield(), g2_addgrid(), g2_addlocal(), and g2_gribend().

+

Referenced by add_section().

@@ -1192,7 +4037,7 @@

Parameters
- +
inpointer to character array input.
ioutpointer to unpacked array output.
ioutpointer that gets the unpacked array output.
iskipinitial number of bits to skip.
nbitsnumber of bits to take.
@@ -1204,7 +4049,7 @@

References gbits().

-

Referenced by comunpack(), g2_addfield(), g2_addgrid(), g2_addlocal(), g2_getfld(), g2_gribend(), g2_info(), g2_unpack1(), g2_unpack2(), g2_unpack3(), g2_unpack4(), g2_unpack5(), g2_unpack6(), g2_unpack7(), g2c_check_msg(), and seekgb().

+

Referenced by comunpack(), g2_addfield(), g2_addgrid(), g2_addlocal(), g2_getfld(), g2_gribend(), g2_info(), g2_unpack1(), g2_unpack2(), g2_unpack3(), g2_unpack4(), g2_unpack5(), g2_unpack6(), g2c_check_msg(), g2c_unpack7_int(), and seekgb().

@@ -1262,7 +4107,7 @@

Parameters
- + @@ -1274,7 +4119,7 @@

Definition at line 57 of file gbits.c.

-

Referenced by comunpack(), g2_unpack3(), g2_unpack4(), g2_unpack6(), gbit(), pngunpack_int(), simunpack(), and specunpack().

+

Referenced by comunpack(), g2_unpack3(), g2_unpack4(), g2_unpack6(), g2c_gbits_int(), gbit(), pngunpack_int(), simunpack(), and specunpack().

@@ -1332,7 +4177,7 @@

Definition at line 29 of file getdim.c.

-

References g2_unpack3().

+

References g2_unpack3().

Referenced by g2_addfield().

@@ -1366,11 +4211,11 @@

Author
Stephen Gilbert
Date
2000-05-11
-

Definition at line 166 of file drstemplates.c.

+

Definition at line 162 of file drstemplates.c.

-

References getdrsindex(), and templatesdrs.

+

References getdrsindex(), and templatesdrs.

-

Referenced by extdrstemplate(), g2_addfield(), and g2_unpack5().

+

Referenced by extdrstemplate(), g2_addfield(), and g2_unpack5().

@@ -1403,11 +4248,11 @@

Author
Stephen Gilbert
Date
2000-05-09
-

Definition at line 180 of file gridtemplates.c.

+

Definition at line 178 of file gridtemplates.c.

-

References getgridindex(), and templatesgrid.

+

References getgridindex(), and templatesgrid.

-

Referenced by extgridtemplate(), g2_addgrid(), and g2_unpack3().

+

Referenced by extgridtemplate(), g2_addgrid(), and g2_unpack3().

@@ -1440,11 +4285,11 @@

Author
Stephen Gilbert
Date
2000-05-11
-

Definition at line 281 of file pdstemplates.c.

+

Definition at line 277 of file pdstemplates.c.

-

References getpdsindex(), and templatespds.

+

References getpdsindex(), and templatespds.

-

Referenced by extpdstemplate(), g2_addfield(), and g2_unpack4().

+

Referenced by extpdstemplate(), g2_addfield(), and g2_unpack4().

@@ -1509,7 +4354,7 @@

Definition at line 40 of file getpoly.c.

-

References g2_unpack3().

+

References g2_unpack3().

Referenced by g2_addfield().

@@ -1554,7 +4399,7 @@

Definition at line 18 of file int_power.c.

-

Referenced by compack(), comunpack(), jpcpack_int(), jpcunpack_int(), misspack(), mkieee(), pngpack_int(), pngunpack_int(), rdieee(), simpack(), simunpack(), and specunpack().

+

Referenced by compack(), comunpack(), jpcpack_int(), jpcunpack_int(), misspack(), mkieee(), pngpack_int(), pngunpack_int(), rdieee(), simpack(), simunpack(), and specunpack().

@@ -1608,11 +4453,12 @@

-

This subroutine packs up a data field into a JPEG2000 code stream.

-

After the data field is scaled, and the reference value is subtracted out, it is treated as a grayscale image and passed to a JPEG2000 encoder. It also fills in GRIB2 Data Representation Template 5.40 or 5.40000 with the appropriate values.

+

This function packs up a float array into a JPEG2000 code stream.

+

After the data are scaled, and the reference value is subtracted out, the data are treated as a grayscale image and passed to a JPEG2000 encoder.

+

This function also fills in GRIB2 Data Representation Template 5.40 or 5.40000 with the appropriate values.

Parameters

inPointer to character array input.
ioutPointer to unpacked array output.
ioutPointer that gets the unpacked array output.
iskipInitial number of bits to skip.
nbitsNumber of bits to take.
nskipAdditional number of bits to skip on each iteration.
- + @@ -1632,7 +4478,9 @@

Author
Stephen Gilbert, Ed Hartnett
-

Definition at line 253 of file jpcpack.c.

+

Definition at line 270 of file jpcpack.c.

+ +

References jpcpack_int().

Referenced by g2_addfield().

@@ -1693,14 +4541,19 @@

Returns
0 for success, 1 for memory allocation error.
+
Returns
+
Author
Stephem Gilbert
Date
2003-08-27
-
Author
Ed Hartnett
-

Definition at line 108 of file jpcunpack.c.

+

Definition at line 124 of file jpcunpack.c.

-

Referenced by g2_unpack7().

+

References G2_JPCUNPACK_MEM, jpcunpack_int(), and LOG.

+ +

Referenced by g2c_unpack7_int().

@@ -1782,7 +4635,7 @@

Definition at line 42 of file misspack.c.

-

References ALOG2, int_power(), mkieee(), pack_gp(), rdieee(), sbit(), and sbits().

+

References ALOG2, int_power(), mkieee(), pack_gp(), rdieee(), sbit(), and sbits().

Referenced by cmplxpack().

@@ -1836,7 +4689,7 @@

References int_power().

-

Referenced by compack(), g2_addfield(), jpcpack_int(), misspack(), pngpack_int(), simpack(), and specpack().

+

Referenced by compack(), g2_addfield(), jpcpack_int(), misspack(), pngpack_int(), simpack(), and specpack().

@@ -2206,7 +5059,9 @@

Date
2003-08-27
Author
Ed Hartnett
-

Definition at line 224 of file pngpack.c.

+

Definition at line 242 of file pngpack.c.

+ +

References pngpack_int().

Referenced by g2_addfield().

@@ -2267,14 +5122,20 @@

Returns
0 for success, 1 for memory allocation error.
+
Returns
+
Author
Stephen Gilbert
Date
2003-08-27
Author
Ed Hartnett
-

Definition at line 105 of file pngunpack.c.

+

Definition at line 117 of file pngunpack.c.

+ +

References G2_JPCUNPACK_MEM, G2C_ENOMEM, and pngunpack_int().

-

Referenced by g2_unpack7().

+

Referenced by g2c_unpack7_int().

@@ -2326,7 +5187,7 @@

References int_power().

-

Referenced by comunpack(), g2_miss(), g2_unpack4(), g2_unpack7(), jpcunpack_int(), misspack(), pngunpack_int(), simunpack(), and specunpack().

+

Referenced by comunpack(), g2_miss(), g2_unpack4(), g2c_unpack7_int(), jpcunpack_int(), misspack(), pngunpack_int(), simunpack(), and specunpack().

@@ -2372,7 +5233,7 @@

Parameters

fldPointer to the float or double data values to pack.
fldPointer to the float data values to pack.
widthThe number of points in the x direction.
heightThe number of points in the y direction.
idrstmplContains the array of values for Data Representation Template Table 5.40 or 5.40000.
    @@ -1622,7 +4468,7 @@

    cpack

A pointer that will get the packed data field. Must be allocated before this function is called. Pass the allocated size in the lcpack parameter.
- +
outPointer to packed array output. Must be allocated large enough to hold output.
inPointer to unpacked array input.
inPointer that gets the unpacked array input.
iskipInitial number of bits to skip.
nbitsNumber of bits to pack.
@@ -2382,7 +5243,7 @@

Definition at line 38 of file gbits.c.

-

References sbits().

+

References sbits().

Referenced by compack(), g2_addfield(), g2_addgrid(), g2_addlocal(), g2_create(), g2_gribend(), misspack(), and simpack().

@@ -2442,7 +5303,7 @@

Parameters
- + @@ -2452,9 +5313,9 @@

Author
NOAA Programmer
-

Definition at line 114 of file gbits.c.

+

Definition at line 180 of file gbits.c.

-

Referenced by compack(), g2_addfield(), g2_addgrid(), jpcpack_int(), misspack(), pngpack_int(), sbit(), and simpack().

+

Referenced by compack(), g2_addfield(), g2_addgrid(), jpcpack_int(), misspack(), pngpack_int(), sbit(), and simpack().

@@ -2526,7 +5387,7 @@

Definition at line 34 of file simpack.c.

-

References ALOG2, int_power(), mkieee(), sbit(), and sbits().

+

References ALOG2, int_power(), LOG, mkieee(), sbit(), and sbits().

Referenced by g2_addfield(), and specpack().

@@ -2576,7 +5437,7 @@

cpack

- +
outPointer to packed array output. Must be allocated large enough to hold output.
inPointer to unpacked array input.
inPointer that gets the unpacked array input.
iskipInitial number of bits to skip.
nbitsNumber of bits to pack.
nskipAdditional number of bits to skip on each iteration.
pointer to the packed data field.
idrstmplpointer to the array of values for Data Representation Template 5.0.
ndptsThe number of data values to unpack.
fldContains the unpacked data values. fld must be `* allocated with at least ndpts * sizeof(float) bytes before calling this routine.
fldA pointer that gets the unpacked data values. fld must be `* allocated with at least ndpts * sizeof(float) bytes before calling this routine.
@@ -2586,9 +5447,9 @@

Definition at line 26 of file simunpack.c.

-

References G2_JPCUNPACK_MEM, G2_NO_ERROR, gbits(), int_power(), and rdieee().

+

References G2_JPCUNPACK_MEM, G2_NO_ERROR, gbits(), int_power(), LOG, and rdieee().

-

Referenced by g2_unpack7().

+

Referenced by g2c_unpack7_int().

@@ -2754,9 +5615,9 @@

Definition at line 35 of file specunpack.c.

-

References G2_NO_ERROR, G2_SPECUNPACK_TYPE, gbits(), int_power(), and rdieee().

+

References G2_NO_ERROR, G2_SPECUNPACK_TYPE, gbits(), int_power(), and rdieee().

-

Referenced by g2_unpack7().

+

Referenced by g2c_unpack7_int().

@@ -2766,9 +5627,7 @@

diff --git a/grib2__int_8h.js b/grib2__int_8h.js index af755835..bbd08419 100644 --- a/grib2__int_8h.js +++ b/grib2__int_8h.js @@ -1,5 +1,103 @@ var grib2__int_8h = [ + [ "g2c_code_table", "grib2__int_8h.html#structg2c__code__table", [ + [ "entry", "grib2__int_8h.html#ac32f52eb1327e634fc145b68183e59ee", null ], + [ "next", "grib2__int_8h.html#a9158c5d68cedc452fbf2568341636edb", null ], + [ "title", "grib2__int_8h.html#a61b72df6f3a4f2814d4a44973198dffd", null ] + ] ], + [ "g2c_dim_info", "grib2__int_8h.html#structg2c__dim__info", [ + [ "dimid", "grib2__int_8h.html#abd1ec3c7391edfa6899ccf4e45b7e52e", null ], + [ "len", "grib2__int_8h.html#a1ff7f8239d6d580d53d1857b05842eda", null ], + [ "name", "grib2__int_8h.html#a72cb1219a1d21a7261b3ff4f6e6ea1c1", null ], + [ "value", "grib2__int_8h.html#a9795d38c518857794dee05363ea27997", null ] + ] ], + [ "g2c_entry", "grib2__int_8h.html#structg2c__entry", [ + [ "code", "grib2__int_8h.html#a954890dd7dfa657a4e79b6db935c7dd8", null ], + [ "desc", "grib2__int_8h.html#a66dc56bf1a756ef53254c3236e4ef973", null ], + [ "next", "grib2__int_8h.html#a5427ea8ad56c881a66f899c6e1381efd", null ], + [ "status", "grib2__int_8h.html#aa04cfaa40b9234bd8e2a657ef8415c80", null ] + ] ], + [ "g2c_file_info", "grib2__int_8h.html#structg2c__file__info", [ + [ "f", "grib2__int_8h.html#ac1966f1beac4c32fd406abb7272108f5", null ], + [ "g2cid", "grib2__int_8h.html#a6c2582f1e1d3c5e49df28497d9264fcd", null ], + [ "msg", "grib2__int_8h.html#ab6826be68665930ed928662d56c671e3", null ], + [ "num_messages", "grib2__int_8h.html#a5bb4a632dcaa3398c4557cfe52a81e35", null ], + [ "path", "grib2__int_8h.html#a3101792b0b015bbb7860f85eb73bbd97", null ] + ] ], + [ "g2c_message_info", "grib2__int_8h.html#structg2c__message__info", [ + [ "bytes_in_msg", "grib2__int_8h.html#a7eccf6cd6fa0f202a1c71c5af338d227", null ], + [ "bytes_to_bms", "grib2__int_8h.html#ae8a6efe20a158c6aa8ff026e13b1780f", null ], + [ "bytes_to_data", "grib2__int_8h.html#a62eb31cd21e5c37b6378a052eecd67bc", null ], + [ "bytes_to_local", "grib2__int_8h.html#a06da9ee061feffa47c552b808166dd6b", null ], + [ "bytes_to_msg", "grib2__int_8h.html#af149feb9c6a24df42c987bbadb5d2c18", null ], + [ "center", "grib2__int_8h.html#afca06e92d8dcf3c8f1172f3414ab870a", null ], + [ "day", "grib2__int_8h.html#abecb87ff997d6d0f929ba1a770f0621b", null ], + [ "discipline", "grib2__int_8h.html#a6ae662fc009939e70b82141e1671a0bb", null ], + [ "file", "grib2__int_8h.html#afef2b1103683c1aa3333fa7d5a83db01", null ], + [ "hour", "grib2__int_8h.html#a4bca22c62bed41329e62bea27ee745b3", null ], + [ "local_version", "grib2__int_8h.html#acaf5f4deaef680af27ba1b626a4a7acc", null ], + [ "master_version", "grib2__int_8h.html#a269f23c98537183178c3ebc9f6d915fd", null ], + [ "minute", "grib2__int_8h.html#a5815202ac6ed7cb3e380093dd6602262", null ], + [ "month", "grib2__int_8h.html#adcef6b4e7c590e2a2fc37308d1c7d96a", null ], + [ "msg_num", "grib2__int_8h.html#ae400e26b01043c449c39de9cf6629c88", null ], + [ "next", "grib2__int_8h.html#af9828d4b2656003825bd4aa83dc14d26", null ], + [ "num_fields", "grib2__int_8h.html#a85954382df1adfd1066de85f7d790ad7", null ], + [ "num_local", "grib2__int_8h.html#a6239752e3aa457d9dce277385ca3e75b", null ], + [ "num_sections", "grib2__int_8h.html#a54bcbb8dd191ef325627323bff87ff42", null ], + [ "sec", "grib2__int_8h.html#a1dff2889177040680db6291b350c9d1c", null ], + [ "sec1_len", "grib2__int_8h.html#af33ecc99c8b4f4240c69a380b73774f4", null ], + [ "second", "grib2__int_8h.html#abc902f5b888b64b5004b189d25550c99", null ], + [ "section1", "grib2__int_8h.html#ad1948cfc6aa884bfd9e1312056f5ad08", null ], + [ "section_number", "grib2__int_8h.html#a47b9c7dead0ce3a30ed49cbefe630be9", null ], + [ "section_offset", "grib2__int_8h.html#a45620124942dba0d67515b08299a4c43", null ], + [ "sig_ref_time", "grib2__int_8h.html#a626f386b445c0d2910d680559621c194", null ], + [ "status", "grib2__int_8h.html#aab42481c672ffe6236cda6027d174a61", null ], + [ "subcenter", "grib2__int_8h.html#a21a8c63eb7714bf474d25a32017b127f", null ], + [ "type", "grib2__int_8h.html#a4632cb054d0f24d1f39f7e174bc40e28", null ], + [ "year", "grib2__int_8h.html#aa656185846e3574abd79f57b1ee3d899", null ] + ] ], + [ "g2c_param", "grib2__int_8h.html#structg2c__param", [ + [ "abbrev", "grib2__int_8h.html#aa2773b08dd14877f37a450421796fe45", null ], + [ "g1num", "grib2__int_8h.html#a2e0aefa5b3b3c702b0f5f6dc8fc0401a", null ], + [ "g1ver", "grib2__int_8h.html#a1ea94395773c5ecf1257cd01bf033a26", null ], + [ "g2cat", "grib2__int_8h.html#a668dee231d7aa73fcb36e6ecc41badc1", null ], + [ "g2disc", "grib2__int_8h.html#ad610f3bb919c70bcb7ad8593804c3b65", null ], + [ "g2num", "grib2__int_8h.html#af79b19aedb2a36aedcef7a85f42502c6", null ] + ] ], + [ "g2c_section3_info", "grib2__int_8h.html#structg2c__section3__info", [ + [ "dim", "grib2__int_8h.html#a242577f5fe354b2dd763690ba085ec4c", null ], + [ "grid_def", "grib2__int_8h.html#a49ce0f513e7723400907f777946fc6c4", null ], + [ "interp_list", "grib2__int_8h.html#a761fd11af0a8e1d3b9eb147edb653b0b", null ], + [ "num_data_points", "grib2__int_8h.html#a5916fc7041e507c7cfc797ef73699471", null ], + [ "num_opt", "grib2__int_8h.html#a646e4d619d5326e4168cfd9ea8890c01", null ], + [ "optional", "grib2__int_8h.html#afeb55ec4eed62df0c9e34f2e8f9f0120", null ], + [ "source_grid_def", "grib2__int_8h.html#ac5089b3aa084e111dcf76fe148d4cadc", null ] + ] ], + [ "g2c_section4_info", "grib2__int_8h.html#structg2c__section4__info", [ + [ "field_num", "grib2__int_8h.html#a4993920fef41b3e00837ecf78b5af92e", null ], + [ "num_coord", "grib2__int_8h.html#a5c5c17ef34f6f6401cf4ebd9a3fbf9b0", null ], + [ "optional", "grib2__int_8h.html#a69a46b58c28c0102b219f9310ff12b85", null ], + [ "prod_def", "grib2__int_8h.html#affe809d466e10244055a71487aaa43cb", null ] + ] ], + [ "g2c_section5_info", "grib2__int_8h.html#structg2c__section5__info", [ + [ "data_def", "grib2__int_8h.html#aeb41d96ee4ff703298807472e6d73ba5", null ], + [ "num_data_points", "grib2__int_8h.html#a901fe0745e77a8f83cc94e45343c2128", null ] + ] ], + [ "g2c_section6_info", "grib2__int_8h.html#structg2c__section6__info", [ + [ "indicator", "grib2__int_8h.html#a9974cef2b24b092ce879c1f65c6ed88c", null ] + ] ], + [ "g2c_section_info", "grib2__int_8h.html#structg2c__section__info", [ + [ "bytes_to_sec", "grib2__int_8h.html#aab2569498daaf959c3836f15ee38276d", null ], + [ "msg", "grib2__int_8h.html#afa38d80d5790033707db560070c8b0a3", null ], + [ "next", "grib2__int_8h.html#a1c00621e95d7abedb7b7d929cfb2f34a", null ], + [ "prev", "grib2__int_8h.html#a7f81c8fcd129ef70ad65140d6161668a", null ], + [ "sec_id", "grib2__int_8h.html#a2320bf6fe88358a510c67d695395d94d", null ], + [ "sec_info", "grib2__int_8h.html#a9736c199befb7d6cdc3cc771d5e5fd9c", null ], + [ "sec_len", "grib2__int_8h.html#a9adc2635c9c81b265f32cbce68b1b474", null ], + [ "sec_num", "grib2__int_8h.html#a8c079c93f9e85a2c75bd3fb5060fd907", null ], + [ "template", "grib2__int_8h.html#af280c0c0846f17808aae9772a42edc19", null ], + [ "template_len", "grib2__int_8h.html#ac5827e102f2aaacc0abcbc5a5aafb678", null ] + ] ], [ "gtemplate", "grib2__int_8h.html#structgtemplate", [ [ "ext", "grib2__int_8h.html#a312a417c8e6f68bea7bfe86268c16594", null ], [ "extlen", "grib2__int_8h.html#a743151a1bde2a21603926e1541baa5de", null ], @@ -10,9 +108,49 @@ var grib2__int_8h = [ "type", "grib2__int_8h.html#ad28b4af0030473208605c2cf2c5e3f36", null ] ] ], [ "ALOG2", "grib2__int_8h.html#aca7ef7356b1550ae26423a6d8012f5fd", null ], + [ "BYTE", "grib2__int_8h.html#aec93e83855ac17c3c25c55c37ca186dd", null ], + [ "EIGHT_BYTES", "grib2__int_8h.html#ace025ff0f3bbc5575c7eca20d39653a0", null ], + [ "EXTERN_MUTEX", "grib2__int_8h.html#af1e2cdb6482d0eda709d3beea3426687", null ], + [ "FOUR_BYTES", "grib2__int_8h.html#a2d4f4340b41c07ec8fc52ff19aa23ec4", null ], + [ "G2C_FILE_READ", "grib2__int_8h.html#a03dbc85724fca79a8a073e2101fdb64d", null ], + [ "G2C_FILE_WRITE", "grib2__int_8h.html#a1b307f84498592d3af16987f3828dd7e", null ], + [ "G2C_INDEX1_BDS_VAL_LEN", "grib2__int_8h.html#a12c6feec8073278d5147ed3f451d8f26", null ], + [ "G2C_INDEX1_BMS_VAL_LEN", "grib2__int_8h.html#a68960e1200741ecaacc22020d1ad2565", null ], + [ "G2C_INDEX1_GDS_VAL2_LEN", "grib2__int_8h.html#ab380f99a5148decd6afd0f7877f97746", null ], + [ "G2C_INDEX1_GDS_VAL_LEN", "grib2__int_8h.html#a56d5a04be7b7feb227634533413f528a", null ], + [ "G2C_INDEX1_PDS_VAL2_LEN", "grib2__int_8h.html#a897d92ef651510a3fe10dc9a7b5df9b8", null ], + [ "G2C_INDEX1_PDS_VAL3_LEN", "grib2__int_8h.html#a91a1d7b538da7f1f9786d50ab7fb8211", null ], + [ "G2C_INDEX1_PDS_VAL_LEN", "grib2__int_8h.html#a91624c9b58aaa01748a06a85c15b6c5c", null ], [ "G2C_JASPER_JPEG_FORMAT_NAME", "grib2__int_8h.html#a05f66c598caeaf6ef1b9e25c15dc053b", null ], + [ "G2C_MAGIC_HEADER", "grib2__int_8h.html#a509882196b78bdf75ee36d1d1bf0cc35", null ], + [ "G2C_MAGIC_HEADER_LEN", "grib2__int_8h.html#a240eb2cfb06a088831f356621ffbd629", null ], + [ "G2C_MAX_MESSAGES", "grib2__int_8h.html#a98f7c3fe1e4dd5db104fde7c6549a32d", null ], + [ "G2C_MIN_MAX_BYTES", "grib2__int_8h.html#a8da09513416a4bd9ba4cfa1b291c0c85", null ], + [ "hton64", "grib2__int_8h.html#ad4e90614132aeb5308bffc79b342c519", null ], + [ "LATITUDE", "grib2__int_8h.html#a63205f1ad14afc714149004a931abbce", null ], [ "LOG", "grib2__int_8h.html#abb35b3e9ac2b0ff8cd7c0881988940c0", null ], + [ "LONGITUDE", "grib2__int_8h.html#ab04a12985543a4277feae611d62718bf", null ], + [ "MUTEX", "grib2__int_8h.html#a8160b611383b384c0e62752cee0ccb92", null ], + [ "MUTEX_LOCK", "grib2__int_8h.html#af1b008061fe84eb508e6aef5b2e37f52", null ], + [ "MUTEX_UNLOCK", "grib2__int_8h.html#a2e449246cf2d393ed6973729785e9e0c", null ], + [ "ntoh64", "grib2__int_8h.html#a98771c5eaa5f71f696f580046347393a", null ], + [ "ONE_BYTE", "grib2__int_8h.html#ab6ab60c8c7e1f9fa0d00ea25b917a7e1", null ], + [ "TWO_BYTES", "grib2__int_8h.html#ab427e6926fcc47eb1c02c1f78162b6f6", null ], + [ "WORD", "grib2__int_8h.html#a4cfc63e05db4883dc4b60a1245a9ffc5", null ], + [ "G2C_CODE_ENTRY_T", "grib2__int_8h.html#ad30cccbe4737bd52122ba6aad5bfac8c", null ], + [ "G2C_CODE_TABLE_T", "grib2__int_8h.html#a08c8e513e52e5f45877cbdf65de84ebc", null ], + [ "G2C_DIM_INFO_T", "grib2__int_8h.html#a5e7f59f229745baebacbc4f7344ff039", null ], + [ "G2C_FILE_INFO_T", "grib2__int_8h.html#a2742865fda7051b6bdd795a2af426a89", null ], + [ "G2C_MESSAGE_INFO_T", "grib2__int_8h.html#a99a45e03f1f4601ea7c5fcdeec5cb19b", null ], + [ "G2C_PARAM_T", "grib2__int_8h.html#a6f80bff99b9d4dd94df22bea9c6057c4", null ], + [ "G2C_SECTION3_INFO_T", "grib2__int_8h.html#a07f31f8e961b2d10b82007cef989ba62", null ], + [ "G2C_SECTION4_INFO_T", "grib2__int_8h.html#a86155cc800a49fff155d3d48fa61b306", null ], + [ "G2C_SECTION5_INFO_T", "grib2__int_8h.html#a7c9598594469891f1962213355a28cdd", null ], + [ "G2C_SECTION6_INFO_T", "grib2__int_8h.html#af27005591b78f26dda3151d941dc8247", null ], + [ "G2C_SECTION_INFO_T", "grib2__int_8h.html#a6461bd06cff157e5887e739b8f9d063f", null ], [ "gtemplate", "grib2__int_8h.html#a1f770e683f8b4e9c16c3d4d9d1e4fb63", null ], + [ "add_msg", "grib2__int_8h.html#a9474e2c676b3c163bcbd2b928fd509f3", null ], + [ "add_section", "grib2__int_8h.html#a9b77b4fddeb0b4e4d136bb7c2460b7cc", null ], [ "cmplxpack", "grib2__int_8h.html#a099225c582defca6ab562d9aad5bc20b", null ], [ "compack", "grib2__int_8h.html#acbf694045589babceb7412ac6faadc39", null ], [ "comunpack", "grib2__int_8h.html#ab6cce79f010456f1e882fa1c027062da", null ], @@ -23,7 +161,26 @@ var grib2__int_8h = [ "extdrstemplate", "grib2__int_8h.html#a29eb8a2ca16e15e491d7115725ff907c", null ], [ "extgridtemplate", "grib2__int_8h.html#a0d65c7c29a06c12ebee26746476d49c9", null ], [ "extpdstemplate", "grib2__int_8h.html#a64e5f115f7c4ec0b1b7d8af8376d12eb", null ], + [ "g2c_add_file", "grib2__int_8h.html#af12335d519df51c7331a8c4f343fb98a", null ], [ "g2c_check_msg", "grib2__int_8h.html#a3acf35e5653f0dab59b3e6fd130f2d62", null ], + [ "g2c_file_io", "grib2__int_8h.html#a86669f909e0dd9439ce7ad8de66905ff", null ], + [ "g2c_file_io_byte", "grib2__int_8h.html#a1947b04c8b32bd5196bde44ce47d067e", null ], + [ "g2c_file_io_int", "grib2__int_8h.html#afa29c9cc65c8069fc3e6676fbc26c060", null ], + [ "g2c_file_io_longlong", "grib2__int_8h.html#aed980fec21c06ad88363cd2eb8b01843", null ], + [ "g2c_file_io_short", "grib2__int_8h.html#a938ee5c56d3896e1bfb6682eeac6d6c2", null ], + [ "g2c_file_io_template", "grib2__int_8h.html#a2cb1faaeaddca5c428124e2611c9c58c", null ], + [ "g2c_file_io_ubyte", "grib2__int_8h.html#ae839ef9885e9d311f34429e9d8c4e429", null ], + [ "g2c_file_io_uint", "grib2__int_8h.html#af13561bb1b69477285058c02d2f053b2", null ], + [ "g2c_file_io_ulonglong", "grib2__int_8h.html#a540760f2051b00c67fefc9dfeb927c99", null ], + [ "g2c_file_io_ushort", "grib2__int_8h.html#a0efe5cf31d683e3e6aa3144c82ab2a17", null ], + [ "g2c_get_datetime", "grib2__int_8h.html#af047ad60d1fa2efe9d7cf018e32c86da", null ], + [ "g2c_get_level_desc", "grib2__int_8h.html#aa5c776ca39acf408c81fbc96568d72dc", null ], + [ "g2c_log_section1", "grib2__int_8h.html#a5bf6dfa852b0a206632d52aa666abf3a", null ], + [ "g2c_rw_section1_metadata", "grib2__int_8h.html#ae7843e51976900337654503388d9a726", null ], + [ "g2c_rw_section3_metadata", "grib2__int_8h.html#af7f2e7b1cc0d81f73f972feaa4fc65c0", null ], + [ "g2c_rw_section4_metadata", "grib2__int_8h.html#af7fef1bd5fae59a765ccfa3493c20699", null ], + [ "g2c_rw_section5_metadata", "grib2__int_8h.html#abd2e0851785661aee3f32380c9d8fdf0", null ], + [ "g2c_rw_section6_metadata", "grib2__int_8h.html#a767dd5916869dc53f395903d613075cb", null ], [ "gbit", "grib2__int_8h.html#a1efb9739e947d94010aeba6daf62eca3", null ], [ "gbits", "grib2__int_8h.html#a31ebdbbf262b7478d6a7cc4326f76ade", null ], [ "getdim", "grib2__int_8h.html#aabc49a338fae74f6dfc9e98b6cb59de7", null ], diff --git a/grib2__int_8h_source.html b/grib2__int_8h_source.html index 0ffbd1ad..a54d38b1 100644 --- a/grib2__int_8h_source.html +++ b/grib2__int_8h_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: grib2_int.h Source File @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -86,169 +86,517 @@
grib2_int.h
-Go to the documentation of this file.
1 
-
13 #ifndef _grib2_int_H
-
14 #define _grib2_int_H
-
15 
-
16 #include <stdio.h>
-
17 #include <stdint.h>
-
18 #include <assert.h>
-
19 #include "grib2.h"
-
20 
-
21 #define ALOG2 (0.69314718)
-
23 #define G2C_JASPER_JPEG_FORMAT_NAME "jpc"
-
28 struct gtemplate
-
29 {
- -
35 
- - +Go to the documentation of this file.
1 
+
8 #ifndef _grib2_int_H
+
9 #define _grib2_int_H
+
10 
+
11 #include <stdio.h>
+
12 #include <stdint.h>
+
13 #include <stdlib.h>
+
14 #include <assert.h>
+
15 #include <ctype.h>
+
16 
+
17 #include <errno.h>
+
18 #if defined(WIN32)
+
19 #include <winsock2.h> /* ntohl() function for Windows. */
+
20 #else
+
21 #include <arpa/inet.h> /* ntohl() function for Unix/Mac. */
+
22 #endif
+
23 
+
24 #ifdef PTHREADS
+
25 #include <pthread.h>
+
26 #endif
+
27 
+
28 #include "grib2.h"
+
29 
+
30 #define ALOG2 (0.69314718)
+
33 #define G2C_JASPER_JPEG_FORMAT_NAME "jpc"
+
34 
+
36 #define G2C_MIN_MAX_BYTES 16
+
37 
+
39 #define G2C_MAGIC_HEADER "GRIB"
40 
- -
44 
- -
47 
- -
50 
- -
54 };
-
55 
-
56 typedef struct gtemplate gtemplate;
-
58 /* Legacy support functions. */
-
59 double int_power(double x, g2int y);
-
60 void mkieee(float *a, g2int *rieee, g2int num);
-
61 void rdieee(g2int *rieee, float *a, g2int num);
+
42 #define G2C_MAGIC_HEADER_LEN 8
+
43 
+
45 #define G2C_MAX_MESSAGES 1024
+
46 
+
47 #define BYTE 8
+
48 #define WORD 32
+
50 #define ONE_BYTE 1
+
51 #define TWO_BYTES 2
+
52 #define FOUR_BYTES 4
+
53 #define EIGHT_BYTES 8
+
56 #define LATITUDE "Latitude"
+
57 
+
59 #define LONGITUDE "Longitude"
+
60 
+
61 /* For GRIB1. */
62 
-
63 /* Get the various templates. */
- -
65 gtemplate *extdrstemplate(g2int number, g2int *list);
- -
67 gtemplate *extpdstemplate(g2int number, g2int *list);
- -
69 gtemplate *extgridtemplate(g2int number, g2int *list);
-
70 
-
71 /* Packing and unpacking data. */
-
72 void simpack(float *fld, g2int ndpts, g2int *idrstmpl,
-
73  unsigned char *cpack, g2int *lcpack);
-
74 g2int simunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts,
-
75  float *fld);
-
76 void compack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl,
-
77  unsigned char *cpack, g2int *lcpack);
-
78 int comunpack(unsigned char *cpack, g2int lensec, g2int idrsnum,
-
79  g2int *idrstmpl, g2int ndpts, float *fld);
-
80 void misspack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl,
-
81  unsigned char *cpack, g2int *lcpack);
-
82 void cmplxpack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl,
-
83  unsigned char *cpack, g2int *lcpack);
-
84 g2int getpoly(unsigned char *csec3, g2int *jj, g2int *kk, g2int *mm);
-
85 void specpack(float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM,
-
86  g2int *idrstmpl, unsigned char *cpack, g2int *lcpack);
-
87 g2int specunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2int JJ,
-
88  g2int KK, g2int MM, float *fld);
-
89 g2int getdim(unsigned char *csec3, g2int *width, g2int *height, g2int *iscan);
-
90 
-
91 int enc_png(unsigned char *data, g2int width, g2int height, g2int nbits,
-
92  unsigned char *pngbuf);
-
93 int dec_png(unsigned char *pngbuf, g2int *width, g2int *height,
-
94  unsigned char *cout);
-
95 void pngpack(float *fld, g2int width, g2int height, g2int *idrstmpl,
-
96  unsigned char *cpack, g2int *lcpack);
-
97 g2int pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts,
-
98  float *fld);
-
99 int enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits,
-
100  g2int ltype, g2int ratio, g2int retry, char *outjpc,
-
101  g2int jpclen);
-
102 int dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld);
-
103 void jpcpack(float *fld, g2int width, g2int height, g2int *idrstmpl,
-
104  unsigned char *cpack, g2int *lcpack);
-
105 g2int jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts,
-
106  float *fld);
-
107 
-
108 /* Packing and unpacking bits. */
-
109 void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits);
-
110 void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits);
-
111 void gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits,
-
112  g2int nskip, g2int n);
-
113 void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits,
-
114  g2int nskip, g2int n);
+
64 #define G2C_INDEX1_PDS_VAL_LEN 27
+
65 
+
67 #define G2C_INDEX1_GDS_VAL_LEN 41
+
68 
+
70 #define G2C_INDEX1_BMS_VAL_LEN 5
+
71 
+
73 #define G2C_INDEX1_BDS_VAL_LEN 10
+
74 
+
76 #define G2C_INDEX1_PDS_VAL2_LEN 27
+
77 
+
79 #define G2C_INDEX1_PDS_VAL3_LEN 27
+
80 
+
82 #define G2C_INDEX1_GDS_VAL2_LEN 27
+
83 
+
84 /* For thread-safety, use these macros. */
+
85 #ifdef PTHREADS
+
86 
+
88 #define MUTEX(m) pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER;
+
89 
+
91 #define EXTERN_MUTEX(m) extern pthread_mutex_t m;
+
92 
+
94 #define MUTEX_LOCK(m) \
+
95  do { \
+
96  pthread_mutex_lock(&m); \
+
97  } while(0)
+
98 
+
100 #define MUTEX_UNLOCK(m) \
+
101  do { \
+
102  pthread_mutex_unlock(&m); \
+
103  } while(0)
+
104 
+
105 #else /* not PTHREADS */
+
106 
+
108 #define MUTEX(m)
+
109 
+
111 #define EXTERN_MUTEX(m)
+
112 
+
114 #define MUTEX_LOCK(m)
115 
-
116 /* Deal with grib groups. */
-
117 int pack_gp(g2int *kfildo, g2int *ic, g2int *nxy,
-
118  g2int *is523, g2int *minpk, g2int *inc, g2int *missp, g2int *misss,
-
119  g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov,
-
120  g2int *ndg, g2int *lx, g2int *ibit, g2int *jbit, g2int *kbit,
-
121  g2int *novref, g2int *lbitref, g2int *ier);
-
122 
-
123 /* Check the message header and check for message termination. */
-
124 int g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose);
-
125 
-
126 /* Handle logging. */
-
127 #ifdef LOGGING
+
117 #define MUTEX_UNLOCK(m)
+
118 
+
119 #endif /* PTHREADS */
+
120 
+
123 #define ntoh64(y) (((uint64_t)ntohl(y)) << WORD | ntohl(y >> WORD))
+
124 
+
127 #define hton64(y) (((uint64_t)htonl(y)) << WORD | htonl(y >> WORD))
128 
-
129 /* To log something... */
-
130 void g2_log(int severity, const char *fmt, ...);
-
131 
-
133 #define LOG(e) g2_log e
-
134 
-
135 #else /* LOGGING */
-
136 
-
138 #define LOG(e)
-
139 
-
140 #endif /* LOGGING */
-
141 
-
142 #endif /* _grib2_int_H */
-
-
-
gtemplate * extpdstemplate(g2int number, g2int *list)
This subroutine generates the remaining octet map for a given Product Definition Template,...
Definition: pdstemplates.c:329
-
g2int * ext
Number of octets of each entry in the extension part of the template.
Definition: grib2_int.h:53
-
int comunpack(unsigned char *cpack, g2int lensec, g2int idrsnum, g2int *idrstmpl, g2int ndpts, float *fld)
This subroutine unpacks a data field that was packed using a complex packing algorithm as defined in ...
Definition: comunpack.c:42
-
void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:114
-
gtemplate * getdrstemplate(g2int number)
This subroutine returns DRS template information for a specified Data Representation Template.
Definition: drstemplates.c:166
-
g2int type
The template type: 3 Grid Defintion Template.
Definition: grib2_int.h:34
-
gtemplate * extdrstemplate(g2int number, g2int *list)
This subroutine generates the remaining octet map for a given Data Representation Template,...
Definition: drstemplates.c:212
-
void rdieee(g2int *rieee, float *a, g2int num)
This subroutine reads a list of real values in 32-bit IEEE floating point format.
Definition: rdieee.c:21
-
int dec_png(unsigned char *pngbuf, g2int *width, g2int *height, unsigned char *cout)
Decode PNG.
Definition: dec_png.c:61
-
void jpcpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a data field into a JPEG2000 code stream.
Definition: jpcpack.c:253
-
g2int needext
Indicates whether or not the template needs to be extended.
Definition: grib2_int.h:46
-
void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:38
-
gtemplate * extgridtemplate(g2int number, g2int *list)
This subroutine generates the remaining octet map for a given Grid Definition Template,...
-
double int_power(double x, g2int y)
Function similar to C pow() power function.
Definition: int_power.c:18
-
g2int maplen
Number of entries in the static part of the template.
Definition: grib2_int.h:39
+
129 #define G2C_FILE_READ 0
+
130 #define G2C_FILE_WRITE 1
+
133 typedef struct g2c_message_info
+
134 {
+
135  size_t msg_num;
+
136  size_t bytes_to_msg;
+
137  size_t bytes_in_msg;
+
138  unsigned char discipline;
+ + +
141  int num_local;
+ + + + + +
147  size_t *section_offset;
+
148  int sec1_len;
+
149  short center;
+
150  short subcenter;
+
151  unsigned char master_version;
+
152  unsigned char local_version;
+
153  unsigned char sig_ref_time;
+
154  short year;
+
155  unsigned char month;
+
156  unsigned char day;
+
157  unsigned char hour;
+
158  unsigned char minute;
+
159  unsigned char second;
+
160  unsigned char status;
+
161  unsigned char type;
+ +
163  struct g2c_file_info *file;
+ + +
166 
+
168 typedef struct g2c_section_info
+
169 {
+
170  int sec_id;
+
171  unsigned int sec_len;
+
172  size_t bytes_to_sec;
+
173  unsigned char sec_num;
+ +
175  void *sec_info;
+ + +
178  long long int *template;
+ + +
181 
+
183 typedef struct g2c_dim_info
+
184 {
+
185  int dimid;
+
186  size_t len;
+
187  char name[G2C_MAX_NAME + 1];
+
188  float *value;
+ +
190 
+
193 typedef struct g2c_section3_info
+
194 {
+
195  unsigned char source_grid_def;
+
196  unsigned int num_data_points;
+
197  unsigned char num_opt;
+
198  unsigned char interp_list;
+
199  unsigned short grid_def;
+
200  int *optional;
+
201  G2C_DIM_INFO_T dim[2];
+ +
203 
+
206 typedef struct g2c_section4_info
+
207 {
+
208  int field_num;
+
209  unsigned short num_coord;
+
210  unsigned short prod_def;
+
211  int *optional;
+ +
213 
+
216 typedef struct g2c_section5_info
+
217 {
+
221  unsigned int num_data_points;
+
222  unsigned short data_def;
+ +
224 
+
227 typedef struct g2c_section6_info
+
228 {
+
231  unsigned char indicator;
+ +
233 
+
235 typedef struct g2c_file_info
+
236 {
+
237  int g2cid;
+
238  char path[G2C_MAX_NAME + 1];
+
239  FILE *f;
+
240  size_t num_messages;
+ + +
243 
+
245 typedef struct g2c_entry
+
246 {
+
247  struct g2c_entry *next;
+
248  char desc[G2C_MAX_GRIB_DESC_LEN + 1];
+
249  char status[G2C_MAX_GRIB_STATUS_LEN + 1];
+
250  char code[G2C_MAX_GRIB_CODE_LEN + 1];
+ +
252 
+
254 typedef struct g2c_code_table
+
255 {
+
256  struct g2c_code_table *next;
+
257  char title[G2C_MAX_GRIB_TITLE_LEN + 1];
+
258  G2C_CODE_ENTRY_T *entry;
+ +
260 
+
262 typedef struct g2c_param
+
263 {
+
264  int g1num;
+
265  int g1ver;
+
266  int g2disc;
+
267  int g2cat;
+
268  int g2num;
+
269  char abbrev[G2C_MAX_NOAA_ABBREV_LEN + 1];
+ +
271 
+
275 struct gtemplate
+
276 {
+ +
282 
+ + +
287 
+ +
291 
+ +
294 
+ +
297 
+ +
301 };
+
302 
+
303 typedef struct gtemplate gtemplate;
+
305 /* Legacy support functions. */
+
306 double int_power(double x, g2int y);
+
307 void mkieee(float *a, g2int *rieee, g2int num);
+
308 void rdieee(g2int *rieee, float *a, g2int num);
+
309 
+
310 /* Get the various templates. */
+ +
312 gtemplate *extdrstemplate(g2int number, g2int *list);
+ +
314 gtemplate *extpdstemplate(g2int number, g2int *list);
+ +
316 gtemplate *extgridtemplate(g2int number, g2int *list);
+
317 
+
318 /* Level and date/time info. */
+
319 int g2c_get_datetime(int ipdtn, long long int *ipdtmpl, short year, unsigned char month, unsigned char day,
+
320  unsigned char hour, unsigned char minute, unsigned char second, char *tabbrev);
+
321 int g2c_get_level_desc(int ipdtn, long long int *ipdtmpl, char *level_desc);
+
322 
+
323 /* Packing and unpacking data. */
+
324 void simpack(float *fld, g2int ndpts, g2int *idrstmpl,
+
325  unsigned char *cpack, g2int *lcpack);
+
326 g2int simunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts,
+
327  float *fld);
+
328 void compack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl,
+
329  unsigned char *cpack, g2int *lcpack);
+
330 int comunpack(unsigned char *cpack, g2int lensec, g2int idrsnum,
+
331  g2int *idrstmpl, g2int ndpts, float *fld);
+
332 void misspack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl,
+
333  unsigned char *cpack, g2int *lcpack);
+
334 void cmplxpack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl,
+
335  unsigned char *cpack, g2int *lcpack);
+
336 g2int getpoly(unsigned char *csec3, g2int *jj, g2int *kk, g2int *mm);
+
337 void specpack(float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM,
+
338  g2int *idrstmpl, unsigned char *cpack, g2int *lcpack);
+
339 g2int specunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2int JJ,
+
340  g2int KK, g2int MM, float *fld);
+
341 g2int getdim(unsigned char *csec3, g2int *width, g2int *height, g2int *iscan);
+
342 
+
343 int enc_png(unsigned char *data, g2int width, g2int height, g2int nbits,
+
344  unsigned char *pngbuf);
+
345 int dec_png(unsigned char *pngbuf, g2int *width, g2int *height,
+
346  unsigned char *cout);
+
347 void pngpack(float *fld, g2int width, g2int height, g2int *idrstmpl,
+
348  unsigned char *cpack, g2int *lcpack);
+
349 g2int pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts,
+
350  float *fld);
+
351 int enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits,
+
352  g2int ltype, g2int ratio, g2int retry, char *outjpc,
+
353  g2int jpclen);
+
354 int dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld);
+
355 void jpcpack(float *fld, g2int width, g2int height, g2int *idrstmpl,
+
356  unsigned char *cpack, g2int *lcpack);
+
357 g2int jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts,
+
358  float *fld);
+
359 
+
360 /* Packing and unpacking bits. */
+
361 void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits);
+
362 void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits);
+
363 void gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits,
+
364  g2int nskip, g2int n);
+
365 void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits,
+
366  g2int nskip, g2int n);
+
367 
+
368 /* Deal with grib groups. */
+
369 int pack_gp(g2int *kfildo, g2int *ic, g2int *nxy,
+
370  g2int *is523, g2int *minpk, g2int *inc, g2int *missp, g2int *misss,
+
371  g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov,
+
372  g2int *ndg, g2int *lx, g2int *ibit, g2int *jbit, g2int *kbit,
+
373  g2int *novref, g2int *lbitref, g2int *ier);
+
374 
+
375 /* Check the message header and check for message termination. */
+
376 int g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose);
+
377 
+
378 /* Basic file I/O. */
+
379 int g2c_file_io(FILE *f, int write, int g2ctype, void *var);
+
380 int g2c_file_io_byte(FILE *f, int write, char *var);
+
381 int g2c_file_io_ubyte(FILE *f, int write, unsigned char *var);
+
382 int g2c_file_io_short(FILE *f, int write, short *var);
+
383 int g2c_file_io_ushort(FILE *f, int write, unsigned short *var);
+
384 int g2c_file_io_int(FILE *f, int write, int *var);
+
385 int g2c_file_io_uint(FILE *f, int write, unsigned int *var);
+
386 int g2c_file_io_longlong(FILE *f, int write, long long *var);
+
387 int g2c_file_io_ulonglong(FILE *f, int write, unsigned long long *var);
+
388 int g2c_file_io_template(FILE *f, int rw_flag, int map, long long int *template_value);
+
389 
+
390 /* Read and remember file, message, and section metadata. */
+
391 int g2c_add_file(const char *path, int mode, int *g2cid);
+
392 int add_msg(G2C_FILE_INFO_T *file, int msg_num, size_t bytes_to_msg, size_t bytes_in_msg,
+
393  int read_file, G2C_MESSAGE_INFO_T **msg);
+
394 int add_section(FILE *f, G2C_MESSAGE_INFO_T *msg, int sec_id, unsigned int sec_len, size_t bytes_to_sec,
+
395  unsigned char sec_num);
+
396 int g2c_rw_section1_metadata(FILE *f, int rw_flag, G2C_MESSAGE_INFO_T *msg);
+
397 int g2c_rw_section3_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec);
+
398 int g2c_rw_section4_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec);
+
399 int g2c_rw_section5_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec);
+
400 int g2c_rw_section6_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec);
+
401 
+
402 /* Logging output. */
+ +
404 
+
405 /* Handle logging. */
+
406 #ifdef LOGGING
+
407 
+
408 /* To log something... */
+
409 void g2_log(int severity, const char *fmt, ...);
+
410 
+
412 #define LOG(e) g2_log e
+
413 
+
414 #else /* LOGGING */
+
415 
+
417 #define LOG(e)
+
418 
+
419 #endif /* LOGGING */
+
420 
+
421 #endif /* _grib2_int_H */
+
Header file for NCEPLIBS-g2c library.
+
#define G2C_MAX_GRIB_TITLE_LEN
Maximum length of code table title.
Definition: grib2.h:413
+
#define G2C_MAX_GRIB_DESC_LEN
Maximum length of code description.
Definition: grib2.h:409
+
#define G2C_MAX_NAME
Maximum length of a name.
Definition: grib2.h:284
+
#define G2C_MAX_GRIB_STATUS_LEN
Maximum length of code status.
Definition: grib2.h:410
+
#define G2C_MAX_GRIB_CODE_LEN
Maximum length of code.
Definition: grib2.h:412
+
#define G2C_SECTION1_ARRAY_LEN
Length of section 1 array.
Definition: grib2.h:404
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
+
#define G2C_MAX_NOAA_ABBREV_LEN
Maximum length of a NOAA abbreviation of a parameter.
Definition: grib2.h:417
+
g2int jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld)
Unpack JPEG2000 compressed data into an array of floats, using info from the GRIB2 Data Representatio...
Definition: jpcunpack.c:124
+
int bytes_to_local
Number of bytes in the message before the (first) local section.
Definition: grib2_int.h:142
+
struct g2c_section3_info G2C_SECTION3_INFO_T
Information about Section 3 GRID DEFINITION SECTION.
+
struct g2c_code_table G2C_CODE_TABLE_T
A GRIB2 code table.
+
void cmplxpack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a data field using a complex packing algorithm as defined in the GRIB2 docum...
Definition: cmplxpack.c:36
int enc_png(unsigned char *data, g2int width, g2int height, g2int nbits, unsigned char *pngbuf)
Encode PNG.
Definition: enc_png.c:75
-
void gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits, g2int nskip, g2int n)
Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
Definition: gbits.c:57
-
gtemplate * getgridtemplate(g2int number)
This subroutine returns grid template information for a specified Grid Definition Template for [Secti...
-
g2int jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld)
Unpack JPEG2000 compressed data into an array of floats, using info from the GRIB2 Data Representatio...
Definition: jpcunpack.c:108
-
g2int * map
Number of octets of each entry in the static part of the template.
Definition: grib2_int.h:43
+
gtemplate * extgridtemplate(g2int number, g2int *list)
This subroutine generates the remaining octet map for a given Grid Definition Template,...
+
int g2c_file_io_ushort(FILE *f, int write, unsigned short *var)
Read or write a big-endian unsigned short to an open GRIB2 file, with conversion between native and b...
Definition: g2cio.c:294
+
void pngpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a float data field into PNG image format.
Definition: pngpack.c:242
void mkieee(float *a, g2int *rieee, g2int num)
This subroutine stores a list of real values in 32-bit IEEE floating point format.
Definition: mkieee.c:22
-
void compack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a data field using a complex packing algorithm as defined in the GRIB2 docum...
Definition: compack.c:42
-
int pack_gp(g2int *kfildo, g2int *ic, g2int *nxy, g2int *is523, g2int *minpk, g2int *inc, g2int *missp, g2int *misss, g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov, g2int *ndg, g2int *lx, g2int *ibit, g2int *jbit, g2int *kbit, g2int *novref, g2int *lbitref, g2int *ier)
Determines groups of variable size, but at least of size minpk, the associated max (jmax( )) and min ...
Definition: pack_gp.c:255
-
gtemplate * getpdstemplate(g2int number)
This subroutine returns PDS template information for a specified Product Definition Template.
Definition: pdstemplates.c:281
-
Header file for NCEPLIBS-g2c library.
+
int g2c_file_io_byte(FILE *f, int write, char *var)
Read or write a big-endian signed byte to an open GRIB2 file, with conversion between native and big-...
Definition: g2cio.c:316
+
struct g2c_section_info * next
Pointer to next in list.
Definition: grib2_int.h:176
+
struct g2c_section_info * sec
List of section metadata.
Definition: grib2_int.h:162
+
int g1ver
GRIB1 table version.
Definition: grib2_int.h:265
+
void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits)
Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
Definition: gbits.c:20
+
struct gtemplate gtemplate
Struct for GRIB template.
Definition: grib2_int.h:303
+
size_t len
Length of dimension.
Definition: grib2_int.h:186
+
short subcenter
Originating subcenter.
Definition: grib2_int.h:150
+
int sec_id
ID of the section (0-based).
Definition: grib2_int.h:170
+
g2int pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld)
This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB...
Definition: pngunpack.c:117
+
unsigned char master_version
GRIB master tables version number.
Definition: grib2_int.h:151
+
struct g2c_file_info G2C_FILE_INFO_T
This is the information about each open file.
+
gtemplate * extdrstemplate(g2int number, g2int *list)
This subroutine generates the remaining octet map for a given Data Representation Template,...
Definition: drstemplates.c:208
+
int g2c_file_io_template(FILE *f, int rw_flag, int map, long long int *template_value)
Read or write a big-endian 4-byte int or unsigned int from or to an open file, with conversion betwee...
Definition: g2cio.c:408
+
int g1num
GRIB1 parameter number.
Definition: grib2_int.h:264
+
g2int * ext
Number of octets of each entry in the extension part of the template.
Definition: grib2_int.h:300
+
void gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits, g2int nskip, g2int n)
Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
Definition: gbits.c:57
+
int g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose)
Check for 'GRIB' at the beginning of a GRIB message, and check to see if the message is already termi...
Definition: util.c:26
+
size_t * section_offset
Array (length num_sections) of byte offsets from start of message to section.
Definition: grib2_int.h:147
+
unsigned char type
Type of processed data in this GRIB message.
Definition: grib2_int.h:161
+
int * section_number
Array (length num_sections) of section numbers.
Definition: grib2_int.h:146
+
unsigned short grid_def
Grid definition template number (= N) (See Table 3.1).
Definition: grib2_int.h:199
+
unsigned char hour
Hour.
Definition: grib2_int.h:157
+
int dec_png(unsigned char *pngbuf, g2int *width, g2int *height, unsigned char *cout)
Decode PNG.
Definition: dec_png.c:61
+
int g2c_file_io_ulonglong(FILE *f, int write, unsigned long long *var)
Read or write a big-endian unsigned long long to an open GRIB2 file, with conversion between native a...
Definition: g2cio.c:380
+
int num_sections
Number of sections in the file.
Definition: grib2_int.h:145
+
unsigned char minute
Minute.
Definition: grib2_int.h:158
+
unsigned int num_data_points
Number of data points.
Definition: grib2_int.h:196
+
size_t num_messages
Number of messages in the file.
Definition: grib2_int.h:240
+
int g2c_log_section1(G2C_MESSAGE_INFO_T *msg)
Log section 0 information.
Definition: g2cutil.c:101
+
unsigned short num_coord
Number of coordinate values after template.
Definition: grib2_int.h:209
+
struct g2c_dim_info G2C_DIM_INFO_T
Keep information about dimensions defined in section 3.
+
int num_local
Number of local sections in the message.
Definition: grib2_int.h:141
+
unsigned char sig_ref_time
Significance of reference time.
Definition: grib2_int.h:153
+
int bytes_to_data
Number of bytes in the message to the (first) data section.
Definition: grib2_int.h:144
+
struct g2c_section_info G2C_SECTION_INFO_T
Information about a section 3 through 7 in a GRIB2 message.
+
unsigned char num_opt
Number of octets for optional list of numbers defining number of points.
Definition: grib2_int.h:197
+
gtemplate * extpdstemplate(g2int number, g2int *list)
This subroutine generates the remaining octet map for a given Product Definition Template,...
Definition: pdstemplates.c:325
+
int g2cat
GRIB2 category number.
Definition: grib2_int.h:267
+
int * optional
Optional list of numbers defining number of points.
Definition: grib2_int.h:211
+
unsigned char discipline
Discipline from section 0.
Definition: grib2_int.h:138
+
double int_power(double x, g2int y)
Function similar to C pow() power function.
Definition: int_power.c:18
+
int g2cid
ID of the file.
Definition: grib2_int.h:237
+
struct g2c_param G2C_PARAM_T
An entry in the table of NOAA abbreviations for GRIB parameters.
+
g2int extlen
Number of entries in the template extension.
Definition: grib2_int.h:296
+
unsigned char interp_list
Interpetation of list of numbers defining number of points (See Table 3.11).
Definition: grib2_int.h:198
+
int g2c_rw_section6_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec)
Read or write the metadata from section 6 (Data Representation Section) of a GRIB2 message.
Definition: g2cfile.c:748
+
struct g2c_section5_info G2C_SECTION5_INFO_T
Information about Section 5 DATA REPRESENTATION SECTION.
+
size_t bytes_in_msg
Number of bytes in this message.
Definition: grib2_int.h:137
+
struct g2c_section_info * prev
Pointer to previous in list.
Definition: grib2_int.h:177
+
int num_fields
Number of fields in the message.
Definition: grib2_int.h:140
+
struct g2c_section4_info G2C_SECTION4_INFO_T
Information about Section 4 PRODUCT DEFINITION SECTION.
+
int g2c_file_io(FILE *f, int write, int g2ctype, void *var)
Read or write a big-endian integer type to an open file, with conversion between native and big-endia...
Definition: g2cio.c:41
+
g2int * map
Number of octets of each entry in the static part of the template.
Definition: grib2_int.h:290
+
unsigned char sec_num
Section number.
Definition: grib2_int.h:173
+
g2int needext
Indicates whether or not the template needs to be extended.
Definition: grib2_int.h:293
+
unsigned int num_data_points
Number of data points where one or more values are specified in Section 7 when a bit map is present,...
Definition: grib2_int.h:221
+
void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:180
+
int g2c_file_io_short(FILE *f, int write, short *var)
Read or write a big-endian signed short to an open GRIB2 file, with conversion between native and big...
Definition: g2cio.c:273
+
int add_msg(G2C_FILE_INFO_T *file, int msg_num, size_t bytes_to_msg, size_t bytes_in_msg, int read_file, G2C_MESSAGE_INFO_T **msg)
Add new message to linked list.
Definition: g2cfile.c:1020
+
void * sec_info
Pointer to struct specific for section 3, 4, 5, 6, or 7.
Definition: grib2_int.h:175
+
g2int num
The template number.
Definition: grib2_int.h:283
+
float * value
Array of dimension values.
Definition: grib2_int.h:188
+
unsigned char indicator
Bit map indicator.
Definition: grib2_int.h:231
+
struct g2c_message_info G2C_MESSAGE_INFO_T
This is the information about each message.
+
unsigned int sec_len
Length of the section (in bytes).
Definition: grib2_int.h:171
+
int add_section(FILE *f, G2C_MESSAGE_INFO_T *msg, int sec_id, unsigned int sec_len, size_t bytes_to_sec, unsigned char sec_num)
Add metadata about a new section 3, 4, 5, 6, or 7.
Definition: g2cfile.c:797
+
int g2c_get_level_desc(int ipdtn, long long int *ipdtmpl, char *level_desc)
Determine the string that describes the level information, given the GRIB2 Product Definition Templat...
Definition: g2cdegrib2.c:282
+
short year
Year.
Definition: grib2_int.h:154
+
g2int getpoly(unsigned char *csec3, g2int *jj, g2int *kk, g2int *mm)
This subroutine returns the J, K, and M pentagonal resolution parameters specified in a GRIB Grid Def...
Definition: getpoly.c:40
+
void misspack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This function packs up a data field using a complex packing algorithm as defined in the GRIB2 documen...
Definition: misspack.c:42
+
size_t bytes_to_sec
Number of bytes from start of message to this section.
Definition: grib2_int.h:172
+
unsigned char status
Production Status of Processed data in the GRIB message.
Definition: grib2_int.h:160
g2int getdim(unsigned char *csec3, g2int *width, g2int *height, g2int *iscan)
This subroutine returns the dimensions and scanning mode of a grid definition packed in GRIB2 Grid De...
Definition: getdim.c:29
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
-
g2int num
The template number.
Definition: grib2_int.h:36
+
int pack_gp(g2int *kfildo, g2int *ic, g2int *nxy, g2int *is523, g2int *minpk, g2int *inc, g2int *missp, g2int *misss, g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov, g2int *ndg, g2int *lx, g2int *ibit, g2int *jbit, g2int *kbit, g2int *novref, g2int *lbitref, g2int *ier)
Determines groups of variable size, but at least of size minpk, the associated max (jmax( )) and min ...
Definition: pack_gp.c:255
+
G2C_MESSAGE_INFO_T * msg
Information about each message in the file.
Definition: grib2_int.h:241
+
int comunpack(unsigned char *cpack, g2int lensec, g2int idrsnum, g2int *idrstmpl, g2int ndpts, float *fld)
This subroutine unpacks a data field that was packed using a complex packing algorithm as defined in ...
Definition: comunpack.c:42
void specpack(float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs a spectral data field using the complex packing algorithm for spherical harmoni...
Definition: specpack.c:33
-
g2int pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld)
This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB...
Definition: pngunpack.c:105
-
g2int simunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, float *fld)
This subroutine unpacks a data field that was packed using a simple packing algorithm as defined in t...
Definition: simunpack.c:26
-
void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits)
Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
Definition: gbits.c:20
-
g2int extlen
Number of entries in the template extension.
Definition: grib2_int.h:49
+
unsigned char second
Second.
Definition: grib2_int.h:159
+
int dimid
Dimension ID.
Definition: grib2_int.h:185
+
int g2c_rw_section5_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec)
Read or write the metadata from section 5 (Data Representation Section) of a GRIB2 message.
Definition: g2cfile.c:666
+
unsigned char day
Day.
Definition: grib2_int.h:156
void simpack(float *fld, g2int ndpts, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a data field using the simple packing algorithm as defined in the GRIB2 docu...
Definition: simpack.c:34
+
FILE * f
FILE pointer to open file.
Definition: grib2_int.h:239
+
unsigned char source_grid_def
Source of grid definition (See Table 3.0).
Definition: grib2_int.h:195
+
int template_len
Number of entries in template.
Definition: grib2_int.h:179
+
void jpcpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This function packs up a float array into a JPEG2000 code stream.
Definition: jpcpack.c:270
+
unsigned char local_version
Version number of GRIB local tables used to augment Master Tables.
Definition: grib2_int.h:152
+
void compack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a data field using a complex packing algorithm as defined in the GRIB2 docum...
Definition: compack.c:42
g2int specunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2int JJ, g2int KK, g2int MM, float *fld)
This subroutine unpacks a spectral data field that was packed using the complex packing algorithm for...
Definition: specunpack.c:35
-
void misspack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This function packs up a data field using a complex packing algorithm as defined in the GRIB2 documen...
Definition: misspack.c:42
-
int dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld)
This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i....
Definition: dec_jpeg2000.c:38
-
void pngpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a float data field into PNG image format.
Definition: pngpack.c:224
-
void cmplxpack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a data field using a complex packing algorithm as defined in the GRIB2 docum...
Definition: cmplxpack.c:36
-
g2int getpoly(unsigned char *csec3, g2int *jj, g2int *kk, g2int *mm)
This subroutine returns the J, K, and M pentagonal resolution parameters specified in a GRIB Grid Def...
Definition: getpoly.c:40
-
Struct for GRIB template.
Definition: grib2_int.h:28
-
int g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose)
Check for 'GRIB' at the beginning of a GRIB message, and check to see if the message is already termi...
Definition: util.c:26
-
int enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen)
This Function encodes a grayscale image into a JPEG2000 code stream specified in the JPEG2000 Part-1 ...
Definition: enc_jpeg2000.c:51
+
gtemplate * getdrstemplate(g2int number)
This subroutine returns DRS template information for a specified Data Representation Template.
Definition: drstemplates.c:162
+
gtemplate * getpdstemplate(g2int number)
This subroutine returns PDS template information for a specified Product Definition Template.
Definition: pdstemplates.c:277
+
int section1[G2C_SECTION1_ARRAY_LEN]
Section 1 array.
Definition: grib2_int.h:139
+
g2int type
The template type: 3 Grid Defintion Template.
Definition: grib2_int.h:281
+
struct g2c_entry G2C_CODE_ENTRY_T
An entry in a GRIB2 code table.
+
int g2disc
GRIB2 discipline.
Definition: grib2_int.h:266
+
unsigned char month
Month.
Definition: grib2_int.h:155
+
size_t msg_num
Number of message in file (0-based).
Definition: grib2_int.h:135
+
int g2c_rw_section1_metadata(FILE *f, int rw_flag, G2C_MESSAGE_INFO_T *msg)
Read Section 1.
Definition: g2cfile.c:877
+
int g2c_file_io_ubyte(FILE *f, int write, unsigned char *var)
Read or write a big-endian unsigned byte to an open GRIB2 file, with conversion between native and bi...
Definition: g2cio.c:337
+
int bytes_to_bms
Number of bytes in the message to the bitmap section.
Definition: grib2_int.h:143
+
g2int maplen
Number of entries in the static part of the template.
Definition: grib2_int.h:286
+
unsigned short data_def
Data representation template number (See Table 5.0).
Definition: grib2_int.h:222
+
int dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld)
This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i....
Definition: dec_jpeg2000.c:201
+
int g2c_file_io_longlong(FILE *f, int write, long long *var)
Read or write a big-endian signed long long to an open GRIB2 file, with conversion between native and...
Definition: g2cio.c:359
+
int g2c_get_datetime(int ipdtn, long long int *ipdtmpl, short year, unsigned char month, unsigned char day, unsigned char hour, unsigned char minute, unsigned char second, char *tabbrev)
Convert date and time from GRIB2 info to string output.
Definition: g2cdegrib2.c:49
+
int g2c_add_file(const char *path, int mode, int *g2cid)
Open a GRIB2 file and add it to the list of open files.
Definition: g2cfile.c:1146
+
int g2c_file_io_uint(FILE *f, int write, unsigned int *var)
Read or write a big-endian 4-byte unsigned int to an open GRIB2 file, with conversion between native ...
Definition: g2cio.c:251
+
size_t bytes_to_msg
Number of bytes to skip in the file, to get to this message.
Definition: grib2_int.h:136
+
g2int simunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, float *fld)
This subroutine unpacks a data field that was packed using a simple packing algorithm as defined in t...
Definition: simunpack.c:26
+
struct g2c_section6_info G2C_SECTION6_INFO_T
Information about Section 6 BIT-MAP SECTION.
+
int sec1_len
Length of section 1.
Definition: grib2_int.h:148
+
int enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen)
This Function encodes a grayscale image into a JPEG2000 code stream specified in the JPEG2000 Part-1 ...
Definition: enc_jpeg2000.c:100
+
void rdieee(g2int *rieee, float *a, g2int num)
This subroutine reads a list of real values in 32-bit IEEE floating point format.
Definition: rdieee.c:21
+
gtemplate * getgridtemplate(g2int number)
This subroutine returns grid template information for a specified Grid Definition Template for [Secti...
+
int g2num
GRIB2 parameter number.
Definition: grib2_int.h:268
+
int g2c_rw_section3_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec)
Read the metadata from section 3 (Grid Definition Section) of a GRIB2 message.
Definition: g2cfile.c:481
+
int g2c_rw_section4_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec)
Read or write the metadata from section 4 (Product Definition Section) of a GRIB2 message.
Definition: g2cfile.c:577
+
struct g2c_message_info * next
Pointer to next in list.
Definition: grib2_int.h:164
+
void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:38
+
int g2c_file_io_int(FILE *f, int write, int *var)
Read or write a big-endian 4-byte signed int to an open GRIB2 file, with conversion between native an...
Definition: g2cio.c:230
+
G2C_MESSAGE_INFO_T * msg
Pointer to contianing message.
Definition: grib2_int.h:174
+
short center
Originating center.
Definition: grib2_int.h:149
+
int * optional
Optional list of numbers defining number of points.
Definition: grib2_int.h:200
+
struct g2c_file_info * file
Pointer to containing file.
Definition: grib2_int.h:163
+
unsigned short prod_def
Product definition template number (See Table 4.0).
Definition: grib2_int.h:210
+
A GRIB2 code table.
Definition: grib2_int.h:255
+
Keep information about dimensions defined in section 3.
Definition: grib2_int.h:184
+
An entry in a GRIB2 code table.
Definition: grib2_int.h:246
+
This is the information about each open file.
Definition: grib2_int.h:236
+
This is the information about each message.
Definition: grib2_int.h:134
+
An entry in the table of NOAA abbreviations for GRIB parameters.
Definition: grib2_int.h:263
+
Information about Section 3 GRID DEFINITION SECTION.
Definition: grib2_int.h:194
+
Information about Section 4 PRODUCT DEFINITION SECTION.
Definition: grib2_int.h:207
+
Information about Section 5 DATA REPRESENTATION SECTION.
Definition: grib2_int.h:217
+
Information about Section 6 BIT-MAP SECTION.
Definition: grib2_int.h:228
+
Information about a section 3 through 7 in a GRIB2 message.
Definition: grib2_int.h:169
+
Struct for GRIB template, returned by getgridtemplate().
Definition: grib2_int.h:276
+ + diff --git a/grib2__int_8h_structg2c__code__table.js b/grib2__int_8h_structg2c__code__table.js new file mode 100644 index 00000000..591c76d6 --- /dev/null +++ b/grib2__int_8h_structg2c__code__table.js @@ -0,0 +1,6 @@ +var grib2__int_8h_structg2c__code__table = +[ + [ "entry", "grib2__int_8h.html#ac32f52eb1327e634fc145b68183e59ee", null ], + [ "next", "grib2__int_8h.html#a9158c5d68cedc452fbf2568341636edb", null ], + [ "title", "grib2__int_8h.html#a61b72df6f3a4f2814d4a44973198dffd", null ] +]; \ No newline at end of file diff --git a/grib2__int_8h_structg2c__dim__info.js b/grib2__int_8h_structg2c__dim__info.js new file mode 100644 index 00000000..1b98edc0 --- /dev/null +++ b/grib2__int_8h_structg2c__dim__info.js @@ -0,0 +1,7 @@ +var grib2__int_8h_structg2c__dim__info = +[ + [ "dimid", "grib2__int_8h.html#abd1ec3c7391edfa6899ccf4e45b7e52e", null ], + [ "len", "grib2__int_8h.html#a1ff7f8239d6d580d53d1857b05842eda", null ], + [ "name", "grib2__int_8h.html#a72cb1219a1d21a7261b3ff4f6e6ea1c1", null ], + [ "value", "grib2__int_8h.html#a9795d38c518857794dee05363ea27997", null ] +]; \ No newline at end of file diff --git a/grib2__int_8h_structg2c__entry.js b/grib2__int_8h_structg2c__entry.js new file mode 100644 index 00000000..58b4c0d5 --- /dev/null +++ b/grib2__int_8h_structg2c__entry.js @@ -0,0 +1,7 @@ +var grib2__int_8h_structg2c__entry = +[ + [ "code", "grib2__int_8h.html#a954890dd7dfa657a4e79b6db935c7dd8", null ], + [ "desc", "grib2__int_8h.html#a66dc56bf1a756ef53254c3236e4ef973", null ], + [ "next", "grib2__int_8h.html#a5427ea8ad56c881a66f899c6e1381efd", null ], + [ "status", "grib2__int_8h.html#aa04cfaa40b9234bd8e2a657ef8415c80", null ] +]; \ No newline at end of file diff --git a/grib2__int_8h_structg2c__file__info.js b/grib2__int_8h_structg2c__file__info.js new file mode 100644 index 00000000..1cffeb61 --- /dev/null +++ b/grib2__int_8h_structg2c__file__info.js @@ -0,0 +1,8 @@ +var grib2__int_8h_structg2c__file__info = +[ + [ "f", "grib2__int_8h.html#ac1966f1beac4c32fd406abb7272108f5", null ], + [ "g2cid", "grib2__int_8h.html#a6c2582f1e1d3c5e49df28497d9264fcd", null ], + [ "msg", "grib2__int_8h.html#ab6826be68665930ed928662d56c671e3", null ], + [ "num_messages", "grib2__int_8h.html#a5bb4a632dcaa3398c4557cfe52a81e35", null ], + [ "path", "grib2__int_8h.html#a3101792b0b015bbb7860f85eb73bbd97", null ] +]; \ No newline at end of file diff --git a/grib2__int_8h_structg2c__message__info.js b/grib2__int_8h_structg2c__message__info.js new file mode 100644 index 00000000..1aef3306 --- /dev/null +++ b/grib2__int_8h_structg2c__message__info.js @@ -0,0 +1,33 @@ +var grib2__int_8h_structg2c__message__info = +[ + [ "bytes_in_msg", "grib2__int_8h.html#a7eccf6cd6fa0f202a1c71c5af338d227", null ], + [ "bytes_to_bms", "grib2__int_8h.html#ae8a6efe20a158c6aa8ff026e13b1780f", null ], + [ "bytes_to_data", "grib2__int_8h.html#a62eb31cd21e5c37b6378a052eecd67bc", null ], + [ "bytes_to_local", "grib2__int_8h.html#a06da9ee061feffa47c552b808166dd6b", null ], + [ "bytes_to_msg", "grib2__int_8h.html#af149feb9c6a24df42c987bbadb5d2c18", null ], + [ "center", "grib2__int_8h.html#afca06e92d8dcf3c8f1172f3414ab870a", null ], + [ "day", "grib2__int_8h.html#abecb87ff997d6d0f929ba1a770f0621b", null ], + [ "discipline", "grib2__int_8h.html#a6ae662fc009939e70b82141e1671a0bb", null ], + [ "file", "grib2__int_8h.html#afef2b1103683c1aa3333fa7d5a83db01", null ], + [ "hour", "grib2__int_8h.html#a4bca22c62bed41329e62bea27ee745b3", null ], + [ "local_version", "grib2__int_8h.html#acaf5f4deaef680af27ba1b626a4a7acc", null ], + [ "master_version", "grib2__int_8h.html#a269f23c98537183178c3ebc9f6d915fd", null ], + [ "minute", "grib2__int_8h.html#a5815202ac6ed7cb3e380093dd6602262", null ], + [ "month", "grib2__int_8h.html#adcef6b4e7c590e2a2fc37308d1c7d96a", null ], + [ "msg_num", "grib2__int_8h.html#ae400e26b01043c449c39de9cf6629c88", null ], + [ "next", "grib2__int_8h.html#af9828d4b2656003825bd4aa83dc14d26", null ], + [ "num_fields", "grib2__int_8h.html#a85954382df1adfd1066de85f7d790ad7", null ], + [ "num_local", "grib2__int_8h.html#a6239752e3aa457d9dce277385ca3e75b", null ], + [ "num_sections", "grib2__int_8h.html#a54bcbb8dd191ef325627323bff87ff42", null ], + [ "sec", "grib2__int_8h.html#a1dff2889177040680db6291b350c9d1c", null ], + [ "sec1_len", "grib2__int_8h.html#af33ecc99c8b4f4240c69a380b73774f4", null ], + [ "second", "grib2__int_8h.html#abc902f5b888b64b5004b189d25550c99", null ], + [ "section1", "grib2__int_8h.html#ad1948cfc6aa884bfd9e1312056f5ad08", null ], + [ "section_number", "grib2__int_8h.html#a47b9c7dead0ce3a30ed49cbefe630be9", null ], + [ "section_offset", "grib2__int_8h.html#a45620124942dba0d67515b08299a4c43", null ], + [ "sig_ref_time", "grib2__int_8h.html#a626f386b445c0d2910d680559621c194", null ], + [ "status", "grib2__int_8h.html#aab42481c672ffe6236cda6027d174a61", null ], + [ "subcenter", "grib2__int_8h.html#a21a8c63eb7714bf474d25a32017b127f", null ], + [ "type", "grib2__int_8h.html#a4632cb054d0f24d1f39f7e174bc40e28", null ], + [ "year", "grib2__int_8h.html#aa656185846e3574abd79f57b1ee3d899", null ] +]; \ No newline at end of file diff --git a/grib2__int_8h_structg2c__param.js b/grib2__int_8h_structg2c__param.js new file mode 100644 index 00000000..3abfd6bf --- /dev/null +++ b/grib2__int_8h_structg2c__param.js @@ -0,0 +1,9 @@ +var grib2__int_8h_structg2c__param = +[ + [ "abbrev", "grib2__int_8h.html#aa2773b08dd14877f37a450421796fe45", null ], + [ "g1num", "grib2__int_8h.html#a2e0aefa5b3b3c702b0f5f6dc8fc0401a", null ], + [ "g1ver", "grib2__int_8h.html#a1ea94395773c5ecf1257cd01bf033a26", null ], + [ "g2cat", "grib2__int_8h.html#a668dee231d7aa73fcb36e6ecc41badc1", null ], + [ "g2disc", "grib2__int_8h.html#ad610f3bb919c70bcb7ad8593804c3b65", null ], + [ "g2num", "grib2__int_8h.html#af79b19aedb2a36aedcef7a85f42502c6", null ] +]; \ No newline at end of file diff --git a/grib2__int_8h_structg2c__section3__info.js b/grib2__int_8h_structg2c__section3__info.js new file mode 100644 index 00000000..2f04232e --- /dev/null +++ b/grib2__int_8h_structg2c__section3__info.js @@ -0,0 +1,10 @@ +var grib2__int_8h_structg2c__section3__info = +[ + [ "dim", "grib2__int_8h.html#a242577f5fe354b2dd763690ba085ec4c", null ], + [ "grid_def", "grib2__int_8h.html#a49ce0f513e7723400907f777946fc6c4", null ], + [ "interp_list", "grib2__int_8h.html#a761fd11af0a8e1d3b9eb147edb653b0b", null ], + [ "num_data_points", "grib2__int_8h.html#a5916fc7041e507c7cfc797ef73699471", null ], + [ "num_opt", "grib2__int_8h.html#a646e4d619d5326e4168cfd9ea8890c01", null ], + [ "optional", "grib2__int_8h.html#afeb55ec4eed62df0c9e34f2e8f9f0120", null ], + [ "source_grid_def", "grib2__int_8h.html#ac5089b3aa084e111dcf76fe148d4cadc", null ] +]; \ No newline at end of file diff --git a/grib2__int_8h_structg2c__section4__info.js b/grib2__int_8h_structg2c__section4__info.js new file mode 100644 index 00000000..18800fed --- /dev/null +++ b/grib2__int_8h_structg2c__section4__info.js @@ -0,0 +1,7 @@ +var grib2__int_8h_structg2c__section4__info = +[ + [ "field_num", "grib2__int_8h.html#a4993920fef41b3e00837ecf78b5af92e", null ], + [ "num_coord", "grib2__int_8h.html#a5c5c17ef34f6f6401cf4ebd9a3fbf9b0", null ], + [ "optional", "grib2__int_8h.html#a69a46b58c28c0102b219f9310ff12b85", null ], + [ "prod_def", "grib2__int_8h.html#affe809d466e10244055a71487aaa43cb", null ] +]; \ No newline at end of file diff --git a/grib2__int_8h_structg2c__section5__info.js b/grib2__int_8h_structg2c__section5__info.js new file mode 100644 index 00000000..9712863d --- /dev/null +++ b/grib2__int_8h_structg2c__section5__info.js @@ -0,0 +1,5 @@ +var grib2__int_8h_structg2c__section5__info = +[ + [ "data_def", "grib2__int_8h.html#aeb41d96ee4ff703298807472e6d73ba5", null ], + [ "num_data_points", "grib2__int_8h.html#a901fe0745e77a8f83cc94e45343c2128", null ] +]; \ No newline at end of file diff --git a/grib2__int_8h_structg2c__section6__info.js b/grib2__int_8h_structg2c__section6__info.js new file mode 100644 index 00000000..1e386c3d --- /dev/null +++ b/grib2__int_8h_structg2c__section6__info.js @@ -0,0 +1,4 @@ +var grib2__int_8h_structg2c__section6__info = +[ + [ "indicator", "grib2__int_8h.html#a9974cef2b24b092ce879c1f65c6ed88c", null ] +]; \ No newline at end of file diff --git a/grib2__int_8h_structg2c__section__info.js b/grib2__int_8h_structg2c__section__info.js new file mode 100644 index 00000000..c2c46e46 --- /dev/null +++ b/grib2__int_8h_structg2c__section__info.js @@ -0,0 +1,13 @@ +var grib2__int_8h_structg2c__section__info = +[ + [ "bytes_to_sec", "grib2__int_8h.html#aab2569498daaf959c3836f15ee38276d", null ], + [ "msg", "grib2__int_8h.html#afa38d80d5790033707db560070c8b0a3", null ], + [ "next", "grib2__int_8h.html#a1c00621e95d7abedb7b7d929cfb2f34a", null ], + [ "prev", "grib2__int_8h.html#a7f81c8fcd129ef70ad65140d6161668a", null ], + [ "sec_id", "grib2__int_8h.html#a2320bf6fe88358a510c67d695395d94d", null ], + [ "sec_info", "grib2__int_8h.html#a9736c199befb7d6cdc3cc771d5e5fd9c", null ], + [ "sec_len", "grib2__int_8h.html#a9adc2635c9c81b265f32cbce68b1b474", null ], + [ "sec_num", "grib2__int_8h.html#a8c079c93f9e85a2c75bd3fb5060fd907", null ], + [ "template", "grib2__int_8h.html#af280c0c0846f17808aae9772a42edc19", null ], + [ "template_len", "grib2__int_8h.html#ac5827e102f2aaacc0abcbc5a5aafb678", null ] +]; \ No newline at end of file diff --git a/gridtemplates_8c.html b/gridtemplates_8c.html index c0962bfa..cece736a 100644 --- a/gridtemplates_8c.html +++ b/gridtemplates_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: gridtemplates.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -83,7 +83,6 @@
@@ -93,25 +92,21 @@

Returns grid template information for a specified Grid Definition Template for Section 3 - the Grid Definition Section (GDS). More...

-
#include <stdlib.h>
-#include "grib2_int.h"
+
#include "grib2_int.h"

Go to the source code of this file.

- - - - - - - -

-Macros

#define MAXGRIDMAPLEN   200
 Maximum template map length. More...
 
#define MAXGRIDTEMP   31
 Maximum number of templates. More...
 
- - - + + + + + + + + + @@ -121,9 +116,9 @@

Functions

gtemplateextgridtemplate (g2int number, g2int *list)
 This subroutine generates the remaining octet map for a given Grid Definition Template, if required. More...
 
gtemplateextgridtemplate (g2int number, g2int *template)
 This subroutine generates the remaining octet map for a given Grid Definition Template, if required. More...
 
int g2c_get_grid_template (int grid_template_num, int *maplen, int *map, int *needext)
 Get grid template information. More...
 
int g2c_get_grid_template_extension (int grid_template_num, int *template, int *extlen, int *ext)
 Get grid template extension information. More...
 
static g2int getgridindex (g2int number)
 This function returns the index of specified Grid Definition Template in array templates for [Section 3 - the Grid Definition Section (GDS)](https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_sect3.shtml). More...
 
- - - + + +

Variables

static const struct gridtemplate templatesgrid [MAXGRIDTEMP]
 Templates grid. More...
 
static const struct gridtemplate templatesgrid [G2C_MAX_GDS_TEMPLATE]
 Templates grid. More...
 

Detailed Description

Returns grid template information for a specified Grid Definition Template for Section 3 - the Grid Definition Section (GDS).

@@ -138,79 +133,169 @@

Program History Log

- + - + - + - + - + - + - + + +
Date Programmer Comments
Date Programmer Comments
2001-06-28 Gilbert Initial
2001-06-28 Gilbert Initial
2007-08-16 Vuong Added GDT 3.204 Curvilinear Orthogonal Grid
2007-08-16 Vuong Added GDT 3.204 Curvilinear Orthogonal Grid
2008-07-08 Vuong Added GDT 3.32768 Rotate Lat/Lon E-grid (Arakawa)
2008-07-08 Vuong Added GDT 3.32768 Rotate Lat/Lon E-grid (Arakawa)
2009-01-14 Vuong Changed structure name template to gtemplate
2009-01-14 Vuong Changed structure name template to gtemplate
2010-05-11 Vuong Added GDT 3.32769 Rotate Lat/Lon Non-E Staggered grid (Arakawa)
2010-05-11 Vuong Added GDT 3.32769 Rotate Lat/Lon Non-E Staggered grid (Arakawa)
2013-08-06 Vuong Added GDT 3.4, 3.5, 3.12, 3.101, 3.140
2013-08-06 Vuong Added GDT 3.4, 3.5, 3.12, 3.101, 3.140
2022-10-16 Hartnett Added g2c_get_grid_template().
Author
Stephen Gilbert
Date
2001-06-28

Definition in file gridtemplates.c.

-

Macro Definition Documentation

- -

◆ MAXGRIDMAPLEN

+

Function Documentation

+ +

◆ extgridtemplate()

- + + + + + + + + + + + + + + +
#define MAXGRIDMAPLEN   200gtemplate* extgridtemplate (g2int number,
g2inttemplate 
)
-

Maximum template map length.

+

This subroutine generates the remaining octet map for a given Grid Definition Template, if required.

+

Some Templates can vary depending on data values given in an earlier part of the Template, and it is necessary to know some of the earlier entry values to generate the full octet map of the Template.

+

This function allocates memory for the extension. The pointer ext in the gtemplate struct must be freed to prevent memory leaks.

+
Parameters
+ + + +
numberThe number of the Grid Definition Template that is being requested.
templateThe grid definition template array.
+
+
+
Returns
Pointer to the returned template struct. Returns NULL pointer, if template not found.
+
Author
Stephen Gilbert
+
Date
2000-05-09
+ +

Definition at line 226 of file gridtemplates.c.

-

Definition at line 43 of file gridtemplates.c.

+

References getgridindex(), and getgridtemplate().

+ +

Referenced by g2_addgrid(), g2_unpack3(), and g2c_get_grid_template_extension().

- -

◆ MAXGRIDTEMP

+ +

◆ g2c_get_grid_template()

- + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define MAXGRIDTEMP   31int g2c_get_grid_template (int grid_template_num,
int * maplen,
int * map,
int * needext 
)
-

Maximum number of templates.

+

Get grid template information.

+

The grid template consists of a template map, its length, and, for some templates, an extra extension map, and its length. If an extension is needed, use g2c_get_grid_template_extension() to get it.

+
Parameters
+ + + + + +
grid_template_numThe grid template number.
maplenPointer that gets the length of the map. Ignored if NULL.
mapPointer that gets the map as an array of int. Memory must be allocated by caller. Ignored if NULL.
needextPointer that a non-zero value if an extension to this template is needed. Ignored if NULL.
+
+
+
Returns
+
+
Author
Ed Hartnett
+
Date
10/16/22
-

Definition at line 42 of file gridtemplates.c.

+

Definition at line 376 of file gridtemplates.c.

+ +

References G2C_ENOTEMPLATE, G2C_MAX_GDS_TEMPLATE, G2C_NOERROR, and templatesgrid.

+ +

Referenced by g2c_rw_section3_metadata().

-

Function Documentation

- -

◆ extgridtemplate()

+ +

◆ g2c_get_grid_template_extension()

- + - - + + - - + + + + + + + + + + + + + + @@ -220,25 +305,29 @@

-

This subroutine generates the remaining octet map for a given Grid Definition Template, if required.

-

Some Templates can vary depending on data values given in an earlier part of the Template, and it is necessary to know some of the earlier entry values to generate the full octet map of the Template.

-

This function allocates memory for the extension. The pointer ext in the gtemplate struct must be freed to prevent memory leaks.

+

Get grid template extension information.

Parameters

gtemplate* extgridtemplate int g2c_get_grid_template_extension (g2int number, int grid_template_num,
g2intlist int * template,
int * extlen,
int * ext 
- - + + + +
numberThe number of the Grid Definition Template that is being requested.
listThe list of values for each entry in the Grid Definition Template.
grid_template_numThe grid template number.
templatePointer to array that contains the template values.
extlenPointer that gets the length of the extension. Ignored if NULL.
extPointer that gets template extension array, if there is one. Memory must be allocated by the caller. Ignored if NULL.

-
Returns
Pointer to the returned template struct. Returns NULL pointer, if template not found.
-
Author
Stephen Gilbert
-
Date
2000-05-09
- -

Definition at line 229 of file gridtemplates.c.

+
Returns
+
+
Author
Ed Hartnett
+
Date
10/16/22
-

References getgridindex(), and getgridtemplate().

+

Definition at line 301 of file gridtemplates.c.

-

Referenced by g2_addgrid(), and g2_unpack3().

+

References gtemplate::ext, extgridtemplate(), gtemplate::extlen, G2C_EINVAL, G2C_ENOMEM, G2C_ENOTEMPLATE, G2C_MAX_GDS_TEMPLATE, G2C_NOERROR, and templatesgrid.

@@ -277,11 +366,11 @@

Author
Stephen Gilbert
Date
2001-06-28
-

Definition at line 142 of file gridtemplates.c.

+

Definition at line 140 of file gridtemplates.c.

-

References MAXGRIDTEMP, and templatesgrid.

+

References G2C_MAX_GDS_TEMPLATE, and templatesgrid.

-

Referenced by extgridtemplate(), and getgridtemplate().

+

Referenced by extgridtemplate(), and getgridtemplate().

@@ -314,17 +403,17 @@

Author
Stephen Gilbert
Date
2000-05-09
-

Definition at line 180 of file gridtemplates.c.

+

Definition at line 178 of file gridtemplates.c.

-

References getgridindex(), and templatesgrid.

+

References getgridindex(), and templatesgrid.

-

Referenced by extgridtemplate(), g2_addgrid(), and g2_unpack3().

+

Referenced by extgridtemplate(), g2_addgrid(), and g2_unpack3().

Variable Documentation

- -

◆ templatesgrid

+ +

◆ templatesgrid

@@ -357,9 +446,7 @@

diff --git a/gridtemplates_8c.js b/gridtemplates_8c.js index 7de303e8..0b96557c 100644 --- a/gridtemplates_8c.js +++ b/gridtemplates_8c.js @@ -1,9 +1,9 @@ var gridtemplates_8c = [ - [ "MAXGRIDMAPLEN", "gridtemplates_8c.html#ab19500a13d07a421b89afd9d011ae058", null ], - [ "MAXGRIDTEMP", "gridtemplates_8c.html#a4d1ba1f89b11d332fb06d9624d5156c9", null ], - [ "extgridtemplate", "gridtemplates_8c.html#a0d65c7c29a06c12ebee26746476d49c9", null ], + [ "extgridtemplate", "gridtemplates_8c.html#a8300c17bb873509fba7a24ec9fe6b4ad", null ], + [ "g2c_get_grid_template", "gridtemplates_8c.html#af43657d544d6892fcfce2bb11a615ab6", null ], + [ "g2c_get_grid_template_extension", "gridtemplates_8c.html#a99a2fc1974fbe30d1d063a4ec2d6cb3c", null ], [ "getgridindex", "gridtemplates_8c.html#addbeca29a7de77dc30f65a08b6b38941", null ], [ "getgridtemplate", "gridtemplates_8c.html#af67f9624982c81a36531989254a9b98a", null ], - [ "templatesgrid", "gridtemplates_8c.html#af8316127b8fcf96fb4d3ab2c5411cde9", null ] + [ "templatesgrid", "gridtemplates_8c.html#a94f41c032c530c18e7d69af3f21b569c", null ] ]; \ No newline at end of file diff --git a/gridtemplates_8c_source.html b/gridtemplates_8c_source.html index 8088d84d..5f2944b1 100644 --- a/gridtemplates_8c_source.html +++ b/gridtemplates_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: gridtemplates.c Source File @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -86,230 +86,294 @@
gridtemplates.c
-Go to the documentation of this file.
1 
-
40 #include <stdlib.h>
+Go to the documentation of this file.
1 
41 #include "grib2_int.h"
-
42 #define MAXGRIDTEMP 31
-
43 #define MAXGRIDMAPLEN 200
-
48 struct gridtemplate
-
49 {
-
50  g2int template_num;
-
51  g2int mapgridlen;
-
52  g2int needext;
-
53  g2int mapgrid[MAXGRIDMAPLEN];
-
54 };
-
55 
-
59 static const struct gridtemplate templatesgrid[MAXGRIDTEMP] =
-
60 {
-
61  /* 3.0: Lat/Lon grid */
-
62  { 0, 19, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1} },
-
63  /* 3.1: Rotated Lat/Lon grid */
-
64  { 1, 22, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,4} },
-
65  /* 3.2: Stretched Lat/Lon grid */
-
66  { 2, 22, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,-4} },
-
67  /* 3.3: Stretched & Rotated Lat/Lon grid */
-
68  { 3, 25, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,4,-4,4,-4} },
-
69  /* Added GDT 3.4,3.5 (08/05/2013) */
-
70  /* 3.4: Variable resolution Latitude/Longitude */
-
71  { 4, 13, 1, {1,1,4,1,4,1,4,4,4,4,4,1,1} },
-
72  /* 3.5: Variable resolution rotate Latitude/Longitude */
-
73  { 5, 16, 1, {1,1,4,1,4,1,4,4,4,4,4,1,1,-4,4,4} },
-
74  /* 3.12: Transverse Mercator */
-
75  {12, 22, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,-4,4,4,1,4,4,-4,-4,-4,-4} },
-
76  /* 3.101: General unstructured grid */
-
77  {101, 4, 0, {1,4,1,-4} },
-
78  /* 3.140: Lambert Azimuthal Equal Area Projection */
-
79  {140, 17, 0, {1,1,4,1,4,1,4,4,4,-4,4,4,4,1,4,4,1} },
-
80 
-
81  /* 3.10: Mercator */
-
82  {10, 19, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,-4,-4,4,1,4,4,4} },
-
83  /* 3.20: Polar Stereographic Projection */
-
84  {20, 18, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,-4,4,4,4,1,1} },
-
85  /* 3.30: Lambert Conformal */
-
86  {30, 22, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,-4,4,4,4,1,1,-4,-4,-4,4} },
-
87  /* 3.31: Albers equal area */
-
88  {31, 22, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,-4,4,4,4,1,1,-4,-4,-4,4} },
-
89  /* 3.40: Guassian Lat/Lon */
-
90  {40, 19, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1} },
-
91  /* 3.41: Rotated Gaussian Lat/Lon */
-
92  {41, 22, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,4} },
-
93  /* 3.42: Stretched Gaussian Lat/Lon */
-
94  {42, 22, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,-4} },
-
95  /* 3.43: Stretched and Rotated Gaussian Lat/Lon */
-
96  {43, 25, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,-4,4,4,-4,4,-4} },
-
97  /* 3.50: Spherical Harmonic Coefficients */
-
98  {50, 5, 0, {4,4,4,1,1} },
-
99  /* 3.51: Rotated Spherical Harmonic Coefficients */
-
100  {51, 8, 0, {4,4,4,1,1,-4,4,4} },
-
101  /* 3.52: Stretched Spherical Harmonic Coefficients */
-
102  {52, 8, 0, {4,4,4,1,1,-4,4,-4} },
-
103  /* 3.53: Stretched and Rotated Spherical Harmonic Coefficients */
-
104  {53, 11, 0, {4,4,4,1,1,-4,4,4,-4,4,-4} },
-
105  /* 3.90: Space View Perspective or orthographic */
-
106  {90, 21, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,4,4,4,4,1,4,4,4,4} },
-
107  /* 3.100: Triangular grid based on an icosahedron */
-
108  {100, 11, 0, {1,1,2,1,-4,4,4,1,1,1,4} },
-
109  /* 3.110: Equatorial Azimuthal equidistant */
-
110  {110, 16, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,4,4,1,1} },
-
111  /* 3.120: Azimuth-range projection */
-
112  {120, 7, 1, {4,4,-4,4,4,4,1} },
-
113  /* 3.204: Curvilinear Orthogonal Grid */
-
114  {204, 19, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1} },
-
115  /* 3.32768: Rot Lat/Lon E-grid (Arakawa) */
-
116  {32768, 19, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1} },
-
117  /* 3.32769: Rot Lat/Lon Non-E Staggered grid (Arakawa) */
-
118  {32769, 21, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1,4,4} },
-
119  /* 3.1000: Cross Section Grid */
-
120  {1000, 20, 1, {1,1,4,1,4,1,4,4,4,4,-4,4,1,4,4,1,2,1,1,2} },
-
121  /* 3.1100: Hovmoller Diagram Grid */
-
122  {1100, 28, 0, {1,1,4,1,4,1,4,4,4,4,-4,4,1,-4,4,1,4,1,-4,1,1,-4,2,1,1,1,1,1} },
-
123  /* 3.1200: Time Section Grid */
-
124  {1200, 16, 1, {4,1,-4,1,1,-4,2,1,1,1,1,1,2,1,1,2} }
-
125 } ;
-
126 
-
141 static g2int
- -
143 {
-
144  g2int j, getgridindex = -1;
-
145 
-
146  for (j = 0; j < MAXGRIDTEMP; j++)
-
147  {
-
148  if (number == templatesgrid[j].template_num)
-
149  {
-
150  getgridindex = j;
-
151  return(getgridindex);
-
152  }
-
153  }
-
154 
-
155  return(getgridindex);
-
156 }
-
157 
-
179 gtemplate *
- -
181 {
-
182  g2int index;
-
183  gtemplate *new;
+
42 
+
46 struct gridtemplate
+
47 {
+
48  g2int template_num;
+
49  g2int mapgridlen;
+
50  g2int needext;
+ +
52 };
+
53 
+
57 static const struct gridtemplate templatesgrid[G2C_MAX_GDS_TEMPLATE] =
+
58 {
+
59  /* 3.0: Lat/Lon grid */
+
60  {0, 19, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, 4, 4, -4, 4, 1, -4, 4, 4, 4, 1}},
+
61  /* 3.1: Rotated Lat/Lon grid */
+
62  {1, 22, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, 4, 4, -4, 4, 1, -4, 4, 4, 4, 1, -4, 4, 4}},
+
63  /* 3.2: Stretched Lat/Lon grid */
+
64  {2, 22, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, 4, 4, -4, 4, 1, -4, 4, 4, 4, 1, -4, 4, -4}},
+
65  /* 3.3: Stretched & Rotated Lat/Lon grid */
+
66  {3, 25, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, 4, 4, -4, 4, 1, -4, 4, 4, 4, 1, -4, 4, 4, -4, 4, -4}},
+
67  /* Added GDT 3.4,3.5 (08/05/2013) */
+
68  /* 3.4: Variable resolution Latitude/Longitude */
+
69  {4, 13, 1, {1, 1, 4, 1, 4, 1, 4, 4, 4, 4, 4, 1, 1}},
+
70  /* 3.5: Variable resolution rotate Latitude/Longitude */
+
71  {5, 16, 1, {1, 1, 4, 1, 4, 1, 4, 4, 4, 4, 4, 1, 1, -4, 4, 4}},
+
72  /* 3.12: Transverse Mercator */
+
73  {12, 22, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, -4, 4, 1, -4, 4, 4, 1, 4, 4, -4, -4, -4, -4}},
+
74  /* 3.101: General unstructured grid */
+
75  {101, 4, 0, {1, 4, 1, -4}},
+
76  /* 3.140: Lambert Azimuthal Equal Area Projection */
+
77  {140, 17, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, -4, 4, 4, 4, 1, 4, 4, 1}},
+
78 
+
79  /* 3.10: Mercator */
+
80  {10, 19, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, -4, 4, 1, -4, -4, 4, 1, 4, 4, 4}},
+
81  /* 3.20: Polar Stereographic Projection */
+
82  {20, 18, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, -4, 4, 1, -4, 4, 4, 4, 1, 1}},
+
83  /* 3.30: Lambert Conformal */
+
84  {30, 22, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, -4, 4, 1, -4, 4, 4, 4, 1, 1, -4, -4, -4, 4}},
+
85  /* 3.31: Albers equal area */
+
86  {31, 22, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, -4, 4, 1, -4, 4, 4, 4, 1, 1, -4, -4, -4, 4}},
+
87  /* 3.40: Guassian Lat/Lon */
+
88  {40, 19, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, 4, 4, -4, 4, 1, -4, 4, 4, 4, 1}},
+
89  /* 3.41: Rotated Gaussian Lat/Lon */
+
90  {41, 22, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, 4, 4, -4, 4, 1, -4, 4, 4, 4, 1, -4, 4, 4}},
+
91  /* 3.42: Stretched Gaussian Lat/Lon */
+
92  {42, 22, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, 4, 4, -4, 4, 1, -4, 4, 4, 4, 1, -4, 4, -4}},
+
93  /* 3.43: Stretched and Rotated Gaussian Lat/Lon */
+
94  {43, 25, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, 4, 4, -4, 4, 1, -4, 4, 4, 4, 1, -4, 4, 4, -4, 4, -4}},
+
95  /* 3.50: Spherical Harmonic Coefficients */
+
96  {50, 5, 0, {4, 4, 4, 1, 1}},
+
97  /* 3.51: Rotated Spherical Harmonic Coefficients */
+
98  {51, 8, 0, {4, 4, 4, 1, 1, -4, 4, 4}},
+
99  /* 3.52: Stretched Spherical Harmonic Coefficients */
+
100  {52, 8, 0, {4, 4, 4, 1, 1, -4, 4, -4}},
+
101  /* 3.53: Stretched and Rotated Spherical Harmonic Coefficients */
+
102  {53, 11, 0, {4, 4, 4, 1, 1, -4, 4, 4, -4, 4, -4}},
+
103  /* 3.90: Space View Perspective or orthographic */
+
104  {90, 21, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, -4, 4, 1, 4, 4, 4, 4, 1, 4, 4, 4, 4}},
+
105  /* 3.100: Triangular grid based on an icosahedron */
+
106  {100, 11, 0, {1, 1, 2, 1, -4, 4, 4, 1, 1, 1, 4}},
+
107  /* 3.110: Equatorial Azimuthal equidistant */
+
108  {110, 16, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, -4, 4, 1, 4, 4, 1, 1}},
+
109  /* 3.120: Azimuth-range projection */
+
110  {120, 7, 1, {4, 4, -4, 4, 4, 4, 1}},
+
111  /* 3.204: Curvilinear Orthogonal Grid */
+
112  {204, 19, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, 4, 4, -4, 4, 1, -4, 4, 4, 4, 1}},
+
113  /* 3.32768: Rot Lat/Lon E-grid (Arakawa) */
+
114  {32768, 19, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, 4, 4, -4, 4, 1, -4, 4, 4, 4, 1}},
+
115  /* 3.32769: Rot Lat/Lon Non-E Staggered grid (Arakawa) */
+
116  {32769, 21, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, 4, 4, -4, 4, 1, -4, 4, 4, 4, 1, 4, 4}},
+
117  /* 3.1000: Cross Section Grid */
+
118  {1000, 20, 1, {1, 1, 4, 1, 4, 1, 4, 4, 4, 4, -4, 4, 1, 4, 4, 1, 2, 1, 1, 2}},
+
119  /* 3.1100: Hovmoller Diagram Grid */
+
120  {1100, 28, 0, {1, 1, 4, 1, 4, 1, 4, 4, 4, 4, -4, 4, 1, -4, 4, 1, 4, 1, -4, 1, 1, -4, 2, 1, 1, 1, 1, 1}},
+
121  /* 3.1200: Time Section Grid */
+
122  {1200, 16, 1, {4, 1, -4, 1, 1, -4, 2, 1, 1, 1, 1, 1, 2, 1, 1, 2}}
+
123 } ;
+
124 
+
139 static g2int
+ +
141 {
+
142  g2int j, getgridindex = -1;
+
143 
+
144  for (j = 0; j < G2C_MAX_GDS_TEMPLATE; j++)
+
145  {
+
146  if (number == templatesgrid[j].template_num)
+
147  {
+
148  getgridindex = j;
+
149  return(getgridindex);
+
150  }
+
151  }
+
152 
+
153  return(getgridindex);
+
154 }
+
155 
+
177 gtemplate *
+ +
179 {
+
180  g2int index;
+
181  gtemplate *new;
+
182 
+
183  index = getgridindex(number);
184 
-
185  index = getgridindex(number);
-
186 
-
187  if (index != -1)
-
188  {
-
189  new = malloc(sizeof(gtemplate));
-
190  new->type = 3;
-
191  new->num = templatesgrid[index].template_num;
-
192  new->maplen = templatesgrid[index].mapgridlen;
-
193  new->needext = templatesgrid[index].needext;
-
194  new->map = (g2int *)templatesgrid[index].mapgrid;
-
195  new->extlen = 0;
-
196  new->ext = NULL;
-
197  return(new);
-
198  }
-
199  else
-
200  {
-
201  printf("getgridtemplate: GDT Template 3.%d not defined.\n", (int)number);
-
202  return(NULL);
-
203  }
-
204 
-
205  return(NULL);
-
206 }
-
207 
-
228 gtemplate *
- -
230 {
-
231  gtemplate *new;
-
232  g2int index, i;
-
233 
-
234  index = getgridindex(number);
-
235  if (index == -1)
-
236  return(0);
-
237 
-
238  new = getgridtemplate(number);
+
185  if (index != -1)
+
186  {
+
187  new = malloc(sizeof(gtemplate));
+
188  new->type = 3;
+
189  new->num = templatesgrid[index].template_num;
+
190  new->maplen = templatesgrid[index].mapgridlen;
+
191  new->needext = templatesgrid[index].needext;
+
192  new->map = (g2int *)templatesgrid[index].mapgrid;
+
193  new->extlen = 0;
+
194  new->ext = NULL;
+
195  return(new);
+
196  }
+
197  else
+
198  {
+
199  printf("getgridtemplate: GDT Template 3.%d not defined.\n", (int)number);
+
200  return(NULL);
+
201  }
+
202 
+
203  return(NULL);
+
204 }
+
205 
+
225 gtemplate *
+
226 extgridtemplate(g2int number, g2int *template)
+
227 {
+
228  gtemplate *new;
+
229  g2int index, i;
+
230 
+
231  index = getgridindex(number);
+
232  if (index == -1)
+
233  return NULL;
+
234 
+
235  new = getgridtemplate(number);
+
236 
+
237  if (!new->needext)
+
238  return(new);
239 
-
240  if (!new->needext)
-
241  return(new);
-
242 
-
243  if (number == 120)
-
244  {
-
245  new->extlen = list[1] * 2;
-
246  new->ext = malloc(sizeof(g2int) * new->extlen);
-
247  for (i = 0; i < new->extlen; i++)
-
248  {
-
249  if (i % 2 == 0)
-
250  new->ext[i] = 2;
-
251  else
-
252  new->ext[i] = -2;
-
253  }
-
254  }
-
255  else if (number == 4)
-
256  {
-
257  new->extlen = list[7];
-
258  new->ext = malloc(sizeof(g2int) * new->extlen);
-
259  for (i = 0; i < new->extlen; i++)
-
260  {
-
261  new->ext[i] = 4;
-
262  }
-
263  new->extlen = list[8];
+
240  if (number == 120)
+
241  {
+
242  new->extlen = template[1] * 2;
+
243  new->ext = malloc(sizeof(g2int) * new->extlen);
+
244  for (i = 0; i < new->extlen; i++)
+
245  {
+
246  if (i % 2 == 0)
+
247  new->ext[i] = 2;
+
248  else
+
249  new->ext[i] = -2;
+
250  }
+
251  }
+
252  else if (number == 4 || number == 5)
+
253  {
+
254  /* The extension is of length template[7] + template[8]. The first
+
255  * template[7] values are 4, the next template[8] values are -4. */
+
256  new->extlen = template[7] + template[8];
+
257  new->ext = malloc(sizeof(g2int) * new->extlen);
+
258  for (i = 0; i < new->extlen; i++)
+
259  new->ext[i] = i < template[7] ? 4 : -4;
+
260  }
+
261  else if (number == 1000)
+
262  {
+
263  new->extlen = template[19];
264  new->ext = malloc(sizeof(g2int) * new->extlen);
265  for (i = 0; i < new->extlen; i++)
266  {
-
267  new->ext[i] = -4;
+
267  new->ext[i] = 4;
268  }
269  }
-
270  else if (number == 5)
+
270  else if (number == 1200)
271  {
-
272  new->extlen = list[7];
+
272  new->extlen = template[15];
273  new->ext = malloc(sizeof(g2int) * new->extlen);
274  for (i = 0; i < new->extlen; i++)
275  {
276  new->ext[i] = 4;
277  }
-
278  new->extlen = list[8];
-
279  new->ext = malloc(sizeof(g2int) * new->extlen);
-
280  for (i = 0; i < new->extlen; i++)
-
281  {
-
282  new->ext[i] = -4;
-
283  }
-
284  }
-
285  else if (number == 1000)
-
286  {
-
287  new->extlen = list[19];
-
288  new->ext = malloc(sizeof(g2int) * new->extlen);
-
289  for (i = 0; i < new->extlen; i++)
-
290  {
-
291  new->ext[i] = 4;
-
292  }
-
293  }
-
294  else if (number == 1200)
-
295  {
-
296  new->extlen = list[15];
-
297  new->ext = malloc(sizeof(g2int) * new->extlen);
-
298  for (i = 0; i < new->extlen; i++)
-
299  {
-
300  new->ext[i] = 4;
-
301  }
-
302  }
-
303 
-
304  return(new);
-
305 }
+
278  }
+
279 
+
280  return(new);
+
281 }
+
282 
+
300 int
+
301 g2c_get_grid_template_extension(int grid_template_num, int *template,
+
302  int *extlen, int *ext)
+
303 {
+
304  int j, t;
+
305 
+
306  /* Check input. */
+
307  if (!template)
+
308  return G2C_EINVAL;
+
309 
+
310  /* Look through the array of templates to find a matching one. */
+
311  for (j = 0; j < G2C_MAX_GDS_TEMPLATE; j++)
+
312  {
+
313  if (grid_template_num == templatesgrid[j].template_num)
+
314  {
+
315  /* Is there an extension to this template? */
+
316  if (templatesgrid[j].needext)
+
317  {
+
318  gtemplate *gt;
+
319  g2int *template8;
+
320  int e;
+
321 
+
322  /* Copy templage to g2int for extgridtemplate() function. */
+
323  if (!(template8 = malloc(sizeof(g2int) * templatesgrid[j].mapgridlen)))
+
324  return G2C_ENOMEM;
+
325  for (t = 0; t < templatesgrid[j].mapgridlen; t++)
+
326  template8[t] = template[t];
+
327  if (!(gt = extgridtemplate(grid_template_num, template8)))
+
328  return G2C_ENOTEMPLATE;
+
329  free(template8);
+
330  if (extlen)
+
331  *extlen = gt->extlen;
+
332  if (ext)
+
333  for (e = 0; e < gt->extlen; e++)
+
334  ext[e] = gt->ext[e];
+
335  free(gt->ext);
+
336  free(gt);
+
337  }
+
338  else
+
339  {
+
340  if (extlen)
+
341  *extlen = 0;
+
342  }
+
343 
+
344  /* Done. */
+
345  return G2C_NOERROR;
+
346  }
+
347  }
+
348 
+
349  /* If we didn't find a template, return an error. */
+
350  return G2C_ENOTEMPLATE;
+
351 }
+
352 
+
375 int
+
376 g2c_get_grid_template(int grid_template_num, int *maplen, int *map, int *needext)
+
377 {
+
378  int j, m;
+
379 
+
380  /* Look through the array of templates to find a matching one. */
+
381  for (j = 0; j < G2C_MAX_GDS_TEMPLATE; j++)
+
382  {
+
383  if (grid_template_num == templatesgrid[j].template_num)
+
384  {
+
385  /* Copy maplen and map if the caller wants them. */
+
386  if (maplen)
+
387  *maplen = templatesgrid[j].mapgridlen;
+
388  if (map)
+
389  for (m = 0; m < templatesgrid[j].mapgridlen; m++)
+
390  map[m] = templatesgrid[j].mapgrid[m];
+
391  if (needext)
+
392  *needext = templatesgrid[j].needext;
+
393 
+
394  /* Done. */
+
395  return G2C_NOERROR;
+
396  }
+
397  }
+
398 
+
399  /* If we didn't find a template, return an error. */
+
400  return G2C_ENOTEMPLATE;
+
401 }
+
402 
+
#define G2C_MAX_GDS_TEMPLATE
Maximum number of grid templates.
Definition: grib2.h:301
+
#define G2C_MAX_GDS_TEMPLATE_MAPLEN
Maximum grid template map length.
Definition: grib2.h:302
+
#define G2C_ENOTEMPLATE
Template not found.
Definition: grib2.h:497
+
#define G2C_ENOMEM
Out of memory.
Definition: grib2.h:485
+
#define G2C_EINVAL
Invalid input.
Definition: grib2.h:481
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
+
#define G2C_NOERROR
No error.
Definition: grib2.h:476
+
Header file with internal function prototypes NCEPLIBS-g2c library.
+
g2int * ext
Number of octets of each entry in the extension part of the template.
Definition: grib2_int.h:300
+
g2int extlen
Number of entries in the template extension.
Definition: grib2_int.h:296
+
Struct for GRIB template, returned by getgridtemplate().
Definition: grib2_int.h:276
+
gtemplate * extgridtemplate(g2int number, g2int *template)
This subroutine generates the remaining octet map for a given Grid Definition Template,...
+
static const struct gridtemplate templatesgrid[G2C_MAX_GDS_TEMPLATE]
Templates grid.
Definition: gridtemplates.c:57
+
int g2c_get_grid_template_extension(int grid_template_num, int *template, int *extlen, int *ext)
Get grid template extension information.
+
static g2int getgridindex(g2int number)
This function returns the index of specified Grid Definition Template in array templates for [Section...
+
int g2c_get_grid_template(int grid_template_num, int *maplen, int *map, int *needext)
Get grid template information.
+
gtemplate * getgridtemplate(g2int number)
This subroutine returns grid template information for a specified Grid Definition Template for [Secti...
-
gtemplate * extgridtemplate(g2int number, g2int *list)
This subroutine generates the remaining octet map for a given Grid Definition Template,...
-
g2int needext
Indicates whether or not the template needs to be extended.
Definition: grib2_int.h:46
-
Header file with internal function prototypes NCEPLIBS-g2c library.
-
#define MAXGRIDMAPLEN
Maximum template map length.
Definition: gridtemplates.c:43
-
static const struct gridtemplate templatesgrid[MAXGRIDTEMP]
Templates grid.
Definition: gridtemplates.c:59
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
-
#define MAXGRIDTEMP
Maximum number of templates.
Definition: gridtemplates.c:42
-
static g2int getgridindex(g2int number)
This function returns the index of specified Grid Definition Template in array templates for [Section...
-
gtemplate * getgridtemplate(g2int number)
This subroutine returns grid template information for a specified Grid Definition Template for [Secti...
-
Struct for GRIB template.
Definition: grib2_int.h:28
diff --git a/index.html b/index.html index 1df31562..1a62342c 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: Main Page @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -133,9 +133,7 @@

diff --git a/int__power_8c.html b/int__power_8c.html index e69bdb30..3794213b 100644 --- a/int__power_8c.html +++ b/int__power_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: int_power.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -146,7 +146,7 @@

Definition at line 18 of file int_power.c.

-

Referenced by compack(), comunpack(), jpcpack_int(), jpcunpack_int(), misspack(), mkieee(), pngpack_int(), pngunpack_int(), rdieee(), simpack(), simunpack(), and specunpack().

+

Referenced by compack(), comunpack(), jpcpack_int(), jpcunpack_int(), misspack(), mkieee(), pngpack_int(), pngunpack_int(), rdieee(), simpack(), simunpack(), and specunpack().

@@ -156,9 +156,7 @@

diff --git a/int__power_8c_source.html b/int__power_8c_source.html index 859f3808..479043c7 100644 --- a/int__power_8c_source.html +++ b/int__power_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: int_power.c Source File @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -90,7 +90,7 @@
5 #include "grib2_int.h"
6 
17 double
-
18 int_power(double x, g2int y)
+
18 int_power(double x, g2int y)
19 {
20  double value;
21 
@@ -112,18 +112,16 @@
37  }
38  return value;
39 }
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
+
Header file with internal function prototypes NCEPLIBS-g2c library.
+
double int_power(double x, g2int y)
Function similar to C pow() power function.
Definition: int_power.c:18
-
double int_power(double x, g2int y)
Function similar to C pow() power function.
Definition: int_power.c:18
-
Header file with internal function prototypes NCEPLIBS-g2c library.
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
diff --git a/jpcpack_8c.html b/jpcpack_8c.html index 90ec113d..06492909 100644 --- a/jpcpack_8c.html +++ b/jpcpack_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: jpcpack.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -89,7 +89,7 @@
-

Pack up a data field into a JPEG2000 code stream. +

Pack and unpack an array of float/double using JPEG2000. More...

#include <stdlib.h>
#include <math.h>
@@ -99,67 +99,70 @@ + + + + + + - + - - - - - - + + +

Functions

int g2c_jpcpackd (double *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, size_t *lcpack)
 This function packs up a double array into a JPEG2000 code stream. More...
 
int g2c_jpcpackf (float *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, size_t *lcpack)
 This function packs up a float array into a JPEG2000 code stream. More...
 
void jpcpack (float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
 This subroutine packs up a data field into a JPEG2000 code stream. More...
 This function packs up a float array into a JPEG2000 code stream. More...
 
static void jpcpack_int (void *fld, int fld_is_double, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
 This subroutine packs up a float or double array into a JPEG2000 code stream. More...
 
void jpcpackd (double *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
 This subroutine packs up a data field into a JPEG2000 code stream. More...
 
static int jpcpack_int (void *fld, int fld_is_double, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack, int verbose)
 This internal function packs up a float or double array into a JPEG2000 code stream. More...
 

Detailed Description

-

Pack up a data field into a JPEG2000 code stream.

+

Pack and unpack an array of float/double using JPEG2000.

Author
Stephen Gilbert
Date
2003-08-17

Program History Log

- + - + - + - + - + - +
Date Programmer Comments
Date Programmer Comments
2003-08-17 Gilbert Initial.
2003-08-17 Gilbert Initial.
2004-11-92 Gilbert Fixed bug packing a near constant field.
2004-11-92 Gilbert Fixed bug packing a near constant field.
2004-07-19 Gilbert If jpeg2000 encoding fails, try again with different encoder options.
2004-07-19 Gilbert If jpeg2000 encoding fails, try again with different encoder options.
2005-05-10 Gilbert Imposed minimum size on cpack.
2005-05-10 Gilbert Imposed minimum size on cpack.
2022-08-12 Hartnett Now handle doubles too.
2022-08-12 Hartnett Now handle doubles too.

Definition in file jpcpack.c.

Function Documentation

- -

◆ jpcpack()

+ +

◆ g2c_jpcpackd()

- + - + - + - + - + @@ -171,7 +174,7 @@

- + @@ -182,11 +185,13 @@

-

This subroutine packs up a data field into a JPEG2000 code stream.

-

After the data field is scaled, and the reference value is subtracted out, it is treated as a grayscale image and passed to a JPEG2000 encoder. It also fills in GRIB2 Data Representation Template 5.40 or 5.40000 with the appropriate values.

+

This function packs up a double array into a JPEG2000 code stream.

+

After the data are scaled, and the reference value is subtracted out, the data are treated as a grayscale image and passed to a JPEG2000 encoder.

+

This function also fills in GRIB2 Data Representation Template 5.40 or 5.40000 with the appropriate values.

+

This function is the V2 API version of jpcpack() for doubles.

Parameters

void jpcpack int g2c_jpcpackd (float * double *  fld,
g2int size_t  width,
g2int size_t  height,
g2intint *  idrstmpl,
g2intsize_t *  lcpack 
- + @@ -204,53 +209,47 @@

Author
Stephen Gilbert, Ed Hartnett
- -

Definition at line 253 of file jpcpack.c.

+
Returns
+
+
Author
Ed Hartnett
-

References jpcpack_int().

+

Definition at line 387 of file jpcpack.c.

-

Referenced by g2_addfield().

+

References G2C_JPEG_DRS_TEMPLATE_LEN, and jpcpack_int().

- -

◆ jpcpack_int()

+ +

◆ g2c_jpcpackf()

-

fldPointer to the float or double data values to pack.
fldPointer to the double data values to pack.
widthThe number of points in the x direction.
heightThe number of points in the y direction.
idrstmplContains the array of values for Data Representation Template Table 5.40 or 5.40000.
    @@ -196,7 +201,7 @@

    cpack

A pointer that will get the packed data field. Must be allocated before this function is called. Pass the allocated size in the lcpack parameter.
- - @@ -34,10 +34,10 @@
- + - + - - - - - - - + - + - + @@ -262,7 +261,7 @@

- + @@ -271,19 +270,15 @@

-static -

-
static void jpcpack_int int g2c_jpcpackf (void * float *  fld,
int fld_is_double,
g2int size_t  width,
g2int size_t  height,
g2intint *  idrstmpl,
g2intsize_t *  lcpack 
-

This subroutine packs up a float or double array into a JPEG2000 code stream.

-

After the data field is scaled, and the reference value is subtracted out, it is treated as a grayscale image and passed to a JPEG2000 encoder. It also fills in GRIB2 Data Representation Template 5.40 or 5.40000 with the appropriate values.

+

This function packs up a float array into a JPEG2000 code stream.

+

After the data are scaled, and the reference value is subtracted out, the data are treated as a grayscale image and passed to a JPEG2000 encoder.

+

This function also fills in GRIB2 Data Representation Template 5.40 or 5.40000 with the appropriate values.

+

This function is the V2 API version of jpcpack() for floats.

Parameters
- - + @@ -301,27 +296,29 @@

Returns
N/A
-
Author
Stephen Gilbert, Ed Hartnett
- -

Definition at line 57 of file jpcpack.c.

+
Returns
+
+
Author
Ed Hartnett
-

References ALOG2, enc_jpeg2000(), int_power(), LOG, mkieee(), and sbits().

+

Definition at line 321 of file jpcpack.c.

-

Referenced by jpcpack(), and jpcpackd().

+

References G2C_JPEG_DRS_TEMPLATE_LEN, and jpcpack_int().

- -

◆ jpcpackd()

+ +

◆ jpcpack()

fldPointer to the float or double data values to pack.
fld_is_doubleIf non-zero, then fld points to array of doubles, otherwise an array of floats.
fldPointer to the float data values to pack.
widthThe number of points in the x direction.
heightThe number of points in the y direction.
idrstmplContains the array of values for Data Representation Template Table 5.40 or 5.40000.
    @@ -293,7 +288,7 @@

    cpack

A pointer that will get the packed data field. Must be allocated before this function is called. Pass the allocated size in the lcpack parameter.
- + - + @@ -362,11 +359,12 @@

-

This subroutine packs up a data field into a JPEG2000 code stream.

-

After the data field is scaled, and the reference value is subtracted out, it is treated as a grayscale image and passed to a JPEG2000 encoder. It also fills in GRIB2 Data Representation Template 5.40 or 5.40000 with the appropriate values.

+

This function packs up a float array into a JPEG2000 code stream.

+

After the data are scaled, and the reference value is subtracted out, the data are treated as a grayscale image and passed to a JPEG2000 encoder.

+

This function also fills in GRIB2 Data Representation Template 5.40 or 5.40000 with the appropriate values.

Parameters

void jpcpackd void jpcpack (double * float *  fld,
- + @@ -384,11 +382,113 @@

Author
Ed Hartnett
+
Author
Stephen Gilbert, Ed Hartnett
+ +

Definition at line 270 of file jpcpack.c.

+ +

References jpcpack_int().

+ +

Referenced by g2_addfield().

+ + + + +

◆ jpcpack_int()

+ +
+
+
fldPointer to the float or double data values to pack.
fldPointer to the float data values to pack.
widthThe number of points in the x direction.
heightThe number of points in the y direction.
idrstmplContains the array of values for Data Representation Template Table 5.40 or 5.40000.
    @@ -376,7 +374,7 @@

    cpack

A pointer that will get the packed data field. Must be allocated before this function is called. Pass the allocated size in the lcpack parameter.
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static int jpcpack_int (void * fld,
int fld_is_double,
g2int width,
g2int height,
g2intidrstmpl,
unsigned char * cpack,
g2intlcpack,
int verbose 
)
+
+static
+
+ +

This internal function packs up a float or double array into a JPEG2000 code stream.

+

This function is used by jpcpack(), g2c_jpcpackf(), and g2c_jpcpackd().

+
Parameters
+ + + + + + + + + +
fldPointer to the float or double data values to pack.
fld_is_doubleIf non-zero, then fld points to array of doubles, otherwise an array of floats.
widthThe number of points in the x direction.
heightThe number of points in the y direction.
idrstmplContains the array of values for Data Representation Template Table 5.40 or 5.40000. May be modified in this function.
cpackA pointer that will get the packed data field. Must be allocated before this function is called. Pass the allocated size in the lcpack parameter.
lcpackPointer that gets the length of packed field in cpack. This must also be set by the calling function to the size available in cpack.
verboseIf non-zero, error messages will be printed in case of error. Otherwise, error codes will be return but no error messages printed. Calls to the original g2c API may cause error messages to be printed in case of error. For the new g2c_ API, no error messages will be printed - instead an error code will be returned. Call g2c_strerror() to get the error message for any error code.
+
+
+
Returns
+
+
Author
Stephen Gilbert, Ed Hartnett
+ +

Definition at line 55 of file jpcpack.c.

-

Definition at line 294 of file jpcpack.c.

+

References ALOG2, enc_jpeg2000(), G2C_EJPEG, G2C_NOERROR, int_power(), LOG, mkieee(), and sbits().

-

References jpcpack_int().

+

Referenced by g2c_jpcpackd(), g2c_jpcpackf(), and jpcpack().

@@ -398,9 +498,7 @@

diff --git a/jpcpack_8c.js b/jpcpack_8c.js index e53f0a2c..d839ae76 100644 --- a/jpcpack_8c.js +++ b/jpcpack_8c.js @@ -1,6 +1,7 @@ var jpcpack_8c = [ + [ "g2c_jpcpackd", "jpcpack_8c.html#a29a71629c41dfefe937460952ffa18f1", null ], + [ "g2c_jpcpackf", "jpcpack_8c.html#a7b892e53508c65fd31c6564d5418c824", null ], [ "jpcpack", "jpcpack_8c.html#ac5fa531e1573e7ae501a4e2826d22e89", null ], - [ "jpcpack_int", "jpcpack_8c.html#a9f24b8a932de264dd219b21a9e9a7d86", null ], - [ "jpcpackd", "jpcpack_8c.html#aae606a6769d1d2d74a9476f52ca03c2f", null ] + [ "jpcpack_int", "jpcpack_8c.html#ad647202ae0cbd537a9fed7bff5b45992", null ] ]; \ No newline at end of file diff --git a/jpcpack_8c_source.html b/jpcpack_8c_source.html index 965f4bd9..648ee331 100644 --- a/jpcpack_8c_source.html +++ b/jpcpack_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: jpcpack.c Source File @@ -26,7 +26,7 @@

NCEPLIBS-g2c -  1.7.0 +  1.8.0
- + @@ -91,201 +91,255 @@
15 #include <math.h>
16 #include "grib2_int.h"
17 
-
56 static void
-
57 jpcpack_int(void *fld, int fld_is_double, g2int width, g2int height, g2int *idrstmpl,
-
58  unsigned char *cpack, g2int *lcpack)
-
59 {
-
60  g2int *ifld = NULL;
-
61  static float alog2 = ALOG2; /* ln(2.0) */
-
62  g2int j, nbits, imin, imax, maxdif;
-
63  g2int ndpts, nbytes, nsize, retry;
-
64  float bscale, dscale, rmax, rmin, temp;
-
65  double rmaxd, rmind;
-
66  unsigned char *ctemp;
-
67  float *ffld = fld;
-
68  double *dfld = fld;
-
69 
-
70  LOG((2, "jpcpack_int() fld_is_double %d width %ld height %ld idrstmpl[1] %ld *lcpack %ld",
-
71  fld_is_double, width, height, idrstmpl[1], *lcpack));
-
72 
-
73  ndpts = width * height;
-
74  bscale = int_power(2.0, -idrstmpl[1]);
-
75  dscale = int_power(10.0, idrstmpl[2]);
-
76  LOG((3, "ndpts %ld bscale %g dscale %g", ndpts, bscale, dscale));
-
77 
-
78  /* Find max and min values in the data. */
-
79  rmaxd = dfld[0];
-
80  rmind = dfld[0];
-
81  rmax = ffld[0];
-
82  rmin = ffld[0];
-
83  if (fld_is_double)
-
84  {
-
85  for (j = 1; j < ndpts; j++)
-
86  {
-
87  if (dfld[j] > rmaxd)
-
88  rmaxd = dfld[j];
-
89  if (dfld[j] < rmind)
-
90  rmind = dfld[j];
-
91  }
-
92  if (idrstmpl[1] == 0)
-
93  maxdif = (g2int)(rint(rmaxd * dscale) - rint(rmind * dscale));
-
94  else
-
95  maxdif = (g2int)rint((rmaxd - rmind) * dscale * bscale);
-
96  }
-
97  else
-
98  {
-
99  for (j = 1; j < ndpts; j++)
-
100  {
-
101  if (ffld[j] > rmax)
-
102  rmax = ffld[j];
-
103  if (ffld[j] < rmin)
-
104  rmin = ffld[j];
-
105  }
-
106  if (idrstmpl[1] == 0)
-
107  maxdif = (g2int)(rint(rmax * dscale) - rint(rmin * dscale));
-
108  else
-
109  maxdif = (g2int)rint((rmax - rmin) * dscale * bscale);
-
110  }
-
111  LOG((3, "rmax %g rmaxd %g rmin %g rmind %g", rmax, rmaxd, rmin, rmind));
-
112 
-
113  /* If max and min values are not equal, pack up field. If they are
-
114  * equal, we have a constant field, and the reference value (rmin)
-
115  * is the value for each point in the field and set nbits to 0. */
-
116  if (((fld_is_double && rmind != rmaxd) || (!fld_is_double && rmin != rmax)) && maxdif != 0)
-
117  {
-
118  ifld = malloc(ndpts * sizeof(g2int));
-
119 
-
120  /* Determine which algorithm to use based on user-supplied
-
121  * binary scale factor and number of bits. */
-
122  if (idrstmpl[1] == 0)
-
123  {
-
124  /* No binary scaling and calculate minumum number of bits
-
125  * in which the data will fit. */
-
126  imin = (g2int)rint((fld_is_double ? rmind : rmin) * dscale);
-
127  imax = (g2int)rint((fld_is_double ? rmaxd : rmax) * dscale);
-
128  maxdif = imax - imin;
-
129  temp = log((double)(maxdif + 1)) / alog2;
-
130  nbits = (g2int)ceil(temp);
-
131  /* scale data */
-
132  if (fld_is_double)
-
133  {
-
134  rmind = (float)imin;
-
135  for(j = 0; j < ndpts; j++)
-
136  ifld[j] = (g2int)rint(dfld[j] * dscale) - imin;
-
137  }
-
138  else
-
139  {
-
140  rmin = (float)imin;
-
141  for(j = 0; j < ndpts; j++)
-
142  ifld[j] = (g2int)rint(ffld[j] * dscale) - imin;
-
143  }
+
54 static int
+
55 jpcpack_int(void *fld, int fld_is_double, g2int width, g2int height, g2int *idrstmpl,
+
56  unsigned char *cpack, g2int *lcpack, int verbose)
+
57 {
+
58  g2int *ifld = NULL;
+
59  static float alog2 = ALOG2; /* ln(2.0) */
+
60  g2int j, nbits, imin, imax, maxdif;
+
61  g2int ndpts, nbytes, nsize, retry;
+
62  float bscale, dscale, rmax, rmin, temp;
+
63  double rmaxd, rmind;
+
64  unsigned char *ctemp;
+
65  float *ffld = fld;
+
66  double *dfld = fld;
+
67  int ret = G2C_NOERROR;
+
68 
+
69  LOG((2, "jpcpack_int() fld_is_double %d width %ld height %ld idrstmpl[1] %d *lcpack %ld",
+
70  fld_is_double, width, height, idrstmpl[1], *lcpack));
+
71  LOG((3, "idrstmpl: %ld %ld %ld %ld %ld %ld %ld", idrstmpl[0], idrstmpl[1], idrstmpl[2],
+
72  idrstmpl[3], idrstmpl[4], idrstmpl[5], idrstmpl[6]));
+
73 
+
74  ndpts = width * height;
+
75  bscale = int_power(2.0, -idrstmpl[1]);
+
76  dscale = int_power(10.0, idrstmpl[2]);
+
77  LOG((3, "ndpts %ld bscale %g dscale %g", ndpts, bscale, dscale));
+
78 
+
79  /* Find max and min values in the data. */
+
80  rmaxd = dfld[0];
+
81  rmind = dfld[0];
+
82  rmax = ffld[0];
+
83  rmin = ffld[0];
+
84  if (fld_is_double)
+
85  {
+
86  for (j = 1; j < ndpts; j++)
+
87  {
+
88  if (dfld[j] > rmaxd)
+
89  rmaxd = dfld[j];
+
90  if (dfld[j] < rmind)
+
91  rmind = dfld[j];
+
92  }
+
93  if (idrstmpl[1] == 0)
+
94  maxdif = (g2int)(rint(rmaxd * dscale) - rint(rmind * dscale));
+
95  else
+
96  maxdif = (g2int)rint((rmaxd - rmind) * dscale * bscale);
+
97  }
+
98  else
+
99  {
+
100  for (j = 1; j < ndpts; j++)
+
101  {
+
102  if (ffld[j] > rmax)
+
103  rmax = ffld[j];
+
104  if (ffld[j] < rmin)
+
105  rmin = ffld[j];
+
106  }
+
107  if (idrstmpl[1] == 0)
+
108  maxdif = (g2int)(rint(rmax * dscale) - rint(rmin * dscale));
+
109  else
+
110  maxdif = (g2int)rint((rmax - rmin) * dscale * bscale);
+
111  }
+
112  LOG((3, "rmax %g rmaxd %g rmin %g rmind %g", rmax, rmaxd, rmin, rmind));
+
113 
+
114  /* If max and min values are not equal, pack up field. If they are
+
115  * equal, we have a constant field, and the reference value (rmin)
+
116  * is the value for each point in the field and set nbits to 0. */
+
117  if (((fld_is_double && rmind != rmaxd) || (!fld_is_double && rmin != rmax)) && maxdif != 0)
+
118  {
+
119  ifld = malloc(ndpts * sizeof(g2int));
+
120 
+
121  /* Determine which algorithm to use based on user-supplied
+
122  * binary scale factor and number of bits. */
+
123  if (idrstmpl[1] == 0)
+
124  {
+
125  /* No binary scaling and calculate minumum number of bits
+
126  * in which the data will fit. */
+
127  imin = (g2int)rint((fld_is_double ? rmind : rmin) * dscale);
+
128  imax = (g2int)rint((fld_is_double ? rmaxd : rmax) * dscale);
+
129  maxdif = imax - imin;
+
130  temp = log((double)(maxdif + 1)) / alog2;
+
131  nbits = (g2int)ceil(temp);
+
132  /* scale data */
+
133  if (fld_is_double)
+
134  {
+
135  rmind = (float)imin;
+
136  for(j = 0; j < ndpts; j++)
+
137  ifld[j] = (g2int)rint(dfld[j] * dscale) - imin;
+
138  }
+
139  else
+
140  {
+
141  rmin = (float)imin;
+
142  for(j = 0; j < ndpts; j++)
+
143  ifld[j] = (g2int)rint(ffld[j] * dscale) - imin;
144  }
-
145  else
-
146  {
-
147  /* Use binary scaling factor and calculate minumum number
-
148  * of bits in which the data will fit. */
-
149  if (fld_is_double)
-
150  {
-
151  rmind = rmind * dscale;
-
152  rmaxd = rmaxd * dscale;
-
153  maxdif = (g2int)rint((rmaxd - rmind) * bscale);
-
154  }
-
155  else
-
156  {
-
157  rmin = rmin * dscale;
-
158  rmax = rmax * dscale;
-
159  maxdif = (g2int)rint((rmax - rmin) * bscale);
-
160  }
-
161 
-
162  temp = log((double)(maxdif + 1)) / alog2;
-
163  nbits = (g2int)ceil(temp);
-
164  /* scale data */
-
165  if (fld_is_double)
-
166  {
-
167  for (j = 0; j < ndpts; j++)
-
168  ifld[j] = (g2int)rint(((dfld[j] * dscale) - rmind) * bscale);
-
169  }
-
170  else
-
171  {
-
172  for (j = 0; j < ndpts; j++)
-
173  ifld[j] = (g2int)rint(((ffld[j] * dscale) - rmin) * bscale);
-
174  }
-
175  }
-
176 
-
177  /* Pack data into full octets, then do JPEG 2000 encode and
-
178  * calculate the length of the packed data in bytes. */
-
179  retry = 0;
-
180  nbytes = (nbits + 7) / 8;
-
181  nsize = *lcpack; /* needed for input to enc_jpeg2000 */
-
182  ctemp = calloc(ndpts, nbytes);
-
183  sbits(ctemp, ifld, 0, nbytes * 8, 0, ndpts);
-
184  if ((*lcpack = (g2int)enc_jpeg2000(ctemp, width, height, nbits, idrstmpl[5],
-
185  idrstmpl[6], retry, (char *)cpack, nsize)) <= 0)
-
186  {
-
187  printf("jpcpack: ERROR Packing JPC = %d\n", (int)*lcpack);
-
188  if (*lcpack == -3)
-
189  {
-
190  retry = 1;
-
191  if ((*lcpack = (g2int)enc_jpeg2000(ctemp, width, height, nbits, idrstmpl[5],
-
192  idrstmpl[6], retry, (char *)cpack, nsize)) <= 0)
-
193  printf("jpcpack: Retry Failed.\n");
-
194  else
-
195  printf("jpcpack: Retry Successful.\n");
-
196  }
-
197  }
-
198  free(ctemp);
-
199  }
-
200  else
-
201  {
-
202  nbits = 0;
-
203  *lcpack = 0;
-
204  }
-
205 
-
206  /* Fill in ref value and number of bits in Template 5.0. */
-
207  if (fld_is_double)
-
208  rmin = (float)rmind;
-
209  mkieee(&rmin, idrstmpl, 1); /* ensure reference value is IEEE format. */
-
210  idrstmpl[3] = nbits;
-
211  idrstmpl[4] = 0; /* original data were reals */
-
212  if (idrstmpl[5] == 0)
-
213  idrstmpl[6] = 255; /* lossy not used */
-
214  if (ifld)
-
215  free(ifld);
-
216 }
-
217 
-
252 void
-
253 jpcpack(float *fld, g2int width, g2int height, g2int *idrstmpl,
-
254  unsigned char *cpack, g2int *lcpack)
-
255 {
-
256  jpcpack_int(fld, 0, width, height, idrstmpl, cpack, lcpack);
-
257 }
-
258 
-
293 void
-
294 jpcpackd(double *fld, g2int width, g2int height, g2int *idrstmpl,
-
295  unsigned char *cpack, g2int *lcpack)
-
296 {
-
297  jpcpack_int(fld, 1, width, height, idrstmpl, cpack, lcpack);
-
298 }
-
-
-
static void jpcpack_int(void *fld, int fld_is_double, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a float or double array into a JPEG2000 code stream.
Definition: jpcpack.c:57
-
double int_power(double x, g2int y)
Function similar to C pow() power function.
Definition: int_power.c:18
-
#define LOG(e)
Ignore logging to stdout.
Definition: grib2_int.h:138
+
145  }
+
146  else
+
147  {
+
148  /* Use binary scaling factor and calculate minumum number
+
149  * of bits in which the data will fit. */
+
150  if (fld_is_double)
+
151  {
+
152  rmind = rmind * dscale;
+
153  rmaxd = rmaxd * dscale;
+
154  maxdif = (g2int)rint((rmaxd - rmind) * bscale);
+
155  }
+
156  else
+
157  {
+
158  rmin = rmin * dscale;
+
159  rmax = rmax * dscale;
+
160  maxdif = (g2int)rint((rmax - rmin) * bscale);
+
161  }
+
162 
+
163  temp = log((double)(maxdif + 1)) / alog2;
+
164  nbits = (g2int)ceil(temp);
+
165  /* scale data */
+
166  if (fld_is_double)
+
167  {
+
168  for (j = 0; j < ndpts; j++)
+
169  ifld[j] = (g2int)rint(((dfld[j] * dscale) - rmind) * bscale);
+
170  }
+
171  else
+
172  {
+
173  for (j = 0; j < ndpts; j++)
+
174  ifld[j] = (g2int)rint(((ffld[j] * dscale) - rmin) * bscale);
+
175  }
+
176  }
+
177 
+
178  /* Pack data into full octets, then do JPEG 2000 encode and
+
179  * calculate the length of the packed data in bytes. */
+
180  retry = 0;
+
181  nbytes = (nbits + 7) / 8;
+
182  nsize = *lcpack; /* needed for input to enc_jpeg2000 */
+
183  ctemp = calloc(ndpts, nbytes);
+
184  sbits(ctemp, ifld, 0, nbytes * 8, 0, ndpts);
+
185  if ((*lcpack = (g2int)enc_jpeg2000(ctemp, width, height, nbits, idrstmpl[5],
+
186  idrstmpl[6], retry, (char *)cpack, nsize)) <= 0)
+
187  {
+
188  if (verbose)
+
189  printf("jpcpack: ERROR Packing JPC = %d\n", (int)*lcpack);
+
190  ret = G2C_EJPEG;
+
191  if (*lcpack == -3)
+
192  {
+
193  retry = 1;
+
194  if ((*lcpack = (g2int)enc_jpeg2000(ctemp, width, height, nbits, idrstmpl[5],
+
195  idrstmpl[6], retry, (char *)cpack, nsize)) <= 0)
+
196  {
+
197  if (verbose)
+
198  printf("jpcpack: Retry Failed.\n");
+
199  ret = G2C_EJPEG;
+
200  }
+
201  else
+
202  {
+
203  if (verbose)
+
204  printf("jpcpack: Retry Successful.\n");
+
205  ret = G2C_NOERROR;
+
206  }
+
207  }
+
208  }
+
209  free(ctemp);
+
210  }
+
211  else
+
212  {
+
213  nbits = 0;
+
214  *lcpack = 0;
+
215  }
+
216 
+
217  /* Fill in ref value and number of bits in Template 5.0. */
+
218  if (fld_is_double)
+
219  rmin = (float)rmind;
+
220  mkieee(&rmin, idrstmpl, 1); /* ensure reference value is IEEE format. */
+
221  idrstmpl[3] = nbits;
+
222  idrstmpl[4] = 0; /* original data were reals */
+
223  if (idrstmpl[5] == 0)
+
224  idrstmpl[6] = 255; /* lossy not used */
+
225  if (ifld)
+
226  free(ifld);
+
227 
+
228  return ret;
+
229 }
+
230 
+
269 void
+
270 jpcpack(float *fld, g2int width, g2int height, g2int *idrstmpl,
+
271  unsigned char *cpack, g2int *lcpack)
+
272 {
+
273  jpcpack_int(fld, 0, width, height, idrstmpl, cpack, lcpack, 1);
+
274 }
+
275 
+
320 int
+
321 g2c_jpcpackf(float *fld, size_t width, size_t height, int *idrstmpl,
+
322  unsigned char *cpack, size_t *lcpack)
+
323 {
+
324  g2int width8 = width, height8 = height, lcpack8 = *lcpack;
+
325  g2int idrstmpl8[G2C_JPEG_DRS_TEMPLATE_LEN];
+
326  int i, ret;
+
327 
+
328  for (i = 0; i < G2C_JPEG_DRS_TEMPLATE_LEN; i++)
+
329  idrstmpl8[i] = idrstmpl[i];
+
330 
+
331  ret = jpcpack_int(fld, 0, width8, height8, idrstmpl8, cpack, &lcpack8, 0);
+
332 
+
333  if (!ret)
+
334  {
+
335  for (i = 0; i < G2C_JPEG_DRS_TEMPLATE_LEN; i++)
+
336  idrstmpl[i] = (int)idrstmpl8[i];
+
337  *lcpack = (g2int)lcpack8;
+
338  }
+
339  return ret;
+
340 }
+
341 
+
386 int
+
387 g2c_jpcpackd(double *fld, size_t width, size_t height, int *idrstmpl,
+
388  unsigned char *cpack, size_t *lcpack)
+
389 {
+
390  g2int width8 = width, height8 = height, lcpack8 = *lcpack;
+
391  g2int idrstmpl8[G2C_JPEG_DRS_TEMPLATE_LEN];
+
392  int i, ret;
+
393 
+
394  for (i = 0; i < G2C_JPEG_DRS_TEMPLATE_LEN; i++)
+
395  idrstmpl8[i] = idrstmpl[i];
+
396 
+
397  ret = jpcpack_int(fld, 1, width8, height8, idrstmpl8, cpack, &lcpack8, 0);
+
398 
+
399  if (!ret)
+
400  {
+
401  for (i = 0; i < G2C_JPEG_DRS_TEMPLATE_LEN; i++)
+
402  idrstmpl[i] = (int)idrstmpl8[i];
+
403  *lcpack = (g2int)lcpack8;
+
404  }
+
405  return ret;
+
406 }
+
int enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen)
This Function encodes a grayscale image into a JPEG2000 code stream specified in the JPEG2000 Part-1 ...
Definition: enc_jpeg2000.c:100
+
void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:180
+
#define G2C_JPEG_DRS_TEMPLATE_LEN
Length of the idrstmpl array for JPEG packing.
Definition: grib2.h:406
+
#define G2C_EJPEG
Error encoding/decoding JPEG data.
Definition: grib2.h:495
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
+
#define G2C_NOERROR
No error.
Definition: grib2.h:476
Header file with internal function prototypes NCEPLIBS-g2c library.
-
void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n)
Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
Definition: gbits.c:114
void mkieee(float *a, g2int *rieee, g2int num)
This subroutine stores a list of real values in 32-bit IEEE floating point format.
Definition: mkieee.c:22
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
-
int enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen)
This Function encodes a grayscale image into a JPEG2000 code stream specified in the JPEG2000 Part-1 ...
Definition: enc_jpeg2000.c:51
-
#define ALOG2
ln(2.0)
Definition: grib2_int.h:21
-
void jpcpackd(double *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a data field into a JPEG2000 code stream.
Definition: jpcpack.c:294
-
void jpcpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This subroutine packs up a data field into a JPEG2000 code stream.
Definition: jpcpack.c:253
+
double int_power(double x, g2int y)
Function similar to C pow() power function.
Definition: int_power.c:18
+
#define LOG(e)
Ignore logging to stdout.
Definition: grib2_int.h:417
+
#define ALOG2
ln(2.0)
Definition: grib2_int.h:30
+
int g2c_jpcpackd(double *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, size_t *lcpack)
This function packs up a double array into a JPEG2000 code stream.
Definition: jpcpack.c:387
+
int g2c_jpcpackf(float *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, size_t *lcpack)
This function packs up a float array into a JPEG2000 code stream.
Definition: jpcpack.c:321
+
void jpcpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
This function packs up a float array into a JPEG2000 code stream.
Definition: jpcpack.c:270
+
static int jpcpack_int(void *fld, int fld_is_double, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack, int verbose)
This internal function packs up a float or double array into a JPEG2000 code stream.
Definition: jpcpack.c:55
+
+ diff --git a/jpcunpack_8c.html b/jpcunpack_8c.html index abe298f7..f2063e3d 100644 --- a/jpcunpack_8c.html +++ b/jpcunpack_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: jpcunpack.c File Reference @@ -26,7 +26,7 @@
NCEPLIBS-g2c -  1.7.0 +  1.8.0
@@ -34,10 +34,10 @@ - + @@ -89,7 +89,7 @@
-

Unpack a data field that was packed into a JPEG2000 code stream. +

Unpack a data field that was packed with JPEG2000. More...

#include <stdio.h>
#include <stdlib.h>
@@ -99,31 +99,34 @@ + + + + + + - - - - - - + + +

Functions

int g2c_jpcunpackd (unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, double *fld)
 Unpack JPEG2000 compressed data into an array of doubles, using info from the GRIB2 Data Representation Template 5.40 or 5.40000. More...
 
int g2c_jpcunpackf (unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, float *fld)
 Unpack JPEG2000 compressed data into an array of floats, using info from the GRIB2 Data Representation Template 5.40 or 5.40000. More...
 
g2int jpcunpack (unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld)
 Unpack JPEG2000 compressed data into an array of floats, using info from the GRIB2 Data Representation Template 5.40 or 5.40000. More...
 
static g2int jpcunpack_int (unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, void *fld, int fld_is_double)
 Unpack JPEG2000 compressed data into an array of floats, using info from the GRIB2 Data Representation Template 5.40 or 5.40000. More...
 
g2int jpcunpackd (unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, double *fld)
 Unpack JPEG2000 compressed data into an array of doubles, using info from the GRIB2 Data Representation Template 5.40 or 5.40000. More...
 
static int jpcunpack_int (unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, void *fld, int fld_is_double, int verbose)
 This internal function will unpack JPEG2000 compressed data into an array of floats or doubles, using info from the GRIB2 Data Representation Template 5.40 or 5.40000. More...
 

Detailed Description

-

Unpack a data field that was packed into a JPEG2000 code stream.

-
Author
Stephem Gilbert
+

Unpack a data field that was packed with JPEG2000.

+

stream

Author
Stephem Gilbert
Date
2003-08-27

Definition in file jpcunpack.c.

Function Documentation

- -

◆ jpcunpack()

+ +

◆ g2c_jpcunpackd()

- + @@ -131,19 +134,89 @@

- + - + - + + + + + + + + + + + + + + +
g2int jpcunpack int g2c_jpcunpackd ( unsigned char *  cpack, g2int size_t  len,
g2intint *  idrstmpl,
g2int size_t ndpts,
double * fld 
)
+
+ +

Unpack JPEG2000 compressed data into an array of doubles, using info from the GRIB2 Data Representation Template 5.40 or 5.40000.

+

This function is the V2 API version of jpcunpack() for doubles.

+
Parameters
+ + + + + + +
cpackThe packed data.
lenThe length of the packed data.
idrstmplPointer to array of values for Data Representation Template 5.40 or 5.40000.
ndptsThe number of data values to unpack.
fldA pointer that gets the unpacked data values as an array of double.
+
+
+
Returns
+
+
Author
Ed Hartnett
+
Date
2022-08-12
+ +

Definition at line 200 of file jpcunpack.c.

+ +

References G2C_JPEG_DRS_TEMPLATE_LEN, jpcunpack_int(), and LOG.

+ +
+
+ +

◆ g2c_jpcunpackf()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + @@ -171,30 +244,28 @@

Returns
0 for success, 1 for memory allocation error.
-
Author
Stephem Gilbert
-
Date
2003-08-27
+
Returns
+
Author
Ed Hartnett
+
Date
2022-09-08
-

Definition at line 108 of file jpcunpack.c.

- -

References jpcunpack_int().

+

Definition at line 160 of file jpcunpack.c.

-

Referenced by g2_unpack7().

+

References G2C_JPEG_DRS_TEMPLATE_LEN, jpcunpack_int(), and LOG.

- -

◆ jpcunpack_int()

+ +

◆ jpcunpack()

-

int g2c_jpcunpackf (unsigned char * cpack,
size_t len,
int * idrstmpl,
size_t  ndpts,
- - - - +
- + @@ -220,14 +291,8 @@

- - - - - - - - + + @@ -235,11 +300,6 @@

-static -

-
static g2int jpcunpack_int g2int jpcunpack ( unsigned char *  cpack, void * fld,
int fld_is_double float * fld 
The length of the packed data.
idrstmplPointer to array of values for Data Representation Template 5.40 or 5.40000.
ndptsThe number of data values to unpack.
fldA pointer that gets the unpacked data values.
fld_is_doubleNon-zero if the data are to be unpacked into a double array, otherwise data will be unpacked into a float array.
fldA pointer that gets the unpacked data values as an array of float.

-
Returns
0 for success, 1 for memory allocation error.
+
Returns
+
Author
Stephem Gilbert
Date
2003-08-27
-
Author
Ed Hartnett
-

Definition at line 33 of file jpcunpack.c.

+

Definition at line 124 of file jpcunpack.c.

-

References dec_jpeg2000(), G2_JPCUNPACK_MEM, G2_NO_ERROR, int_power(), and rdieee().

+

References G2_JPCUNPACK_MEM, jpcunpack_int(), and LOG.

-

Referenced by jpcunpack(), and jpcunpackd().

+

Referenced by g2c_unpack7_int().

- -

◆ jpcunpackd()

+ +

◆ jpcunpack_int()

+ + + @@ -34,10 +34,10 @@
- + @@ -300,8 +365,20 @@

- - + + + + + + + + + + + + + + @@ -309,26 +386,40 @@

+static +

+
g2int jpcunpackd static int jpcunpack_int ( unsigned char *  cpack, double * fld void * fld,
int fld_is_double,
int verbose 
-

Unpack JPEG2000 compressed data into an array of doubles, using info from the GRIB2 Data Representation Template 5.40 or 5.40000.

+

This internal function will unpack JPEG2000 compressed data into an array of floats or doubles, using info from the GRIB2 Data Representation Template 5.40 or 5.40000.

+

This function is used by jpcunpack(), g2c_jpcunpackf(), and g2c_jpcunpackd().

Parameters
- + + +
cpackThe packed data.
lenThe length of the packed data.
idrstmplPointer to array of values for Data Representation Template 5.40 or 5.40000.
ndptsThe number of data values to unpack.
fldA pointer that gets the unpacked data values as an array of double.
fldA pointer that gets the unpacked data values.
fld_is_doubleNon-zero if the data are to be unpacked into a double array, otherwise data will be unpacked into a float array.
verboseIf non-zero, error messages will be printed in case of error. Otherwise, error codes will be return but no error messages printed. Calls to the original g2c API may cause error messages to be printed in case of error. For the new g2c_ API, no error messages will be printed - instead an error code will be returned. Call g2c_strerror() to get the error message for any error code.
-
Returns
0 for success, 1 for memory allocation error.
+
Returns
+
Author
Ed Hartnett
-
Date
2022-08-12
+
Date
2022-09-06
+ +

Definition at line 45 of file jpcunpack.c.

-

Definition at line 135 of file jpcunpack.c.

+

References dec_jpeg2000(), G2C_ENOMEM, G2C_NOERROR, int_power(), LOG, and rdieee().

-

References jpcunpack_int().

+

Referenced by g2c_jpcunpackd(), g2c_jpcunpackf(), and jpcunpack().

@@ -338,9 +429,7 @@

diff --git a/jpcunpack_8c.js b/jpcunpack_8c.js index d70c9d1d..823e5259 100644 --- a/jpcunpack_8c.js +++ b/jpcunpack_8c.js @@ -1,6 +1,7 @@ var jpcunpack_8c = [ + [ "g2c_jpcunpackd", "jpcunpack_8c.html#a1a04c5d88c271b98a56edfd136b7db77", null ], + [ "g2c_jpcunpackf", "jpcunpack_8c.html#a2c7e2ed3363571d9f55162f38371187c", null ], [ "jpcunpack", "jpcunpack_8c.html#a067a3f608a80a9fdd89ed9f59ed7c7f6", null ], - [ "jpcunpack_int", "jpcunpack_8c.html#a4111b82028471a5c655190dcee21107c", null ], - [ "jpcunpackd", "jpcunpack_8c.html#ad6178825e48182a0c7e62951aae0b0d2", null ] + [ "jpcunpack_int", "jpcunpack_8c.html#abb65df72f7e882bcf138316552e2b89b", null ] ]; \ No newline at end of file diff --git a/jpcunpack_8c_source.html b/jpcunpack_8c_source.html index 28920aa7..f5f49736 100644 --- a/jpcunpack_8c_source.html +++ b/jpcunpack_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: jpcunpack.c Source File @@ -26,7 +26,7 @@

NCEPLIBS-g2c -  1.7.0 +  1.8.0
- + @@ -91,92 +91,129 @@
7 #include <stdlib.h>
8 #include "grib2_int.h"
9 
-
32 static g2int
-
33 jpcunpack_int(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts,
-
34  void *fld, int fld_is_double)
-
35 {
-
36  g2int *ifld;
-
37  g2int j, nbits;
-
38  float ref, bscale, dscale;
-
39  float *ffld = fld;
-
40  double *dfld = fld;
-
41 
-
42  rdieee(idrstmpl, &ref, 1);
-
43  bscale = int_power(2.0, idrstmpl[1]);
-
44  dscale = int_power(10.0, -idrstmpl[2]);
-
45  nbits = idrstmpl[3];
-
46 
-
47  /* If nbits equals 0, we have a constant field where the reference
-
48  * value is the data value at each gridpoint. */
-
49  if (nbits != 0)
-
50  {
-
51  if (!(ifld = calloc(ndpts, sizeof(g2int))))
-
52  {
-
53  fprintf(stderr, "Could not allocate space in jpcunpack.\n Data field NOT upacked.\n");
-
54  return G2_JPCUNPACK_MEM;
-
55  }
-
56  dec_jpeg2000((char *)cpack, len, ifld);
-
57  if (fld_is_double)
-
58  {
-
59  for (j = 0; j < ndpts; j++)
-
60  dfld[j] = (((float)ifld[j] * bscale) + ref) * dscale;
-
61  }
-
62  else
-
63  {
-
64  for (j = 0; j < ndpts; j++)
-
65  ffld[j] = (((float)ifld[j] * bscale) + ref) * dscale;
-
66  }
-
67  free(ifld);
-
68  }
-
69  else
-
70  {
-
71  if (fld_is_double)
-
72  {
-
73  for (j = 0; j < ndpts; j++)
-
74  dfld[j] = ref;
-
75  }
-
76  else
-
77  {
-
78  for (j = 0; j < ndpts; j++)
-
79  ffld[j] = ref;
-
80  }
+
44 static int
+
45 jpcunpack_int(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts,
+
46  void *fld, int fld_is_double, int verbose)
+
47 {
+
48  g2int *ifld;
+
49  g2int j, nbits;
+
50  float ref, bscale, dscale;
+
51  float *ffld = fld;
+
52  double *dfld = fld;
+
53 
+
54  LOG((2, "jpcunpack_int len %ld ndpts %ld fld_is_double %d", len, ndpts, fld_is_double));
+
55 
+
56  rdieee(idrstmpl, &ref, 1);
+
57  bscale = int_power(2.0, idrstmpl[1]);
+
58  dscale = int_power(10.0, -idrstmpl[2]);
+
59  nbits = idrstmpl[3];
+
60 
+
61  /* If nbits equals 0, we have a constant field where the reference
+
62  * value is the data value at each gridpoint. */
+
63  if (nbits != 0)
+
64  {
+
65  if (!(ifld = calloc(ndpts, sizeof(g2int))))
+
66  {
+
67  if (verbose)
+
68  fprintf(stderr, "Could not allocate space in jpcunpack.\n Data field NOT upacked.\n");
+
69  return G2C_ENOMEM;
+
70  }
+
71  dec_jpeg2000((char *)cpack, len, ifld);
+
72  if (fld_is_double)
+
73  {
+
74  for (j = 0; j < ndpts; j++)
+
75  dfld[j] = (((float)ifld[j] * bscale) + ref) * dscale;
+
76  }
+
77  else
+
78  {
+
79  for (j = 0; j < ndpts; j++)
+
80  ffld[j] = (((float)ifld[j] * bscale) + ref) * dscale;
81  }
-
82 
-
83  return G2_NO_ERROR;
-
84 }
-
85 
-
107 g2int
-
108 jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts,
-
109  float *fld)
-
110 {
-
111  return jpcunpack_int(cpack, len, idrstmpl, ndpts, fld, 0);
-
112 }
-
113 
-
134 g2int
-
135 jpcunpackd(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts,
-
136  double *fld)
-
137 {
-
138  return jpcunpack_int(cpack, len, idrstmpl, ndpts, fld, 1);
-
139 }
+
82  free(ifld);
+
83  }
+
84  else
+
85  {
+
86  if (fld_is_double)
+
87  {
+
88  for (j = 0; j < ndpts; j++)
+
89  dfld[j] = ref;
+
90  }
+
91  else
+
92  {
+
93  for (j = 0; j < ndpts; j++)
+
94  ffld[j] = ref;
+
95  }
+
96  }
+
97 
+
98  return G2C_NOERROR;
+
99 }
+
100 
+
123 g2int
+
124 jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts,
+
125  float *fld)
+
126 {
+
127  int ret;
+
128 
+
129  LOG((2, "g2c_jpcunpack len %lld ndpts %lld", len, ndpts));
+
130 
+
131  if ((ret = jpcunpack_int(cpack, len, idrstmpl, ndpts, fld, 0, 1)) == G2_JPCUNPACK_MEM)
+
132  return G2_JPCUNPACK_MEM;
+
133 
+
134  return ret;
+
135 }
+
136 
+
159 int
+
160 g2c_jpcunpackf(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts,
+
161  float *fld)
+
162 {
+
163  g2int idrstmpl8[G2C_JPEG_DRS_TEMPLATE_LEN];
+
164  g2int len8 = len, ndpts8 = ndpts;
+
165  int i;
+
166 
+
167  LOG((2, "g2c_jpcunpackf len %d ndpts %lld", len, ndpts));
+
168 
+
169  for (i = 0; i < G2C_JPEG_DRS_TEMPLATE_LEN; i++)
+
170  idrstmpl8[i] = idrstmpl[i];
+
171 
+
172  return jpcunpack_int(cpack, len8, idrstmpl8, ndpts8, fld, 0, 0);
+
173 }
+
174 
+
199 int
+
200 g2c_jpcunpackd(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts,
+
201  double *fld)
+
202 {
+
203  g2int idrstmpl8[G2C_JPEG_DRS_TEMPLATE_LEN];
+
204  g2int len8 = len, ndpts8 = ndpts;
+
205  int i;
+
206 
+
207  LOG((2, "g2c_jpcunpackd len %lld ndpts %lld", len, ndpts));
+
208 
+
209  for (i = 0; i < G2C_JPEG_DRS_TEMPLATE_LEN; i++)
+
210  idrstmpl8[i] = idrstmpl[i];
+
211 
+
212  return jpcunpack_int(cpack, len8, idrstmpl8, ndpts8, fld, 1, 0);
+
213 }
+
int dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld)
This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i....
Definition: dec_jpeg2000.c:201
+
#define G2C_JPEG_DRS_TEMPLATE_LEN
Length of the idrstmpl array for JPEG packing.
Definition: grib2.h:406
+
#define G2C_ENOMEM
Out of memory.
Definition: grib2.h:485
+
#define G2_JPCUNPACK_MEM
In jpcunpack() or other unpack function: out of memory.
Definition: grib2.h:468
+
int64_t g2int
Long integer type.
Definition: grib2.h:31
+
#define G2C_NOERROR
No error.
Definition: grib2.h:476
+
Header file with internal function prototypes NCEPLIBS-g2c library.
+
double int_power(double x, g2int y)
Function similar to C pow() power function.
Definition: int_power.c:18
+
#define LOG(e)
Ignore logging to stdout.
Definition: grib2_int.h:417
+
void rdieee(g2int *rieee, float *a, g2int num)
This subroutine reads a list of real values in 32-bit IEEE floating point format.
Definition: rdieee.c:21
+
g2int jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld)
Unpack JPEG2000 compressed data into an array of floats, using info from the GRIB2 Data Representatio...
Definition: jpcunpack.c:124
+
int g2c_jpcunpackd(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, double *fld)
Unpack JPEG2000 compressed data into an array of doubles, using info from the GRIB2 Data Representati...
Definition: jpcunpack.c:200
+
int g2c_jpcunpackf(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, float *fld)
Unpack JPEG2000 compressed data into an array of floats, using info from the GRIB2 Data Representatio...
Definition: jpcunpack.c:160
+
static int jpcunpack_int(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, void *fld, int fld_is_double, int verbose)
This internal function will unpack JPEG2000 compressed data into an array of floats or doubles,...
Definition: jpcunpack.c:45
-
static g2int jpcunpack_int(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, void *fld, int fld_is_double)
Unpack JPEG2000 compressed data into an array of floats, using info from the GRIB2 Data Representatio...
Definition: jpcunpack.c:33
-
#define G2_NO_ERROR
Function succeeded.
Definition: grib2.h:275
-
void rdieee(g2int *rieee, float *a, g2int num)
This subroutine reads a list of real values in 32-bit IEEE floating point format.
Definition: rdieee.c:21
-
double int_power(double x, g2int y)
Function similar to C pow() power function.
Definition: int_power.c:18
-
g2int jpcunpackd(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, double *fld)
Unpack JPEG2000 compressed data into an array of doubles, using info from the GRIB2 Data Representati...
Definition: jpcunpack.c:135
-
Header file with internal function prototypes NCEPLIBS-g2c library.
-
int dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld)
This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i....
Definition: dec_jpeg2000.c:38
-
int64_t g2int
Long integer type.
Definition: grib2.h:28
-
#define G2_JPCUNPACK_MEM
In jpcunpack() or other unpack function: out of memory.
Definition: grib2.h:320
-
g2int jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld)
Unpack JPEG2000 compressed data into an array of floats, using info from the GRIB2 Data Representatio...
Definition: jpcunpack.c:108
diff --git a/menu.js b/menu.js index 433c15b8..2fe2214f 100644 --- a/menu.js +++ b/menu.js @@ -1,25 +1,26 @@ /* - @licstart The following is the entire license notice for the - JavaScript code in this file. + @licstart The following is the entire license notice for the JavaScript code in this file. - Copyright (C) 1997-2017 by Dimitri van Heesch + The MIT License (MIT) - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + Copyright (C) 1997-2020 by Dimitri van Heesch - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. - @licend The above is the entire license notice - for the JavaScript code in this file + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file */ function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { function makeTree(data,relPath) { @@ -40,9 +41,9 @@ function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); if (searchEnabled) { if (serverSide) { - $('#main-menu').append('
  • '); + $('#main-menu').append('
  • '); } else { - $('#main-menu').append('
  • '); + $('#main-menu').append('
  • '); } } $('#main-menu').smartmenus(); diff --git a/menudata.js b/menudata.js index 4bcf50e2..786b3339 100644 --- a/menudata.js +++ b/menudata.js @@ -1,24 +1,26 @@ /* -@licstart The following is the entire license notice for the -JavaScript code in this file. + @licstart The following is the entire license notice for the JavaScript code in this file. -Copyright (C) 1997-2019 by Dimitri van Heesch + The MIT License (MIT) -This program is free software; you can redistribute it and/or modify -it under the terms of version 2 of the GNU General Public License as published by -the Free Software Foundation + Copyright (C) 1997-2020 by Dimitri van Heesch -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: -You should have received a copy of the GNU General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. -@licend The above is the entire license notice -for the JavaScript code in this file + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file */ var menudata={children:[ {text:"Main Page",url:"index.html"}, @@ -26,33 +28,45 @@ var menudata={children:[ {text:"Data Types List",url:"annotated.html"}, {text:"Data Fields",url:"functions.html",children:[ {text:"All",url:"functions.html",children:[ +{text:"a",url:"functions.html#index_a"}, {text:"b",url:"functions.html#index_b"}, {text:"c",url:"functions.html#index_c"}, {text:"d",url:"functions.html#index_d"}, {text:"e",url:"functions.html#index_e"}, {text:"f",url:"functions.html#index_f"}, {text:"g",url:"functions.html#index_g"}, +{text:"h",url:"functions.html#index_h"}, {text:"i",url:"functions.html#index_i"}, {text:"l",url:"functions.html#index_l"}, {text:"m",url:"functions.html#index_m"}, {text:"n",url:"functions.html#index_n"}, +{text:"o",url:"functions.html#index_o"}, +{text:"p",url:"functions.html#index_p"}, +{text:"s",url:"functions.html#index_s"}, {text:"t",url:"functions.html#index_t"}, {text:"u",url:"functions.html#index_u"}, -{text:"v",url:"functions.html#index_v"}]}, +{text:"v",url:"functions.html#index_v"}, +{text:"y",url:"functions.html#index_y"}]}, {text:"Variables",url:"functions_vars.html",children:[ +{text:"a",url:"functions_vars.html#index_a"}, {text:"b",url:"functions_vars.html#index_b"}, {text:"c",url:"functions_vars.html#index_c"}, {text:"d",url:"functions_vars.html#index_d"}, {text:"e",url:"functions_vars.html#index_e"}, {text:"f",url:"functions_vars.html#index_f"}, {text:"g",url:"functions_vars.html#index_g"}, +{text:"h",url:"functions_vars.html#index_h"}, {text:"i",url:"functions_vars.html#index_i"}, {text:"l",url:"functions_vars.html#index_l"}, {text:"m",url:"functions_vars.html#index_m"}, {text:"n",url:"functions_vars.html#index_n"}, +{text:"o",url:"functions_vars.html#index_o"}, +{text:"p",url:"functions_vars.html#index_p"}, +{text:"s",url:"functions_vars.html#index_s"}, {text:"t",url:"functions_vars.html#index_t"}, {text:"u",url:"functions_vars.html#index_u"}, -{text:"v",url:"functions_vars.html#index_v"}]}]}]}, +{text:"v",url:"functions_vars.html#index_v"}, +{text:"y",url:"functions_vars.html#index_y"}]}]}]}, {text:"Files",url:"files.html",children:[ {text:"File List",url:"files.html"}, {text:"Globals",url:"globals.html",children:[ @@ -64,34 +78,47 @@ var menudata={children:[ {text:"e",url:"globals_e.html#index_e"}, {text:"f",url:"globals_f.html#index_f"}, {text:"g",url:"globals_g.html#index_g"}, +{text:"h",url:"globals_h.html#index_h"}, {text:"i",url:"globals_i.html#index_i"}, {text:"j",url:"globals_j.html#index_j"}, {text:"l",url:"globals_l.html#index_l"}, {text:"m",url:"globals_m.html#index_m"}, +{text:"n",url:"globals_n.html#index_n"}, +{text:"o",url:"globals_o.html#index_o"}, {text:"p",url:"globals_p.html#index_p"}, {text:"r",url:"globals_r.html#index_r"}, {text:"s",url:"globals_s.html#index_s"}, {text:"t",url:"globals_t.html#index_t"}, -{text:"u",url:"globals_u.html#index_u"}]}, +{text:"u",url:"globals_u.html#index_u"}, +{text:"w",url:"globals_w.html#index_w"}]}, {text:"Functions/Subroutines",url:"globals_func.html",children:[ -{text:"c",url:"globals_func.html#index_c"}, -{text:"d",url:"globals_func.html#index_d"}, -{text:"e",url:"globals_func.html#index_e"}, -{text:"g",url:"globals_func.html#index_g"}, -{text:"i",url:"globals_func.html#index_i"}, -{text:"j",url:"globals_func.html#index_j"}, -{text:"m",url:"globals_func.html#index_m"}, -{text:"p",url:"globals_func.html#index_p"}, -{text:"r",url:"globals_func.html#index_r"}, -{text:"s",url:"globals_func.html#index_s"}, -{text:"u",url:"globals_func.html#index_u"}]}, +{text:"a",url:"globals_func.html#index_a"}, +{text:"c",url:"globals_func_c.html#index_c"}, +{text:"d",url:"globals_func_d.html#index_d"}, +{text:"e",url:"globals_func_e.html#index_e"}, +{text:"f",url:"globals_func_f.html#index_f"}, +{text:"g",url:"globals_func_g.html#index_g"}, +{text:"i",url:"globals_func_i.html#index_i"}, +{text:"j",url:"globals_func_j.html#index_j"}, +{text:"m",url:"globals_func_m.html#index_m"}, +{text:"p",url:"globals_func_p.html#index_p"}, +{text:"r",url:"globals_func_r.html#index_r"}, +{text:"s",url:"globals_func_s.html#index_s"}, +{text:"u",url:"globals_func_u.html#index_u"}]}, {text:"Variables",url:"globals_vars.html"}, {text:"Typedefs",url:"globals_type.html"}, {text:"Macros",url:"globals_defs.html",children:[ {text:"a",url:"globals_defs.html#index_a"}, {text:"b",url:"globals_defs.html#index_b"}, +{text:"c",url:"globals_defs.html#index_c"}, +{text:"e",url:"globals_defs.html#index_e"}, {text:"f",url:"globals_defs.html#index_f"}, {text:"g",url:"globals_defs.html#index_g"}, +{text:"h",url:"globals_defs.html#index_h"}, {text:"l",url:"globals_defs.html#index_l"}, {text:"m",url:"globals_defs.html#index_m"}, -{text:"t",url:"globals_defs.html#index_t"}]}]}]}]} +{text:"n",url:"globals_defs.html#index_n"}, +{text:"o",url:"globals_defs.html#index_o"}, +{text:"r",url:"globals_defs.html#index_r"}, +{text:"t",url:"globals_defs.html#index_t"}, +{text:"w",url:"globals_defs.html#index_w"}]}]}]}]} diff --git a/misspack_8c.html b/misspack_8c.html index 7d2f4650..6b3494c3 100644 --- a/misspack_8c.html +++ b/misspack_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: misspack.c File Reference @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -188,7 +188,7 @@

    Definition at line 42 of file misspack.c.

    -

    References ALOG2, int_power(), mkieee(), pack_gp(), rdieee(), sbit(), and sbits().

    +

    References ALOG2, int_power(), mkieee(), pack_gp(), rdieee(), sbit(), and sbits().

    Referenced by cmplxpack().

    @@ -200,9 +200,7 @@

    diff --git a/misspack_8c_source.html b/misspack_8c_source.html index be0ae839..099b2e47 100644 --- a/misspack_8c_source.html +++ b/misspack_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: misspack.c Source File @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -92,7 +92,7 @@
    9 #include "grib2_int.h"
    10 
    41 void
    -
    42 misspack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl,
    +
    42 misspack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl,
    43  unsigned char *cpack, g2int *lcpack)
    44 {
    45  g2int *ifld, *ifldmiss, *jfld;
    @@ -601,25 +601,23 @@
    548  if (idrsnum == 3)
    549  idrstmpl[17] = nbitsd / 8; /* num bits used for extra spatial differencing values */
    550 }
    - - -
    void rdieee(g2int *rieee, float *a, g2int num)
    This subroutine reads a list of real values in 32-bit IEEE floating point format.
    Definition: rdieee.c:21
    -
    double int_power(double x, g2int y)
    Function similar to C pow() power function.
    Definition: int_power.c:18
    +
    void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n)
    Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
    Definition: gbits.c:180
    +
    void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits)
    Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
    Definition: gbits.c:38
    +
    int64_t g2int
    Long integer type.
    Definition: grib2.h:31
    Header file with internal function prototypes NCEPLIBS-g2c library.
    -
    void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n)
    Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
    Definition: gbits.c:114
    void mkieee(float *a, g2int *rieee, g2int num)
    This subroutine stores a list of real values in 32-bit IEEE floating point format.
    Definition: mkieee.c:22
    +
    double int_power(double x, g2int y)
    Function similar to C pow() power function.
    Definition: int_power.c:18
    int pack_gp(g2int *kfildo, g2int *ic, g2int *nxy, g2int *is523, g2int *minpk, g2int *inc, g2int *missp, g2int *misss, g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov, g2int *ndg, g2int *lx, g2int *ibit, g2int *jbit, g2int *kbit, g2int *novref, g2int *lbitref, g2int *ier)
    Determines groups of variable size, but at least of size minpk, the associated max (jmax( )) and min ...
    Definition: pack_gp.c:255
    -
    int64_t g2int
    Long integer type.
    Definition: grib2.h:28
    +
    #define ALOG2
    ln(2.0)
    Definition: grib2_int.h:30
    +
    void rdieee(g2int *rieee, float *a, g2int num)
    This subroutine reads a list of real values in 32-bit IEEE floating point format.
    Definition: rdieee.c:21
    void misspack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
    This function packs up a data field using a complex packing algorithm as defined in the GRIB2 documen...
    Definition: misspack.c:42
    -
    #define ALOG2
    ln(2.0)
    Definition: grib2_int.h:21
    -
    void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits)
    Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
    Definition: gbits.c:38
    + + diff --git a/mkieee_8c.html b/mkieee_8c.html index e8dc0c93..0673fbaa 100644 --- a/mkieee_8c.html +++ b/mkieee_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: mkieee.c File Reference @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -154,7 +154,7 @@

    References int_power().

    -

    Referenced by compack(), g2_addfield(), jpcpack_int(), misspack(), pngpack_int(), simpack(), and specpack().

    +

    Referenced by compack(), g2_addfield(), jpcpack_int(), misspack(), pngpack_int(), simpack(), and specpack().

    @@ -164,9 +164,7 @@

    diff --git a/mkieee_8c_source.html b/mkieee_8c_source.html index 39b63f7a..d8b41684 100644 --- a/mkieee_8c_source.html +++ b/mkieee_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: mkieee.c Source File @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -92,7 +92,7 @@
    7 #include "grib2_int.h"
    8 
    21 void
    -
    22 mkieee(float *a, g2int *rieee, g2int num)
    +
    22 mkieee(float *a, g2int *rieee, g2int num)
    23 {
    24  g2int j,n,ieee,iexp,imant;
    25  double atemp;
    @@ -176,19 +176,17 @@
    103 
    104  return;
    105 }
    - - -
    double int_power(double x, g2int y)
    Function similar to C pow() power function.
    Definition: int_power.c:18
    +
    int64_t g2int
    Long integer type.
    Definition: grib2.h:31
    Header file with internal function prototypes NCEPLIBS-g2c library.
    -
    int64_t g2int
    Long integer type.
    Definition: grib2.h:28
    +
    double int_power(double x, g2int y)
    Function similar to C pow() power function.
    Definition: int_power.c:18
    void mkieee(float *a, g2int *rieee, g2int num)
    This subroutine stores a list of real values in 32-bit IEEE floating point format.
    Definition: mkieee.c:22
    + + diff --git a/navtree.js b/navtree.js index edc31efc..1e272d31 100644 --- a/navtree.js +++ b/navtree.js @@ -1,24 +1,26 @@ /* - @licstart The following is the entire license notice for the - JavaScript code in this file. + @licstart The following is the entire license notice for the JavaScript code in this file. - Copyright (C) 1997-2019 by Dimitri van Heesch + The MIT License (MIT) - This program is free software; you can redistribute it and/or modify - it under the terms of version 2 of the GNU General Public License as - published by the Free Software Foundation. + Copyright (C) 1997-2020 by Dimitri van Heesch - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. - @licend The above is the entire license notice - for the JavaScript code in this file + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file */ var navTreeSubIndices = new Array(); var arrowDown = '▼'; diff --git a/navtreedata.js b/navtreedata.js index eebf7b2a..3236e89c 100644 --- a/navtreedata.js +++ b/navtreedata.js @@ -1,24 +1,26 @@ /* -@licstart The following is the entire license notice for the -JavaScript code in this file. + @licstart The following is the entire license notice for the JavaScript code in this file. -Copyright (C) 1997-2019 by Dimitri van Heesch + The MIT License (MIT) -This program is free software; you can redistribute it and/or modify -it under the terms of version 2 of the GNU General Public License as published by -the Free Software Foundation + Copyright (C) 1997-2020 by Dimitri van Heesch -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: -You should have received a copy of the GNU General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. -@licend The above is the entire license notice -for the JavaScript code in this file + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file */ var NAVTREE = [ @@ -40,7 +42,7 @@ var NAVTREE = [ "File List", "files.html", "files_dup" ], [ "Globals", "globals.html", [ [ "All", "globals.html", "globals_dup" ], - [ "Functions/Subroutines", "globals_func.html", null ], + [ "Functions/Subroutines", "globals_func.html", "globals_func" ], [ "Variables", "globals_vars.html", null ], [ "Typedefs", "globals_type.html", null ], [ "Macros", "globals_defs.html", null ] @@ -52,7 +54,9 @@ var NAVTREE = var NAVTREEINDEX = [ "annotated.html", -"grib2__int_8h.html#a1594a8cc9a699a73a870b9ec4231fbd3" +"globals_func_j.html", +"grib2__int_8h.html#a07f31f8e961b2d10b82007cef989ba62", +"rdieee_8c.html" ]; var SYNCONMSG = 'click to disable panel synchronisation'; diff --git a/navtreeindex0.js b/navtreeindex0.js index ddbc3585..349691bf 100644 --- a/navtreeindex0.js +++ b/navtreeindex0.js @@ -11,6 +11,8 @@ var NAVTREEINDEX0 = "comunpack_8c.html#ab6cce79f010456f1e882fa1c027062da":[5,0,2,0], "comunpack_8c_source.html":[5,0,2], "dec__jpeg2000_8c.html":[5,0,3], +"dec__jpeg2000_8c.html#a20c41af558ecb88ae8a6015b9361914e":[5,0,3,1], +"dec__jpeg2000_8c.html#ac822263ee9732d7603f242a848888ed9":[5,0,3,2], "dec__jpeg2000_8c.html#aecc47ef133bb090df718275d41098613":[5,0,3,0], "dec__jpeg2000_8c_source.html":[5,0,3], "dec__png_8c.html":[5,0,4], @@ -21,14 +23,14 @@ var NAVTREEINDEX0 = "decenc__openjpeg_8c.html":[5,0,5], "decenc__openjpeg_8c_source.html":[5,0,5], "drstemplates_8c.html":[5,0,6], -"drstemplates_8c.html#a08f7c019317d1e6235a863ee8ce6e9e2":[5,0,6,5], -"drstemplates_8c.html#a29eb8a2ca16e15e491d7115725ff907c":[5,0,6,2], -"drstemplates_8c.html#a307a8ced5bd81dd2bf110596fc9e6532":[5,0,6,3], -"drstemplates_8c.html#a94872ea1f11e8ea068177a6506e0a3e4":[5,0,6,1], -"drstemplates_8c.html#acf3195b5cecc028727faa8a921eba03e":[5,0,6,4], -"drstemplates_8c.html#ade593949cef71416060205db106c2828":[5,0,6,0], +"drstemplates_8c.html#a091bb17f961371f8e1fbb561704c8d79":[5,0,6,4], +"drstemplates_8c.html#a29eb8a2ca16e15e491d7115725ff907c":[5,0,6,0], +"drstemplates_8c.html#a307a8ced5bd81dd2bf110596fc9e6532":[5,0,6,2], +"drstemplates_8c.html#aa9a9b32379db85395891b59213f08a5d":[5,0,6,1], +"drstemplates_8c.html#acf3195b5cecc028727faa8a921eba03e":[5,0,6,3], "drstemplates_8c_source.html":[5,0,6], "enc__jpeg2000_8c.html":[5,0,7], +"enc__jpeg2000_8c.html#a4e0e87e1e9d443c03c2c5c080d049119":[5,0,7,2], "enc__jpeg2000_8c.html#a9855b4e8c40619aab0092ba284943a67":[5,0,7,0], "enc__jpeg2000_8c.html#af4af6d586d2f9ca5da713d025dccf781":[5,0,7,1], "enc__jpeg2000_8c_source.html":[5,0,7], @@ -89,20 +91,149 @@ var NAVTREEINDEX0 = "g2__unpack6_8c.html#a83638f96ee10ef44c4dddcebf41d8ee6":[5,0,23,0], "g2__unpack6_8c_source.html":[5,0,23], "g2__unpack7_8c.html":[5,0,24], +"g2__unpack7_8c.html#a17dbb42101538f5b02d685d46a38c4a9":[5,0,24,2], "g2__unpack7_8c.html#a3469bd6d6e13e1180753a5629ace639d":[5,0,24,0], +"g2__unpack7_8c.html#ab880dad973bf979fc906b4d5c60ce3c7":[5,0,24,1], "g2__unpack7_8c_source.html":[5,0,24], -"gbits_8c.html":[5,0,25], -"gbits_8c.html#a1efb9739e947d94010aeba6daf62eca3":[5,0,25,0], -"gbits_8c.html#a31ebdbbf262b7478d6a7cc4326f76ade":[5,0,25,1], -"gbits_8c.html#a92b32e56ff8941c5026d460f4fe2aec3":[5,0,25,3], -"gbits_8c.html#af9e044ba7da32a5415e351ed647ef676":[5,0,25,2], -"gbits_8c_source.html":[5,0,25], -"getdim_8c.html":[5,0,26], -"getdim_8c.html#aabc49a338fae74f6dfc9e98b6cb59de7":[5,0,26,0], -"getdim_8c_source.html":[5,0,26], -"getpoly_8c.html":[5,0,27], -"getpoly_8c.html#aa8f99915cc3bf0efa7544cf3c2e1b552":[5,0,27,0], -"getpoly_8c_source.html":[5,0,27], +"g2c__compare_8c.html":[5,0,25], +"g2c__compare_8c.html#a3c04138a5bfe5d72780bb7e82a18e627":[5,0,25,0], +"g2c__compare_8c_source.html":[5,0,25], +"g2c__degrib2_8c.html":[5,0,26], +"g2c__degrib2_8c.html#a3c04138a5bfe5d72780bb7e82a18e627":[5,0,26,0], +"g2c__degrib2_8c_source.html":[5,0,26], +"g2c__index_8c.html":[5,0,27], +"g2c__index_8c.html#a3c04138a5bfe5d72780bb7e82a18e627":[5,0,27,0], +"g2c__index_8c_source.html":[5,0,27], +"g2ccompare_8c.html":[5,0,28], +"g2ccompare_8c.html#a074a9283d6ed7957967f08c981a93e77":[5,0,28,1], +"g2ccompare_8c.html#aeca63ecfd7407114317ddb9e5341b71c":[5,0,28,0], +"g2ccompare_8c_source.html":[5,0,28], +"g2cdegrib2_8c.html":[5,0,29], +"g2cdegrib2_8c.html#a2e38e28612bc5b82f8c6d0f3d7fd4dcd":[5,0,29,0], +"g2cdegrib2_8c.html#a54048672cf7750b27b06a5f1ecd9ead3":[5,0,29,2], +"g2cdegrib2_8c.html#a5568b9855cf04e83bba0ac3de8c1e8ba":[5,0,29,1], +"g2cdegrib2_8c.html#a811654ce9d58dc2dc8a42b12cace6914":[5,0,29,3], +"g2cdegrib2_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d":[5,0,29,6], +"g2cdegrib2_8c.html#aa5c776ca39acf408c81fbc96568d72dc":[5,0,29,5], +"g2cdegrib2_8c.html#af047ad60d1fa2efe9d7cf018e32c86da":[5,0,29,4], +"g2cdegrib2_8c.html#afac4cc2cc30baa5dba0f5512c91e5a70":[5,0,29,7], +"g2cdegrib2_8c_source.html":[5,0,29], +"g2cfile_8c.html":[5,0,30], +"g2cfile_8c.html#a216f2c45794641932725b7a8b1800423":[5,0,30,13], +"g2cfile_8c.html#a3acffbd305ee72dcd4593c0d8af64a4f":[5,0,30,2], +"g2cfile_8c.html#a4245ea3fba0358165b402a7a615419bb":[5,0,30,3], +"g2cfile_8c.html#a469752e68c9f6532ca2af09351146bf2":[5,0,30,6], +"g2cfile_8c.html#a51cfcbcc556e03f4347510eb7613344d":[5,0,30,20], +"g2cfile_8c.html#a666d5536f6359a1e357d5518413b6381":[5,0,30,22], +"g2cfile_8c.html#a767dd5916869dc53f395903d613075cb":[5,0,30,18], +"g2cfile_8c.html#a7761e7401213d226560fd1b379d33ba8":[5,0,30,10], +"g2cfile_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d":[5,0,30,23], +"g2cfile_8c.html#a9474e2c676b3c163bcbd2b928fd509f3":[5,0,30,4], +"g2cfile_8c.html#a977358be2d226299f842cb298b779854":[5,0,30,12], +"g2cfile_8c.html#a9b77b4fddeb0b4e4d136bb7c2460b7cc":[5,0,30,5], +"g2cfile_8c.html#aa13705298bc1de257ed922f999da7c1c":[5,0,30,0], +"g2cfile_8c.html#ab4cbbee608ee075df75f19c67188aa9c":[5,0,30,11], +"g2cfile_8c.html#ab86d8501a831d9b263548f1664dc661c":[5,0,30,8], +"g2cfile_8c.html#abd2e0851785661aee3f32380c9d8fdf0":[5,0,30,17], +"g2cfile_8c.html#acce12ea485669fe8604956b37b2126fb":[5,0,30,21], +"g2cfile_8c.html#ae7843e51976900337654503388d9a726":[5,0,30,14], +"g2cfile_8c.html#af12335d519df51c7331a8c4f343fb98a":[5,0,30,9], +"g2cfile_8c.html#af251e6786990405633095ab288f06a06":[5,0,30,7], +"g2cfile_8c.html#af50a08963916901ddae4e32a81fec8f5":[5,0,30,19], +"g2cfile_8c.html#af7f2e7b1cc0d81f73f972feaa4fc65c0":[5,0,30,15], +"g2cfile_8c.html#af7fef1bd5fae59a765ccfa3493c20699":[5,0,30,16], +"g2cfile_8c.html#afa9f4de2d5c14d0e8d26ae7f502b0267":[5,0,30,1], +"g2cfile_8c.html#afd7e03b89e0711bca4a47eb59926a4c4":[5,0,30,24], +"g2cfile_8c_source.html":[5,0,30], +"g2cindex_8c.html":[5,0,31], +"g2cindex_8c.html#a146ebf0fbbfac18432b0c0dbe9900631":[5,0,31,9], +"g2cindex_8c.html#a3012c86f328edde808fb0c27bcbd0de2":[5,0,31,11], +"g2cindex_8c.html#a32a9653961314d342b211ab98a07aa0a":[5,0,31,10], +"g2cindex_8c.html#a34cdf8504ffcbd6a648d5748386bdd71":[5,0,31,14], +"g2cindex_8c.html#a6796481f7b67f04f0d0cad3c024668d0":[5,0,31,1], +"g2cindex_8c.html#a6b75cee1ad7398ff26c514a509326ac6":[5,0,31,4], +"g2cindex_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d":[5,0,31,16], +"g2cindex_8c.html#a98ff06adef664fd65de70cc2ecfb2354":[5,0,31,12], +"g2cindex_8c.html#aa370217896d20f1ccb1c77e7a4edc1ed":[5,0,31,13], +"g2cindex_8c.html#aa902f43c766a21ef5870180b11cd490f":[5,0,31,3], +"g2cindex_8c.html#ab777707744dc22770af6415fc907d469":[5,0,31,2], +"g2cindex_8c.html#abec75da2ac349d28e3f11722dff87d39":[5,0,31,5], +"g2cindex_8c.html#ac60c6eb3d8e8d6b31db875a2f04ca168":[5,0,31,6], +"g2cindex_8c.html#aeaf05bed64c11f59dc5fdd66eb28b7a3":[5,0,31,8], +"g2cindex_8c.html#af762d41ed99e829c53653662192c859d":[5,0,31,7], +"g2cindex_8c.html#af8a1ae5ba5b9fd2dca00f97181756d94":[5,0,31,0], +"g2cindex_8c.html#afd61fcdaf4a9fb95a36632d27f711c84":[5,0,31,15], +"g2cindex_8c_source.html":[5,0,31], +"g2cinq_8c.html":[5,0,32], +"g2cinq_8c.html#a0bd2b43c8e10bf7374a0ba1d2e121a96":[5,0,32,5], +"g2cinq_8c.html#a11d1277208e3ee21f2dda94effdbe41b":[5,0,32,1], +"g2cinq_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d":[5,0,32,6], +"g2cinq_8c.html#a8e4a8fcf8d55db639760e873013af0ab":[5,0,32,2], +"g2cinq_8c.html#a914c41f0c96a57cf78f5a05525b2e8b4":[5,0,32,4], +"g2cinq_8c.html#a9a6d255355a287b253ebc369271751f4":[5,0,32,3], +"g2cinq_8c.html#af762d41ed99e829c53653662192c859d":[5,0,32,0], +"g2cinq_8c_source.html":[5,0,32], +"g2cio_8c.html":[5,0,33], +"g2cio_8c.html#a0efe5cf31d683e3e6aa3144c82ab2a17":[5,0,33,13], +"g2cio_8c.html#a1947b04c8b32bd5196bde44ce47d067e":[5,0,33,5], +"g2cio_8c.html#a1e7305cfdbd4492cb2d1cbad6916a1df":[5,0,33,3], +"g2cio_8c.html#a2cb1faaeaddca5c428124e2611c9c58c":[5,0,33,9], +"g2cio_8c.html#a540760f2051b00c67fefc9dfeb927c99":[5,0,33,12], +"g2cio_8c.html#a64ba8ad777044454eea36f02206b04e7":[5,0,33,0], +"g2cio_8c.html#a86669f909e0dd9439ce7ad8de66905ff":[5,0,33,4], +"g2cio_8c.html#a938ee5c56d3896e1bfb6682eeac6d6c2":[5,0,33,8], +"g2cio_8c.html#aa4291e37b14092366ecabb502a32e644":[5,0,33,2], +"g2cio_8c.html#ac983e96cb327c68aab7f99a310102bef":[5,0,33,1], +"g2cio_8c.html#ae839ef9885e9d311f34429e9d8c4e429":[5,0,33,10], +"g2cio_8c.html#aed980fec21c06ad88363cd2eb8b01843":[5,0,33,7], +"g2cio_8c.html#af13561bb1b69477285058c02d2f053b2":[5,0,33,11], +"g2cio_8c.html#afa29c9cc65c8069fc3e6676fbc26c060":[5,0,33,6], +"g2cio_8c_source.html":[5,0,33], +"g2cparams_8c.html":[5,0,34], +"g2cparams_8c.html#a160c2d9af5acc96d8adaa910a6ac0805":[5,0,34,0], +"g2cparams_8c.html#a1d07030fd384aba15b55d493efe95aa6":[5,0,34,4], +"g2cparams_8c.html#a309e4c0c418755d046b6e414560eb36f":[5,0,34,1], +"g2cparams_8c.html#a408859d9761a9891f74614a293fa0177":[5,0,34,3], +"g2cparams_8c.html#aa2bbc1dd9622de3e0620c3185472bd89":[5,0,34,5], +"g2cparams_8c.html#ace202361aa7d8f7337730e7dc6efe916":[5,0,34,2], +"g2cparams_8c_source.html":[5,0,34], +"g2cprod_8c.html":[5,0,35], +"g2cprod_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d":[5,0,35,1], +"g2cprod_8c.html#ab63fb34d6630c4c24eca9c1c5c129fef":[5,0,35,0], +"g2cprod_8c_source.html":[5,0,35], +"g2cutil_8c.html":[5,0,36], +"g2cutil_8c.html#a1792f482362669e846f8f69e0eb63fe0":[5,0,36,3], +"g2cutil_8c.html#a5bf6dfa852b0a206632d52aa666abf3a":[5,0,36,2], +"g2cutil_8c.html#a5e90b9030e3dd950fec8b770ee8cc312":[5,0,36,1], +"g2cutil_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d":[5,0,36,4], +"g2cutil_8c.html#acec6023ac37dbab9ac55c62a0ac14624":[5,0,36,0], +"g2cutil_8c.html#afac4cc2cc30baa5dba0f5512c91e5a70":[5,0,36,5], +"g2cutil_8c_source.html":[5,0,36], +"g2cxml_8c.html":[5,0,37], +"g2cxml_8c.html#a2076220d495e627198c94d9e00ec360e":[5,0,37,1], +"g2cxml_8c.html#a4057c499c1e2441ee560cafd306b0141":[5,0,37,0], +"g2cxml_8c.html#a6e22025328a8e92092654f5333d78226":[5,0,37,6], +"g2cxml_8c.html#a8b20012fc50b105e7aca0773381073e2":[5,0,37,2], +"g2cxml_8c.html#a96d0020d95aa799524048a40c252e240":[5,0,37,4], +"g2cxml_8c.html#abef2032deef721d17da6b9a545d3c0a8":[5,0,37,3], +"g2cxml_8c.html#acb7e0779c02127031b073502aca38a8c":[5,0,37,7], +"g2cxml_8c.html#afac4cc2cc30baa5dba0f5512c91e5a70":[5,0,37,8], +"g2cxml_8c.html#afb9b94205e0b07b276d624b0285a1751":[5,0,37,5], +"g2cxml_8c_source.html":[5,0,37], +"gbits_8c.html":[5,0,38], +"gbits_8c.html#a1efb9739e947d94010aeba6daf62eca3":[5,0,38,2], +"gbits_8c.html#a31ebdbbf262b7478d6a7cc4326f76ade":[5,0,38,3], +"gbits_8c.html#a92b32e56ff8941c5026d460f4fe2aec3":[5,0,38,5], +"gbits_8c.html#ae1535246186a033329df1715123819d2":[5,0,38,1], +"gbits_8c.html#af6b32459b20742990d06db4d8caeb348":[5,0,38,0], +"gbits_8c.html#af9e044ba7da32a5415e351ed647ef676":[5,0,38,4], +"gbits_8c_source.html":[5,0,38], +"getdim_8c.html":[5,0,39], +"getdim_8c.html#aabc49a338fae74f6dfc9e98b6cb59de7":[5,0,39,0], +"getdim_8c_source.html":[5,0,39], +"getpoly_8c.html":[5,0,40], +"getpoly_8c.html#aa8f99915cc3bf0efa7544cf3c2e1b552":[5,0,40,0], +"getpoly_8c_source.html":[5,0,40], "globals.html":[5,1,0], "globals.html":[5,1,0,0], "globals_b.html":[5,1,0,1], @@ -112,142 +243,11 @@ var NAVTREEINDEX0 = "globals_e.html":[5,1,0,4], "globals_f.html":[5,1,0,5], "globals_func.html":[5,1,1], -"globals_g.html":[5,1,0,6], -"globals_i.html":[5,1,0,7], -"globals_j.html":[5,1,0,8], -"globals_l.html":[5,1,0,9], -"globals_m.html":[5,1,0,10], -"globals_p.html":[5,1,0,11], -"globals_r.html":[5,1,0,12], -"globals_s.html":[5,1,0,13], -"globals_t.html":[5,1,0,14], -"globals_type.html":[5,1,3], -"globals_u.html":[5,1,0,15], -"globals_vars.html":[5,1,2], -"grib2_8h.html":[5,0,28], -"grib2_8h.html#a0127b9d6f3a258a9d0dd87f986d86b93":[5,0,28,74], -"grib2_8h.html#a01fe4ac54380851cc28581d59dfa9bf4":[5,0,28,49], -"grib2_8h.html#a065d206f38d552c49af642e3cf6056b3":[5,0,28,0,15], -"grib2_8h.html#a067a3f608a80a9fdd89ed9f59ed7c7f6":[5,0,28,80], -"grib2_8h.html#a06d37843d3f4b3f46cb240206ce430b0":[5,0,28,11], -"grib2_8h.html#a07313bd28e479d86f64ff744b10a2b78":[5,0,28,29], -"grib2_8h.html#a073c8c6c97479d96e86cdaf1bed26f41":[5,0,28,47], -"grib2_8h.html#a084c47c8f83bb5a5c7799753ac7b6f02":[5,0,28,66], -"grib2_8h.html#a0a07a1092a64ae871ab45b147de85318":[5,0,28,41], -"grib2_8h.html#a0e15cdfb0f46d45f44eca76bf13bc7c8":[5,0,28,85], -"grib2_8h.html#a0e2cadad47b161868b97e60f00409982":[5,0,28,0,22], -"grib2_8h.html#a0e8970973e1cefc142240f961a796108":[5,0,28,65], -"grib2_8h.html#a10a46b6a25d615784dced13e914d0726":[5,0,28,0,6], -"grib2_8h.html#a115c0b1461732602197d7129cb783938":[5,0,28,20], -"grib2_8h.html#a1353956d6cc706acd63e87ce21c69fd2":[5,0,28,82], -"grib2_8h.html#a14417ca1b452ff2e6681ebd4f00c2dee":[5,0,28,34], -"grib2_8h.html#a14908ea75d83021b0ec10ae8c084567c":[5,0,28,63], -"grib2_8h.html#a1ddf29fe5e55bee98b5d5990d674a940":[5,0,28,0,16], -"grib2_8h.html#a1eb0a21681ad4d1a9af3e357f59dc08b":[5,0,28,52], -"grib2_8h.html#a1fd25a21842b45215676696fcddb2a09":[5,0,28,0,24], -"grib2_8h.html#a25efad18886998fd8f7172ddccaa9076":[5,0,28,84], -"grib2_8h.html#a27edb1018106a2e02743be31afc5ea0c":[5,0,28,86], -"grib2_8h.html#a28e1af8be9f9c34241c0c8ce780c2707":[5,0,28,5], -"grib2_8h.html#a2915a7e9bd01c1b2bd33a6e362c88acc":[5,0,28,22], -"grib2_8h.html#a2a4eaa3208d40466f647ae53a4b19454":[5,0,28,0,12], -"grib2_8h.html#a2cb509d4701384beb0cce5644abae4fb":[5,0,28,39], -"grib2_8h.html#a2e615ee29fc8d17a681017e4384847c2":[5,0,28,58], -"grib2_8h.html#a2f05416b54c82d3ec6aa050c2dd033a4":[5,0,28,48], -"grib2_8h.html#a3469bd6d6e13e1180753a5629ace639d":[5,0,28,76], -"grib2_8h.html#a362f4c8ddcb007058bccba7eab1ff8e0":[5,0,28,10], -"grib2_8h.html#a3687ada1cdabe6b44b62620a3e4e612b":[5,0,28,9], -"grib2_8h.html#a379383c777dfa1e788b8e573bdd90889":[5,0,28,73], -"grib2_8h.html#a3b6b5bd21386f9f7d49f1f628a9c895c":[5,0,28,50], -"grib2_8h.html#a3c94f1f792106e97d1e4cc2fe674e9ef":[5,0,28,21], -"grib2_8h.html#a3fcb1e8bf12cf5921c2993f0460d8138":[5,0,28,0,5], -"grib2_8h.html#a436d91157da728072516d50f5c349507":[5,0,28,32], -"grib2_8h.html#a44eee21c0fddc82fb5829f8b56675911":[5,0,28,0,19], -"grib2_8h.html#a496eb9c096d0ecdc712ebea3ffd3a37d":[5,0,28,3], -"grib2_8h.html#a49b9e8c090596e02abc193b1974b8022":[5,0,28,0,18], -"grib2_8h.html#a49e78acc21d879a88d3fb21866878ef6":[5,0,28,28], -"grib2_8h.html#a4af2c3dfeb1cba7be35cd63ea9c51574":[5,0,28,0,2], -"grib2_8h.html#a4b190a45b5223fa43746cf16c80bef47":[5,0,28,71], -"grib2_8h.html#a4f8b8ce8eb11ed2de38710863323f41a":[5,0,28,15], -"grib2_8h.html#a4f9284ebe7fabba1cc092fbea1a5b7e0":[5,0,28,0,27], -"grib2_8h.html#a55b6bf7ad57b4c202827f3326ad2c4df":[5,0,28,31], -"grib2_8h.html#a57517913da70932f0c56f076207ea90b":[5,0,28,14], -"grib2_8h.html#a575d0594c327da0f6001abd1ae17128a":[5,0,28,55], -"grib2_8h.html#a5a92ce5b0b8da884e2924dba7f1e1a95":[5,0,28,4], -"grib2_8h.html#a5a9f3222320afe0f957406b53ad36223":[5,0,28,70], -"grib2_8h.html#a5aaef5008fd9be5c044b207231cf767f":[5,0,28,1], -"grib2_8h.html#a5c647eb48e460797f21e6d90960203f1":[5,0,28,38], -"grib2_8h.html#a6065be2bee7e56c7eb0d3673a70be727":[5,0,28,18], -"grib2_8h.html#a63afadbf31fb6307011a983afbf9a5bc":[5,0,28,0,7], -"grib2_8h.html#a6441abadc54f311dbef926fdbd7a6e5a":[5,0,28,46], -"grib2_8h.html#a7661683648959dad5ea1d2def2cb766d":[5,0,28,7], -"grib2_8h.html#a76dad0fdc4926df76a417a2992b81d66":[5,0,28,53], -"grib2_8h.html#a79acbc94d3f1a0299369b95dae0f5a47":[5,0,28,0,28], -"grib2_8h.html#a83638f96ee10ef44c4dddcebf41d8ee6":[5,0,28,75], -"grib2_8h.html#a84081fb5d32251234409b9ec2d72a0e8":[5,0,28,68], -"grib2_8h.html#a8b46586925aaf77c69f38ad7bc72b826":[5,0,28,0,11], -"grib2_8h.html#a8bf35419f98181f5550a3fee8c4a201e":[5,0,28,0,17], -"grib2_8h.html#a8ebd7f4cdc757b37d8cf344c17329936":[5,0,28,27], -"grib2_8h.html#a94364236b4274588b2b4b6b851555e15":[5,0,28,17], -"grib2_8h.html#a9485e54be066c97916f22b4d6046cd1b":[5,0,28,51], -"grib2_8h.html#a94af4623709fa1c08f8035b98e7ca56b":[5,0,28,42], -"grib2_8h.html#a95bb698b6bd148aae1b3b841fb0da83b":[5,0,28,60], -"grib2_8h.html#a9600b70ed48d9ee91c366c3d2aaaebb3":[5,0,28,26], -"grib2_8h.html#a9627c88b7c7dd863cb3af9fb3e10011b":[5,0,28,2], -"grib2_8h.html#a967c330a784570751d24078576317278":[5,0,28,0,1], -"grib2_8h.html#a97570f9ca7b7f018cad85d5f8e5be4e3":[5,0,28,45], -"grib2_8h.html#a9a2353e67d13207769db5bd68e343abe":[5,0,28,77], -"grib2_8h.html#a9c94d15723e5a2d175d96f8c6fa2fd53":[5,0,28,0,14], -"grib2_8h.html#a9d842d23dc3c41db9237ba890a255776":[5,0,28,36], -"grib2_8h.html#a9e82319d51b43e564aa3b5199cb9f15f":[5,0,28,0,9], -"grib2_8h.html#a9ea0feeb2757a4caa81858e6957ea3d7":[5,0,28,56], -"grib2_8h.html#aa9490d67c089f6a15fd9941f273752c3":[5,0,28,64], -"grib2_8h.html#aa97ba6b54e9c91fb231708048d54156c":[5,0,28,0,23], -"grib2_8h.html#aadea4d0f1c3d8f4a40087f3b20ddf457":[5,0,28,0,8], -"grib2_8h.html#aae606a6769d1d2d74a9476f52ca03c2f":[5,0,28,79], -"grib2_8h.html#aaead77879d197777943ee9c53e0672ef":[5,0,28,6], -"grib2_8h.html#ab2d294bedc5fda5e67800bef91b6de44":[5,0,28,19], -"grib2_8h.html#ab50dde08eec9a69f5d063a25e863897d":[5,0,28,0,20], -"grib2_8h.html#abad9d3ba0ee798acd442850573fc6b8e":[5,0,28,67], -"grib2_8h.html#abda58c1fda90dc4b6d105e8d9853819e":[5,0,28,57], -"grib2_8h.html#abdcadc6336632657f0b90b4cff01709f":[5,0,28,54], -"grib2_8h.html#abf8ecb0fe00805abfce20115357b4fa3":[5,0,28,69], -"grib2_8h.html#ac046d29b8feb2f0333e7a5c8803aba4d":[5,0,28,44], -"grib2_8h.html#ac1a18226d7790431bad8b065f85befa5":[5,0,28,0,29], -"grib2_8h.html#ac2734aa4f2d3f10a642b3d7919563dcc":[5,0,28,25], -"grib2_8h.html#ac449247d0b5e9f7a297a154f3791a41d":[5,0,28,83], -"grib2_8h.html#ac5fa531e1573e7ae501a4e2826d22e89":[5,0,28,78], -"grib2_8h.html#acaa1f7159ddd54e667beca9658c797a0":[5,0,28,43], -"grib2_8h.html#ad101a194bd4c5c6c0a0dd9aaa6fb9905":[5,0,28,16], -"grib2_8h.html#ad18c15e7859be9a08cbd4a42283fed36":[5,0,28,37], -"grib2_8h.html#ad37ad5e44291e1b229321755b4838c3a":[5,0,28,8], -"grib2_8h.html#ad403b8c1a156f062c3ded89224e6b46b":[5,0,28,62], -"grib2_8h.html#ad6178825e48182a0c7e62951aae0b0d2":[5,0,28,81], -"grib2_8h.html#ad81615f4a659f2454762301e0e810793":[5,0,28,0,10], -"grib2_8h.html#ad98aa9cc23b61713ef77a84772688427":[5,0,28,0,4], -"grib2_8h.html#ade01e29b36d4a7b1de09c84c39786fbd":[5,0,28,40], -"grib2_8h.html#aded2ca1c14ca96b2bdc7138945a2f4ce":[5,0,28,0,25], -"grib2_8h.html#ae0f9483c798b7819852b21fa0ae51590":[5,0,28,72], -"grib2_8h.html#ae174af0c4aa67c5d6217688d45aad4c5":[5,0,28,30], -"grib2_8h.html#ae1772f6e7ca41ab7ff0b5eb9ad0980c1":[5,0,28,0,21], -"grib2_8h.html#ae5716ebe302534d9fc24cf328bade4df":[5,0,28,13], -"grib2_8h.html#ae5b5e6f9849720b476555b4b32096f20":[5,0,28,0,3], -"grib2_8h.html#ae6ac361f230f89a9461e260d72c1d60b":[5,0,28,0,26], -"grib2_8h.html#ae740c66315236fc68d4f337558587505":[5,0,28,12], -"grib2_8h.html#ae8f44c108ad9fd344937abc845511e2e":[5,0,28,0,13], -"grib2_8h.html#aee39ba22e9351cf0b7f2813bd1b5dd7e":[5,0,28,24], -"grib2_8h.html#aeedbfa7bd7399aaed4554245d182b369":[5,0,28,0,0], -"grib2_8h.html#af0b63b0e0f41f07f562a4367e2a60838":[5,0,28,59], -"grib2_8h.html#af26cc0775753191aabf4720876452b48":[5,0,28,33], -"grib2_8h.html#af935bef94850a5b24e554393ce0a8eef":[5,0,28,35], -"grib2_8h.html#afd3ef3eb9f8b9a64a7b749a892de46c5":[5,0,28,61], -"grib2_8h.html#afeef0a49033cd2735140f87dfe0fe49f":[5,0,28,23], -"grib2_8h.html#structgribfield":[5,0,28,0], -"grib2_8h_source.html":[5,0,28], -"grib2__int_8h.html":[5,0,29], -"grib2__int_8h.html#a05f66c598caeaf6ef1b9e25c15dc053b":[5,0,29,2], -"grib2__int_8h.html#a067a3f608a80a9fdd89ed9f59ed7c7f6":[5,0,29,25], -"grib2__int_8h.html#a099225c582defca6ab562d9aad5bc20b":[5,0,29,5], -"grib2__int_8h.html#a0b304f2dca88e94a76c1182fbc1f5938":[5,0,29,11], -"grib2__int_8h.html#a0d65c7c29a06c12ebee26746476d49c9":[5,0,29,13], -"grib2__int_8h.html#a1353956d6cc706acd63e87ce21c69fd2":[5,0,29,29] +"globals_func.html":[5,1,1,0], +"globals_func_c.html":[5,1,1,1], +"globals_func_d.html":[5,1,1,2], +"globals_func_e.html":[5,1,1,3], +"globals_func_f.html":[5,1,1,4], +"globals_func_g.html":[5,1,1,5], +"globals_func_i.html":[5,1,1,6] }; diff --git a/navtreeindex1.js b/navtreeindex1.js index 26ddef1a..877c69a0 100644 --- a/navtreeindex1.js +++ b/navtreeindex1.js @@ -1,127 +1,253 @@ var NAVTREEINDEX1 = { -"grib2__int_8h.html#a1594a8cc9a699a73a870b9ec4231fbd3":[5,0,29,27], -"grib2__int_8h.html#a1efb9739e947d94010aeba6daf62eca3":[5,0,29,16], -"grib2__int_8h.html#a1f770e683f8b4e9c16c3d4d9d1e4fb63":[5,0,29,4], -"grib2__int_8h.html#a25efad18886998fd8f7172ddccaa9076":[5,0,29,30], -"grib2__int_8h.html#a29eb8a2ca16e15e491d7115725ff907c":[5,0,29,12], -"grib2__int_8h.html#a312a417c8e6f68bea7bfe86268c16594":[5,0,29,0,0], -"grib2__int_8h.html#a31ebdbbf262b7478d6a7cc4326f76ade":[5,0,29,17], -"grib2__int_8h.html#a3acf35e5653f0dab59b3e6fd130f2d62":[5,0,29,15], -"grib2__int_8h.html#a4c7dfb37dbbca9143143db5aeb2f6005":[5,0,29,9], -"grib2__int_8h.html#a64e5f115f7c4ec0b1b7d8af8376d12eb":[5,0,29,14], -"grib2__int_8h.html#a6b284a64a4b42cd86db872ae7e1eeaa8":[5,0,29,23], -"grib2__int_8h.html#a743151a1bde2a21603926e1541baa5de":[5,0,29,0,1], -"grib2__int_8h.html#a88e12020d460546cafcef9c445c3df20":[5,0,29,0,2], -"grib2__int_8h.html#a8e1ecd4e873a86a10a76d264c55ae7bf":[5,0,29,0,4], -"grib2__int_8h.html#a92b32e56ff8941c5026d460f4fe2aec3":[5,0,29,33], -"grib2__int_8h.html#a973b6764b40aed427d419046b63d75b3":[5,0,29,0,5], -"grib2__int_8h.html#aa8f99915cc3bf0efa7544cf3c2e1b552":[5,0,29,22], -"grib2__int_8h.html#aaa78613e8bf42b3dbd6d3813371bc339":[5,0,29,26], -"grib2__int_8h.html#aabc49a338fae74f6dfc9e98b6cb59de7":[5,0,29,18], -"grib2__int_8h.html#ab5fbec07e58a9d872a0fa1c04d74a81b":[5,0,29,28], -"grib2__int_8h.html#ab6cce79f010456f1e882fa1c027062da":[5,0,29,7], -"grib2__int_8h.html#ab712ca4ca13ff72a2a4f3738e9ef66ce":[5,0,29,36], -"grib2__int_8h.html#abb35b3e9ac2b0ff8cd7c0881988940c0":[5,0,29,3], -"grib2__int_8h.html#ac0b7f3dd51c470b9fb883bc93d82ab49":[5,0,29,34], -"grib2__int_8h.html#ac5fa531e1573e7ae501a4e2826d22e89":[5,0,29,24], -"grib2__int_8h.html#aca7ef7356b1550ae26423a6d8012f5fd":[5,0,29,1], -"grib2__int_8h.html#acbf694045589babceb7412ac6faadc39":[5,0,29,6], -"grib2__int_8h.html#accf1040682acbd7ef03f54ca5250d683":[5,0,29,37], -"grib2__int_8h.html#acf3195b5cecc028727faa8a921eba03e":[5,0,29,19], -"grib2__int_8h.html#ad08ad7c4bee0466cd8ccafc1c1e76520":[5,0,29,21], -"grib2__int_8h.html#ad28b4af0030473208605c2cf2c5e3f36":[5,0,29,0,6], -"grib2__int_8h.html#aea3cb225770444c7e40855ee401a5b29":[5,0,29,0,3], -"grib2__int_8h.html#aecc47ef133bb090df718275d41098613":[5,0,29,8], -"grib2__int_8h.html#af1de6ae0957904b78ff8cfd7eeb908fa":[5,0,29,35], -"grib2__int_8h.html#af4af6d586d2f9ca5da713d025dccf781":[5,0,29,10], -"grib2__int_8h.html#af4e2650852f7bbbfb531c977fcbd42ca":[5,0,29,31], -"grib2__int_8h.html#af67f9624982c81a36531989254a9b98a":[5,0,29,20], -"grib2__int_8h.html#af9e044ba7da32a5415e351ed647ef676":[5,0,29,32], -"grib2__int_8h.html#structgtemplate":[5,0,29,0], -"grib2__int_8h_source.html":[5,0,29], -"gridtemplates_8c.html":[5,0,30], -"gridtemplates_8c.html#a0d65c7c29a06c12ebee26746476d49c9":[5,0,30,2], -"gridtemplates_8c.html#a4d1ba1f89b11d332fb06d9624d5156c9":[5,0,30,1], -"gridtemplates_8c.html#ab19500a13d07a421b89afd9d011ae058":[5,0,30,0], -"gridtemplates_8c.html#addbeca29a7de77dc30f65a08b6b38941":[5,0,30,3], -"gridtemplates_8c.html#af67f9624982c81a36531989254a9b98a":[5,0,30,4], -"gridtemplates_8c.html#af8316127b8fcf96fb4d3ab2c5411cde9":[5,0,30,5], -"gridtemplates_8c_source.html":[5,0,30], -"index.html":[], -"index.html#autotoc_md0":[0], -"index.html#autotoc_md1":[1], -"index.html#autotoc_md2":[0], -"index.html#autotoc_md3":[1], -"index.html#autotoc_md4":[2], -"index.html#autotoc_md5":[3], -"int__power_8c.html":[5,0,31], -"int__power_8c.html#a6b284a64a4b42cd86db872ae7e1eeaa8":[5,0,31,0], -"int__power_8c_source.html":[5,0,31], -"jpcpack_8c.html":[5,0,32], -"jpcpack_8c.html#a9f24b8a932de264dd219b21a9e9a7d86":[5,0,32,1], -"jpcpack_8c.html#aae606a6769d1d2d74a9476f52ca03c2f":[5,0,32,2], -"jpcpack_8c.html#ac5fa531e1573e7ae501a4e2826d22e89":[5,0,32,0], -"jpcpack_8c_source.html":[5,0,32], -"jpcunpack_8c.html":[5,0,33], -"jpcunpack_8c.html#a067a3f608a80a9fdd89ed9f59ed7c7f6":[5,0,33,0], -"jpcunpack_8c.html#a4111b82028471a5c655190dcee21107c":[5,0,33,1], -"jpcunpack_8c.html#ad6178825e48182a0c7e62951aae0b0d2":[5,0,33,2], -"jpcunpack_8c_source.html":[5,0,33], -"misspack_8c.html":[5,0,34], -"misspack_8c.html#aaa78613e8bf42b3dbd6d3813371bc339":[5,0,34,0], -"misspack_8c_source.html":[5,0,34], -"mkieee_8c.html":[5,0,35], -"mkieee_8c.html#a1594a8cc9a699a73a870b9ec4231fbd3":[5,0,35,0], -"mkieee_8c_source.html":[5,0,35], -"pack__gp_8c.html":[5,0,36], -"pack__gp_8c.html#ab5fbec07e58a9d872a0fa1c04d74a81b":[5,0,36,2], -"pack__gp_8c.html#aca1e6c3771fa0306e1dad2b11d22a8e5":[5,0,36,1], -"pack__gp_8c.html#ad4986ecbba005b963f63a85f7c8c281d":[5,0,36,0], -"pack__gp_8c_source.html":[5,0,36], -"pages.html":[], -"pdstemplates_8c.html":[5,0,37], -"pdstemplates_8c.html#a11c588e7671155abba68b92678fc2071":[5,0,37,1], -"pdstemplates_8c.html#a59f2fe1fba0577301d154f21e0478e7f":[5,0,37,3], -"pdstemplates_8c.html#a64e5f115f7c4ec0b1b7d8af8376d12eb":[5,0,37,2], -"pdstemplates_8c.html#a87d5723cb60a9b598bc574cd31673a26":[5,0,37,5], -"pdstemplates_8c.html#aa0bb590f8c48ad21d17f6cf7a72d8f53":[5,0,37,0], -"pdstemplates_8c.html#ad08ad7c4bee0466cd8ccafc1c1e76520":[5,0,37,4], -"pdstemplates_8c_source.html":[5,0,37], -"pngpack_8c.html":[5,0,38], -"pngpack_8c.html#a1353956d6cc706acd63e87ce21c69fd2":[5,0,38,0], -"pngpack_8c.html#a425894461009149774943fa50667c5ee":[5,0,38,1], -"pngpack_8c.html#ac449247d0b5e9f7a297a154f3791a41d":[5,0,38,2], -"pngpack_8c_source.html":[5,0,38], -"pngunpack_8c.html":[5,0,39], -"pngunpack_8c.html#a0e15cdfb0f46d45f44eca76bf13bc7c8":[5,0,39,2], -"pngunpack_8c.html#a25efad18886998fd8f7172ddccaa9076":[5,0,39,0], -"pngunpack_8c.html#ae194e51085dbb56e1c59cb8578eb2722":[5,0,39,1], -"pngunpack_8c_source.html":[5,0,39], -"rdieee_8c.html":[5,0,40], -"rdieee_8c.html#af4e2650852f7bbbfb531c977fcbd42ca":[5,0,40,0], -"rdieee_8c_source.html":[5,0,40], -"reduce_8c.html":[5,0,41], -"reduce_8c.html#a6bb0dafca9ef2de9d433cb4c72f34b2d":[5,0,41,0], -"reduce_8c_source.html":[5,0,41], -"seekgb_8c.html":[5,0,42], -"seekgb_8c.html#a27edb1018106a2e02743be31afc5ea0c":[5,0,42,1], -"seekgb_8c.html#a369ecd38b3ab077fc235f892354bb46f":[5,0,42,0], -"seekgb_8c_source.html":[5,0,42], -"simpack_8c.html":[5,0,43], -"simpack_8c.html#ac0b7f3dd51c470b9fb883bc93d82ab49":[5,0,43,0], -"simpack_8c_source.html":[5,0,43], -"simunpack_8c.html":[5,0,44], -"simunpack_8c.html#af1de6ae0957904b78ff8cfd7eeb908fa":[5,0,44,0], -"simunpack_8c_source.html":[5,0,44], -"specpack_8c.html":[5,0,45], -"specpack_8c.html#ab712ca4ca13ff72a2a4f3738e9ef66ce":[5,0,45,0], -"specpack_8c_source.html":[5,0,45], -"specunpack_8c.html":[5,0,46], -"specunpack_8c.html#accf1040682acbd7ef03f54ca5250d683":[5,0,46,0], -"specunpack_8c_source.html":[5,0,46], -"util_8c.html":[5,0,47], -"util_8c.html#a3acf35e5653f0dab59b3e6fd130f2d62":[5,0,47,0], -"util_8c.html#a9a2353e67d13207769db5bd68e343abe":[5,0,47,1], -"util_8c_source.html":[5,0,47] +"globals_func_j.html":[5,1,1,7], +"globals_func_m.html":[5,1,1,8], +"globals_func_p.html":[5,1,1,9], +"globals_func_r.html":[5,1,1,10], +"globals_func_s.html":[5,1,1,11], +"globals_func_u.html":[5,1,1,12], +"globals_g.html":[5,1,0,6], +"globals_h.html":[5,1,0,7], +"globals_i.html":[5,1,0,8], +"globals_j.html":[5,1,0,9], +"globals_l.html":[5,1,0,10], +"globals_m.html":[5,1,0,11], +"globals_n.html":[5,1,0,12], +"globals_o.html":[5,1,0,13], +"globals_p.html":[5,1,0,14], +"globals_r.html":[5,1,0,15], +"globals_s.html":[5,1,0,16], +"globals_t.html":[5,1,0,17], +"globals_type.html":[5,1,3], +"globals_u.html":[5,1,0,18], +"globals_vars.html":[5,1,2], +"globals_w.html":[5,1,0,19], +"grib2_8h.html":[5,0,41], +"grib2_8h.html#a0127b9d6f3a258a9d0dd87f986d86b93":[5,0,41,138], +"grib2_8h.html#a01fe4ac54380851cc28581d59dfa9bf4":[5,0,41,49], +"grib2_8h.html#a024050c81e4981bea2cb67c27e8a8072":[5,0,41,66], +"grib2_8h.html#a030fe94d956425ce9723e231c7cd652e":[5,0,41,90], +"grib2_8h.html#a0385933efeefce1a3ff8157b98f06d0a":[5,0,41,87], +"grib2_8h.html#a065d206f38d552c49af642e3cf6056b3":[5,0,41,0,15], +"grib2_8h.html#a067a3f608a80a9fdd89ed9f59ed7c7f6":[5,0,41,187], +"grib2_8h.html#a06d37843d3f4b3f46cb240206ce430b0":[5,0,41,11], +"grib2_8h.html#a07313bd28e479d86f64ff744b10a2b78":[5,0,41,29], +"grib2_8h.html#a073c8c6c97479d96e86cdaf1bed26f41":[5,0,41,47], +"grib2_8h.html#a084c47c8f83bb5a5c7799753ac7b6f02":[5,0,41,130], +"grib2_8h.html#a0a07a1092a64ae871ab45b147de85318":[5,0,41,41], +"grib2_8h.html#a0afd432698f939755dbae56c681bbce5":[5,0,41,103], +"grib2_8h.html#a0b22a0eef8418b8b30cf73263b429613":[5,0,41,97], +"grib2_8h.html#a0bd2b43c8e10bf7374a0ba1d2e121a96":[5,0,41,163], +"grib2_8h.html#a0e0c16e1c95c3272f9de6451df276fad":[5,0,41,57], +"grib2_8h.html#a0e2cadad47b161868b97e60f00409982":[5,0,41,0,22], +"grib2_8h.html#a0e8970973e1cefc142240f961a796108":[5,0,41,129], +"grib2_8h.html#a0f60a9a7769c124118754c22926b5ddf":[5,0,41,105], +"grib2_8h.html#a10a46b6a25d615784dced13e914d0726":[5,0,41,0,6], +"grib2_8h.html#a115c0b1461732602197d7129cb783938":[5,0,41,20], +"grib2_8h.html#a11d1277208e3ee21f2dda94effdbe41b":[5,0,41,159], +"grib2_8h.html#a1353956d6cc706acd63e87ce21c69fd2":[5,0,41,188], +"grib2_8h.html#a14417ca1b452ff2e6681ebd4f00c2dee":[5,0,41,34], +"grib2_8h.html#a146ebf0fbbfac18432b0c0dbe9900631":[5,0,41,170], +"grib2_8h.html#a14908ea75d83021b0ec10ae8c084567c":[5,0,41,127], +"grib2_8h.html#a1792f482362669e846f8f69e0eb63fe0":[5,0,41,182], +"grib2_8h.html#a183f59614ad572efac9b75f448cd563a":[5,0,41,94], +"grib2_8h.html#a1a04c5d88c271b98a56edfd136b7db77":[5,0,41,166], +"grib2_8h.html#a1c000643672bcf0463adf199df6a1e87":[5,0,41,100], +"grib2_8h.html#a1ddf29fe5e55bee98b5d5990d674a940":[5,0,41,0,16], +"grib2_8h.html#a1eb0a21681ad4d1a9af3e357f59dc08b":[5,0,41,52], +"grib2_8h.html#a1fd25a21842b45215676696fcddb2a09":[5,0,41,0,24], +"grib2_8h.html#a2076220d495e627198c94d9e00ec360e":[5,0,41,147], +"grib2_8h.html#a20c41af558ecb88ae8a6015b9361914e":[5,0,41,143], +"grib2_8h.html#a216f2c45794641932725b7a8b1800423":[5,0,41,169], +"grib2_8h.html#a24f0315e18f5b5e7d0200cffe32897b4":[5,0,41,115], +"grib2_8h.html#a25efad18886998fd8f7172ddccaa9076":[5,0,41,189], +"grib2_8h.html#a27edb1018106a2e02743be31afc5ea0c":[5,0,41,190], +"grib2_8h.html#a28bd17e0a13e2f8d2bc6c546d25e9bab":[5,0,41,91], +"grib2_8h.html#a28e1af8be9f9c34241c0c8ce780c2707":[5,0,41,5], +"grib2_8h.html#a2915a7e9bd01c1b2bd33a6e362c88acc":[5,0,41,22], +"grib2_8h.html#a29a71629c41dfefe937460952ffa18f1":[5,0,41,164], +"grib2_8h.html#a2a0b6f4c2f89b476ee2dc27f4f3fea64":[5,0,41,69], +"grib2_8h.html#a2a1b1cfa73b675ff4d7822f836898846":[5,0,41,175], +"grib2_8h.html#a2a4eaa3208d40466f647ae53a4b19454":[5,0,41,0,12], +"grib2_8h.html#a2a68c6a57c0aec69ab864843b3727a78":[5,0,41,71], +"grib2_8h.html#a2c7e2ed3363571d9f55162f38371187c":[5,0,41,167], +"grib2_8h.html#a2cb509d4701384beb0cce5644abae4fb":[5,0,41,39], +"grib2_8h.html#a2d2f950408b743a0191242af8d81cb20":[5,0,41,111], +"grib2_8h.html#a2e615ee29fc8d17a681017e4384847c2":[5,0,41,122], +"grib2_8h.html#a2f05416b54c82d3ec6aa050c2dd033a4":[5,0,41,48], +"grib2_8h.html#a309e4c0c418755d046b6e414560eb36f":[5,0,41,172], +"grib2_8h.html#a32a9653961314d342b211ab98a07aa0a":[5,0,41,171], +"grib2_8h.html#a33fbfbbde0db4cea4dd33d83a86cf3e0":[5,0,41,178], +"grib2_8h.html#a3469bd6d6e13e1180753a5629ace639d":[5,0,41,140], +"grib2_8h.html#a362f4c8ddcb007058bccba7eab1ff8e0":[5,0,41,10], +"grib2_8h.html#a3687ada1cdabe6b44b62620a3e4e612b":[5,0,41,9], +"grib2_8h.html#a379383c777dfa1e788b8e573bdd90889":[5,0,41,137], +"grib2_8h.html#a39ad3149399533c27210ccb8d735507b":[5,0,41,58], +"grib2_8h.html#a39bad0ee21628d9381fe409ec98214f1":[5,0,41,68], +"grib2_8h.html#a3a626a5662eaf679c785fd5ae85c1d7d":[5,0,41,114], +"grib2_8h.html#a3b6b5bd21386f9f7d49f1f628a9c895c":[5,0,41,50], +"grib2_8h.html#a3c94f1f792106e97d1e4cc2fe674e9ef":[5,0,41,21], +"grib2_8h.html#a3fcb1e8bf12cf5921c2993f0460d8138":[5,0,41,0,5], +"grib2_8h.html#a4057c499c1e2441ee560cafd306b0141":[5,0,41,146], +"grib2_8h.html#a436d91157da728072516d50f5c349507":[5,0,41,32], +"grib2_8h.html#a43712608ab00578dafcf3c39cff9582d":[5,0,41,121], +"grib2_8h.html#a44eee21c0fddc82fb5829f8b56675911":[5,0,41,0,19], +"grib2_8h.html#a4891ea5efd77f5fce12483849104b099":[5,0,41,119], +"grib2_8h.html#a496eb9c096d0ecdc712ebea3ffd3a37d":[5,0,41,3], +"grib2_8h.html#a49b9e8c090596e02abc193b1974b8022":[5,0,41,0,18], +"grib2_8h.html#a49e78acc21d879a88d3fb21866878ef6":[5,0,41,28], +"grib2_8h.html#a4af2c3dfeb1cba7be35cd63ea9c51574":[5,0,41,0,2], +"grib2_8h.html#a4b190a45b5223fa43746cf16c80bef47":[5,0,41,135], +"grib2_8h.html#a4d383ca4c9a6ac0cf11bfe94814a16ca":[5,0,41,78], +"grib2_8h.html#a4dcc89afa62b38a9a0d7a4df8d9f8ca7":[5,0,41,74], +"grib2_8h.html#a4e0e87e1e9d443c03c2c5c080d049119":[5,0,41,145], +"grib2_8h.html#a4f8b8ce8eb11ed2de38710863323f41a":[5,0,41,15], +"grib2_8h.html#a4f9284ebe7fabba1cc092fbea1a5b7e0":[5,0,41,0,27], +"grib2_8h.html#a55b6bf7ad57b4c202827f3326ad2c4df":[5,0,41,31], +"grib2_8h.html#a57517913da70932f0c56f076207ea90b":[5,0,41,14], +"grib2_8h.html#a597395069e35e29288bd0f57081a0c65":[5,0,41,63], +"grib2_8h.html#a5a92ce5b0b8da884e2924dba7f1e1a95":[5,0,41,4], +"grib2_8h.html#a5a9f3222320afe0f957406b53ad36223":[5,0,41,134], +"grib2_8h.html#a5aaef5008fd9be5c044b207231cf767f":[5,0,41,1], +"grib2_8h.html#a5c647eb48e460797f21e6d90960203f1":[5,0,41,38], +"grib2_8h.html#a5d014a6e14c17d59ce83f78ca048d86b":[5,0,41,156], +"grib2_8h.html#a5f2e244f2819f238f11348a0c79f6079":[5,0,41,176], +"grib2_8h.html#a6065be2bee7e56c7eb0d3673a70be727":[5,0,41,18], +"grib2_8h.html#a63afadbf31fb6307011a983afbf9a5bc":[5,0,41,0,7], +"grib2_8h.html#a6441abadc54f311dbef926fdbd7a6e5a":[5,0,41,46], +"grib2_8h.html#a657046138f00942c426122df3e25c546":[5,0,41,157], +"grib2_8h.html#a689b4dc2282e838fdb98a2936a67ff5a":[5,0,41,83], +"grib2_8h.html#a6d73cbbc6177df2e5bc844798d8f2d2b":[5,0,41,92], +"grib2_8h.html#a6d91d3cd029a4eb0377908beb0649b86":[5,0,41,72], +"grib2_8h.html#a6da0d8269b5acb7475bfa5bd6b78da28":[5,0,41,88], +"grib2_8h.html#a6e22025328a8e92092654f5333d78226":[5,0,41,185], +"grib2_8h.html#a6ec2aa9a3c6ce2699f87223f9c45c2d9":[5,0,41,75], +"grib2_8h.html#a6f87ce641388b1464e2287fd3814993f":[5,0,41,70], +"grib2_8h.html#a7661683648959dad5ea1d2def2cb766d":[5,0,41,7], +"grib2_8h.html#a76dad0fdc4926df76a417a2992b81d66":[5,0,41,53], +"grib2_8h.html#a7761e7401213d226560fd1b379d33ba8":[5,0,41,141], +"grib2_8h.html#a79acbc94d3f1a0299369b95dae0f5a47":[5,0,41,0,28], +"grib2_8h.html#a7a2f7f8292c1f827ed98794f2fb8bbe4":[5,0,41,79], +"grib2_8h.html#a7b892e53508c65fd31c6564d5418c824":[5,0,41,165], +"grib2_8h.html#a811654ce9d58dc2dc8a42b12cace6914":[5,0,41,144], +"grib2_8h.html#a83638f96ee10ef44c4dddcebf41d8ee6":[5,0,41,139], +"grib2_8h.html#a84081fb5d32251234409b9ec2d72a0e8":[5,0,41,132], +"grib2_8h.html#a840ce62970e0482389aea32b69fe8721":[5,0,41,179], +"grib2_8h.html#a898aa73781e9952c3e56ed3282a873f4":[5,0,41,80], +"grib2_8h.html#a8b46586925aaf77c69f38ad7bc72b826":[5,0,41,0,11], +"grib2_8h.html#a8bf35419f98181f5550a3fee8c4a201e":[5,0,41,0,17], +"grib2_8h.html#a8e4a8fcf8d55db639760e873013af0ab":[5,0,41,160], +"grib2_8h.html#a8ebd7f4cdc757b37d8cf344c17329936":[5,0,41,27], +"grib2_8h.html#a8f3e490a5d39ec4f34992fba1fb6ab12":[5,0,41,85], +"grib2_8h.html#a914c41f0c96a57cf78f5a05525b2e8b4":[5,0,41,162], +"grib2_8h.html#a91778844b25133a0b77e345a8e1bccf8":[5,0,41,98], +"grib2_8h.html#a9373ca768b0b3a24a7f622c24bd01cb8":[5,0,41,76], +"grib2_8h.html#a94364236b4274588b2b4b6b851555e15":[5,0,41,17], +"grib2_8h.html#a9485e54be066c97916f22b4d6046cd1b":[5,0,41,51], +"grib2_8h.html#a94af4623709fa1c08f8035b98e7ca56b":[5,0,41,42], +"grib2_8h.html#a958fab96aa91de18f24b40fb8a084a93":[5,0,41,108], +"grib2_8h.html#a95bb698b6bd148aae1b3b841fb0da83b":[5,0,41,124], +"grib2_8h.html#a95de976d74502f1f5a4b4afd7be0c0f2":[5,0,41,96], +"grib2_8h.html#a9600b70ed48d9ee91c366c3d2aaaebb3":[5,0,41,26], +"grib2_8h.html#a9627c88b7c7dd863cb3af9fb3e10011b":[5,0,41,2], +"grib2_8h.html#a967c330a784570751d24078576317278":[5,0,41,0,1], +"grib2_8h.html#a96d0020d95aa799524048a40c252e240":[5,0,41,149], +"grib2_8h.html#a97570f9ca7b7f018cad85d5f8e5be4e3":[5,0,41,45], +"grib2_8h.html#a977358be2d226299f842cb298b779854":[5,0,41,155], +"grib2_8h.html#a98305aa1e32b01875f9b6e935f5341e0":[5,0,41,73], +"grib2_8h.html#a99a2fc1974fbe30d1d063a4ec2d6cb3c":[5,0,41,154], +"grib2_8h.html#a9a190b6ec4e060e9ccbe554135c47717":[5,0,41,101], +"grib2_8h.html#a9a2353e67d13207769db5bd68e343abe":[5,0,41,181], +"grib2_8h.html#a9a6d255355a287b253ebc369271751f4":[5,0,41,161], +"grib2_8h.html#a9abb07853bd272b8f33bb978bb805cb9":[5,0,41,64], +"grib2_8h.html#a9c94d15723e5a2d175d96f8c6fa2fd53":[5,0,41,0,14], +"grib2_8h.html#a9d842d23dc3c41db9237ba890a255776":[5,0,41,36], +"grib2_8h.html#a9e82319d51b43e564aa3b5199cb9f15f":[5,0,41,0,9], +"grib2_8h.html#a9e91aaf0369664d201e7e401096ff1cf":[5,0,41,77], +"grib2_8h.html#a9fd31927766f572312f6b7b6993a56c2":[5,0,41,89], +"grib2_8h.html#aa370217896d20f1ccb1c77e7a4edc1ed":[5,0,41,184], +"grib2_8h.html#aa9490d67c089f6a15fd9941f273752c3":[5,0,41,128], +"grib2_8h.html#aa97ba6b54e9c91fb231708048d54156c":[5,0,41,0,23], +"grib2_8h.html#aa9a9b32379db85395891b59213f08a5d":[5,0,41,152], +"grib2_8h.html#aa9eaa709aa71a9f4b164b979b9467ce1":[5,0,41,81], +"grib2_8h.html#aaa5a59527b7c1538cf47e10ecd365784":[5,0,41,86], +"grib2_8h.html#aacf7f56c868c12e27c3d187164655218":[5,0,41,173], +"grib2_8h.html#aad36614cfd2153c4494969a2f5c3b9ed":[5,0,41,60], +"grib2_8h.html#aadea4d0f1c3d8f4a40087f3b20ddf457":[5,0,41,0,8], +"grib2_8h.html#aaead77879d197777943ee9c53e0672ef":[5,0,41,6], +"grib2_8h.html#aaeae8e4fb69bb650977d47458c3defcf":[5,0,41,67], +"grib2_8h.html#ab2d294bedc5fda5e67800bef91b6de44":[5,0,41,19], +"grib2_8h.html#ab4cbbee608ee075df75f19c67188aa9c":[5,0,41,148], +"grib2_8h.html#ab50dde08eec9a69f5d063a25e863897d":[5,0,41,0,20], +"grib2_8h.html#ab63fb34d6630c4c24eca9c1c5c129fef":[5,0,41,158], +"grib2_8h.html#ab820e4fe7f1b895232334e5d6927fc9a":[5,0,41,174], +"grib2_8h.html#ab880dad973bf979fc906b4d5c60ce3c7":[5,0,41,183], +"grib2_8h.html#abad9d3ba0ee798acd442850573fc6b8e":[5,0,41,131], +"grib2_8h.html#abb0600d5c6baf2937c0258921ea4e0aa":[5,0,41,109], +"grib2_8h.html#abf8ecb0fe00805abfce20115357b4fa3":[5,0,41,133], +"grib2_8h.html#ac046d29b8feb2f0333e7a5c8803aba4d":[5,0,41,44], +"grib2_8h.html#ac1a18226d7790431bad8b065f85befa5":[5,0,41,0,29], +"grib2_8h.html#ac2734aa4f2d3f10a642b3d7919563dcc":[5,0,41,25], +"grib2_8h.html#ac2ff72b386a405e5e4f4c9bd013a882e":[5,0,41,118], +"grib2_8h.html#ac46d9ca4e9715c77dd63ee6a3a3ecab5":[5,0,41,104], +"grib2_8h.html#ac5fa531e1573e7ae501a4e2826d22e89":[5,0,41,186], +"grib2_8h.html#ac8bb24b19b0118d57b9a599939bc3c87":[5,0,41,54], +"grib2_8h.html#ac9ff1ca39afecf5bc50226cbcff58b25":[5,0,41,61], +"grib2_8h.html#acaa1f7159ddd54e667beca9658c797a0":[5,0,41,43], +"grib2_8h.html#acbbf68ad0294fdad53dc9ff5066a5eb5":[5,0,41,93], +"grib2_8h.html#ace11da5841473bb62734708867bb11bd":[5,0,41,120], +"grib2_8h.html#acec6023ac37dbab9ac55c62a0ac14624":[5,0,41,168], +"grib2_8h.html#ad101a194bd4c5c6c0a0dd9aaa6fb9905":[5,0,41,16], +"grib2_8h.html#ad18c15e7859be9a08cbd4a42283fed36":[5,0,41,37], +"grib2_8h.html#ad2c81f046ec07b38d12915c52241d6a7":[5,0,41,82], +"grib2_8h.html#ad37ad5e44291e1b229321755b4838c3a":[5,0,41,8], +"grib2_8h.html#ad403b8c1a156f062c3ded89224e6b46b":[5,0,41,126], +"grib2_8h.html#ad74647ae25fde08edb22aa4e1bd514ec":[5,0,41,56], +"grib2_8h.html#ad81615f4a659f2454762301e0e810793":[5,0,41,0,10], +"grib2_8h.html#ad98aa9cc23b61713ef77a84772688427":[5,0,41,0,4], +"grib2_8h.html#ad9c884e1caa56f82a8801b573f5bc3c9":[5,0,41,112], +"grib2_8h.html#adc0a16adef9d60b0ccd46f563db513ae":[5,0,41,84], +"grib2_8h.html#ade01e29b36d4a7b1de09c84c39786fbd":[5,0,41,40], +"grib2_8h.html#adea4acd4d82730009c5415b7ded0e187":[5,0,41,117], +"grib2_8h.html#aded2ca1c14ca96b2bdc7138945a2f4ce":[5,0,41,0,25], +"grib2_8h.html#ae0a9149f145ff6ca1d8539231b8bcf55":[5,0,41,107], +"grib2_8h.html#ae0f9483c798b7819852b21fa0ae51590":[5,0,41,136], +"grib2_8h.html#ae13769d05f338ec9dbb0ef1a7b3ac293":[5,0,41,95], +"grib2_8h.html#ae1535246186a033329df1715123819d2":[5,0,41,151], +"grib2_8h.html#ae174af0c4aa67c5d6217688d45aad4c5":[5,0,41,30], +"grib2_8h.html#ae1772f6e7ca41ab7ff0b5eb9ad0980c1":[5,0,41,0,21], +"grib2_8h.html#ae5716ebe302534d9fc24cf328bade4df":[5,0,41,13], +"grib2_8h.html#ae5b5e6f9849720b476555b4b32096f20":[5,0,41,0,3], +"grib2_8h.html#ae6ac361f230f89a9461e260d72c1d60b":[5,0,41,0,26], +"grib2_8h.html#ae740c66315236fc68d4f337558587505":[5,0,41,12], +"grib2_8h.html#ae889c3c77c33283d6cab33086048b1ac":[5,0,41,177], +"grib2_8h.html#ae8f44c108ad9fd344937abc845511e2e":[5,0,41,0,13], +"grib2_8h.html#aeca63ecfd7407114317ddb9e5341b71c":[5,0,41,142], +"grib2_8h.html#aee1b93998c31b41b4b4a863aeb00d419":[5,0,41,55], +"grib2_8h.html#aee39ba22e9351cf0b7f2813bd1b5dd7e":[5,0,41,24], +"grib2_8h.html#aeedbfa7bd7399aaed4554245d182b369":[5,0,41,0,0], +"grib2_8h.html#af04bb40930441ec99376ed72bf18684e":[5,0,41,110], +"grib2_8h.html#af08bc0c9226ed15638aa909821d4b04b":[5,0,41,65], +"grib2_8h.html#af0b63b0e0f41f07f562a4367e2a60838":[5,0,41,123], +"grib2_8h.html#af26cc0775753191aabf4720876452b48":[5,0,41,33], +"grib2_8h.html#af32c4bff1609a6286dbd77dd2fa0b624":[5,0,41,59], +"grib2_8h.html#af43657d544d6892fcfce2bb11a615ab6":[5,0,41,153], +"grib2_8h.html#af4ce40d4300a8384bd032697928f5551":[5,0,41,116], +"grib2_8h.html#af50a08963916901ddae4e32a81fec8f5":[5,0,41,180], +"grib2_8h.html#af55f435a20a9079c03ff2ccfab8fd2e8":[5,0,41,99], +"grib2_8h.html#af6b32459b20742990d06db4d8caeb348":[5,0,41,150], +"grib2_8h.html#af837ca43cf1f95ac2d4096d3c3e35576":[5,0,41,106], +"grib2_8h.html#af8927f176801d42df35c60ec5585e792":[5,0,41,102], +"grib2_8h.html#af935bef94850a5b24e554393ce0a8eef":[5,0,41,35], +"grib2_8h.html#afd3ef3eb9f8b9a64a7b749a892de46c5":[5,0,41,125], +"grib2_8h.html#afd42b8eddf696ef63f54a6265ebc69f9":[5,0,41,113], +"grib2_8h.html#afe2a589c318cc6b24ab4fef37084e7eb":[5,0,41,62], +"grib2_8h.html#afeef0a49033cd2735140f87dfe0fe49f":[5,0,41,23], +"grib2_8h.html#structgribfield":[5,0,41,0], +"grib2_8h_source.html":[5,0,41], +"grib2__int_8h.html":[5,0,42], +"grib2__int_8h.html#a03dbc85724fca79a8a073e2101fdb64d":[5,0,42,17], +"grib2__int_8h.html#a05f66c598caeaf6ef1b9e25c15dc053b":[5,0,42,26], +"grib2__int_8h.html#a067a3f608a80a9fdd89ed9f59ed7c7f6":[5,0,42,95], +"grib2__int_8h.html#a06da9ee061feffa47c552b808166dd6b":[5,0,42,4,3] }; diff --git a/navtreeindex2.js b/navtreeindex2.js new file mode 100644 index 00000000..0e5409bc --- /dev/null +++ b/navtreeindex2.js @@ -0,0 +1,253 @@ +var NAVTREEINDEX2 = +{ +"grib2__int_8h.html#a07f31f8e961b2d10b82007cef989ba62":[5,0,42,48], +"grib2__int_8h.html#a08c8e513e52e5f45877cbdf65de84ebc":[5,0,42,43], +"grib2__int_8h.html#a099225c582defca6ab562d9aad5bc20b":[5,0,42,56], +"grib2__int_8h.html#a0b304f2dca88e94a76c1182fbc1f5938":[5,0,42,62], +"grib2__int_8h.html#a0d65c7c29a06c12ebee26746476d49c9":[5,0,42,64], +"grib2__int_8h.html#a0efe5cf31d683e3e6aa3144c82ab2a17":[5,0,42,77], +"grib2__int_8h.html#a12c6feec8073278d5147ed3f451d8f26":[5,0,42,19], +"grib2__int_8h.html#a1353956d6cc706acd63e87ce21c69fd2":[5,0,42,99], +"grib2__int_8h.html#a1594a8cc9a699a73a870b9ec4231fbd3":[5,0,42,97], +"grib2__int_8h.html#a1947b04c8b32bd5196bde44ce47d067e":[5,0,42,69], +"grib2__int_8h.html#a1b307f84498592d3af16987f3828dd7e":[5,0,42,18], +"grib2__int_8h.html#a1c00621e95d7abedb7b7d929cfb2f34a":[5,0,42,10,2], +"grib2__int_8h.html#a1dff2889177040680db6291b350c9d1c":[5,0,42,4,19], +"grib2__int_8h.html#a1ea94395773c5ecf1257cd01bf033a26":[5,0,42,5,2], +"grib2__int_8h.html#a1efb9739e947d94010aeba6daf62eca3":[5,0,42,86], +"grib2__int_8h.html#a1f770e683f8b4e9c16c3d4d9d1e4fb63":[5,0,42,53], +"grib2__int_8h.html#a1ff7f8239d6d580d53d1857b05842eda":[5,0,42,1,1], +"grib2__int_8h.html#a21a8c63eb7714bf474d25a32017b127f":[5,0,42,4,27], +"grib2__int_8h.html#a2320bf6fe88358a510c67d695395d94d":[5,0,42,10,4], +"grib2__int_8h.html#a240eb2cfb06a088831f356621ffbd629":[5,0,42,28], +"grib2__int_8h.html#a242577f5fe354b2dd763690ba085ec4c":[5,0,42,6,0], +"grib2__int_8h.html#a25efad18886998fd8f7172ddccaa9076":[5,0,42,100], +"grib2__int_8h.html#a269f23c98537183178c3ebc9f6d915fd":[5,0,42,4,11], +"grib2__int_8h.html#a2742865fda7051b6bdd795a2af426a89":[5,0,42,45], +"grib2__int_8h.html#a29eb8a2ca16e15e491d7115725ff907c":[5,0,42,63], +"grib2__int_8h.html#a2cb1faaeaddca5c428124e2611c9c58c":[5,0,42,73], +"grib2__int_8h.html#a2d4f4340b41c07ec8fc52ff19aa23ec4":[5,0,42,16], +"grib2__int_8h.html#a2e0aefa5b3b3c702b0f5f6dc8fc0401a":[5,0,42,5,1], +"grib2__int_8h.html#a2e449246cf2d393ed6973729785e9e0c":[5,0,42,37], +"grib2__int_8h.html#a3101792b0b015bbb7860f85eb73bbd97":[5,0,42,3,4], +"grib2__int_8h.html#a312a417c8e6f68bea7bfe86268c16594":[5,0,42,11,0], +"grib2__int_8h.html#a31ebdbbf262b7478d6a7cc4326f76ade":[5,0,42,87], +"grib2__int_8h.html#a3acf35e5653f0dab59b3e6fd130f2d62":[5,0,42,67], +"grib2__int_8h.html#a45620124942dba0d67515b08299a4c43":[5,0,42,4,24], +"grib2__int_8h.html#a4632cb054d0f24d1f39f7e174bc40e28":[5,0,42,4,28], +"grib2__int_8h.html#a47b9c7dead0ce3a30ed49cbefe630be9":[5,0,42,4,23], +"grib2__int_8h.html#a4993920fef41b3e00837ecf78b5af92e":[5,0,42,7,0], +"grib2__int_8h.html#a49ce0f513e7723400907f777946fc6c4":[5,0,42,6,1], +"grib2__int_8h.html#a4bca22c62bed41329e62bea27ee745b3":[5,0,42,4,9], +"grib2__int_8h.html#a4c7dfb37dbbca9143143db5aeb2f6005":[5,0,42,60], +"grib2__int_8h.html#a4cfc63e05db4883dc4b60a1245a9ffc5":[5,0,42,41], +"grib2__int_8h.html#a509882196b78bdf75ee36d1d1bf0cc35":[5,0,42,27], +"grib2__int_8h.html#a540760f2051b00c67fefc9dfeb927c99":[5,0,42,76], +"grib2__int_8h.html#a5427ea8ad56c881a66f899c6e1381efd":[5,0,42,2,2], +"grib2__int_8h.html#a54bcbb8dd191ef325627323bff87ff42":[5,0,42,4,18], +"grib2__int_8h.html#a56d5a04be7b7feb227634533413f528a":[5,0,42,22], +"grib2__int_8h.html#a5815202ac6ed7cb3e380093dd6602262":[5,0,42,4,12], +"grib2__int_8h.html#a5916fc7041e507c7cfc797ef73699471":[5,0,42,6,3], +"grib2__int_8h.html#a5bb4a632dcaa3398c4557cfe52a81e35":[5,0,42,3,3], +"grib2__int_8h.html#a5bf6dfa852b0a206632d52aa666abf3a":[5,0,42,80], +"grib2__int_8h.html#a5c5c17ef34f6f6401cf4ebd9a3fbf9b0":[5,0,42,7,1], +"grib2__int_8h.html#a5e7f59f229745baebacbc4f7344ff039":[5,0,42,44], +"grib2__int_8h.html#a61b72df6f3a4f2814d4a44973198dffd":[5,0,42,0,2], +"grib2__int_8h.html#a6239752e3aa457d9dce277385ca3e75b":[5,0,42,4,17], +"grib2__int_8h.html#a626f386b445c0d2910d680559621c194":[5,0,42,4,25], +"grib2__int_8h.html#a62eb31cd21e5c37b6378a052eecd67bc":[5,0,42,4,2], +"grib2__int_8h.html#a63205f1ad14afc714149004a931abbce":[5,0,42,32], +"grib2__int_8h.html#a6461bd06cff157e5887e739b8f9d063f":[5,0,42,52], +"grib2__int_8h.html#a646e4d619d5326e4168cfd9ea8890c01":[5,0,42,6,4], +"grib2__int_8h.html#a64e5f115f7c4ec0b1b7d8af8376d12eb":[5,0,42,65], +"grib2__int_8h.html#a668dee231d7aa73fcb36e6ecc41badc1":[5,0,42,5,3], +"grib2__int_8h.html#a66dc56bf1a756ef53254c3236e4ef973":[5,0,42,2,1], +"grib2__int_8h.html#a68960e1200741ecaacc22020d1ad2565":[5,0,42,20], +"grib2__int_8h.html#a69a46b58c28c0102b219f9310ff12b85":[5,0,42,7,2], +"grib2__int_8h.html#a6ae662fc009939e70b82141e1671a0bb":[5,0,42,4,7], +"grib2__int_8h.html#a6b284a64a4b42cd86db872ae7e1eeaa8":[5,0,42,93], +"grib2__int_8h.html#a6c2582f1e1d3c5e49df28497d9264fcd":[5,0,42,3,1], +"grib2__int_8h.html#a6f80bff99b9d4dd94df22bea9c6057c4":[5,0,42,47], +"grib2__int_8h.html#a72cb1219a1d21a7261b3ff4f6e6ea1c1":[5,0,42,1,2], +"grib2__int_8h.html#a743151a1bde2a21603926e1541baa5de":[5,0,42,11,1], +"grib2__int_8h.html#a761fd11af0a8e1d3b9eb147edb653b0b":[5,0,42,6,2], +"grib2__int_8h.html#a767dd5916869dc53f395903d613075cb":[5,0,42,85], +"grib2__int_8h.html#a7c9598594469891f1962213355a28cdd":[5,0,42,50], +"grib2__int_8h.html#a7eccf6cd6fa0f202a1c71c5af338d227":[5,0,42,4,0], +"grib2__int_8h.html#a7f81c8fcd129ef70ad65140d6161668a":[5,0,42,10,3], +"grib2__int_8h.html#a8160b611383b384c0e62752cee0ccb92":[5,0,42,35], +"grib2__int_8h.html#a85954382df1adfd1066de85f7d790ad7":[5,0,42,4,16], +"grib2__int_8h.html#a86155cc800a49fff155d3d48fa61b306":[5,0,42,49], +"grib2__int_8h.html#a86669f909e0dd9439ce7ad8de66905ff":[5,0,42,68], +"grib2__int_8h.html#a88e12020d460546cafcef9c445c3df20":[5,0,42,11,2], +"grib2__int_8h.html#a897d92ef651510a3fe10dc9a7b5df9b8":[5,0,42,23], +"grib2__int_8h.html#a8c079c93f9e85a2c75bd3fb5060fd907":[5,0,42,10,7], +"grib2__int_8h.html#a8da09513416a4bd9ba4cfa1b291c0c85":[5,0,42,30], +"grib2__int_8h.html#a8e1ecd4e873a86a10a76d264c55ae7bf":[5,0,42,11,4], +"grib2__int_8h.html#a901fe0745e77a8f83cc94e45343c2128":[5,0,42,8,1], +"grib2__int_8h.html#a9158c5d68cedc452fbf2568341636edb":[5,0,42,0,1], +"grib2__int_8h.html#a91624c9b58aaa01748a06a85c15b6c5c":[5,0,42,25], +"grib2__int_8h.html#a91a1d7b538da7f1f9786d50ab7fb8211":[5,0,42,24], +"grib2__int_8h.html#a92b32e56ff8941c5026d460f4fe2aec3":[5,0,42,103], +"grib2__int_8h.html#a938ee5c56d3896e1bfb6682eeac6d6c2":[5,0,42,72], +"grib2__int_8h.html#a9474e2c676b3c163bcbd2b928fd509f3":[5,0,42,54], +"grib2__int_8h.html#a954890dd7dfa657a4e79b6db935c7dd8":[5,0,42,2,0], +"grib2__int_8h.html#a9736c199befb7d6cdc3cc771d5e5fd9c":[5,0,42,10,5], +"grib2__int_8h.html#a973b6764b40aed427d419046b63d75b3":[5,0,42,11,5], +"grib2__int_8h.html#a9795d38c518857794dee05363ea27997":[5,0,42,1,3], +"grib2__int_8h.html#a98771c5eaa5f71f696f580046347393a":[5,0,42,38], +"grib2__int_8h.html#a98f7c3fe1e4dd5db104fde7c6549a32d":[5,0,42,29], +"grib2__int_8h.html#a9974cef2b24b092ce879c1f65c6ed88c":[5,0,42,9,0], +"grib2__int_8h.html#a99a45e03f1f4601ea7c5fcdeec5cb19b":[5,0,42,46], +"grib2__int_8h.html#a9adc2635c9c81b265f32cbce68b1b474":[5,0,42,10,6], +"grib2__int_8h.html#a9b77b4fddeb0b4e4d136bb7c2460b7cc":[5,0,42,55], +"grib2__int_8h.html#aa04cfaa40b9234bd8e2a657ef8415c80":[5,0,42,2,3], +"grib2__int_8h.html#aa2773b08dd14877f37a450421796fe45":[5,0,42,5,0], +"grib2__int_8h.html#aa5c776ca39acf408c81fbc96568d72dc":[5,0,42,79], +"grib2__int_8h.html#aa656185846e3574abd79f57b1ee3d899":[5,0,42,4,29], +"grib2__int_8h.html#aa8f99915cc3bf0efa7544cf3c2e1b552":[5,0,42,92], +"grib2__int_8h.html#aaa78613e8bf42b3dbd6d3813371bc339":[5,0,42,96], +"grib2__int_8h.html#aab2569498daaf959c3836f15ee38276d":[5,0,42,10,0], +"grib2__int_8h.html#aab42481c672ffe6236cda6027d174a61":[5,0,42,4,26], +"grib2__int_8h.html#aabc49a338fae74f6dfc9e98b6cb59de7":[5,0,42,88], +"grib2__int_8h.html#ab04a12985543a4277feae611d62718bf":[5,0,42,34], +"grib2__int_8h.html#ab380f99a5148decd6afd0f7877f97746":[5,0,42,21], +"grib2__int_8h.html#ab427e6926fcc47eb1c02c1f78162b6f6":[5,0,42,40], +"grib2__int_8h.html#ab5fbec07e58a9d872a0fa1c04d74a81b":[5,0,42,98], +"grib2__int_8h.html#ab6826be68665930ed928662d56c671e3":[5,0,42,3,2], +"grib2__int_8h.html#ab6ab60c8c7e1f9fa0d00ea25b917a7e1":[5,0,42,39], +"grib2__int_8h.html#ab6cce79f010456f1e882fa1c027062da":[5,0,42,58], +"grib2__int_8h.html#ab712ca4ca13ff72a2a4f3738e9ef66ce":[5,0,42,106], +"grib2__int_8h.html#abb35b3e9ac2b0ff8cd7c0881988940c0":[5,0,42,33], +"grib2__int_8h.html#abc902f5b888b64b5004b189d25550c99":[5,0,42,4,21], +"grib2__int_8h.html#abd1ec3c7391edfa6899ccf4e45b7e52e":[5,0,42,1,0], +"grib2__int_8h.html#abd2e0851785661aee3f32380c9d8fdf0":[5,0,42,84], +"grib2__int_8h.html#abecb87ff997d6d0f929ba1a770f0621b":[5,0,42,4,6], +"grib2__int_8h.html#ac0b7f3dd51c470b9fb883bc93d82ab49":[5,0,42,104], +"grib2__int_8h.html#ac1966f1beac4c32fd406abb7272108f5":[5,0,42,3,0], +"grib2__int_8h.html#ac32f52eb1327e634fc145b68183e59ee":[5,0,42,0,0], +"grib2__int_8h.html#ac5089b3aa084e111dcf76fe148d4cadc":[5,0,42,6,6], +"grib2__int_8h.html#ac5827e102f2aaacc0abcbc5a5aafb678":[5,0,42,10,9], +"grib2__int_8h.html#ac5fa531e1573e7ae501a4e2826d22e89":[5,0,42,94], +"grib2__int_8h.html#aca7ef7356b1550ae26423a6d8012f5fd":[5,0,42,12], +"grib2__int_8h.html#acaf5f4deaef680af27ba1b626a4a7acc":[5,0,42,4,10], +"grib2__int_8h.html#acbf694045589babceb7412ac6faadc39":[5,0,42,57], +"grib2__int_8h.html#accf1040682acbd7ef03f54ca5250d683":[5,0,42,107], +"grib2__int_8h.html#ace025ff0f3bbc5575c7eca20d39653a0":[5,0,42,14], +"grib2__int_8h.html#acf3195b5cecc028727faa8a921eba03e":[5,0,42,89], +"grib2__int_8h.html#ad08ad7c4bee0466cd8ccafc1c1e76520":[5,0,42,91], +"grib2__int_8h.html#ad1948cfc6aa884bfd9e1312056f5ad08":[5,0,42,4,22], +"grib2__int_8h.html#ad28b4af0030473208605c2cf2c5e3f36":[5,0,42,11,6], +"grib2__int_8h.html#ad30cccbe4737bd52122ba6aad5bfac8c":[5,0,42,42], +"grib2__int_8h.html#ad4e90614132aeb5308bffc79b342c519":[5,0,42,31], +"grib2__int_8h.html#ad610f3bb919c70bcb7ad8593804c3b65":[5,0,42,5,4], +"grib2__int_8h.html#adcef6b4e7c590e2a2fc37308d1c7d96a":[5,0,42,4,13], +"grib2__int_8h.html#ae400e26b01043c449c39de9cf6629c88":[5,0,42,4,14], +"grib2__int_8h.html#ae7843e51976900337654503388d9a726":[5,0,42,81], +"grib2__int_8h.html#ae839ef9885e9d311f34429e9d8c4e429":[5,0,42,74], +"grib2__int_8h.html#ae8a6efe20a158c6aa8ff026e13b1780f":[5,0,42,4,1], +"grib2__int_8h.html#aea3cb225770444c7e40855ee401a5b29":[5,0,42,11,3], +"grib2__int_8h.html#aeb41d96ee4ff703298807472e6d73ba5":[5,0,42,8,0], +"grib2__int_8h.html#aec93e83855ac17c3c25c55c37ca186dd":[5,0,42,13], +"grib2__int_8h.html#aecc47ef133bb090df718275d41098613":[5,0,42,59], +"grib2__int_8h.html#aed980fec21c06ad88363cd2eb8b01843":[5,0,42,71], +"grib2__int_8h.html#af047ad60d1fa2efe9d7cf018e32c86da":[5,0,42,78], +"grib2__int_8h.html#af12335d519df51c7331a8c4f343fb98a":[5,0,42,66], +"grib2__int_8h.html#af13561bb1b69477285058c02d2f053b2":[5,0,42,75], +"grib2__int_8h.html#af149feb9c6a24df42c987bbadb5d2c18":[5,0,42,4,4], +"grib2__int_8h.html#af1b008061fe84eb508e6aef5b2e37f52":[5,0,42,36], +"grib2__int_8h.html#af1de6ae0957904b78ff8cfd7eeb908fa":[5,0,42,105], +"grib2__int_8h.html#af1e2cdb6482d0eda709d3beea3426687":[5,0,42,15], +"grib2__int_8h.html#af27005591b78f26dda3151d941dc8247":[5,0,42,51], +"grib2__int_8h.html#af280c0c0846f17808aae9772a42edc19":[5,0,42,10,8], +"grib2__int_8h.html#af33ecc99c8b4f4240c69a380b73774f4":[5,0,42,4,20], +"grib2__int_8h.html#af4af6d586d2f9ca5da713d025dccf781":[5,0,42,61], +"grib2__int_8h.html#af4e2650852f7bbbfb531c977fcbd42ca":[5,0,42,101], +"grib2__int_8h.html#af67f9624982c81a36531989254a9b98a":[5,0,42,90], +"grib2__int_8h.html#af79b19aedb2a36aedcef7a85f42502c6":[5,0,42,5,5], +"grib2__int_8h.html#af7f2e7b1cc0d81f73f972feaa4fc65c0":[5,0,42,82], +"grib2__int_8h.html#af7fef1bd5fae59a765ccfa3493c20699":[5,0,42,83], +"grib2__int_8h.html#af9828d4b2656003825bd4aa83dc14d26":[5,0,42,4,15], +"grib2__int_8h.html#af9e044ba7da32a5415e351ed647ef676":[5,0,42,102], +"grib2__int_8h.html#afa29c9cc65c8069fc3e6676fbc26c060":[5,0,42,70], +"grib2__int_8h.html#afa38d80d5790033707db560070c8b0a3":[5,0,42,10,1], +"grib2__int_8h.html#afca06e92d8dcf3c8f1172f3414ab870a":[5,0,42,4,5], +"grib2__int_8h.html#afeb55ec4eed62df0c9e34f2e8f9f0120":[5,0,42,6,5], +"grib2__int_8h.html#afef2b1103683c1aa3333fa7d5a83db01":[5,0,42,4,8], +"grib2__int_8h.html#affe809d466e10244055a71487aaa43cb":[5,0,42,7,3], +"grib2__int_8h.html#structg2c__code__table":[5,0,42,0], +"grib2__int_8h.html#structg2c__dim__info":[5,0,42,1], +"grib2__int_8h.html#structg2c__entry":[5,0,42,2], +"grib2__int_8h.html#structg2c__file__info":[5,0,42,3], +"grib2__int_8h.html#structg2c__message__info":[5,0,42,4], +"grib2__int_8h.html#structg2c__param":[5,0,42,5], +"grib2__int_8h.html#structg2c__section3__info":[5,0,42,6], +"grib2__int_8h.html#structg2c__section4__info":[5,0,42,7], +"grib2__int_8h.html#structg2c__section5__info":[5,0,42,8], +"grib2__int_8h.html#structg2c__section6__info":[5,0,42,9], +"grib2__int_8h.html#structg2c__section__info":[5,0,42,10], +"grib2__int_8h.html#structgtemplate":[5,0,42,11], +"grib2__int_8h_source.html":[5,0,42], +"gridtemplates_8c.html":[5,0,43], +"gridtemplates_8c.html#a8300c17bb873509fba7a24ec9fe6b4ad":[5,0,43,0], +"gridtemplates_8c.html#a94f41c032c530c18e7d69af3f21b569c":[5,0,43,5], +"gridtemplates_8c.html#a99a2fc1974fbe30d1d063a4ec2d6cb3c":[5,0,43,2], +"gridtemplates_8c.html#addbeca29a7de77dc30f65a08b6b38941":[5,0,43,3], +"gridtemplates_8c.html#af43657d544d6892fcfce2bb11a615ab6":[5,0,43,1], +"gridtemplates_8c.html#af67f9624982c81a36531989254a9b98a":[5,0,43,4], +"gridtemplates_8c_source.html":[5,0,43], +"index.html":[], +"index.html#autotoc_md0":[0], +"index.html#autotoc_md1":[1], +"index.html#autotoc_md2":[0], +"index.html#autotoc_md3":[1], +"index.html#autotoc_md4":[2], +"index.html#autotoc_md5":[3], +"int__power_8c.html":[5,0,44], +"int__power_8c.html#a6b284a64a4b42cd86db872ae7e1eeaa8":[5,0,44,0], +"int__power_8c_source.html":[5,0,44], +"jpcpack_8c.html":[5,0,45], +"jpcpack_8c.html#a29a71629c41dfefe937460952ffa18f1":[5,0,45,0], +"jpcpack_8c.html#a7b892e53508c65fd31c6564d5418c824":[5,0,45,1], +"jpcpack_8c.html#ac5fa531e1573e7ae501a4e2826d22e89":[5,0,45,2], +"jpcpack_8c.html#ad647202ae0cbd537a9fed7bff5b45992":[5,0,45,3], +"jpcpack_8c_source.html":[5,0,45], +"jpcunpack_8c.html":[5,0,46], +"jpcunpack_8c.html#a067a3f608a80a9fdd89ed9f59ed7c7f6":[5,0,46,2], +"jpcunpack_8c.html#a1a04c5d88c271b98a56edfd136b7db77":[5,0,46,0], +"jpcunpack_8c.html#a2c7e2ed3363571d9f55162f38371187c":[5,0,46,1], +"jpcunpack_8c.html#abb65df72f7e882bcf138316552e2b89b":[5,0,46,3], +"jpcunpack_8c_source.html":[5,0,46], +"misspack_8c.html":[5,0,47], +"misspack_8c.html#aaa78613e8bf42b3dbd6d3813371bc339":[5,0,47,0], +"misspack_8c_source.html":[5,0,47], +"mkieee_8c.html":[5,0,48], +"mkieee_8c.html#a1594a8cc9a699a73a870b9ec4231fbd3":[5,0,48,0], +"mkieee_8c_source.html":[5,0,48], +"pack__gp_8c.html":[5,0,49], +"pack__gp_8c.html#ab5fbec07e58a9d872a0fa1c04d74a81b":[5,0,49,2], +"pack__gp_8c.html#aca1e6c3771fa0306e1dad2b11d22a8e5":[5,0,49,1], +"pack__gp_8c.html#ad4986ecbba005b963f63a85f7c8c281d":[5,0,49,0], +"pack__gp_8c_source.html":[5,0,49], +"pages.html":[], +"pdstemplates_8c.html":[5,0,50], +"pdstemplates_8c.html#a59f2fe1fba0577301d154f21e0478e7f":[5,0,50,3], +"pdstemplates_8c.html#a5d014a6e14c17d59ce83f78ca048d86b":[5,0,50,1], +"pdstemplates_8c.html#a64e5f115f7c4ec0b1b7d8af8376d12eb":[5,0,50,0], +"pdstemplates_8c.html#a657046138f00942c426122df3e25c546":[5,0,50,2], +"pdstemplates_8c.html#acda47ee5416fc0feb17fc90ba7891f46":[5,0,50,5], +"pdstemplates_8c.html#ad08ad7c4bee0466cd8ccafc1c1e76520":[5,0,50,4], +"pdstemplates_8c_source.html":[5,0,50], +"pngpack_8c.html":[5,0,51], +"pngpack_8c.html#a1353956d6cc706acd63e87ce21c69fd2":[5,0,51,2], +"pngpack_8c.html#a5f2e244f2819f238f11348a0c79f6079":[5,0,51,0], +"pngpack_8c.html#ae889c3c77c33283d6cab33086048b1ac":[5,0,51,1], +"pngpack_8c.html#af2a272e6da0675f7e00a16adec84af74":[5,0,51,3], +"pngpack_8c_source.html":[5,0,51], +"pngunpack_8c.html":[5,0,52], +"pngunpack_8c.html#a25efad18886998fd8f7172ddccaa9076":[5,0,52,2], +"pngunpack_8c.html#a33fbfbbde0db4cea4dd33d83a86cf3e0":[5,0,52,0], +"pngunpack_8c.html#a840ce62970e0482389aea32b69fe8721":[5,0,52,1], +"pngunpack_8c.html#a984fa92b35d86ddd5c45590e2aeec9f1":[5,0,52,3], +"pngunpack_8c_source.html":[5,0,52] +}; diff --git a/navtreeindex3.js b/navtreeindex3.js new file mode 100644 index 00000000..2800226e --- /dev/null +++ b/navtreeindex3.js @@ -0,0 +1,28 @@ +var NAVTREEINDEX3 = +{ +"rdieee_8c.html":[5,0,53], +"rdieee_8c.html#af4e2650852f7bbbfb531c977fcbd42ca":[5,0,53,0], +"rdieee_8c_source.html":[5,0,53], +"reduce_8c.html":[5,0,54], +"reduce_8c.html#a6bb0dafca9ef2de9d433cb4c72f34b2d":[5,0,54,0], +"reduce_8c_source.html":[5,0,54], +"seekgb_8c.html":[5,0,55], +"seekgb_8c.html#a27edb1018106a2e02743be31afc5ea0c":[5,0,55,0], +"seekgb_8c_source.html":[5,0,55], +"simpack_8c.html":[5,0,56], +"simpack_8c.html#ac0b7f3dd51c470b9fb883bc93d82ab49":[5,0,56,0], +"simpack_8c_source.html":[5,0,56], +"simunpack_8c.html":[5,0,57], +"simunpack_8c.html#af1de6ae0957904b78ff8cfd7eeb908fa":[5,0,57,0], +"simunpack_8c_source.html":[5,0,57], +"specpack_8c.html":[5,0,58], +"specpack_8c.html#ab712ca4ca13ff72a2a4f3738e9ef66ce":[5,0,58,0], +"specpack_8c_source.html":[5,0,58], +"specunpack_8c.html":[5,0,59], +"specunpack_8c.html#accf1040682acbd7ef03f54ca5250d683":[5,0,59,0], +"specunpack_8c_source.html":[5,0,59], +"util_8c.html":[5,0,60], +"util_8c.html#a3acf35e5653f0dab59b3e6fd130f2d62":[5,0,60,0], +"util_8c.html#a9a2353e67d13207769db5bd68e343abe":[5,0,60,1], +"util_8c_source.html":[5,0,60] +}; diff --git a/pack__gp_8c.html b/pack__gp_8c.html index f03c6708..1f475650 100644 --- a/pack__gp_8c.html +++ b/pack__gp_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: pack_gp.c File Reference @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -450,9 +450,7 @@

    diff --git a/pack__gp_8c_source.html b/pack__gp_8c_source.html index b3c01c63..ce9cd400 100644 --- a/pack__gp_8c_source.html +++ b/pack__gp_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: pack_gp.c Source File @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -93,8 +93,8 @@
    8 
    9 #define TRUE_ (1)
    10 #define FALSE_ (0)
    -
    254 int
    -
    255 pack_gp(g2int *kfildo, g2int *ic, g2int *nxy,
    +
    254 int
    +
    255 pack_gp(g2int *kfildo, g2int *ic, g2int *nxy,
    256  g2int *is523, g2int *minpk, g2int *inc, g2int *missp, g2int *misss,
    257  g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov,
    258  g2int *ndg, g2int *lx, g2int *ibit, g2int *jbit, g2int *kbit,
    @@ -1242,21 +1242,19 @@
    1400  if ( misslx != 0 ) free(misslx);
    1401  return 0;
    1402 } /* pack_gp__ */
    - - +
    int64_t g2int
    Long integer type.
    Definition: grib2.h:31
    +
    Header file with internal function prototypes NCEPLIBS-g2c library.
    int pack_gp(g2int *kfildo, g2int *ic, g2int *nxy, g2int *is523, g2int *minpk, g2int *inc, g2int *missp, g2int *misss, g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov, g2int *ndg, g2int *lx, g2int *ibit, g2int *jbit, g2int *kbit, g2int *novref, g2int *lbitref, g2int *ier)
    Determines groups of variable size, but at least of size minpk, the associated max (jmax( )) and min ...
    Definition: pack_gp.c:255
    +
    #define TRUE_
    True.
    Definition: pack_gp.c:9
    #define FALSE_
    False.
    Definition: pack_gp.c:10
    int reduce(g2int *kfildo, g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov, g2int *lx, g2int *ndg, g2int *ibit, g2int *jbit, g2int *kbit, g2int *novref, g2int *ibxx2, g2int *ier)
    Determines whether the number of groups should be increased in order to reduce the size of the large ...
    Definition: reduce.c:88
    -
    Header file with internal function prototypes NCEPLIBS-g2c library.
    -
    int64_t g2int
    Long integer type.
    Definition: grib2.h:28
    -
    #define TRUE_
    True.
    Definition: pack_gp.c:9
    + + diff --git a/pdstemplates_8c.html b/pdstemplates_8c.html index e79a890a..c2039f23 100644 --- a/pdstemplates_8c.html +++ b/pdstemplates_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: pdstemplates.c File Reference @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -83,7 +83,6 @@
    @@ -93,25 +92,21 @@

    Functions for GRIB2 Product Definition Templates used in Section 4 - the Product Definition Section (PDS). More...

    -
    #include <stdlib.h>
    -#include "grib2_int.h"
    +
    #include "grib2_int.h"

    Go to the source code of this file.

    - - - - - - - -

    -Macros

    #define MAXPDSMAPLEN   200
     Maximum template map length. More...
     
    #define MAXPDSTEMP   47
     Maximum number of templates. More...
     
    + + + + + + @@ -121,9 +116,9 @@

    Functions

    gtemplateextpdstemplate (g2int number, g2int *list)
     This subroutine generates the remaining octet map for a given Product Definition Template, if required. More...
     
    int g2c_get_pds_template (int pds_template_num, int *maplen, int *map, int *needext)
     Get PDS template information. More...
     
    int g2c_get_pds_template_extension (int pds_template_num, int *template, int *extlen, int *ext)
     Get pds template extension information. More...
     
    static g2int getpdsindex (g2int number)
     This function returns the index of specified Product Definition Template in array templates. More...
     
    - - - + + +

    Variables

    static const struct pdstemplate templatespds [MAXPDSTEMP]
     Data for struct for PDS template. More...
     
    static const struct pdstemplate templatespds [G2C_MAX_PDS_TEMPLATE]
     Data for struct for PDS template. More...
     

    Detailed Description

    Functions for GRIB2 Product Definition Templates used in Section 4 - the Product Definition Section (PDS).

    @@ -137,83 +132,173 @@

    Program History Log

    - + - + - + - + - + - + - + - + - + + +
    Date Programmer Comments
    Date Programmer Comments
    2001-06-28 Gilbert Initial
    2001-06-28 Gilbert Initial
    2009-01-14 Vuong Changed structure name template to gtemplate
    2009-01-14 Vuong Changed structure name template to gtemplate
    2009-12-15 Vuong Added Product Definition Templates 4.31, 4.15
    2009-12-15 Vuong Added Product Definition Templates 4.31, 4.15
    2010-08-03 Vuong Added Product Definition Template 4.42 and 4.43
    2010-08-03 Vuong Added Product Definition Template 4.42 and 4.43
    2010-12-08 Vuong Corrected Product Definition Template 4.42 and 4.43
    2010-12-08 Vuong Corrected Product Definition Template 4.42 and 4.43
    2012-03-29 Vuong Added Templates 4.44,4.45,4.46,4.47,4.48,4.50, 4.51,4.91,4.32 and 4.52
    2012-03-29 Vuong Added Templates 4.44,4.45,4.46,4.47,4.48,4.50, 4.51,4.91,4.32 and 4.52
    2013-08-05 Vuong Corrected 4.91 and added Templates 4.33,4.34,4.53,4.54
    2013-08-05 Vuong Corrected 4.91 and added Templates 4.33,4.34,4.53,4.54
    2015-10-07 Vuong Added Templates 4.57, 4.60, 4.61 and allow a forecast time to be negative
    2015-10-07 Vuong Added Templates 4.57, 4.60, 4.61 and allow a forecast time to be negative
    2022-10-18 Hartnett Added g2c_get_pds_template() and g2c_get_pds_template_extension().
    Author
    Stephen Gilbert
    Date
    2001-06-28

    Definition in file pdstemplates.c.

    -

    Macro Definition Documentation

    - -

    ◆ MAXPDSMAPLEN

    +

    Function Documentation

    + +

    ◆ extpdstemplate()

    - + + + + + + + + + + + + + + +
    #define MAXPDSMAPLEN   200gtemplate* extpdstemplate (g2int number,
    g2intlist 
    )
    -

    Maximum template map length.

    +

    This subroutine generates the remaining octet map for a given Product Definition Template, if required.

    +

    Some Templates can vary depending on data values given in an earlier part of the Template, and it is necessary to know some of the earlier entry values to generate the full octet map of the Template.

    +

    This function allocates memory in the ext field of the gtemplate struct. This memory must be freed by the caller.

    +
    Parameters
    + + + +
    numbernumber of the Product Definition Template 4.NN that is being requested.
    listThe list of values for each entry in the the Product Definition Template.
    +
    +
    +
    Returns
    Pointer to the returned template struct. Returns NULL pointer if template not found.
    +
    Author
    Stephen Gilbert
    +
    Date
    2000-05-11
    + +

    Definition at line 325 of file pdstemplates.c.

    + +

    References getpdsindex(), and getpdstemplate().

    -

    Definition at line 45 of file pdstemplates.c.

    +

    Referenced by g2_addfield(), g2_unpack4(), and g2c_get_pds_template_extension().

    - -

    ◆ MAXPDSTEMP

    + +

    ◆ g2c_get_pds_template()

    - + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #define MAXPDSTEMP   47int g2c_get_pds_template (int pds_template_num,
    int * maplen,
    int * map,
    int * needext 
    )
    -

    Maximum number of templates.

    +

    Get PDS template information.

    +

    The PDS template consists of a template map, its length, and, for some templates, an extra extension map, and its length. If an extension is needed, use g2c_get_pds_template_extension() to get it.

    +
    Parameters
    + + + + + +
    pds_template_numThe PDS template number.
    maplenPointer that gets the length of the map. Ignored if NULL.
    mapPointer that gets the map as an array of int. Memory must be allocated by caller. Ignored if NULL.
    needextPointer that a non-zero value if an extension to this template is needed. Ignored if NULL.
    +
    +
    +
    Returns
    +
    +
    Author
    Ed Hartnett
    +
    Date
    10/18/22
    + +

    Definition at line 816 of file pdstemplates.c.

    -

    Definition at line 44 of file pdstemplates.c.

    +

    References G2C_ENOTEMPLATE, G2C_MAX_PDS_TEMPLATE, G2C_NOERROR, and templatespds.

    + +

    Referenced by g2c_rw_section4_metadata().

    -

    Function Documentation

    - -

    ◆ extpdstemplate()

    + +

    ◆ g2c_get_pds_template_extension()

    - + - - + + - - + + + + + + + + + + + + + + @@ -223,25 +308,29 @@

    -

    This subroutine generates the remaining octet map for a given Product Definition Template, if required.

    -

    Some Templates can vary depending on data values given in an earlier part of the Template, and it is necessary to know some of the earlier entry values to generate the full octet map of the Template.

    -

    This function allocates memory in the ext field of the gtemplate struct. This memory must be freed by the caller.

    +

    Get pds template extension information.

    Parameters

    gtemplate* extpdstemplate int g2c_get_pds_template_extension (g2int number, int pds_template_num,
    g2intlist int * template,
    int * extlen,
    int * ext 
    - - + + + +
    numbernumber of the Product Definition Template 4.NN that is being requested.
    listThe list of values for each entry in the the Product Definition Template.
    pds_template_numThe pds template number.
    templatePointer to array that contains the template values.
    extlenPointer that gets the length of the extension. Ignored if NULL.
    extPointer that gets template extension array, if there is one. Memory must be allocated by the caller. Ignored if NULL.
    -
    Returns
    Pointer to the returned template struct. Returns NULL pointer if template not found.
    -
    Author
    Stephen Gilbert
    -
    Date
    2000-05-11
    - -

    Definition at line 329 of file pdstemplates.c.

    +
    Returns
    +
    +
    Author
    Ed Hartnett
    +
    Date
    10/16/22
    -

    References getpdsindex(), and getpdstemplate().

    +

    Definition at line 741 of file pdstemplates.c.

    -

    Referenced by g2_addfield(), and g2_unpack4().

    +

    References gtemplate::ext, gtemplate::extlen, extpdstemplate(), G2C_EINVAL, G2C_ENOMEM, G2C_ENOTEMPLATE, G2C_MAX_PDS_TEMPLATE, G2C_NOERROR, and templatespds.

    @@ -280,11 +369,11 @@

    Author
    Stephen Gilbert
    Date
    2001-06-28
    -

    Definition at line 246 of file pdstemplates.c.

    +

    Definition at line 242 of file pdstemplates.c.

    -

    References MAXPDSTEMP, and templatespds.

    +

    References G2C_MAX_PDS_TEMPLATE, and templatespds.

    -

    Referenced by extpdstemplate(), and getpdstemplate().

    +

    Referenced by extpdstemplate(), and getpdstemplate().

    @@ -317,17 +406,17 @@

    Author
    Stephen Gilbert
    Date
    2000-05-11
    -

    Definition at line 281 of file pdstemplates.c.

    +

    Definition at line 277 of file pdstemplates.c.

    -

    References getpdsindex(), and templatespds.

    +

    References getpdsindex(), and templatespds.

    -

    Referenced by extpdstemplate(), g2_addfield(), and g2_unpack4().

    +

    Referenced by extpdstemplate(), g2_addfield(), and g2_unpack4().

    Variable Documentation

    - -

    ◆ templatespds

    + +

    ◆ templatespds

    @@ -360,9 +449,7 @@

    diff --git a/pdstemplates_8c.js b/pdstemplates_8c.js index 2dcf94dd..a251ef64 100644 --- a/pdstemplates_8c.js +++ b/pdstemplates_8c.js @@ -1,9 +1,9 @@ var pdstemplates_8c = [ - [ "MAXPDSMAPLEN", "pdstemplates_8c.html#aa0bb590f8c48ad21d17f6cf7a72d8f53", null ], - [ "MAXPDSTEMP", "pdstemplates_8c.html#a11c588e7671155abba68b92678fc2071", null ], [ "extpdstemplate", "pdstemplates_8c.html#a64e5f115f7c4ec0b1b7d8af8376d12eb", null ], + [ "g2c_get_pds_template", "pdstemplates_8c.html#a5d014a6e14c17d59ce83f78ca048d86b", null ], + [ "g2c_get_pds_template_extension", "pdstemplates_8c.html#a657046138f00942c426122df3e25c546", null ], [ "getpdsindex", "pdstemplates_8c.html#a59f2fe1fba0577301d154f21e0478e7f", null ], [ "getpdstemplate", "pdstemplates_8c.html#ad08ad7c4bee0466cd8ccafc1c1e76520", null ], - [ "templatespds", "pdstemplates_8c.html#a87d5723cb60a9b598bc574cd31673a26", null ] + [ "templatespds", "pdstemplates_8c.html#acda47ee5416fc0feb17fc90ba7891f46", null ] ]; \ No newline at end of file diff --git a/pdstemplates_8c_source.html b/pdstemplates_8c_source.html index 07a8fffa..c48a3251 100644 --- a/pdstemplates_8c_source.html +++ b/pdstemplates_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: pdstemplates.c Source File @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -86,537 +86,623 @@
    pdstemplates.c
    -Go to the documentation of this file.
    1 
    -
    41 #include <stdlib.h>
    -
    42 #include "grib2_int.h"
    -
    43 
    -
    44 #define MAXPDSTEMP 47
    -
    45 #define MAXPDSMAPLEN 200
    -
    50 struct pdstemplate
    -
    51 {
    -
    52  g2int template_num;
    -
    53  g2int mappdslen;
    -
    54  g2int needext;
    -
    55  g2int mappds[MAXPDSMAPLEN];
    -
    56 };
    -
    57 
    -
    61 static const struct pdstemplate templatespds[MAXPDSTEMP] =
    -
    62 {
    -
    65  {0,15,0, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4} },
    -
    68  {1,18,0, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1} },
    -
    71  {2,17,0, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1} },
    -
    74  {3,31,1, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1,1,1,1,1,-4,-4,4,4,1,-1,4,-1,4} },
    -
    77  {4,30,1, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1,1,1,1,1,-4,4,4,1,-1,4,-1,4} },
    -
    80  {5,22,0, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1,-1,-4,-1,-4} },
    -
    83  {6,16,0, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1} },
    -
    86  {7,15,0, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4} },
    -
    89  {8,29,1, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
    -
    92  {9,36,1, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1,-1,-4,-1,-4,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
    -
    95  {10,30,1, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
    -
    98  {11,32,1, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
    -
    101  {12,31,1, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
    -
    104  {13,45,1, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1,1,1,1,1,-4,-4,4,4,1,-1,4,-1,4,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
    -
    107  {14,44,1, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1,1,1,1,1,-4,4,4,1,-1,4,-1,4,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
    -
    110  {15,18,0, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1} },
    -
    112  {20,19,0, {1,1,1,1,1,-4,4,2,4,2,1,1,1,1,1,2,1,3,2} },
    -
    114  {30,5,1, {1,1,1,1,1} },
    -
    116  {31,5,1, {1,1,1,1,1} },
    -
    119  {40,16,0, {1,1,2,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4} },
    -
    122  {41,19,0, {1,1,2,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1} },
    -
    126  {42,30,1, {1,1,2,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
    -
    130  {43,33,1, {1,1,2,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
    -
    132  {254,3,0, {1,1,4} },
    -
    135  {1000,9,0, {1,1,1,1,1,2,1,1,-4} },
    -
    138  {1001,16,0, {1,1,1,1,1,2,1,1,4,4,1,1,1,4,1,4} },
    -
    141  {1002,15,0, {1,1,1,1,1,2,1,1,-4,1,1,1,4,4,2} },
    -
    144  {1100,15,0, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4} },
    -
    147  {1101,22,0, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,4,1,1,1,4,1,4} },
    -
    149  {32,10,1, {1,1,1,1,1,2,1,1,-2,1} },
    -
    152  {44,21,0, {1,1,2,1,-1,-4,-1,-4,1,1,1,2,1,1,-2,1,-1,-4,1,-1,-4} },
    -
    156  {45,24,0, {1,1,2,1,-1,-4,-1,-4,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1} },
    -
    160  {46,35,1, {1,1,2,1,-1,-4,-1,-4,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
    -
    164  {47,38,1, {1,1,1,2,1,-1,-4,-1,-4,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
    -
    168  {48,26,0, {1,1,2,1,-1,-4,-1,-4,1,-1,-4,-1,-4,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4} },
    -
    169 
    -
    173  {50,21,0, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,4,4,4,4} },
    -
    174 
    -
    178  {52,15,0, {1,1,1,1,1,1,1,1,2,1,1,-4,1,-1,-4} },
    +Go to the documentation of this file.
    1 
    +
    41 #include "grib2_int.h"
    +
    42 
    +
    46 struct pdstemplate
    +
    47 {
    +
    48  g2int template_num;
    +
    49  g2int mappdslen;
    +
    50  g2int needext;
    + +
    52 };
    +
    53 
    +
    57 static const struct pdstemplate templatespds[G2C_MAX_PDS_TEMPLATE] =
    +
    58 {
    +
    61  {0, 15, 0, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4}},
    +
    64  {1, 18, 0, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1}},
    +
    67  {2, 17, 0, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1}},
    +
    70  {3, 31, 1, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1, 1, 1, 1, 1, -4, -4, 4, 4, 1, -1, 4, -1, 4}},
    +
    73  {4, 30, 1, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1, 1, 1, 1, 1, -4, 4, 4, 1, -1, 4, -1, 4}},
    +
    76  {5, 22, 0, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1, -1, -4, -1, -4}},
    +
    79  {6, 16, 0, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1}},
    +
    82  {7, 15, 0, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4}},
    +
    85  {8, 29, 1, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 4, 1, 4}},
    +
    88  {9, 36, 1, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1, -1, -4, -1, -4, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 4, 1, 4}},
    +
    91  {10, 30, 1, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 4, 1, 4}},
    +
    94  {11, 32, 1, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 4, 1, 4}},
    +
    97  {12, 31, 1, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 4, 1, 4}},
    +
    100  {13, 45, 1, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1, 1, 1, 1, 1, -4, -4, 4, 4, 1, -1, 4, -1, 4, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 4, 1, 4}},
    +
    103  {14, 44, 1, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1, 1, 1, 1, 1, -4, 4, 4, 1, -1, 4, -1, 4, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 4, 1, 4}},
    +
    106  {15, 18, 0, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1}},
    +
    108  {20, 19, 0, {1, 1, 1, 1, 1, -4, 4, 2, 4, 2, 1, 1, 1, 1, 1, 2, 1, 3, 2}},
    +
    110  {30, 5, 1, {1, 1, 1, 1, 1}},
    +
    112  {31, 5, 1, {1, 1, 1, 1, 1}},
    +
    115  {40, 16, 0, {1, 1, 2, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4}},
    +
    118  {41, 19, 0, {1, 1, 2, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1}},
    +
    122  {42, 30, 1, {1, 1, 2, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 4, 1, 4}},
    +
    126  {43,33, 1, {1, 1, 2, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 4, 1, 4}},
    +
    128  {254, 3, 0, {1, 1, 4}},
    +
    131  {1000, 9, 0, {1, 1, 1, 1, 1, 2, 1, 1, -4}},
    +
    134  {1001, 16, 0, {1, 1, 1, 1, 1, 2, 1, 1, 4, 4, 1, 1, 1, 4, 1, 4}},
    +
    137  {1002, 15, 0, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, 1, 1, 4, 4, 2}},
    +
    140  {1100, 15, 0, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4}},
    +
    143  {1101, 22, 0, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 4, 1, 1, 1, 4, 1, 4}},
    +
    145  {32, 10, 1, {1, 1, 1, 1, 1, 2, 1, 1, -2, 1}},
    +
    148  {44, 21, 0, {1, 1, 2, 1, -1, -4, -1, -4, 1, 1, 1, 2, 1, 1, -2, 1, -1, -4, 1, -1, -4}},
    +
    152  {45, 24, 0, {1, 1, 2, 1, -1, -4, -1, -4, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1}},
    +
    156  {46, 35, 1, {1, 1, 2, 1, -1, -4, -1, -4, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 4, 1, 4}},
    +
    160  {47, 38, 1, {1, 1, 1, 2, 1, -1, -4, -1, -4, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 4, 1, 4}},
    +
    164  {48, 26, 0, {1, 1, 2, 1, -1, -4, -1, -4, 1, -1, -4, -1, -4, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4}},
    +
    165 
    +
    169  {50, 21, 0, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 4, 4, 4, 4}},
    +
    170 
    +
    174  {52, 15, 0, {1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4}},
    +
    175 
    +
    178  {51, 16, 1, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1}},
    179 
    -
    182  {51,16,1, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1} },
    -
    183 
    -
    187  {91,36,1, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1,-1,-4,-1,-4,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
    -
    192  {33,18,1, {1,1,1,1,1,2,1,1,-4,1,2,2,2,-1,-4,1,1,1} },
    -
    197  {34,32,1, {1,1,1,1,1,2,1,1,-4,1,2,2,2,-1,-4,1,1,1,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
    -
    202  {53,19,1, {1,1,1,1,4,2,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4} },
    -
    207  {54,22,1, {1,1,1,1,4,2,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1} },
    -
    213  {57,7,1, {1,1,2,2,2,2,1} },
    -
    218  {60,24,0, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1,2,1,1,1,1,1} },
    -
    223  {61,38,1, {1,1,1,1,1,2,1,1,-4,1,-1,-4,1,-1,-4,1,1,1,2,1,1,1,1,1,2,1,1,1,1,1,1,4,1,1,1,4,1,4} },
    -
    229  {35,6,1, {1,1,1,1,1,1} }
    -
    230 
    -
    231 } ;
    -
    232 
    -
    245 static g2int
    - -
    247 {
    -
    248  g2int j, getpdsindex = -1;
    -
    249 
    -
    250  for (j = 0; j < MAXPDSTEMP; j++)
    -
    251  {
    -
    252  if (number == templatespds[j].template_num)
    -
    253  {
    -
    254  getpdsindex = j;
    -
    255  return getpdsindex;
    -
    256  }
    -
    257  }
    -
    258 
    -
    259  return getpdsindex;
    -
    260 }
    -
    261 
    -
    280 gtemplate *
    - -
    282 {
    -
    283  g2int index;
    -
    284  gtemplate *new;
    -
    285 
    -
    286  index = getpdsindex(number);
    -
    287 
    -
    288  if (index != -1)
    -
    289  {
    -
    290  new = malloc(sizeof(gtemplate));
    -
    291  new->type = 4;
    -
    292  new->num = templatespds[index].template_num;
    -
    293  new->maplen = templatespds[index].mappdslen;
    -
    294  new->needext = templatespds[index].needext;
    -
    295  new->map = (g2int *)templatespds[index].mappds;
    -
    296  new->extlen = 0;
    -
    297  new->ext = NULL;
    -
    298  return new;
    +
    183  {91, 36, 1, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1, -1, -4, -1, -4, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 4, 1, 4}},
    +
    188  {33, 18, 1, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, 2, 2, 2, -1, -4, 1, 1, 1}},
    +
    193  {34, 32, 1, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, 2, 2, 2, -1, -4, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 4, 1, 4}},
    +
    198  {53, 19, 1, {1, 1, 1, 1, 4, 2, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4}},
    +
    203  {54, 22, 1, {1, 1, 1, 1, 4, 2, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1}},
    +
    209  {57, 7, 1, {1, 1, 2, 2, 2, 2, 1}},
    +
    214  {60, 24, 0, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1, 2, 1, 1, 1, 1, 1}},
    +
    219  {61, 38, 1, {1, 1, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 4, 1, 4}},
    +
    225  {35, 6, 1, {1, 1, 1, 1, 1, 1}}
    +
    226 
    +
    227 } ;
    +
    228 
    +
    241 static g2int
    + +
    243 {
    +
    244  g2int j, getpdsindex = -1;
    +
    245 
    +
    246  for (j = 0; j < G2C_MAX_PDS_TEMPLATE; j++)
    +
    247  {
    +
    248  if (number == templatespds[j].template_num)
    +
    249  {
    +
    250  getpdsindex = j;
    +
    251  return getpdsindex;
    +
    252  }
    +
    253  }
    +
    254 
    +
    255  return getpdsindex;
    +
    256 }
    +
    257 
    +
    276 gtemplate *
    + +
    278 {
    +
    279  g2int index;
    +
    280  gtemplate *new;
    +
    281 
    +
    282  index = getpdsindex(number);
    +
    283 
    +
    284  if (index != -1)
    +
    285  {
    +
    286  new = malloc(sizeof(gtemplate));
    +
    287  new->type = 4;
    +
    288  new->num = templatespds[index].template_num;
    +
    289  new->maplen = templatespds[index].mappdslen;
    +
    290  new->needext = templatespds[index].needext;
    +
    291  new->map = (g2int *)templatespds[index].mappds;
    +
    292  new->extlen = 0;
    +
    293  new->ext = NULL;
    +
    294  return new;
    +
    295  }
    +
    296  else {
    +
    297  printf("getpdstemplate: PDS Template 4.%d not defined.\n", (int)number);
    +
    298  return NULL;
    299  }
    -
    300  else {
    -
    301  printf("getpdstemplate: PDS Template 4.%d not defined.\n", (int)number);
    -
    302  return NULL;
    -
    303  }
    -
    304 
    -
    305  return NULL;
    -
    306 }
    -
    307 
    -
    328 gtemplate *
    -
    329 extpdstemplate(g2int number, g2int *list)
    -
    330 {
    -
    331  gtemplate *new;
    -
    332  g2int index, i, j, k, l;
    +
    300 
    +
    301  return NULL;
    +
    302 }
    +
    303 
    +
    324 gtemplate *
    +
    325 extpdstemplate(g2int number, g2int *list)
    +
    326 {
    +
    327  gtemplate *new;
    +
    328  g2int index, i, j, k, l;
    +
    329 
    +
    330  index = getpdsindex(number);
    +
    331  if (index == -1)
    +
    332  return NULL;
    333 
    -
    334  index = getpdsindex(number);
    -
    335  if (index == -1)
    -
    336  return NULL;
    -
    337 
    -
    338  new = getpdstemplate(number);
    -
    339 
    -
    340  if (!new->needext)
    -
    341  return new;
    -
    342 
    -
    343  if (number == 3)
    -
    344  {
    -
    345  new->extlen = list[26];
    -
    346  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    347  for (i = 0; i < new->extlen; i++)
    -
    348  {
    -
    349  new->ext[i] = 1;
    -
    350  }
    -
    351  }
    -
    352  else if (number == 4)
    -
    353  {
    -
    354  new->extlen = list[25];
    -
    355  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    356  for (i = 0; i < new->extlen; i++)
    -
    357  {
    -
    358  new->ext[i] = 1;
    -
    359  }
    -
    360  }
    -
    361  else if (number == 8)
    -
    362  {
    -
    363  if (list[21] > 1)
    -
    364  {
    -
    365  new->extlen = (list[21] - 1) * 6;
    -
    366  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    367  for (j = 2; j <= list[21]; j++)
    -
    368  {
    -
    369  l = (j - 2) * 6;
    -
    370  for (k = 0; k < 6; k++)
    -
    371  {
    -
    372  new->ext[l+k] = new->map[23 + k];
    -
    373  }
    -
    374  }
    -
    375  }
    -
    376  }
    -
    377  else if (number == 9)
    -
    378  {
    -
    379  if (list[28] > 1)
    -
    380  {
    -
    381  new->extlen = (list[28] - 1) * 6;
    -
    382  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    383  for (j = 2; j <= list[28]; j++)
    -
    384  {
    -
    385  l = (j - 2) * 6;
    -
    386  for (k = 0; k < 6; k++)
    -
    387  {
    -
    388  new->ext[l + k] = new->map[30 + k];
    -
    389  }
    -
    390  }
    -
    391  }
    -
    392  }
    -
    393  else if (number == 10)
    -
    394  {
    -
    395  if (list[22] > 1)
    -
    396  {
    -
    397  new->extlen = (list[22] - 1) * 6;
    -
    398  new->ext = (g2int *)malloc(sizeof(g2int)*new->extlen);
    -
    399  for (j = 2; j <= list[22]; j++)
    -
    400  {
    -
    401  l = (j - 2) * 6;
    -
    402  for (k = 0; k < 6; k++)
    -
    403  {
    -
    404  new->ext[l + k] = new->map[24 + k];
    -
    405  }
    -
    406  }
    -
    407  }
    -
    408  }
    -
    409  else if (number == 11)
    -
    410  {
    -
    411  if (list[24] > 1)
    -
    412  {
    -
    413  new->extlen = (list[24] - 1) * 6;
    -
    414  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    415  for (j = 2; j <= list[24]; j++)
    -
    416  {
    -
    417  l = (j - 2) * 6;
    -
    418  for (k = 0; k < 6; k++)
    -
    419  {
    -
    420  new->ext[l + k] = new->map[26 + k];
    -
    421  }
    -
    422  }
    -
    423  }
    -
    424  }
    -
    425  else if (number == 12)
    -
    426  {
    -
    427  if (list[23] > 1)
    -
    428  {
    -
    429  new->extlen = (list[23] - 1) * 6;
    -
    430  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    431  for (j = 2; j <= list[23]; j++)
    -
    432  {
    -
    433  l = (j - 2) * 6;
    -
    434  for (k = 0; k < 6; k++)
    -
    435  {
    -
    436  new->ext[l + k] = new->map[25 + k];
    -
    437  }
    -
    438  }
    -
    439  }
    -
    440  }
    -
    441  else if (number == 13)
    -
    442  {
    -
    443  new->extlen = ((list[37] - 1) * 6) + list[26];
    -
    444  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    445  if (list[37] > 1)
    -
    446  {
    -
    447  for (j = 2; j <= list[37]; j++)
    -
    448  {
    -
    449  l = (j - 2) * 6;
    -
    450  for (k = 0; k < 6; k++)
    -
    451  {
    -
    452  new->ext[l + k] = new->map[39 + k];
    -
    453  }
    -
    454  }
    -
    455  }
    -
    456  l = (list[37] - 1) * 6;
    -
    457  if (l < 0)
    -
    458  l = 0;
    -
    459  for (i = 0; i < list[26]; i++)
    -
    460  {
    -
    461  new->ext[l+i] = 1;
    -
    462  }
    -
    463  }
    -
    464  else if (number == 14)
    -
    465  {
    -
    466  new->extlen = ((list[36] - 1) * 6) + list[25];
    -
    467  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    468  if (list[36] > 1)
    -
    469  {
    -
    470  for (j = 2; j <= list[36]; j++)
    -
    471  {
    -
    472  l = (j - 2) * 6;
    -
    473  for (k = 0; k < 6; k++)
    -
    474  {
    -
    475  new->ext[l + k] = new->map[38 + k];
    -
    476  }
    -
    477  }
    -
    478  }
    -
    479  l = (list[36] - 1) * 6;
    -
    480  if (l < 0)
    -
    481  l = 0;
    -
    482  for (i = 0; i < list[25]; i++)
    -
    483  {
    -
    484  new->ext[l + i] = 1;
    -
    485  }
    -
    486  }
    -
    487  else if (number == 30)
    -
    488  {
    -
    489  new->extlen = list[4] * 5;
    -
    490  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    491  for (i = 0;i < list[4]; i++)
    -
    492  {
    -
    493  l = i * 5;
    -
    494  new->ext[l] = 2;
    -
    495  new->ext[l + 1] = 2;
    -
    496  new->ext[l + 2] = 1;
    -
    497  new->ext[l + 3] = 1;
    -
    498  new->ext[l + 4] = 4;
    -
    499  }
    -
    500  }
    -
    501  else if (number == 31)
    -
    502  {
    -
    503  new->extlen = list[4] * 5;
    -
    504  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    505  for (i = 0; i < list[4]; i++)
    -
    506  {
    -
    507  l = i*5;
    -
    508  new->ext[l] = 2;
    -
    509  new->ext[l + 1] = 2;
    -
    510  new->ext[l + 2] = 2;
    -
    511  new->ext[l + 3] = 1;
    -
    512  new->ext[l + 4] = 4;
    -
    513  }
    -
    514  }
    -
    515  else if (number == 42)
    -
    516  {
    -
    517  if (list[22] > 1)
    -
    518  {
    -
    519  new->extlen = (list[22] - 1) * 6;
    -
    520  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    521  for (j = 2; j <= list[22]; j++)
    -
    522  {
    -
    523  l = (j - 2) * 6;
    -
    524  for (k = 0; k < 6; k++)
    -
    525  {
    -
    526  new->ext[l + k] = new->map[24 + k];
    -
    527  }
    -
    528  }
    -
    529  }
    -
    530  }
    -
    531  else if (number == 43)
    -
    532  {
    -
    533  if (list[25] > 1)
    -
    534  {
    -
    535  new->extlen = (list[25] - 1) * 6;
    -
    536  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    537  for (j = 2; j <= list[25]; j++)
    -
    538  {
    -
    539  l = (j - 2) * 6;
    -
    540  for (k = 0; k < 6; k++)
    -
    541  {
    -
    542  new->ext[l + k] = new->map[27 + k];
    -
    543  }
    -
    544  }
    -
    545  }
    -
    546  }
    -
    547  else if (number == 32)
    -
    548  {
    -
    549  new->extlen = list[9] * 10;
    -
    550  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    551  for (i = 0; i < list[9]; i++)
    -
    552  {
    -
    553  l = i * 5;
    -
    554  new->ext[l] = 2;
    -
    555  new->ext[l + 1] = 2;
    -
    556  new->ext[l + 2] = 2;
    -
    557  new->ext[l + 3] = -1;
    -
    558  new->ext[l + 4] = -4;
    -
    559  }
    -
    560  }
    -
    561  else if (number == 46)
    -
    562  {
    -
    563  if (list[27] > 1)
    -
    564  {
    -
    565  new->extlen = (list[27] - 1) * 6;
    -
    566  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    567  for (j = 2; j <= list[27]; j++)
    -
    568  {
    -
    569  l = (j - 2) * 6;
    -
    570  for (k = 0; k < 6; k++)
    -
    571  {
    -
    572  new->ext[l + k] = new->map[29 + k];
    -
    573  }
    -
    574  }
    -
    575  }
    -
    576  }
    -
    577  else if (number == 47)
    -
    578  {
    -
    579  if (list[30] > 1)
    -
    580  {
    -
    581  new->extlen = (list[30] - 1) * 6;
    -
    582  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    583  for (j = 2; j <= list[30]; j++)
    -
    584  {
    -
    585  l = (j - 2) * 6;
    -
    586  for (k = 0; k < 6; k++)
    -
    587  {
    -
    588  new->ext[l + k] = new->map[32 + k];
    -
    589  }
    -
    590  }
    -
    591  }
    -
    592  }
    -
    593  else if (number == 51)
    -
    594  {
    -
    595  new->extlen = list[15]*11;
    -
    596  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    597  for (i = 0; i < list[15]; i++)
    -
    598  {
    -
    599  l = i * 6;
    -
    600  new->ext[l] = 1;
    -
    601  new->ext[l+1] = 1;
    -
    602  new->ext[l+2] = -1;
    -
    603  new->ext[l+3] = -4;
    -
    604  new->ext[l+4] = -1;
    -
    605  new->ext[l+5] = -4;
    -
    606  }
    -
    607  }
    -
    608  else if (number == 33)
    -
    609  {
    -
    610  new->extlen = list[9];
    -
    611  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    612  for (i = 0; i < new->extlen; i++)
    -
    613  {
    -
    614  new->ext[i] = 1;
    -
    615  }
    -
    616  }
    -
    617  else if (number == 34)
    -
    618  {
    -
    619  new->extlen = ((list[24] - 1) * 6)+list[9];
    -
    620  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    621  if (list[24] > 1)
    -
    622  {
    -
    623  for (j = 2; j <= list[24]; j++)
    -
    624  {
    -
    625  l = (j - 2) * 6;
    -
    626  for (k = 0; k < 6; k++)
    -
    627  {
    -
    628  new->ext[l + k] = new->map[26 + k];
    -
    629  }
    -
    630  }
    -
    631  }
    -
    632  l = (list[24] - 1) * 6;
    -
    633  if (l < 0)
    -
    634  l = 0;
    -
    635  for (i = 0; i < list[9]; i++)
    -
    636  {
    -
    637  new->ext[l + i] = 1;
    -
    638  }
    -
    639  }
    -
    640  else if (number == 53)
    -
    641  {
    -
    642  new->extlen = list[3];
    -
    643  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    644  for (i = 0; i < new->extlen; i++)
    -
    645  {
    -
    646  new->ext[i] = 1;
    -
    647  }
    -
    648  }
    -
    649  else if (number == 54)
    -
    650  {
    -
    651  new->extlen = list[3];
    -
    652  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    653  for (i = 0;i<new->extlen;i++)
    -
    654  {
    -
    655  new->ext[i] = 1;
    -
    656  }
    -
    657  }
    -
    658  else if (number == 91)
    -
    659  {
    -
    660  new->extlen = ((list[28] - 1) * 6)+list[15];
    -
    661  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    662  if (list[28] > 1)
    -
    663  {
    -
    664  for (j = 2; j <= list[28]; j++)
    -
    665  {
    -
    666  l = (j - 2) * 6;
    -
    667  for (k = 0; k < 6; k++)
    -
    668  {
    -
    669  new->ext[l + k] = new->map[30 + k];
    -
    670  }
    -
    671  }
    -
    672  }
    -
    673  l = (list[29] - 1) * 6;
    -
    674  if (l < 0)
    -
    675  l = 0;
    -
    676  for (i = 0; i < list[15]; i++)
    -
    677  {
    -
    678  new->ext[l + i] = 1;
    -
    679  }
    -
    680  }
    -
    681  /* PDT 4.57 (10/07/2015) */
    -
    682  else if (number == 57)
    -
    683  {
    -
    684  new->extlen = list[6] * 15;
    -
    685  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    686  for (i = 0; i < list[6]; i++)
    -
    687  {
    -
    688  l = i*15;
    -
    689  new->ext[l] = 1;
    -
    690  new->ext[l+1] = -4;
    -
    691  new->ext[l+2] = 1;
    -
    692  new->ext[l+3] = 1;
    -
    693  new->ext[l+4] = 1;
    -
    694  new->ext[l+5] = 2;
    -
    695  new->ext[l+6] = 1;
    -
    696  new->ext[l+7] = 1;
    -
    697  new->ext[l+8] = -4;
    -
    698  new->ext[l+9] = 1;
    -
    699  new->ext[l+10] = -1;
    -
    700  new->ext[l+11] = -4;
    -
    701  new->ext[l+12] = 1;
    -
    702  new->ext[l+13] = -1;
    -
    703  new->ext[l+14] = -4;
    -
    704  }
    -
    705  }
    -
    706  /* PDT 4.61 (10/07/2015) */
    -
    707  else if (number == 61)
    -
    708  {
    -
    709  if (list[30] > 1)
    -
    710  {
    -
    711  new->extlen = (list[30] - 1) * 6;
    -
    712  new->ext = malloc(sizeof(g2int) * new->extlen);
    -
    713  for (j = 2; j <= list[30]; j++)
    -
    714  {
    -
    715  l = (j - 2) * 6;
    -
    716  for (k = 0; k < 6; k++)
    -
    717  {
    -
    718  new->ext[l + k] = new->map[32 + k];
    -
    719  }
    -
    720  }
    -
    721  }
    -
    722  }
    -
    723 
    -
    724  return new;
    -
    725 }
    +
    334  new = getpdstemplate(number);
    +
    335 
    +
    336  if (!new->needext)
    +
    337  return new;
    +
    338 
    +
    339  if (number == 3)
    +
    340  {
    +
    341  new->extlen = list[26];
    +
    342  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    343  for (i = 0; i < new->extlen; i++)
    +
    344  {
    +
    345  new->ext[i] = 1;
    +
    346  }
    +
    347  }
    +
    348  else if (number == 4)
    +
    349  {
    +
    350  new->extlen = list[25];
    +
    351  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    352  for (i = 0; i < new->extlen; i++)
    +
    353  {
    +
    354  new->ext[i] = 1;
    +
    355  }
    +
    356  }
    +
    357  else if (number == 8)
    +
    358  {
    +
    359  if (list[21] > 1)
    +
    360  {
    +
    361  new->extlen = (list[21] - 1) * 6;
    +
    362  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    363  for (j = 2; j <= list[21]; j++)
    +
    364  {
    +
    365  l = (j - 2) * 6;
    +
    366  for (k = 0; k < 6; k++)
    +
    367  {
    +
    368  new->ext[l+k] = new->map[23 + k];
    +
    369  }
    +
    370  }
    +
    371  }
    +
    372  }
    +
    373  else if (number == 9)
    +
    374  {
    +
    375  if (list[28] > 1)
    +
    376  {
    +
    377  new->extlen = (list[28] - 1) * 6;
    +
    378  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    379  for (j = 2; j <= list[28]; j++)
    +
    380  {
    +
    381  l = (j - 2) * 6;
    +
    382  for (k = 0; k < 6; k++)
    +
    383  {
    +
    384  new->ext[l + k] = new->map[30 + k];
    +
    385  }
    +
    386  }
    +
    387  }
    +
    388  }
    +
    389  else if (number == 10)
    +
    390  {
    +
    391  if (list[22] > 1)
    +
    392  {
    +
    393  new->extlen = (list[22] - 1) * 6;
    +
    394  new->ext = (g2int *)malloc(sizeof(g2int)*new->extlen);
    +
    395  for (j = 2; j <= list[22]; j++)
    +
    396  {
    +
    397  l = (j - 2) * 6;
    +
    398  for (k = 0; k < 6; k++)
    +
    399  {
    +
    400  new->ext[l + k] = new->map[24 + k];
    +
    401  }
    +
    402  }
    +
    403  }
    +
    404  }
    +
    405  else if (number == 11)
    +
    406  {
    +
    407  if (list[24] > 1)
    +
    408  {
    +
    409  new->extlen = (list[24] - 1) * 6;
    +
    410  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    411  for (j = 2; j <= list[24]; j++)
    +
    412  {
    +
    413  l = (j - 2) * 6;
    +
    414  for (k = 0; k < 6; k++)
    +
    415  {
    +
    416  new->ext[l + k] = new->map[26 + k];
    +
    417  }
    +
    418  }
    +
    419  }
    +
    420  }
    +
    421  else if (number == 12)
    +
    422  {
    +
    423  if (list[23] > 1)
    +
    424  {
    +
    425  new->extlen = (list[23] - 1) * 6;
    +
    426  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    427  for (j = 2; j <= list[23]; j++)
    +
    428  {
    +
    429  l = (j - 2) * 6;
    +
    430  for (k = 0; k < 6; k++)
    +
    431  {
    +
    432  new->ext[l + k] = new->map[25 + k];
    +
    433  }
    +
    434  }
    +
    435  }
    +
    436  }
    +
    437  else if (number == 13)
    +
    438  {
    +
    439  new->extlen = ((list[37] - 1) * 6) + list[26];
    +
    440  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    441  if (list[37] > 1)
    +
    442  {
    +
    443  for (j = 2; j <= list[37]; j++)
    +
    444  {
    +
    445  l = (j - 2) * 6;
    +
    446  for (k = 0; k < 6; k++)
    +
    447  {
    +
    448  new->ext[l + k] = new->map[39 + k];
    +
    449  }
    +
    450  }
    +
    451  }
    +
    452  l = (list[37] - 1) * 6;
    +
    453  if (l < 0)
    +
    454  l = 0;
    +
    455  for (i = 0; i < list[26]; i++)
    +
    456  {
    +
    457  new->ext[l+i] = 1;
    +
    458  }
    +
    459  }
    +
    460  else if (number == 14)
    +
    461  {
    +
    462  new->extlen = ((list[36] - 1) * 6) + list[25];
    +
    463  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    464  if (list[36] > 1)
    +
    465  {
    +
    466  for (j = 2; j <= list[36]; j++)
    +
    467  {
    +
    468  l = (j - 2) * 6;
    +
    469  for (k = 0; k < 6; k++)
    +
    470  {
    +
    471  new->ext[l + k] = new->map[38 + k];
    +
    472  }
    +
    473  }
    +
    474  }
    +
    475  l = (list[36] - 1) * 6;
    +
    476  if (l < 0)
    +
    477  l = 0;
    +
    478  for (i = 0; i < list[25]; i++)
    +
    479  {
    +
    480  new->ext[l + i] = 1;
    +
    481  }
    +
    482  }
    +
    483  else if (number == 30)
    +
    484  {
    +
    485  new->extlen = list[4] * 5;
    +
    486  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    487  for (i = 0;i < list[4]; i++)
    +
    488  {
    +
    489  l = i * 5;
    +
    490  new->ext[l] = 2;
    +
    491  new->ext[l + 1] = 2;
    +
    492  new->ext[l + 2] = 1;
    +
    493  new->ext[l + 3] = 1;
    +
    494  new->ext[l + 4] = 4;
    +
    495  }
    +
    496  }
    +
    497  else if (number == 31)
    +
    498  {
    +
    499  new->extlen = list[4] * 5;
    +
    500  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    501  for (i = 0; i < list[4]; i++)
    +
    502  {
    +
    503  l = i*5;
    +
    504  new->ext[l] = 2;
    +
    505  new->ext[l + 1] = 2;
    +
    506  new->ext[l + 2] = 2;
    +
    507  new->ext[l + 3] = 1;
    +
    508  new->ext[l + 4] = 4;
    +
    509  }
    +
    510  }
    +
    511  else if (number == 42)
    +
    512  {
    +
    513  if (list[22] > 1)
    +
    514  {
    +
    515  new->extlen = (list[22] - 1) * 6;
    +
    516  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    517  for (j = 2; j <= list[22]; j++)
    +
    518  {
    +
    519  l = (j - 2) * 6;
    +
    520  for (k = 0; k < 6; k++)
    +
    521  {
    +
    522  new->ext[l + k] = new->map[24 + k];
    +
    523  }
    +
    524  }
    +
    525  }
    +
    526  }
    +
    527  else if (number == 43)
    +
    528  {
    +
    529  if (list[25] > 1)
    +
    530  {
    +
    531  new->extlen = (list[25] - 1) * 6;
    +
    532  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    533  for (j = 2; j <= list[25]; j++)
    +
    534  {
    +
    535  l = (j - 2) * 6;
    +
    536  for (k = 0; k < 6; k++)
    +
    537  {
    +
    538  new->ext[l + k] = new->map[27 + k];
    +
    539  }
    +
    540  }
    +
    541  }
    +
    542  }
    +
    543  else if (number == 32)
    +
    544  {
    +
    545  new->extlen = list[9] * 5;
    +
    546  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    547  for (i = 0; i < list[9]; i++)
    +
    548  {
    +
    549  l = i * 5;
    +
    550  new->ext[l] = 2;
    +
    551  new->ext[l + 1] = 2;
    +
    552  new->ext[l + 2] = 2;
    +
    553  new->ext[l + 3] = -1;
    +
    554  new->ext[l + 4] = -4;
    +
    555  }
    +
    556  }
    +
    557  else if (number == 46)
    +
    558  {
    +
    559  if (list[27] > 1)
    +
    560  {
    +
    561  new->extlen = (list[27] - 1) * 6;
    +
    562  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    563  for (j = 2; j <= list[27]; j++)
    +
    564  {
    +
    565  l = (j - 2) * 6;
    +
    566  for (k = 0; k < 6; k++)
    +
    567  {
    +
    568  new->ext[l + k] = new->map[29 + k];
    +
    569  }
    +
    570  }
    +
    571  }
    +
    572  }
    +
    573  else if (number == 47)
    +
    574  {
    +
    575  if (list[30] > 1)
    +
    576  {
    +
    577  new->extlen = (list[30] - 1) * 6;
    +
    578  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    579  for (j = 2; j <= list[30]; j++)
    +
    580  {
    +
    581  l = (j - 2) * 6;
    +
    582  for (k = 0; k < 6; k++)
    +
    583  {
    +
    584  new->ext[l + k] = new->map[32 + k];
    +
    585  }
    +
    586  }
    +
    587  }
    +
    588  }
    +
    589  else if (number == 51)
    +
    590  {
    +
    591  new->extlen = list[15] * 6;
    +
    592  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    593  for (i = 0; i < list[15]; i++)
    +
    594  {
    +
    595  l = i * 6;
    +
    596  new->ext[l] = 1;
    +
    597  new->ext[l+1] = 1;
    +
    598  new->ext[l+2] = -1;
    +
    599  new->ext[l+3] = -4;
    +
    600  new->ext[l+4] = -1;
    +
    601  new->ext[l+5] = -4;
    +
    602  }
    +
    603  }
    +
    604  else if (number == 33)
    +
    605  {
    +
    606  new->extlen = list[9];
    +
    607  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    608  for (i = 0; i < new->extlen; i++)
    +
    609  {
    +
    610  new->ext[i] = 1;
    +
    611  }
    +
    612  }
    +
    613  else if (number == 34)
    +
    614  {
    +
    615  new->extlen = ((list[24] - 1) * 6)+list[9];
    +
    616  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    617  if (list[24] > 1)
    +
    618  {
    +
    619  for (j = 2; j <= list[24]; j++)
    +
    620  {
    +
    621  l = (j - 2) * 6;
    +
    622  for (k = 0; k < 6; k++)
    +
    623  {
    +
    624  new->ext[l + k] = new->map[26 + k];
    +
    625  }
    +
    626  }
    +
    627  }
    +
    628  l = (list[24] - 1) * 6;
    +
    629  if (l < 0)
    +
    630  l = 0;
    +
    631  for (i = 0; i < list[9]; i++)
    +
    632  {
    +
    633  new->ext[l + i] = 1;
    +
    634  }
    +
    635  }
    +
    636  else if (number == 53)
    +
    637  {
    +
    638  new->extlen = list[3];
    +
    639  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    640  for (i = 0; i < new->extlen; i++)
    +
    641  {
    +
    642  new->ext[i] = 1;
    +
    643  }
    +
    644  }
    +
    645  else if (number == 54)
    +
    646  {
    +
    647  new->extlen = list[3];
    +
    648  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    649  for (i = 0;i<new->extlen;i++)
    +
    650  {
    +
    651  new->ext[i] = 1;
    +
    652  }
    +
    653  }
    +
    654  else if (number == 91)
    +
    655  {
    +
    656  new->extlen = ((list[28] - 1) * 6)+list[15];
    +
    657  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    658  if (list[28] > 1)
    +
    659  {
    +
    660  for (j = 2; j <= list[28]; j++)
    +
    661  {
    +
    662  l = (j - 2) * 6;
    +
    663  for (k = 0; k < 6; k++)
    +
    664  {
    +
    665  new->ext[l + k] = new->map[30 + k];
    +
    666  }
    +
    667  }
    +
    668  }
    +
    669  l = (list[29] - 1) * 6;
    +
    670  if (l < 0)
    +
    671  l = 0;
    +
    672  for (i = 0; i < list[15]; i++)
    +
    673  {
    +
    674  new->ext[l + i] = 1;
    +
    675  }
    +
    676  }
    +
    677  /* PDT 4.57 (10/07/2015) */
    +
    678  else if (number == 57)
    +
    679  {
    +
    680  new->extlen = list[6] * 15;
    +
    681  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    682  for (i = 0; i < list[6]; i++)
    +
    683  {
    +
    684  l = i*15;
    +
    685  new->ext[l] = 1;
    +
    686  new->ext[l+1] = -4;
    +
    687  new->ext[l+2] = 1;
    +
    688  new->ext[l+3] = 1;
    +
    689  new->ext[l+4] = 1;
    +
    690  new->ext[l+5] = 2;
    +
    691  new->ext[l+6] = 1;
    +
    692  new->ext[l+7] = 1;
    +
    693  new->ext[l+8] = -4;
    +
    694  new->ext[l+9] = 1;
    +
    695  new->ext[l+10] = -1;
    +
    696  new->ext[l+11] = -4;
    +
    697  new->ext[l+12] = 1;
    +
    698  new->ext[l+13] = -1;
    +
    699  new->ext[l+14] = -4;
    +
    700  }
    +
    701  }
    +
    702  /* PDT 4.61 (10/07/2015) */
    +
    703  else if (number == 61)
    +
    704  {
    +
    705  if (list[30] > 1)
    +
    706  {
    +
    707  new->extlen = (list[30] - 1) * 6;
    +
    708  new->ext = malloc(sizeof(g2int) * new->extlen);
    +
    709  for (j = 2; j <= list[30]; j++)
    +
    710  {
    +
    711  l = (j - 2) * 6;
    +
    712  for (k = 0; k < 6; k++)
    +
    713  {
    +
    714  new->ext[l + k] = new->map[32 + k];
    +
    715  }
    +
    716  }
    +
    717  }
    +
    718  }
    +
    719 
    +
    720  return new;
    +
    721 }
    +
    722 
    +
    740 int
    +
    741 g2c_get_pds_template_extension(int pds_template_num, int *template,
    +
    742  int *extlen, int *ext)
    +
    743 {
    +
    744  int j, t;
    +
    745 
    +
    746  /* Check input. */
    +
    747  if (!template)
    +
    748  return G2C_EINVAL;
    +
    749 
    +
    750  /* Look through the array of templates to find a matching one. */
    +
    751  for (j = 0; j < G2C_MAX_PDS_TEMPLATE; j++)
    +
    752  {
    +
    753  if (pds_template_num == templatespds[j].template_num)
    +
    754  {
    +
    755  /* Is there an extension to this template? */
    +
    756  if (templatespds[j].needext)
    +
    757  {
    +
    758  gtemplate *gt;
    +
    759  g2int *template8;
    +
    760  int e;
    +
    761 
    +
    762  /* Copy template to g2int for extpdstemplate() function. */
    +
    763  if (!(template8 = malloc(sizeof(g2int) * templatespds[j].mappdslen)))
    +
    764  return G2C_ENOMEM;
    +
    765  for (t = 0; t < templatespds[j].mappdslen; t++)
    +
    766  template8[t] = template[t];
    +
    767  if (!(gt = extpdstemplate(pds_template_num, template8)))
    +
    768  return G2C_ENOTEMPLATE;
    +
    769  free(template8);
    +
    770  if (extlen)
    +
    771  *extlen = gt->extlen;
    +
    772  if (ext)
    +
    773  for (e = 0; e < gt->extlen; e++)
    +
    774  ext[e] = gt->ext[e];
    +
    775  free(gt->ext);
    +
    776  free(gt);
    +
    777  }
    +
    778  else
    +
    779  {
    +
    780  if (extlen)
    +
    781  *extlen = 0;
    +
    782  }
    +
    783 
    +
    784  /* Done. */
    +
    785  return G2C_NOERROR;
    +
    786  }
    +
    787  }
    +
    788 
    +
    789  /* If we didn't find a template, return an error. */
    +
    790  return G2C_ENOTEMPLATE;
    +
    791 }
    +
    792 
    +
    815 int
    +
    816 g2c_get_pds_template(int pds_template_num, int *maplen, int *map, int *needext)
    +
    817 {
    +
    818  int j, m;
    +
    819 
    +
    820  /* Look through the array of templates to find a matching one. */
    +
    821  for (j = 0; j < G2C_MAX_PDS_TEMPLATE; j++)
    +
    822  {
    +
    823  if (pds_template_num == templatespds[j].template_num)
    +
    824  {
    +
    825  /* Copy maplen and map if the caller wants them. */
    +
    826  if (maplen)
    +
    827  *maplen = templatespds[j].mappdslen;
    +
    828  if (map)
    +
    829  for (m = 0; m < templatespds[j].mappdslen; m++)
    +
    830  map[m] = templatespds[j].mappds[m];
    +
    831  if (needext)
    +
    832  *needext = templatespds[j].needext;
    +
    833 
    +
    834  /* Done. */
    +
    835  return G2C_NOERROR;
    +
    836  }
    +
    837  }
    +
    838 
    +
    839  /* If we didn't find a template, return an error. */
    +
    840  return G2C_ENOTEMPLATE;
    +
    841 }
    +
    842 
    +
    843 
    +
    #define G2C_MAX_PDS_TEMPLATE
    Maximum number of PDS templates.
    Definition: grib2.h:303
    +
    #define G2C_ENOTEMPLATE
    Template not found.
    Definition: grib2.h:497
    +
    #define G2C_ENOMEM
    Out of memory.
    Definition: grib2.h:485
    +
    #define G2C_EINVAL
    Invalid input.
    Definition: grib2.h:481
    +
    #define G2C_MAX_PDS_TEMPLATE_MAPLEN
    Maximum template map length.
    Definition: grib2.h:304
    +
    int64_t g2int
    Long integer type.
    Definition: grib2.h:31
    +
    #define G2C_NOERROR
    No error.
    Definition: grib2.h:476
    +
    Header file with internal function prototypes NCEPLIBS-g2c library.
    +
    g2int * ext
    Number of octets of each entry in the extension part of the template.
    Definition: grib2_int.h:300
    +
    g2int extlen
    Number of entries in the template extension.
    Definition: grib2_int.h:296
    +
    Struct for GRIB template, returned by getgridtemplate().
    Definition: grib2_int.h:276
    +
    static g2int getpdsindex(g2int number)
    This function returns the index of specified Product Definition Template in array templates.
    Definition: pdstemplates.c:242
    +
    int g2c_get_pds_template(int pds_template_num, int *maplen, int *map, int *needext)
    Get PDS template information.
    Definition: pdstemplates.c:816
    +
    gtemplate * extpdstemplate(g2int number, g2int *list)
    This subroutine generates the remaining octet map for a given Product Definition Template,...
    Definition: pdstemplates.c:325
    +
    int g2c_get_pds_template_extension(int pds_template_num, int *template, int *extlen, int *ext)
    Get pds template extension information.
    Definition: pdstemplates.c:741
    +
    static const struct pdstemplate templatespds[G2C_MAX_PDS_TEMPLATE]
    Data for struct for PDS template.
    Definition: pdstemplates.c:57
    +
    gtemplate * getpdstemplate(g2int number)
    This subroutine returns PDS template information for a specified Product Definition Template.
    Definition: pdstemplates.c:277
    -
    gtemplate * getpdstemplate(g2int number)
    This subroutine returns PDS template information for a specified Product Definition Template.
    Definition: pdstemplates.c:281
    -
    static const struct pdstemplate templatespds[MAXPDSTEMP]
    Data for struct for PDS template.
    Definition: pdstemplates.c:61
    -
    #define MAXPDSMAPLEN
    Maximum template map length.
    Definition: pdstemplates.c:45
    -
    static g2int getpdsindex(g2int number)
    This function returns the index of specified Product Definition Template in array templates.
    Definition: pdstemplates.c:246
    -
    Header file with internal function prototypes NCEPLIBS-g2c library.
    -
    gtemplate * extpdstemplate(g2int number, g2int *list)
    This subroutine generates the remaining octet map for a given Product Definition Template,...
    Definition: pdstemplates.c:329
    -
    int64_t g2int
    Long integer type.
    Definition: grib2.h:28
    -
    Struct for GRIB template.
    Definition: grib2_int.h:28
    -
    #define MAXPDSTEMP
    Maximum number of templates.
    Definition: pdstemplates.c:44
    diff --git a/pngpack_8c.html b/pngpack_8c.html index 50445cfb..6e60fb97 100644 --- a/pngpack_8c.html +++ b/pngpack_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: pngpack.c File Reference @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -99,15 +99,18 @@ + + + + + + - - - - - - + + +

    Functions

    int g2c_pngpackd (double *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, int *lcpack)
     This subroutine packs up a double data field into PNG image format. More...
     
    int g2c_pngpackf (float *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, int *lcpack)
     This subroutine packs up a float data field into PNG image format. More...
     
    void pngpack (float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
     This subroutine packs up a float data field into PNG image format. More...
     
    static void pngpack_int (void *fld, int fld_is_double, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
     This internal function packs up float or double data into PNG image format. More...
     
    void pngpackd (double *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
     This subroutine packs up a double data field into PNG image format. More...
     
    static int pngpack_int (void *fld, int fld_is_double, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack, int verbose)
     This internal function packs up float or double data into PNG image format. More...
     

    Detailed Description

    Function to pack data with PNG compression.

    @@ -116,34 +119,34 @@

    Definition in file pngpack.c.

    Function Documentation

    - -

    ◆ pngpack()

    + +

    ◆ g2c_pngpackd()

    - + - + - + - + - + @@ -155,7 +158,7 @@

    - + @@ -166,11 +169,11 @@

    -

    This subroutine packs up a float data field into PNG image format.

    +

    This subroutine packs up a double data field into PNG image format.

    After the data field is scaled, and the reference value is subtracted out, it is treated as a grayscale image and passed to a PNG encoder. It also fills in GRIB2 Data Representation Template 5.41 or 5.40010 with the appropriate values.

    Parameters

    void pngpack int g2c_pngpackd (float * double *  fld,
    g2int size_t  width,
    g2int size_t  height,
    g2intint *  idrstmpl,
    g2intint *  lcpack 
    - + @@ -34,10 +34,10 @@
    fldPointer to array of float that contains the data values to pack.
    fldPointer to array of double that contains the data values to pack.
    widthNumber of points in the x direction.
    heightNumber of points in the y direction.
    idrstmplContains the array of values for Data Representation Template 5.41 or 5.40010.
      @@ -186,38 +189,114 @@

      Author
      Stephen Gilbert
      -
      Date
      2003-08-27
      +
      Returns
      +
      Author
      Ed Hartnett
      +
      Date
      Aug 8, 2022
      -

      Definition at line 224 of file pngpack.c.

      - -

      References pngpack_int().

      +

      Definition at line 336 of file pngpack.c.

      -

      Referenced by g2_addfield().

      +

      References G2C_PNG_DRS_TEMPLATE_LEN, and pngpack_int().

      - -

      ◆ pngpack_int()

      + +

      ◆ g2c_pngpackf()

      - - - @@ -34,10 +34,10 @@
      - + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      static void pngpack_int int g2c_pngpackf (void * float *  fld,
      int fld_is_double, size_t width,
      size_t height,
      int * idrstmpl,
      unsigned char * cpack,
      int * lcpack 
      )
      +
      + +

      This subroutine packs up a float data field into PNG image format.

      +

      After the data field is scaled, and the reference value is subtracted out, it is treated as a grayscale image and passed to a PNG encoder. It also fills in GRIB2 Data Representation Template 5.41 or 5.40010 with the appropriate values.

      +
      Parameters
      + + + + + + + +
      fldPointer to array of float that contains the data values to pack.
      widthNumber of points in the x direction.
      heightNumber of points in the y direction.
      idrstmplContains the array of values for Data Representation Template 5.41 or 5.40010.
        +
      • 0 Reference value - ignored on input, set by pngpack routine.
      • +
      • 1 Binary Scale Factor - used on input.
      • +
      • 2 Decimal Scale Factor - used on input.
      • +
      • 3 number of bits for each grayscale pixel value - ignored on input.
      • +
      • 4 Original field type - currently ignored on input, set = 0 on output. Data values assumed to be reals.
      • +
      +
      cpackThe packed data field.
      lcpacklength of packed field cpack.
      +
      +
      +
      Returns
      +
      +
      Author
      Ed Hartnett
      + +

      Definition at line 282 of file pngpack.c.

      + +

      References G2C_PNG_DRS_TEMPLATE_LEN, and pngpack_int().

      + +
      + + +

      ◆ pngpack()

      + +
      +
      + + + + + + @@ -255,20 +334,13 @@

      -static -

      -
      void pngpack (float * fld,
      -

      This internal function packs up float or double data into PNG image format.

      -

      This is called by pngpack() and pngpackd().

      +

      This subroutine packs up a float data field into PNG image format.

      After the data field is scaled, and the reference value is subtracted out, it is treated as a grayscale image and passed to a PNG encoder. It also fills in GRIB2 Data Representation Template 5.41 or 5.40010 with the appropriate values.

      Parameters
      - - + - +
      fldPointer to array of float or double that contains the data values to pack.
      fld_is_doubleIf non-zero, then fld is double, otherwise float.
      fldPointer to array of float that contains the data values to pack.
      widthNumber of points in the x direction.
      heightNumber of points in the y direction.
      idrstmplContains the array of values for Data Representation Template 5.41 or 5.40010.
        @@ -280,34 +352,43 @@

        cpack

      The packed data field.
      lcpacklength of packed field cpack.
      lcpacklength of packed field cpack.
      -
      Returns
      void
      +
      Author
      Stephen Gilbert
      +
      Date
      2003-08-27
      Author
      Ed Hartnett
      -
      Date
      Aug 8, 2022
      -

      Definition at line 41 of file pngpack.c.

      +

      Definition at line 242 of file pngpack.c.

      -

      References ALOG2, enc_png(), int_power(), LOG, mkieee(), and sbits().

      +

      References pngpack_int().

      -

      Referenced by pngpack(), and pngpackd().

      +

      Referenced by g2_addfield().

      - -

      ◆ pngpackd()

      + +

      ◆ pngpack_int()

      + + + @@ -34,10 +34,10 @@
      - + - + + + + + + + @@ -336,7 +417,13 @@

      - + + + + + + + @@ -344,15 +431,22 @@

      +static +

      +
      void pngpackd static int pngpack_int (double * void *  fld,
      int fld_is_double,
      g2intlcpack lcpack,
      int verbose 
      -

      This subroutine packs up a double data field into PNG image format.

      +

      This internal function packs up float or double data into PNG image format.

      +

      This is called by pngpack() and pngpackd().

      After the data field is scaled, and the reference value is subtracted out, it is treated as a grayscale image and passed to a PNG encoder. It also fills in GRIB2 Data Representation Template 5.41 or 5.40010 with the appropriate values.

      Parameters
      - - - + + + + - + +
      fldPointer to array of double that contains the data values to pack.
      widthNumber of points in the x direction.
      heightNumber of points in the y direction.
      fldPointer to array of float or double that contains the data values to pack.
      fld_is_doubleIf non-zero, then fld is double, otherwise float.
      widthNumber of points in the x direction. This is passed to the PNG layer as a uint32.
      heightNumber of points in the y direction. This is passed to the PNG layer as a uint32.
      idrstmplContains the array of values for Data Representation Template 5.41 or 5.40010.
      • 0 Reference value - ignored on input, set by pngpack routine.
      • 1 Binary Scale Factor - used on input.
      • @@ -362,16 +456,24 @@

        cpack

      The packed data field.
      lcpacklength of packed field cpack.
      lcpacklength of packed field cpack.
      verboseIf non-zero, error messages will be printed in case of error. Otherwise, error codes will be return but no error messages printed. Calls to the original g2c API may cause error messages to be printed in case of error. For the new g2c_ API, no error messages will be printed - instead an error code will be returned. Call g2c_strerror() to get the error message for any error code.
      +
      Returns
      +
      Author
      Ed Hartnett
      Date
      Aug 8, 2022
      -

      Definition at line 259 of file pngpack.c.

      +

      Definition at line 53 of file pngpack.c.

      + +

      References ALOG2, enc_png(), G2C_EPNG, G2C_NOERROR, int_power(), LOG, mkieee(), and sbits().

      -

      References pngpack_int().

      +

      Referenced by g2c_pngpackd(), g2c_pngpackf(), and pngpack().

      @@ -381,9 +483,7 @@

      diff --git a/pngpack_8c.js b/pngpack_8c.js index 2fc19085..0806ff09 100644 --- a/pngpack_8c.js +++ b/pngpack_8c.js @@ -1,6 +1,7 @@ var pngpack_8c = [ + [ "g2c_pngpackd", "pngpack_8c.html#a5f2e244f2819f238f11348a0c79f6079", null ], + [ "g2c_pngpackf", "pngpack_8c.html#ae889c3c77c33283d6cab33086048b1ac", null ], [ "pngpack", "pngpack_8c.html#a1353956d6cc706acd63e87ce21c69fd2", null ], - [ "pngpack_int", "pngpack_8c.html#a425894461009149774943fa50667c5ee", null ], - [ "pngpackd", "pngpack_8c.html#ac449247d0b5e9f7a297a154f3791a41d", null ] + [ "pngpack_int", "pngpack_8c.html#af2a272e6da0675f7e00a16adec84af74", null ] ]; \ No newline at end of file diff --git a/pngpack_8c_source.html b/pngpack_8c_source.html index 420276f2..f5f0f29e 100644 --- a/pngpack_8c_source.html +++ b/pngpack_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: pngpack.c Source File @@ -26,7 +26,7 @@

      NCEPLIBS-g2c -  1.7.0 +  1.8.0
      - + @@ -91,194 +91,240 @@
      6 #include <math.h>
      7 #include "grib2_int.h"
      8 
      -
      40 static void
      -
      41 pngpack_int(void *fld, int fld_is_double, g2int width, g2int height, g2int *idrstmpl,
      -
      42  unsigned char *cpack, g2int *lcpack)
      -
      43 {
      -
      44  g2int *ifld = NULL;
      -
      45  static float alog2 = ALOG2; /* ln(2.0) */
      -
      46  g2int j, nbits, imin, imax, maxdif;
      -
      47  g2int ndpts, nbytes;
      -
      48  float bscale, dscale, rmax, rmin, temp;
      -
      49  double rmaxd, rmind;
      -
      50  unsigned char *ctemp;
      -
      51  float *ffld = fld;
      -
      52  double *dfld = fld;
      -
      53 
      -
      54  LOG((2, "pngpack_int fld_is_double %d width %ld height %ld idrstmpl[1] %d",
      -
      55  fld_is_double, width, height, idrstmpl[1]));
      -
      56 
      -
      57  ndpts = width * height;
      -
      58  bscale = int_power(2.0, -idrstmpl[1]);
      -
      59  dscale = int_power(10.0, idrstmpl[2]);
      -
      60  LOG((3, "ndpts %d bscale %g dscale %g", ndpts, bscale, dscale));
      -
      61 
      -
      62  /* Find max and min values in the data. Either rmax and rmin will
      -
      63  * be used (if fld_is_double is not true), or rmaxd and rmind will
      -
      64  * be used (if fld_is_double is true). */
      -
      65  rmaxd = dfld[0];
      -
      66  rmind = dfld[0];
      -
      67  rmax = ffld[0];
      -
      68  rmin = ffld[0];
      -
      69  if (fld_is_double)
      -
      70  {
      -
      71  for (j = 1; j < ndpts; j++)
      -
      72  {
      -
      73  if (dfld[j] > rmaxd)
      -
      74  rmaxd = dfld[j];
      -
      75  if (dfld[j] < rmind)
      -
      76  rmind = dfld[j];
      -
      77  }
      -
      78  maxdif = (g2int)rint((rmaxd - rmind) * dscale * bscale);
      -
      79  }
      -
      80  else
      -
      81  {
      -
      82  for (j = 1; j < ndpts; j++)
      +
      52 static int
      +
      53 pngpack_int(void *fld, int fld_is_double, g2int width, g2int height, g2int *idrstmpl,
      +
      54  unsigned char *cpack, g2int *lcpack, int verbose)
      +
      55 {
      +
      56  g2int *ifld = NULL;
      +
      57  static float alog2 = ALOG2; /* ln(2.0) */
      +
      58  g2int j, nbits, imin, imax, maxdif;
      +
      59  g2int ndpts, nbytes;
      +
      60  float bscale, dscale, rmax, rmin, temp;
      +
      61  double rmaxd, rmind;
      +
      62  unsigned char *ctemp;
      +
      63  float *ffld = fld;
      +
      64  double *dfld = fld;
      +
      65  int ret = G2C_NOERROR;
      +
      66 
      +
      67  LOG((2, "pngpack_int fld_is_double %d width %ld height %ld idrstmpl[1] %d",
      +
      68  fld_is_double, width, height, idrstmpl[1]));
      +
      69 
      +
      70  ndpts = width * height;
      +
      71  bscale = int_power(2.0, -idrstmpl[1]);
      +
      72  dscale = int_power(10.0, idrstmpl[2]);
      +
      73  LOG((3, "ndpts %d bscale %g dscale %g", ndpts, bscale, dscale));
      +
      74 
      +
      75  /* Find max and min values in the data. Either rmax and rmin will
      +
      76  * be used (if fld_is_double is not true), or rmaxd and rmind will
      +
      77  * be used (if fld_is_double is true). */
      +
      78  rmaxd = dfld[0];
      +
      79  rmind = dfld[0];
      +
      80  rmax = ffld[0];
      +
      81  rmin = ffld[0];
      +
      82  if (fld_is_double)
      83  {
      -
      84  if (ffld[j] > rmax)
      -
      85  rmax = ffld[j];
      -
      86  if (ffld[j] < rmin)
      -
      87  rmin = ffld[j];
      -
      88  }
      -
      89  maxdif = (g2int)rint((rmax - rmin) * dscale * bscale);
      +
      84  for (j = 1; j < ndpts; j++)
      +
      85  {
      +
      86  if (dfld[j] > rmaxd)
      +
      87  rmaxd = dfld[j];
      +
      88  if (dfld[j] < rmind)
      +
      89  rmind = dfld[j];
      90  }
      -
      91  LOG((3, "rmax %g rmaxd %g rmin %g rmind %g", rmax, rmaxd, rmin, rmind));
      -
      92 
      -
      93  /* If max and min values are not equal, pack up field. If they are
      -
      94  * equal, we have a constant field, and the reference value (rmin)
      -
      95  * is the value for each point in the field and set nbits to 0. */
      -
      96  if (((fld_is_double && rmind != rmaxd) || (!fld_is_double && rmin != rmax)) && maxdif != 0)
      -
      97  {
      -
      98  ifld = malloc(ndpts * sizeof(g2int));
      -
      99 
      -
      100  /* Determine which algorithm to use based on user-supplied
      -
      101  * binary scale factor and number of bits. */
      -
      102  if (idrstmpl[1] == 0)
      -
      103  {
      -
      104  /* No binary scaling and calculate minumum number of bits
      -
      105  * in which the data will fit. */
      -
      106  imin = (g2int)rint((fld_is_double ? rmind : rmin) * dscale);
      -
      107  imax = (g2int)rint((fld_is_double ? rmaxd : rmax) * dscale);
      -
      108  maxdif = imax - imin;
      -
      109  temp = log((double)(maxdif + 1)) / alog2;
      -
      110  nbits = (g2int)ceil(temp);
      -
      111  /* scale data */
      -
      112  if (fld_is_double)
      -
      113  {
      -
      114  rmind = (float)imin;
      -
      115  for(j = 0; j < ndpts; j++)
      -
      116  ifld[j] = (g2int)rint(dfld[j] * dscale) - imin;
      -
      117  }
      -
      118  else
      -
      119  {
      -
      120  rmin = (float)imin;
      -
      121  for(j = 0; j < ndpts; j++)
      -
      122  ifld[j] = (g2int)rint(ffld[j] * dscale) - imin;
      -
      123  }
      -
      124  }
      -
      125  else
      +
      91  maxdif = (g2int)rint((rmaxd - rmind) * dscale * bscale);
      +
      92  }
      +
      93  else
      +
      94  {
      +
      95  for (j = 1; j < ndpts; j++)
      +
      96  {
      +
      97  if (ffld[j] > rmax)
      +
      98  rmax = ffld[j];
      +
      99  if (ffld[j] < rmin)
      +
      100  rmin = ffld[j];
      +
      101  }
      +
      102  maxdif = (g2int)rint((rmax - rmin) * dscale * bscale);
      +
      103  }
      +
      104  LOG((3, "rmax %g rmaxd %g rmin %g rmind %g", rmax, rmaxd, rmin, rmind));
      +
      105 
      +
      106  /* If max and min values are not equal, pack up field. If they are
      +
      107  * equal, we have a constant field, and the reference value (rmin)
      +
      108  * is the value for each point in the field and set nbits to 0. */
      +
      109  if (((fld_is_double && rmind != rmaxd) || (!fld_is_double && rmin != rmax)) && maxdif != 0)
      +
      110  {
      +
      111  ifld = malloc(ndpts * sizeof(g2int));
      +
      112 
      +
      113  /* Determine which algorithm to use based on user-supplied
      +
      114  * binary scale factor and number of bits. */
      +
      115  if (idrstmpl[1] == 0)
      +
      116  {
      +
      117  /* No binary scaling and calculate minumum number of bits
      +
      118  * in which the data will fit. */
      +
      119  imin = (g2int)rint((fld_is_double ? rmind : rmin) * dscale);
      +
      120  imax = (g2int)rint((fld_is_double ? rmaxd : rmax) * dscale);
      +
      121  maxdif = imax - imin;
      +
      122  temp = log((double)(maxdif + 1)) / alog2;
      +
      123  nbits = (g2int)ceil(temp);
      +
      124  /* scale data */
      +
      125  if (fld_is_double)
      126  {
      -
      127  /* Use binary scaling factor and calculate minumum number
      -
      128  * of bits in which the data will fit. */
      -
      129  if (fld_is_double)
      -
      130  {
      -
      131  rmind = rmind * dscale;
      -
      132  rmaxd = rmaxd * dscale;
      -
      133  maxdif = (g2int)rint((rmaxd - rmind) * bscale);
      -
      134  }
      -
      135  else
      -
      136  {
      -
      137  rmin = rmin * dscale;
      -
      138  rmax = rmax * dscale;
      -
      139  maxdif = (g2int)rint((rmax - rmin) * bscale);
      -
      140  }
      -
      141  temp = log((double)(maxdif + 1)) / alog2;
      -
      142  nbits = (g2int)ceil(temp);
      -
      143  /* scale data */
      -
      144  if (fld_is_double)
      -
      145  {
      -
      146  for (j = 0; j < ndpts; j++)
      -
      147  ifld[j] = (g2int)rint(((dfld[j] * dscale) - rmind) * bscale);
      -
      148  }
      -
      149  else
      -
      150  {
      -
      151  for (j = 0; j < ndpts; j++)
      -
      152  ifld[j] = (g2int)rint(((ffld[j] * dscale) - rmin) * bscale);
      -
      153  }
      -
      154  }
      -
      155 
      -
      156  /* Pack data into full octets, then do PNG encode and
      -
      157  * calculate the length of the packed data in bytes. */
      -
      158  if (nbits <= 8)
      -
      159  nbits = 8;
      -
      160  else if (nbits <= 16)
      -
      161  nbits = 16;
      -
      162  else if (nbits <= 24)
      -
      163  nbits = 24;
      -
      164  else
      -
      165  nbits = 32;
      -
      166 
      -
      167  nbytes = (nbits / 8) * ndpts;
      -
      168  ctemp = calloc(nbytes, 1);
      -
      169  sbits(ctemp, ifld, 0, nbits, 0, ndpts);
      -
      170 
      -
      171  /* Encode data into PNG Format. */
      -
      172  if ((*lcpack = (g2int)enc_png(ctemp, width, height, nbits, cpack)) <= 0)
      -
      173  printf("pngpack: ERROR Packing PNG = %d\n", (int)*lcpack);
      -
      174 
      -
      175  free(ctemp);
      -
      176  }
      -
      177  else
      -
      178  {
      -
      179  nbits = 0;
      -
      180  *lcpack = 0;
      -
      181  }
      -
      182 
      -
      183  /* Fill in ref value and number of bits in Template 5.0. */
      -
      184  if (fld_is_double)
      -
      185  rmin = (float)rmind;
      -
      186  mkieee(&rmin, idrstmpl, 1); /* ensure reference value is IEEE format */
      -
      187  idrstmpl[3] = nbits;
      -
      188  idrstmpl[4] = 0; /* original data were reals */
      -
      189 
      -
      190  if (ifld)
      -
      191  free(ifld);
      -
      192 }
      -
      193 
      -
      223 void
      -
      224 pngpack(float *fld, g2int width, g2int height, g2int *idrstmpl,
      -
      225  unsigned char *cpack, g2int *lcpack)
      -
      226 {
      -
      227  pngpack_int(fld, 0, width, height, idrstmpl, cpack, lcpack);
      -
      228 }
      -
      229 
      -
      258 void
      -
      259 pngpackd(double *fld, g2int width, g2int height, g2int *idrstmpl,
      -
      260  unsigned char *cpack, g2int *lcpack)
      -
      261 {
      -
      262  pngpack_int(fld, 1, width, height, idrstmpl, cpack, lcpack);
      -
      263 }
      -
      264 
      -
      - +
      127  rmind = (float)imin;
      +
      128  for(j = 0; j < ndpts; j++)
      +
      129  ifld[j] = (g2int)rint(dfld[j] * dscale) - imin;
      +
      130  }
      +
      131  else
      +
      132  {
      +
      133  rmin = (float)imin;
      +
      134  for(j = 0; j < ndpts; j++)
      +
      135  ifld[j] = (g2int)rint(ffld[j] * dscale) - imin;
      +
      136  }
      +
      137  }
      +
      138  else
      +
      139  {
      +
      140  /* Use binary scaling factor and calculate minumum number
      +
      141  * of bits in which the data will fit. */
      +
      142  if (fld_is_double)
      +
      143  {
      +
      144  rmind = rmind * dscale;
      +
      145  rmaxd = rmaxd * dscale;
      +
      146  maxdif = (g2int)rint((rmaxd - rmind) * bscale);
      +
      147  }
      +
      148  else
      +
      149  {
      +
      150  rmin = rmin * dscale;
      +
      151  rmax = rmax * dscale;
      +
      152  maxdif = (g2int)rint((rmax - rmin) * bscale);
      +
      153  }
      +
      154  temp = log((double)(maxdif + 1)) / alog2;
      +
      155  nbits = (g2int)ceil(temp);
      +
      156  /* scale data */
      +
      157  if (fld_is_double)
      +
      158  {
      +
      159  for (j = 0; j < ndpts; j++)
      +
      160  ifld[j] = (g2int)rint(((dfld[j] * dscale) - rmind) * bscale);
      +
      161  }
      +
      162  else
      +
      163  {
      +
      164  for (j = 0; j < ndpts; j++)
      +
      165  ifld[j] = (g2int)rint(((ffld[j] * dscale) - rmin) * bscale);
      +
      166  }
      +
      167  }
      +
      168 
      +
      169  /* Pack data into full octets, then do PNG encode and
      +
      170  * calculate the length of the packed data in bytes. */
      +
      171  if (nbits <= 8)
      +
      172  nbits = 8;
      +
      173  else if (nbits <= 16)
      +
      174  nbits = 16;
      +
      175  else if (nbits <= 24)
      +
      176  nbits = 24;
      +
      177  else
      +
      178  nbits = 32;
      +
      179 
      +
      180  nbytes = (nbits / 8) * ndpts;
      +
      181  ctemp = calloc(nbytes, 1);
      +
      182  sbits(ctemp, ifld, 0, nbits, 0, ndpts);
      +
      183 
      +
      184  /* Encode data into PNG Format. */
      +
      185  if ((*lcpack = (g2int)enc_png(ctemp, width, height, nbits, cpack)) <= 0)
      +
      186  {
      +
      187  if (verbose)
      +
      188  printf("pngpack: ERROR Packing PNG = %d\n", (int)*lcpack);
      +
      189  ret = G2C_EPNG;
      +
      190  }
      +
      191  free(ctemp);
      +
      192  }
      +
      193  else
      +
      194  {
      +
      195  nbits = 0;
      +
      196  *lcpack = 0;
      +
      197  }
      +
      198 
      +
      199  /* Fill in ref value and number of bits in Template 5.0. */
      +
      200  if (fld_is_double)
      +
      201  rmin = (float)rmind;
      +
      202  mkieee(&rmin, idrstmpl, 1); /* ensure reference value is IEEE format */
      +
      203  idrstmpl[3] = nbits;
      +
      204  idrstmpl[4] = 0; /* original data were reals */
      +
      205 
      +
      206  if (ifld)
      +
      207  free(ifld);
      +
      208 
      +
      209  return ret;
      +
      210 }
      +
      211 
      +
      241 void
      +
      242 pngpack(float *fld, g2int width, g2int height, g2int *idrstmpl,
      +
      243  unsigned char *cpack, g2int *lcpack)
      +
      244 {
      +
      245  /* Ignore the return value. */
      +
      246  pngpack_int(fld, 0, width, height, idrstmpl, cpack, lcpack, 1);
      +
      247 }
      +
      248 
      +
      281 int
      +
      282 g2c_pngpackf(float *fld, size_t width, size_t height, int *idrstmpl,
      +
      283  unsigned char *cpack, int *lcpack)
      +
      284 {
      +
      285  g2int width8 = width, height8 = height, lcpack8 = *lcpack;
      +
      286  g2int idrstmpl8[G2C_PNG_DRS_TEMPLATE_LEN];
      +
      287  int i, ret;
      +
      288 
      +
      289  for (i = 0; i < G2C_PNG_DRS_TEMPLATE_LEN; i++)
      +
      290  idrstmpl8[i] = idrstmpl[i];
      +
      291 
      +
      292  ret = pngpack_int(fld, 0, width8, height8, idrstmpl8, cpack, &lcpack8, 0);
      +
      293 
      +
      294  if (!ret)
      +
      295  {
      +
      296  for (i = 0; i < G2C_PNG_DRS_TEMPLATE_LEN; i++)
      +
      297  idrstmpl[i] = (int)idrstmpl8[i];
      +
      298  *lcpack = (g2int)lcpack8;
      +
      299  }
      +
      300  return ret;
      +
      301 }
      +
      302 
      +
      335 int
      +
      336 g2c_pngpackd(double *fld, size_t width, size_t height, int *idrstmpl,
      +
      337  unsigned char *cpack, int *lcpack)
      +
      338 {
      +
      339  g2int width8 = width, height8 = height, lcpack8 = *lcpack;
      +
      340  g2int idrstmpl8[G2C_PNG_DRS_TEMPLATE_LEN];
      +
      341  int i, ret;
      +
      342 
      +
      343  for (i = 0; i < G2C_PNG_DRS_TEMPLATE_LEN; i++)
      +
      344  idrstmpl8[i] = idrstmpl[i];
      +
      345 
      +
      346  ret = pngpack_int(fld, 1, width8, height8, idrstmpl8, cpack, &lcpack8, 0);
      +
      347 
      +
      348  if (!ret)
      +
      349  {
      +
      350  for (i = 0; i < G2C_PNG_DRS_TEMPLATE_LEN; i++)
      +
      351  idrstmpl[i] = (int)idrstmpl8[i];
      +
      352  *lcpack = (g2int)lcpack8;
      +
      353  }
      +
      354  return ret;
      +
      355 }
      +
      356 
      int enc_png(unsigned char *data, g2int width, g2int height, g2int nbits, unsigned char *pngbuf)
      Encode PNG.
      Definition: enc_png.c:75
      -
      void pngpackd(double *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
      This subroutine packs up a double data field into PNG image format.
      Definition: pngpack.c:259
      -
      static void pngpack_int(void *fld, int fld_is_double, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
      This internal function packs up float or double data into PNG image format.
      Definition: pngpack.c:41
      -
      double int_power(double x, g2int y)
      Function similar to C pow() power function.
      Definition: int_power.c:18
      -
      #define LOG(e)
      Ignore logging to stdout.
      Definition: grib2_int.h:138
      +
      void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n)
      Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
      Definition: gbits.c:180
      +
      #define G2C_EPNG
      Error encoding/decoding PNG data.
      Definition: grib2.h:496
      +
      #define G2C_PNG_DRS_TEMPLATE_LEN
      Length of the idrstmpl array for PNG packing.
      Definition: grib2.h:407
      +
      int64_t g2int
      Long integer type.
      Definition: grib2.h:31
      +
      #define G2C_NOERROR
      No error.
      Definition: grib2.h:476
      Header file with internal function prototypes NCEPLIBS-g2c library.
      -
      void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n)
      Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
      Definition: gbits.c:114
      void mkieee(float *a, g2int *rieee, g2int num)
      This subroutine stores a list of real values in 32-bit IEEE floating point format.
      Definition: mkieee.c:22
      -
      int64_t g2int
      Long integer type.
      Definition: grib2.h:28
      -
      void pngpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
      This subroutine packs up a float data field into PNG image format.
      Definition: pngpack.c:224
      -
      #define ALOG2
      ln(2.0)
      Definition: grib2_int.h:21
      +
      double int_power(double x, g2int y)
      Function similar to C pow() power function.
      Definition: int_power.c:18
      +
      #define LOG(e)
      Ignore logging to stdout.
      Definition: grib2_int.h:417
      +
      #define ALOG2
      ln(2.0)
      Definition: grib2_int.h:30
      +
      void pngpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
      This subroutine packs up a float data field into PNG image format.
      Definition: pngpack.c:242
      +
      int g2c_pngpackd(double *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, int *lcpack)
      This subroutine packs up a double data field into PNG image format.
      Definition: pngpack.c:336
      +
      int g2c_pngpackf(float *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, int *lcpack)
      This subroutine packs up a float data field into PNG image format.
      Definition: pngpack.c:282
      +
      static int pngpack_int(void *fld, int fld_is_double, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack, int verbose)
      This internal function packs up float or double data into PNG image format.
      Definition: pngpack.c:53
      + + diff --git a/pngunpack_8c.html b/pngunpack_8c.html index 412aac95..9847d09c 100644 --- a/pngunpack_8c.html +++ b/pngunpack_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: pngunpack.c File Reference @@ -26,7 +26,7 @@
      NCEPLIBS-g2c -  1.7.0 +  1.8.0
      - + @@ -99,15 +99,18 @@ + + + + + + - - - - - - + + +

      Functions

      int g2c_pngunpackd (unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, double *fld)
       This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB2 Data Representation Template 5.41 or 5.40010. More...
       
      int g2c_pngunpackf (unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, float *fld)
       This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB2 Data Representation Template 5.41 or 5.40010. More...
       
      g2int pngunpack (unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld)
       This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB2 Data Representation Template 5.41 or 5.40010. More...
       
      static g2int pngunpack_int (unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, void *fld, int fld_is_double)
       This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB2 Data Representation Template 5.41 or 5.40010. More...
       
      g2int pngunpackd (unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, double *fld)
       This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB2 Data Representation Template 5.41 or 5.40010. More...
       
      static int pngunpack_int (unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, void *fld, int fld_is_double, int verbose)
       This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB2 Data Representation Template 5.41 or 5.40010. More...
       

      Detailed Description

      Contains a function to unpack data packed with PNG compression.

      @@ -116,14 +119,14 @@

      Definition in file pngunpack.c.

      Function Documentation

      - -

      ◆ pngunpack()

      + +

      ◆ g2c_pngunpackd()

      - + @@ -131,25 +134,25 @@

      - + - + - + - + @@ -171,30 +174,28 @@

      Returns
      0 for success, 1 for memory allocation error.
      -
      Author
      Stephen Gilbert
      -
      Date
      2003-08-27
      +
      Returns
      +
      Author
      Ed Hartnett
      +
      Date
      Aug 8, 2022
      -

      Definition at line 105 of file pngunpack.c.

      - -

      References pngunpack_int().

      +

      Definition at line 179 of file pngunpack.c.

      -

      Referenced by g2_unpack7().

      +

      References G2C_PNG_DRS_TEMPLATE_LEN, and pngunpack_int().

      - -

      ◆ pngunpack_int()

      + +

      ◆ g2c_pngunpackf()

      -
      g2int pngunpack int g2c_pngunpackd ( unsigned char *  cpack, g2int size_t  len,
      g2intint *  idrstmpl,
      g2int size_t  ndpts,
      float * double *  fld 
      - - @@ -34,10 +34,10 @@
      - + @@ -202,32 +203,95 @@

      - + - + - + - - + + + + + + + + +
      static g2int pngunpack_int int g2c_pngunpackf ( unsigned char *  cpack, g2int size_t  len,
      g2intint *  idrstmpl,
      g2int size_t  ndpts,
      void * fld, float * fld 
      )
      + + + +

      ◆ pngunpack()

      + + - -

      ◆ pngunpackd()

      + +

      ◆ pngunpack_int()

      + + + @@ -34,10 +34,10 @@
      - + @@ -299,8 +365,20 @@

      - - + + + + + + + + + + + + + + @@ -308,26 +386,39 @@

      +static +

      +
      g2int pngunpackd static int pngunpack_int ( unsigned char *  cpack, double * fld void * fld,
      int fld_is_double,
      int verbose 
      @@ -337,9 +428,7 @@

      diff --git a/pngunpack_8c.js b/pngunpack_8c.js index cbec606a..b3e67cec 100644 --- a/pngunpack_8c.js +++ b/pngunpack_8c.js @@ -1,6 +1,7 @@ var pngunpack_8c = [ + [ "g2c_pngunpackd", "pngunpack_8c.html#a33fbfbbde0db4cea4dd33d83a86cf3e0", null ], + [ "g2c_pngunpackf", "pngunpack_8c.html#a840ce62970e0482389aea32b69fe8721", null ], [ "pngunpack", "pngunpack_8c.html#a25efad18886998fd8f7172ddccaa9076", null ], - [ "pngunpack_int", "pngunpack_8c.html#ae194e51085dbb56e1c59cb8578eb2722", null ], - [ "pngunpackd", "pngunpack_8c.html#a0e15cdfb0f46d45f44eca76bf13bc7c8", null ] + [ "pngunpack_int", "pngunpack_8c.html#a984fa92b35d86ddd5c45590e2aeec9f1", null ] ]; \ No newline at end of file diff --git a/pngunpack_8c_source.html b/pngunpack_8c_source.html index 61d1f623..1c9a8075 100644 --- a/pngunpack_8c_source.html +++ b/pngunpack_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: pngunpack.c Source File @@ -26,7 +26,7 @@

      NCEPLIBS-g2c -  1.7.0 +  1.8.0
      - + @@ -91,95 +91,123 @@
      8 #include <stdlib.h>
      9 #include "grib2_int.h"
      10 
      -
      31 static g2int
      -
      32 pngunpack_int(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts,
      -
      33  void *fld, int fld_is_double)
      -
      34 {
      -
      35  g2int *ifld;
      -
      36  g2int j, nbits, width, height;
      -
      37  float ref, bscale, dscale;
      -
      38  unsigned char *ctemp;
      -
      39  float *ffld = fld;
      -
      40  double *dfld = fld;
      -
      41 
      -
      42  LOG((2, "pngunpack_int len %ld ndpts %ld fld_is_double %d", len, ndpts, fld_is_double));
      -
      43 
      -
      44  rdieee(idrstmpl, &ref, 1);
      -
      45  bscale = int_power(2.0, idrstmpl[1]);
      -
      46  dscale = int_power(10.0, -idrstmpl[2]);
      -
      47  nbits = idrstmpl[3];
      -
      48  LOG((2, "bscale %g dscale %g nbits %ld", bscale, dscale, nbits));
      -
      49 
      -
      50  /* If nbits equals 0, we have a constant field where the reference
      -
      51  * value is the data value at each gridpoint. */
      -
      52  if (nbits != 0)
      -
      53  {
      -
      54  ifld = calloc(ndpts, sizeof(g2int));
      -
      55  ctemp = calloc(ndpts * 4, 1);
      -
      56  if (!ifld || !ctemp)
      -
      57  {
      -
      58  fprintf(stderr,"Could not allocate space in jpcunpack.\n Data field NOT upacked.\n");
      -
      59  return G2_JPCUNPACK_MEM;
      -
      60  }
      -
      61  dec_png(cpack, &width, &height, ctemp);
      -
      62  gbits(ctemp, ifld, 0, nbits, 0, ndpts);
      -
      63  for (j = 0; j < ndpts; j++)
      -
      64  {
      -
      65  if (fld_is_double)
      -
      66  dfld[j] = (((double)ifld[j] * bscale) + ref) * dscale;
      -
      67  else
      -
      68  ffld[j] = (((float)ifld[j] * bscale) + ref) * dscale;
      -
      69  }
      -
      70  free(ctemp);
      -
      71  free(ifld);
      -
      72  }
      -
      73  else
      +
      40 static int
      +
      41 pngunpack_int(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts,
      +
      42  void *fld, int fld_is_double, int verbose)
      +
      43 {
      +
      44  g2int *ifld;
      +
      45  g2int j, nbits, width, height;
      +
      46  float ref, bscale, dscale;
      +
      47  unsigned char *ctemp;
      +
      48  float *ffld = fld;
      +
      49  double *dfld = fld;
      +
      50 
      +
      51  LOG((2, "pngunpack_int len %ld ndpts %ld fld_is_double %d", len, ndpts, fld_is_double));
      +
      52 
      +
      53  rdieee(idrstmpl, &ref, 1);
      +
      54  bscale = int_power(2.0, idrstmpl[1]);
      +
      55  dscale = int_power(10.0, -idrstmpl[2]);
      +
      56  nbits = idrstmpl[3];
      +
      57  LOG((2, "bscale %g dscale %g nbits %ld", bscale, dscale, nbits));
      +
      58 
      +
      59  /* If nbits equals 0, we have a constant field where the reference
      +
      60  * value is the data value at each gridpoint. */
      +
      61  if (nbits != 0)
      +
      62  {
      +
      63  ifld = calloc(ndpts, sizeof(g2int));
      +
      64  ctemp = calloc(ndpts * 4, 1);
      +
      65  if (!ifld || !ctemp)
      +
      66  {
      +
      67  if (verbose)
      +
      68  fprintf(stderr,"Could not allocate space in jpcunpack.\n Data field NOT upacked.\n");
      +
      69  return G2C_ENOMEM;
      +
      70  }
      +
      71  dec_png(cpack, &width, &height, ctemp);
      +
      72  gbits(ctemp, ifld, 0, nbits, 0, ndpts);
      +
      73  for (j = 0; j < ndpts; j++)
      74  {
      -
      75  for (j = 0; j < ndpts; j++)
      -
      76  {
      -
      77  if (fld_is_double)
      -
      78  dfld[j] = ref;
      -
      79  else
      -
      80  ffld[j] = ref;
      -
      81  }
      +
      75  if (fld_is_double)
      +
      76  dfld[j] = (((double)ifld[j] * bscale) + ref) * dscale;
      +
      77  else
      +
      78  ffld[j] = (((float)ifld[j] * bscale) + ref) * dscale;
      +
      79  }
      +
      80  free(ctemp);
      +
      81  free(ifld);
      82  }
      -
      83 
      -
      84  return 0;
      -
      85 }
      -
      86 
      -
      104 g2int
      -
      105 pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts,
      -
      106  float *fld)
      -
      107 {
      -
      108  return pngunpack_int(cpack, len, idrstmpl, ndpts, fld, 0);
      -
      109 }
      -
      110 
      -
      127 g2int
      -
      128 pngunpackd(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts,
      -
      129  double *fld)
      -
      130 {
      -
      131  return pngunpack_int(cpack, len, idrstmpl, ndpts, fld, 1);
      -
      132 }
      -
      - +
      83  else
      +
      84  {
      +
      85  for (j = 0; j < ndpts; j++)
      +
      86  {
      +
      87  if (fld_is_double)
      +
      88  dfld[j] = ref;
      +
      89  else
      +
      90  ffld[j] = ref;
      +
      91  }
      +
      92  }
      +
      93 
      +
      94  return 0;
      +
      95 }
      +
      96 
      +
      116 g2int
      +
      117 pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts,
      +
      118  float *fld)
      +
      119 {
      +
      120  int ret;
      +
      121 
      +
      122  if ((ret = pngunpack_int(cpack, len, idrstmpl, ndpts, fld, 0, 1)) == G2C_ENOMEM)
      +
      123  return G2_JPCUNPACK_MEM;
      +
      124 
      +
      125  return ret;
      +
      126 }
      +
      127 
      +
      146 int
      +
      147 g2c_pngunpackf(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts,
      +
      148  float *fld)
      +
      149 {
      +
      150  g2int idrstmpl8[G2C_PNG_DRS_TEMPLATE_LEN];
      +
      151  g2int len8 = len, ndpts8 = ndpts;
      +
      152  int i;
      +
      153 
      +
      154  for (i = 0; i < G2C_PNG_DRS_TEMPLATE_LEN; i++)
      +
      155  idrstmpl8[i] = idrstmpl[i];
      +
      156 
      +
      157  return pngunpack_int(cpack, len8, idrstmpl8, ndpts8, fld, 0, 0);
      +
      158 }
      +
      159 
      +
      178 int
      +
      179 g2c_pngunpackd(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts,
      +
      180  double *fld)
      +
      181 {
      +
      182  g2int idrstmpl8[G2C_PNG_DRS_TEMPLATE_LEN];
      +
      183  g2int len8 = len, ndpts8 = ndpts;
      +
      184  int i;
      +
      185 
      +
      186  for (i = 0; i < G2C_PNG_DRS_TEMPLATE_LEN; i++)
      +
      187  idrstmpl8[i] = idrstmpl[i];
      +
      188 
      +
      189  return pngunpack_int(cpack, len8, idrstmpl8, ndpts8, fld, 1, 0);
      +
      190 }
      int dec_png(unsigned char *pngbuf, g2int *width, g2int *height, unsigned char *cout)
      Decode PNG.
      Definition: dec_png.c:61
      -
      g2int pngunpackd(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, double *fld)
      This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB...
      Definition: pngunpack.c:128
      -
      void rdieee(g2int *rieee, float *a, g2int num)
      This subroutine reads a list of real values in 32-bit IEEE floating point format.
      Definition: rdieee.c:21
      -
      double int_power(double x, g2int y)
      Function similar to C pow() power function.
      Definition: int_power.c:18
      -
      #define LOG(e)
      Ignore logging to stdout.
      Definition: grib2_int.h:138
      -
      Header file with internal function prototypes NCEPLIBS-g2c library.
      -
      int64_t g2int
      Long integer type.
      Definition: grib2.h:28
      void gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits, g2int nskip, g2int n)
      Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
      Definition: gbits.c:57
      -
      #define G2_JPCUNPACK_MEM
      In jpcunpack() or other unpack function: out of memory.
      Definition: grib2.h:320
      -
      static g2int pngunpack_int(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, void *fld, int fld_is_double)
      This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB...
      Definition: pngunpack.c:32
      -
      g2int pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld)
      This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB...
      Definition: pngunpack.c:105
      +
      #define G2C_ENOMEM
      Out of memory.
      Definition: grib2.h:485
      +
      #define G2C_PNG_DRS_TEMPLATE_LEN
      Length of the idrstmpl array for PNG packing.
      Definition: grib2.h:407
      +
      #define G2_JPCUNPACK_MEM
      In jpcunpack() or other unpack function: out of memory.
      Definition: grib2.h:468
      +
      int64_t g2int
      Long integer type.
      Definition: grib2.h:31
      +
      Header file with internal function prototypes NCEPLIBS-g2c library.
      +
      double int_power(double x, g2int y)
      Function similar to C pow() power function.
      Definition: int_power.c:18
      +
      #define LOG(e)
      Ignore logging to stdout.
      Definition: grib2_int.h:417
      +
      void rdieee(g2int *rieee, float *a, g2int num)
      This subroutine reads a list of real values in 32-bit IEEE floating point format.
      Definition: rdieee.c:21
      +
      g2int pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld)
      This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB...
      Definition: pngunpack.c:117
      +
      int g2c_pngunpackd(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, double *fld)
      This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB...
      Definition: pngunpack.c:179
      +
      int g2c_pngunpackf(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, float *fld)
      This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB...
      Definition: pngunpack.c:147
      +
      static int pngunpack_int(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, void *fld, int fld_is_double, int verbose)
      This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB...
      Definition: pngunpack.c:41
      + + diff --git a/rdieee_8c.html b/rdieee_8c.html index 2c57d179..1ffc89a9 100644 --- a/rdieee_8c.html +++ b/rdieee_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: rdieee.c File Reference @@ -26,7 +26,7 @@
      NCEPLIBS-g2c -  1.7.0 +  1.8.0
      - + @@ -156,7 +156,7 @@

      References int_power().

      -

      Referenced by comunpack(), g2_miss(), g2_unpack4(), g2_unpack7(), jpcunpack_int(), misspack(), pngunpack_int(), simunpack(), and specunpack().

      +

      Referenced by comunpack(), g2_miss(), g2_unpack4(), g2c_unpack7_int(), jpcunpack_int(), misspack(), pngunpack_int(), simunpack(), and specunpack().

      @@ -166,9 +166,7 @@

      diff --git a/rdieee_8c_source.html b/rdieee_8c_source.html index 923369d5..6baec782 100644 --- a/rdieee_8c_source.html +++ b/rdieee_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: rdieee.c Source File @@ -26,7 +26,7 @@

    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    - + @@ -90,7 +90,7 @@
    6 #include "grib2_int.h"
    7 
    20 void
    -
    21 rdieee(g2int *rieee, float *a, g2int num)
    +
    21 rdieee(g2int *rieee, float *a, g2int num)
    22 {
    23 
    24  g2int j;
    @@ -98,60 +98,59 @@
    26 
    27  float sign,temp;
    28  static float two23,two126;
    -
    29  static g2int test=0;
    -
    30  uint64_t msk1=0x80000000; // 10000000000000000000000000000000 binary
    -
    31  g2int msk2=0x7F800000; // 01111111100000000000000000000000 binary
    -
    32  g2int msk3=0x007FFFFF; // 00000000011111111111111111111111 binary
    +
    29  static g2int test = 0;
    +
    30  uint64_t msk1 = 0x80000000; /* 10000000000000000000000000000000 binary */
    +
    31  g2int msk2 = 0x7F800000; /* 01111111100000000000000000000000 binary */
    +
    32  g2int msk3 = 0x007FFFFF; /* 00000000011111111111111111111111 binary */
    33 
    -
    34  if ( test == 0 ) {
    -
    35  two23=(float)int_power(2.0,-23);
    -
    36  two126=(float)int_power(2.0,-126);
    -
    37  test=1;
    -
    38  }
    -
    39 
    -
    40  for (j=0;j<num;j++) {
    -
    41 //
    -
    42 // Extract sign bit, exponent, and mantissa
    -
    43 //
    -
    44  isign=(rieee[j]&msk1)>>31;
    -
    45  iexp=(rieee[j]&msk2)>>23;
    -
    46  imant=(rieee[j]&msk3);
    -
    47  //printf("SAGieee= %ld %ld %ld\n",isign,iexp,imant);
    +
    34  if (test == 0)
    +
    35  {
    +
    36  two23 = (float)int_power(2.0,-23);
    +
    37  two126 = (float)int_power(2.0,-126);
    +
    38  test = 1;
    +
    39  }
    +
    40 
    +
    41  for (j = 0; j < num; j++)
    +
    42  {
    +
    43  /* Extract sign bit, exponent, and mantissa */
    +
    44  isign = (rieee[j]&msk1)>>31;
    +
    45  iexp = (rieee[j]&msk2)>>23;
    +
    46  imant = (rieee[j]&msk3);
    +
    47  /*printf("SAGieee= %ld %ld %ld\n",isign,iexp,imant); */
    48 
    -
    49  sign=1.0;
    -
    50  if (isign == 1) sign=-1.0;
    -
    51 
    -
    52  if ( (iexp > 0) && (iexp < 255) ) {
    -
    53  temp=(float)int_power(2.0,(iexp-127));
    -
    54  a[j]=sign*temp*(1.0+(two23*(float)imant));
    -
    55  }
    -
    56  else if ( iexp == 0 ) {
    -
    57  if ( imant != 0 )
    -
    58  a[j]=sign*two126*two23*(float)imant;
    -
    59  else
    -
    60  a[j]=sign*0.0;
    -
    61 
    -
    62  }
    -
    63  else if ( iexp == 255 )
    -
    64  a[j]=sign*(1E+37);
    -
    65 
    -
    66 
    -
    67  }
    +
    49  sign = 1.0;
    +
    50  if (isign == 1)
    +
    51  sign = -1.0;
    +
    52 
    +
    53  if ((iexp > 0) && (iexp < 255))
    +
    54  {
    +
    55  temp = (float)int_power(2.0, (iexp - 127));
    +
    56  a[j] = sign * temp * (1.0 + (two23 * (float)imant));
    +
    57  }
    +
    58  else if (iexp == 0)
    +
    59  {
    +
    60  if (imant != 0)
    +
    61  a[j] = sign * two126 * two23 * (float)imant;
    +
    62  else
    +
    63  a[j] = sign * 0.0;
    +
    64 
    +
    65  }
    +
    66  else if (iexp == 255)
    +
    67  a[j] = sign * (1E+37);
    68 
    -
    69 }
    +
    69  }
    +
    70 }
    +
    int64_t g2int
    Long integer type.
    Definition: grib2.h:31
    +
    Header file with internal function prototypes NCEPLIBS-g2c library.
    +
    double int_power(double x, g2int y)
    Function similar to C pow() power function.
    Definition: int_power.c:18
    +
    void rdieee(g2int *rieee, float *a, g2int num)
    This subroutine reads a list of real values in 32-bit IEEE floating point format.
    Definition: rdieee.c:21
    -
    void rdieee(g2int *rieee, float *a, g2int num)
    This subroutine reads a list of real values in 32-bit IEEE floating point format.
    Definition: rdieee.c:21
    -
    double int_power(double x, g2int y)
    Function similar to C pow() power function.
    Definition: int_power.c:18
    -
    Header file with internal function prototypes NCEPLIBS-g2c library.
    -
    int64_t g2int
    Long integer type.
    Definition: grib2.h:28
    diff --git a/reduce_8c.html b/reduce_8c.html index c02a4ab0..38c7589d 100644 --- a/reduce_8c.html +++ b/reduce_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: reduce.c File Reference @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -268,9 +268,7 @@

    diff --git a/reduce_8c_source.html b/reduce_8c_source.html index 3aef449a..1ada144b 100644 --- a/reduce_8c_source.html +++ b/reduce_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: reduce.c Source File @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -411,18 +411,16 @@
    405  free(newboxp);
    406  return 0;
    407 } /* reduce_ */
    +
    int64_t g2int
    Long integer type.
    Definition: grib2.h:31
    +
    Header file with internal function prototypes NCEPLIBS-g2c library.
    +
    int reduce(g2int *kfildo, g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov, g2int *lx, g2int *ndg, g2int *ibit, g2int *jbit, g2int *kbit, g2int *novref, g2int *ibxx2, g2int *ier)
    Determines whether the number of groups should be increased in order to reduce the size of the large ...
    Definition: reduce.c:88
    -
    int reduce(g2int *kfildo, g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov, g2int *lx, g2int *ndg, g2int *ibit, g2int *jbit, g2int *kbit, g2int *novref, g2int *ibxx2, g2int *ier)
    Determines whether the number of groups should be increased in order to reduce the size of the large ...
    Definition: reduce.c:88
    -
    Header file with internal function prototypes NCEPLIBS-g2c library.
    -
    int64_t g2int
    Long integer type.
    Definition: grib2.h:28
    diff --git a/resize.js b/resize.js index a0bb5f45..e1ad0fe3 100644 --- a/resize.js +++ b/resize.js @@ -1,25 +1,26 @@ /* - @licstart The following is the entire license notice for the - JavaScript code in this file. + @licstart The following is the entire license notice for the JavaScript code in this file. - Copyright (C) 1997-2017 by Dimitri van Heesch + The MIT License (MIT) - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + Copyright (C) 1997-2020 by Dimitri van Heesch - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. - @licend The above is the entire license notice - for the JavaScript code in this file + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file */ function initResizable() { @@ -91,7 +92,9 @@ function initResizable() } collapsedWidth=width; } - (document.getElementById(location.hash.slice(1))||document.body).scrollIntoView(); + if (location.hash.slice(1)) { + (document.getElementById(location.hash.slice(1))||document.body).scrollIntoView(); + } } function collapseExpand() diff --git a/search/all_0.js b/search/all_0.js index 6d4ddb82..9aab4ea0 100644 --- a/search/all_0.js +++ b/search/all_0.js @@ -1,4 +1,7 @@ var searchData= [ - ['alog2_0',['ALOG2',['../grib2__int_8h.html#aca7ef7356b1550ae26423a6d8012f5fd',1,'grib2_int.h']]] + ['abbrev_0',['abbrev',['../grib2__int_8h.html#aa2773b08dd14877f37a450421796fe45',1,'g2c_param']]], + ['add_5fmsg_1',['add_msg',['../g2cfile_8c.html#a9474e2c676b3c163bcbd2b928fd509f3',1,'add_msg(G2C_FILE_INFO_T *file, int msg_num, size_t bytes_to_msg, size_t bytes_in_msg, int read_file, G2C_MESSAGE_INFO_T **msg): g2cfile.c'],['../grib2__int_8h.html#a9474e2c676b3c163bcbd2b928fd509f3',1,'add_msg(G2C_FILE_INFO_T *file, int msg_num, size_t bytes_to_msg, size_t bytes_in_msg, int read_file, G2C_MESSAGE_INFO_T **msg): g2cfile.c']]], + ['add_5fsection_2',['add_section',['../g2cfile_8c.html#a9b77b4fddeb0b4e4d136bb7c2460b7cc',1,'add_section(FILE *f, G2C_MESSAGE_INFO_T *msg, int sec_id, unsigned int sec_len, size_t bytes_to_sec, unsigned char sec_num): g2cfile.c'],['../grib2__int_8h.html#a9b77b4fddeb0b4e4d136bb7c2460b7cc',1,'add_section(FILE *f, G2C_MESSAGE_INFO_T *msg, int sec_id, unsigned int sec_len, size_t bytes_to_sec, unsigned char sec_num): g2cfile.c']]], + ['alog2_3',['ALOG2',['../grib2__int_8h.html#aca7ef7356b1550ae26423a6d8012f5fd',1,'grib2_int.h']]] ]; diff --git a/search/all_1.js b/search/all_1.js index f180b597..81350aa4 100644 --- a/search/all_1.js +++ b/search/all_1.js @@ -1,5 +1,16 @@ var searchData= [ - ['bits_5fper_5fbyte_1',['BITS_PER_BYTE',['../seekgb_8c.html#a369ecd38b3ab077fc235f892354bb46f',1,'seekgb.c']]], - ['bmap_2',['bmap',['../grib2_8h.html#aeedbfa7bd7399aaed4554245d182b369',1,'gribfield']]] + ['bitshift_5f15_4',['BITSHIFT_15',['../g2cio_8c.html#a64ba8ad777044454eea36f02206b04e7',1,'g2cio.c']]], + ['bitshift_5f31_5',['BITSHIFT_31',['../g2cio_8c.html#ac983e96cb327c68aab7f99a310102bef',1,'g2cio.c']]], + ['bitshift_5f63_6',['BITSHIFT_63',['../g2cio_8c.html#aa4291e37b14092366ecabb502a32e644',1,'g2cio.c']]], + ['bitshift_5f7_7',['BITSHIFT_7',['../g2cio_8c.html#a1e7305cfdbd4492cb2d1cbad6916a1df',1,'g2cio.c']]], + ['bmap_8',['bmap',['../grib2_8h.html#aeedbfa7bd7399aaed4554245d182b369',1,'gribfield']]], + ['byte_9',['BYTE',['../grib2__int_8h.html#aec93e83855ac17c3c25c55c37ca186dd',1,'grib2_int.h']]], + ['bytes_5fin_5fmsg_10',['bytes_in_msg',['../grib2__int_8h.html#a7eccf6cd6fa0f202a1c71c5af338d227',1,'g2c_message_info']]], + ['bytes_5fto_5fbms_11',['bytes_to_bms',['../grib2__int_8h.html#ae8a6efe20a158c6aa8ff026e13b1780f',1,'g2c_message_info']]], + ['bytes_5fto_5fdata_12',['bytes_to_data',['../grib2__int_8h.html#a62eb31cd21e5c37b6378a052eecd67bc',1,'g2c_message_info']]], + ['bytes_5fto_5fdiscipline_13',['BYTES_TO_DISCIPLINE',['../g2cfile_8c.html#aa13705298bc1de257ed922f999da7c1c',1,'g2cfile.c']]], + ['bytes_5fto_5flocal_14',['bytes_to_local',['../grib2__int_8h.html#a06da9ee061feffa47c552b808166dd6b',1,'g2c_message_info']]], + ['bytes_5fto_5fmsg_15',['bytes_to_msg',['../grib2__int_8h.html#af149feb9c6a24df42c987bbadb5d2c18',1,'g2c_message_info']]], + ['bytes_5fto_5fsec_16',['bytes_to_sec',['../grib2__int_8h.html#aab2569498daaf959c3836f15ee38276d',1,'g2c_section_info']]] ]; diff --git a/search/all_10.js b/search/all_10.js index a4850ce8..cce2a9fe 100644 --- a/search/all_10.js +++ b/search/all_10.js @@ -1,8 +1,29 @@ var searchData= [ - ['unpacked_211',['unpacked',['../grib2_8h.html#a79acbc94d3f1a0299369b95dae0f5a47',1,'gribfield']]], - ['user_5fflush_5fdata_212',['user_flush_data',['../enc__png_8c.html#a97f27ca60f363a8a91319d3adee16b0e',1,'enc_png.c']]], - ['user_5fread_5fdata_213',['user_read_data',['../dec__png_8c.html#abe576ea8faea4144cac413a8d2cc6ec7',1,'dec_png.c']]], - ['user_5fwrite_5fdata_214',['user_write_data',['../enc__png_8c.html#ac84301dcabbe4c2893799955c50c38a5',1,'enc_png.c']]], - ['util_2ec_215',['util.c',['../util_8c.html',1,'']]] + ['sbit_470',['sbit',['../grib2__int_8h.html#af9e044ba7da32a5415e351ed647ef676',1,'sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits): gbits.c'],['../gbits_8c.html#af9e044ba7da32a5415e351ed647ef676',1,'sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits): gbits.c']]], + ['sbits_471',['sbits',['../grib2__int_8h.html#a92b32e56ff8941c5026d460f4fe2aec3',1,'sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n): gbits.c'],['../gbits_8c.html#a92b32e56ff8941c5026d460f4fe2aec3',1,'sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n): gbits.c']]], + ['sec_472',['sec',['../grib2__int_8h.html#a1dff2889177040680db6291b350c9d1c',1,'g2c_message_info']]], + ['sec1_5flen_473',['sec1_len',['../grib2__int_8h.html#af33ecc99c8b4f4240c69a380b73774f4',1,'g2c_message_info']]], + ['sec_5fid_474',['sec_id',['../grib2__int_8h.html#a2320bf6fe88358a510c67d695395d94d',1,'g2c_section_info']]], + ['sec_5finfo_475',['sec_info',['../grib2__int_8h.html#a9736c199befb7d6cdc3cc771d5e5fd9c',1,'g2c_section_info']]], + ['sec_5flen_476',['sec_len',['../grib2__int_8h.html#a9adc2635c9c81b265f32cbce68b1b474',1,'g2c_section_info']]], + ['sec_5fnum_477',['sec_num',['../grib2__int_8h.html#a8c079c93f9e85a2c75bd3fb5060fd907',1,'g2c_section_info']]], + ['second_478',['second',['../grib2__int_8h.html#abc902f5b888b64b5004b189d25550c99',1,'g2c_message_info']]], + ['section1_479',['section1',['../grib2__int_8h.html#ad1948cfc6aa884bfd9e1312056f5ad08',1,'g2c_message_info']]], + ['section_5fnumber_480',['section_number',['../grib2__int_8h.html#a47b9c7dead0ce3a30ed49cbefe630be9',1,'g2c_message_info']]], + ['section_5foffset_481',['section_offset',['../grib2__int_8h.html#a45620124942dba0d67515b08299a4c43',1,'g2c_message_info']]], + ['seekgb_482',['seekgb',['../grib2_8h.html#a27edb1018106a2e02743be31afc5ea0c',1,'seekgb(FILE *lugb, g2int iseek, g2int mseek, g2int *lskip, g2int *lgrib): seekgb.c'],['../seekgb_8c.html#a27edb1018106a2e02743be31afc5ea0c',1,'seekgb(FILE *lugb, g2int iseek, g2int mseek, g2int *lskip, g2int *lgrib): seekgb.c']]], + ['seekgb_2ec_483',['seekgb.c',['../seekgb_8c.html',1,'']]], + ['sig_5fref_5ftime_484',['sig_ref_time',['../grib2__int_8h.html#a626f386b445c0d2910d680559621c194',1,'g2c_message_info']]], + ['simpack_485',['simpack',['../simpack_8c.html#ac0b7f3dd51c470b9fb883bc93d82ab49',1,'simpack(float *fld, g2int ndpts, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): simpack.c'],['../grib2__int_8h.html#ac0b7f3dd51c470b9fb883bc93d82ab49',1,'simpack(float *fld, g2int ndpts, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): simpack.c']]], + ['simpack_2ec_486',['simpack.c',['../simpack_8c.html',1,'']]], + ['simunpack_487',['simunpack',['../grib2__int_8h.html#af1de6ae0957904b78ff8cfd7eeb908fa',1,'simunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, float *fld): simunpack.c'],['../simunpack_8c.html#af1de6ae0957904b78ff8cfd7eeb908fa',1,'simunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, float *fld): simunpack.c']]], + ['simunpack_2ec_488',['simunpack.c',['../simunpack_8c.html',1,'']]], + ['source_5fgrid_5fdef_489',['source_grid_def',['../grib2__int_8h.html#ac5089b3aa084e111dcf76fe148d4cadc',1,'g2c_section3_info']]], + ['specpack_490',['specpack',['../grib2__int_8h.html#ab712ca4ca13ff72a2a4f3738e9ef66ce',1,'specpack(float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): specpack.c'],['../specpack_8c.html#ab712ca4ca13ff72a2a4f3738e9ef66ce',1,'specpack(float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): specpack.c']]], + ['specpack_2ec_491',['specpack.c',['../specpack_8c.html',1,'']]], + ['specunpack_492',['specunpack',['../grib2__int_8h.html#accf1040682acbd7ef03f54ca5250d683',1,'specunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2int JJ, g2int KK, g2int MM, float *fld): specunpack.c'],['../specunpack_8c.html#accf1040682acbd7ef03f54ca5250d683',1,'specunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2int JJ, g2int KK, g2int MM, float *fld): specunpack.c']]], + ['specunpack_2ec_493',['specunpack.c',['../specunpack_8c.html',1,'']]], + ['status_494',['status',['../grib2__int_8h.html#aab42481c672ffe6236cda6027d174a61',1,'g2c_message_info']]], + ['subcenter_495',['subcenter',['../grib2__int_8h.html#a21a8c63eb7714bf474d25a32017b127f',1,'g2c_message_info']]] ]; diff --git a/search/all_11.js b/search/all_11.js index ee3f9812..ff5575d6 100644 --- a/search/all_11.js +++ b/search/all_11.js @@ -1,4 +1,11 @@ var searchData= [ - ['version_216',['version',['../grib2_8h.html#ac1a18226d7790431bad8b065f85befa5',1,'gribfield']]] + ['template_496',['template',['../grib2__int_8h.html#af280c0c0846f17808aae9772a42edc19',1,'g2c_section_info']]], + ['template_5flen_497',['template_len',['../grib2__int_8h.html#ac5827e102f2aaacc0abcbc5a5aafb678',1,'g2c_section_info']]], + ['templatesdrs_498',['templatesdrs',['../drstemplates_8c.html#a091bb17f961371f8e1fbb561704c8d79',1,'drstemplates.c']]], + ['templatesgrid_499',['templatesgrid',['../gridtemplates_8c.html#a94f41c032c530c18e7d69af3f21b569c',1,'gridtemplates.c']]], + ['templatespds_500',['templatespds',['../pdstemplates_8c.html#acda47ee5416fc0feb17fc90ba7891f46',1,'pdstemplates.c']]], + ['true_5f_501',['TRUE_',['../pack__gp_8c.html#aca1e6c3771fa0306e1dad2b11d22a8e5',1,'pack_gp.c']]], + ['two_5fbytes_502',['TWO_BYTES',['../grib2__int_8h.html#ab427e6926fcc47eb1c02c1f78162b6f6',1,'grib2_int.h']]], + ['type_503',['type',['../grib2__int_8h.html#a4632cb054d0f24d1f39f7e174bc40e28',1,'g2c_message_info::type()'],['../grib2__int_8h.html#ad28b4af0030473208605c2cf2c5e3f36',1,'gtemplate::type()']]] ]; diff --git a/search/all_12.html b/search/all_12.html new file mode 100644 index 00000000..ab934722 --- /dev/null +++ b/search/all_12.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_12.js b/search/all_12.js new file mode 100644 index 00000000..82cc5849 --- /dev/null +++ b/search/all_12.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['unpacked_504',['unpacked',['../grib2_8h.html#a79acbc94d3f1a0299369b95dae0f5a47',1,'gribfield']]], + ['user_5fflush_5fdata_505',['user_flush_data',['../enc__png_8c.html#a97f27ca60f363a8a91319d3adee16b0e',1,'enc_png.c']]], + ['user_5fread_5fdata_506',['user_read_data',['../dec__png_8c.html#abe576ea8faea4144cac413a8d2cc6ec7',1,'dec_png.c']]], + ['user_5fwrite_5fdata_507',['user_write_data',['../enc__png_8c.html#ac84301dcabbe4c2893799955c50c38a5',1,'enc_png.c']]], + ['util_2ec_508',['util.c',['../util_8c.html',1,'']]] +]; diff --git a/search/all_13.html b/search/all_13.html new file mode 100644 index 00000000..51172c2f --- /dev/null +++ b/search/all_13.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_13.js b/search/all_13.js new file mode 100644 index 00000000..f0feb7c2 --- /dev/null +++ b/search/all_13.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['value_509',['value',['../grib2__int_8h.html#a9795d38c518857794dee05363ea27997',1,'g2c_dim_info']]], + ['version_510',['version',['../grib2_8h.html#ac1a18226d7790431bad8b065f85befa5',1,'gribfield']]] +]; diff --git a/search/all_14.html b/search/all_14.html new file mode 100644 index 00000000..afecf563 --- /dev/null +++ b/search/all_14.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_14.js b/search/all_14.js new file mode 100644 index 00000000..0915c563 --- /dev/null +++ b/search/all_14.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['word_511',['WORD',['../grib2__int_8h.html#a4cfc63e05db4883dc4b60a1245a9ffc5',1,'grib2_int.h']]] +]; diff --git a/search/all_15.html b/search/all_15.html new file mode 100644 index 00000000..69f382b3 --- /dev/null +++ b/search/all_15.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_15.js b/search/all_15.js new file mode 100644 index 00000000..f08d0df9 --- /dev/null +++ b/search/all_15.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['year_512',['year',['../grib2__int_8h.html#aa656185846e3574abd79f57b1ee3d899',1,'g2c_message_info']]] +]; diff --git a/search/all_2.js b/search/all_2.js index 38ed51b5..efd2e0ba 100644 --- a/search/all_2.js +++ b/search/all_2.js @@ -1,10 +1,12 @@ var searchData= [ - ['cmplxpack_3',['cmplxpack',['../cmplxpack_8c.html#a1866293a23a4f417804e829d30817054',1,'cmplxpack(g2float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): cmplxpack.c'],['../grib2__int_8h.html#a1866293a23a4f417804e829d30817054',1,'cmplxpack(g2float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): cmplxpack.c']]], - ['cmplxpack_2ec_4',['cmplxpack.c',['../cmplxpack_8c.html',1,'']]], - ['compack_5',['compack',['../compack_8c.html#a1e3bc6eb03df58e192ded1b429f172e0',1,'compack(g2float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): compack.c'],['../grib2__int_8h.html#a1e3bc6eb03df58e192ded1b429f172e0',1,'compack(g2float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): compack.c']]], - ['compack_2ec_6',['compack.c',['../compack_8c.html',1,'']]], - ['comunpack_7',['comunpack',['../comunpack_8c.html#a7c04fe1475985ae33214a65398cd1d94',1,'comunpack(unsigned char *cpack, g2int lensec, g2int idrsnum, g2int *idrstmpl, g2int ndpts, g2float *fld): comunpack.c'],['../grib2__int_8h.html#a7c04fe1475985ae33214a65398cd1d94',1,'comunpack(unsigned char *cpack, g2int lensec, g2int idrsnum, g2int *idrstmpl, g2int ndpts, g2float *fld): comunpack.c']]], - ['comunpack_2ec_8',['comunpack.c',['../comunpack_8c.html',1,'']]], - ['coord_5flist_9',['coord_list',['../grib2_8h.html#a2c1e929174fda138d1e5214e0286b7a5',1,'gribfield']]] + ['center_17',['center',['../grib2__int_8h.html#afca06e92d8dcf3c8f1172f3414ab870a',1,'g2c_message_info']]], + ['cmplxpack_18',['cmplxpack',['../cmplxpack_8c.html#a099225c582defca6ab562d9aad5bc20b',1,'cmplxpack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): cmplxpack.c'],['../grib2__int_8h.html#a099225c582defca6ab562d9aad5bc20b',1,'cmplxpack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): cmplxpack.c']]], + ['cmplxpack_2ec_19',['cmplxpack.c',['../cmplxpack_8c.html',1,'']]], + ['compack_20',['compack',['../compack_8c.html#acbf694045589babceb7412ac6faadc39',1,'compack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): compack.c'],['../grib2__int_8h.html#acbf694045589babceb7412ac6faadc39',1,'compack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): compack.c']]], + ['compack_2ec_21',['compack.c',['../compack_8c.html',1,'']]], + ['comunpack_22',['comunpack',['../comunpack_8c.html#ab6cce79f010456f1e882fa1c027062da',1,'comunpack(unsigned char *cpack, g2int lensec, g2int idrsnum, g2int *idrstmpl, g2int ndpts, float *fld): comunpack.c'],['../grib2__int_8h.html#ab6cce79f010456f1e882fa1c027062da',1,'comunpack(unsigned char *cpack, g2int lensec, g2int idrsnum, g2int *idrstmpl, g2int ndpts, float *fld): comunpack.c']]], + ['comunpack_2ec_23',['comunpack.c',['../comunpack_8c.html',1,'']]], + ['coord_5flist_24',['coord_list',['../grib2_8h.html#a967c330a784570751d24078576317278',1,'gribfield']]], + ['csv_5ffile_25',['CSV_FILE',['../g2cparams_8c.html#a160c2d9af5acc96d8adaa910a6ac0805',1,'g2cparams.c']]] ]; diff --git a/search/all_3.js b/search/all_3.js index f5b7454a..3bfc4174 100644 --- a/search/all_3.js +++ b/search/all_3.js @@ -1,10 +1,16 @@ var searchData= [ - ['dec_5fjpeg2000_10',['dec_jpeg2000',['../dec__jpeg2000_8c.html#aecc47ef133bb090df718275d41098613',1,'dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld): dec_jpeg2000.c'],['../grib2__int_8h.html#aecc47ef133bb090df718275d41098613',1,'dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld): dec_jpeg2000.c']]], - ['dec_5fjpeg2000_2ec_11',['dec_jpeg2000.c',['../dec__jpeg2000_8c.html',1,'']]], - ['dec_5fpng_12',['dec_png',['../dec__png_8c.html#a4c7dfb37dbbca9143143db5aeb2f6005',1,'dec_png(unsigned char *pngbuf, g2int *width, g2int *height, unsigned char *cout): dec_png.c'],['../grib2__int_8h.html#a4c7dfb37dbbca9143143db5aeb2f6005',1,'dec_png(unsigned char *pngbuf, g2int *width, g2int *height, unsigned char *cout): dec_png.c']]], - ['dec_5fpng_2ec_13',['dec_png.c',['../dec__png_8c.html',1,'']]], - ['decenc_5fopenjpeg_2ec_14',['decenc_openjpeg.c',['../decenc__openjpeg_8c.html',1,'']]], - ['discipline_15',['discipline',['../grib2_8h.html#a4af2c3dfeb1cba7be35cd63ea9c51574',1,'gribfield']]], - ['drstemplates_2ec_16',['drstemplates.c',['../drstemplates_8c.html',1,'']]] + ['data_5fdef_26',['data_def',['../grib2__int_8h.html#aeb41d96ee4ff703298807472e6d73ba5',1,'g2c_section5_info']]], + ['day_27',['day',['../grib2__int_8h.html#abecb87ff997d6d0f929ba1a770f0621b',1,'g2c_message_info']]], + ['dec_5fjpeg2000_28',['dec_jpeg2000',['../dec__jpeg2000_8c.html#aecc47ef133bb090df718275d41098613',1,'dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld): dec_jpeg2000.c'],['../grib2__int_8h.html#aecc47ef133bb090df718275d41098613',1,'dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld): dec_jpeg2000.c']]], + ['dec_5fjpeg2000_2ec_29',['dec_jpeg2000.c',['../dec__jpeg2000_8c.html',1,'']]], + ['dec_5fpng_30',['dec_png',['../dec__png_8c.html#a4c7dfb37dbbca9143143db5aeb2f6005',1,'dec_png(unsigned char *pngbuf, g2int *width, g2int *height, unsigned char *cout): dec_png.c'],['../grib2__int_8h.html#a4c7dfb37dbbca9143143db5aeb2f6005',1,'dec_png(unsigned char *pngbuf, g2int *width, g2int *height, unsigned char *cout): dec_png.c']]], + ['dec_5fpng_2ec_31',['dec_png.c',['../dec__png_8c.html',1,'']]], + ['decenc_5fopenjpeg_2ec_32',['decenc_openjpeg.c',['../decenc__openjpeg_8c.html',1,'']]], + ['determine_5fdims_33',['determine_dims',['../g2cfile_8c.html#a469752e68c9f6532ca2af09351146bf2',1,'g2cfile.c']]], + ['dim_34',['dim',['../grib2__int_8h.html#a242577f5fe354b2dd763690ba085ec4c',1,'g2c_section3_info']]], + ['dimid_35',['dimid',['../grib2__int_8h.html#abd1ec3c7391edfa6899ccf4e45b7e52e',1,'g2c_dim_info']]], + ['discipline_36',['discipline',['../grib2__int_8h.html#a6ae662fc009939e70b82141e1671a0bb',1,'g2c_message_info::discipline()'],['../grib2_8h.html#a4af2c3dfeb1cba7be35cd63ea9c51574',1,'gribfield::discipline()']]], + ['doc_37',['doc',['../g2cxml_8c.html#acb7e0779c02127031b073502aca38a8c',1,'g2cxml.c']]], + ['drstemplates_2ec_38',['drstemplates.c',['../drstemplates_8c.html',1,'']]] ]; diff --git a/search/all_4.js b/search/all_4.js index da1c1963..faff1abf 100644 --- a/search/all_4.js +++ b/search/all_4.js @@ -1,13 +1,15 @@ var searchData= [ - ['enc_5fjpeg2000_17',['enc_jpeg2000',['../enc__jpeg2000_8c.html#af4af6d586d2f9ca5da713d025dccf781',1,'enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen): enc_jpeg2000.c'],['../grib2__int_8h.html#af4af6d586d2f9ca5da713d025dccf781',1,'enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen): enc_jpeg2000.c']]], - ['enc_5fjpeg2000_2ec_18',['enc_jpeg2000.c',['../enc__jpeg2000_8c.html',1,'']]], - ['enc_5fpng_19',['enc_png',['../enc__png_8c.html#a0b304f2dca88e94a76c1182fbc1f5938',1,'enc_png(unsigned char *data, g2int width, g2int height, g2int nbits, unsigned char *pngbuf): enc_png.c'],['../grib2__int_8h.html#a0b304f2dca88e94a76c1182fbc1f5938',1,'enc_png(unsigned char *data, g2int width, g2int height, g2int nbits, unsigned char *pngbuf): enc_png.c']]], - ['enc_5fpng_2ec_20',['enc_png.c',['../enc__png_8c.html',1,'']]], - ['expanded_21',['expanded',['../grib2_8h.html#ae5b5e6f9849720b476555b4b32096f20',1,'gribfield']]], - ['ext_22',['ext',['../grib2__int_8h.html#a312a417c8e6f68bea7bfe86268c16594',1,'gtemplate']]], - ['extdrstemplate_23',['extdrstemplate',['../drstemplates_8c.html#a29eb8a2ca16e15e491d7115725ff907c',1,'extdrstemplate(g2int number, g2int *list): drstemplates.c'],['../grib2__int_8h.html#a29eb8a2ca16e15e491d7115725ff907c',1,'extdrstemplate(g2int number, g2int *list): drstemplates.c']]], - ['extgridtemplate_24',['extgridtemplate',['../grib2__int_8h.html#a0d65c7c29a06c12ebee26746476d49c9',1,'extgridtemplate(g2int number, g2int *list): gridtemplates.c'],['../gridtemplates_8c.html#a0d65c7c29a06c12ebee26746476d49c9',1,'extgridtemplate(g2int number, g2int *list): gridtemplates.c']]], - ['extlen_25',['extlen',['../grib2__int_8h.html#a743151a1bde2a21603926e1541baa5de',1,'gtemplate']]], - ['extpdstemplate_26',['extpdstemplate',['../grib2__int_8h.html#a64e5f115f7c4ec0b1b7d8af8376d12eb',1,'extpdstemplate(g2int number, g2int *list): pdstemplates.c'],['../pdstemplates_8c.html#a64e5f115f7c4ec0b1b7d8af8376d12eb',1,'extpdstemplate(g2int number, g2int *list): pdstemplates.c']]] + ['eight_5fbytes_39',['EIGHT_BYTES',['../grib2__int_8h.html#ace025ff0f3bbc5575c7eca20d39653a0',1,'grib2_int.h']]], + ['enc_5fjpeg2000_40',['enc_jpeg2000',['../grib2__int_8h.html#af4af6d586d2f9ca5da713d025dccf781',1,'enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen): enc_jpeg2000.c'],['../enc__jpeg2000_8c.html#af4af6d586d2f9ca5da713d025dccf781',1,'enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen): enc_jpeg2000.c']]], + ['enc_5fjpeg2000_2ec_41',['enc_jpeg2000.c',['../enc__jpeg2000_8c.html',1,'']]], + ['enc_5fpng_42',['enc_png',['../grib2__int_8h.html#a0b304f2dca88e94a76c1182fbc1f5938',1,'enc_png(unsigned char *data, g2int width, g2int height, g2int nbits, unsigned char *pngbuf): enc_png.c'],['../enc__png_8c.html#a0b304f2dca88e94a76c1182fbc1f5938',1,'enc_png(unsigned char *data, g2int width, g2int height, g2int nbits, unsigned char *pngbuf): enc_png.c']]], + ['enc_5fpng_2ec_43',['enc_png.c',['../enc__png_8c.html',1,'']]], + ['expanded_44',['expanded',['../grib2_8h.html#ae5b5e6f9849720b476555b4b32096f20',1,'gribfield']]], + ['ext_45',['ext',['../grib2__int_8h.html#a312a417c8e6f68bea7bfe86268c16594',1,'gtemplate']]], + ['extdrstemplate_46',['extdrstemplate',['../drstemplates_8c.html#a29eb8a2ca16e15e491d7115725ff907c',1,'extdrstemplate(g2int number, g2int *list): drstemplates.c'],['../grib2__int_8h.html#a29eb8a2ca16e15e491d7115725ff907c',1,'extdrstemplate(g2int number, g2int *list): drstemplates.c']]], + ['extern_5fmutex_47',['EXTERN_MUTEX',['../grib2__int_8h.html#af1e2cdb6482d0eda709d3beea3426687',1,'EXTERN_MUTEX(): grib2_int.h'],['../g2cindex_8c.html#af762d41ed99e829c53653662192c859d',1,'EXTERN_MUTEX(m): g2cindex.c'],['../g2cinq_8c.html#af762d41ed99e829c53653662192c859d',1,'EXTERN_MUTEX(m): g2cinq.c']]], + ['extgridtemplate_48',['extgridtemplate',['../grib2__int_8h.html#a0d65c7c29a06c12ebee26746476d49c9',1,'extgridtemplate(g2int number, g2int *list): gridtemplates.c'],['../gridtemplates_8c.html#a8300c17bb873509fba7a24ec9fe6b4ad',1,'extgridtemplate(g2int number, g2int *template): gridtemplates.c']]], + ['extlen_49',['extlen',['../grib2__int_8h.html#a743151a1bde2a21603926e1541baa5de',1,'gtemplate']]], + ['extpdstemplate_50',['extpdstemplate',['../grib2__int_8h.html#a64e5f115f7c4ec0b1b7d8af8376d12eb',1,'extpdstemplate(g2int number, g2int *list): pdstemplates.c'],['../pdstemplates_8c.html#a64e5f115f7c4ec0b1b7d8af8376d12eb',1,'extpdstemplate(g2int number, g2int *list): pdstemplates.c']]] ]; diff --git a/search/all_5.js b/search/all_5.js index 567be8ed..55343706 100644 --- a/search/all_5.js +++ b/search/all_5.js @@ -1,5 +1,11 @@ var searchData= [ - ['false_5f_27',['FALSE_',['../pack__gp_8c.html#ad4986ecbba005b963f63a85f7c8c281d',1,'pack_gp.c']]], - ['fld_28',['fld',['../grib2_8h.html#ade69d8c093b2aa18c720c833def6198f',1,'gribfield']]] + ['f_51',['f',['../grib2__int_8h.html#ac1966f1beac4c32fd406abb7272108f5',1,'g2c_file_info']]], + ['false_5f_52',['FALSE_',['../pack__gp_8c.html#ad4986ecbba005b963f63a85f7c8c281d',1,'pack_gp.c']]], + ['file_53',['file',['../grib2__int_8h.html#afef2b1103683c1aa3333fa7d5a83db01',1,'g2c_message_info']]], + ['find_5favailable_5fg2cid_54',['find_available_g2cid',['../g2cfile_8c.html#af251e6786990405633095ab288f06a06',1,'g2cfile.c']]], + ['fld_55',['fld',['../grib2_8h.html#ad98aa9cc23b61713ef77a84772688427',1,'gribfield']]], + ['format_5flevel_56',['format_level',['../g2cdegrib2_8c.html#a54048672cf7750b27b06a5f1ecd9ead3',1,'g2cdegrib2.c']]], + ['four_5fbytes_57',['FOUR_BYTES',['../grib2__int_8h.html#a2d4f4340b41c07ec8fc52ff19aa23ec4',1,'grib2_int.h']]], + ['free_5fmetadata_58',['free_metadata',['../g2cfile_8c.html#ab86d8501a831d9b263548f1664dc661c',1,'g2cfile.c']]] ]; diff --git a/search/all_6.js b/search/all_6.js index 18ab07c3..32994152 100644 --- a/search/all_6.js +++ b/search/all_6.js @@ -1,111 +1,320 @@ var searchData= [ - ['g2_5fadd_5fmsg_5fcomplete_29',['G2_ADD_MSG_COMPLETE',['../grib2_8h.html#a5aaef5008fd9be5c044b207231cf767f',1,'grib2.h']]], - ['g2_5fadd_5fmsg_5finit_30',['G2_ADD_MSG_INIT',['../grib2_8h.html#a9627c88b7c7dd863cb3af9fb3e10011b',1,'grib2.h']]], - ['g2_5faddfield_31',['g2_addfield',['../g2__addfield_8c.html#afdf096f036ed768ec874389f5389ee26',1,'g2_addfield(unsigned char *cgrib, g2int ipdsnum, g2int *ipdstmpl, g2float *coordlist, g2int numcoord, g2int idrsnum, g2int *idrstmpl, g2float *fld, g2int ngrdpts, g2int ibmap, g2int *bmap): g2_addfield.c'],['../grib2_8h.html#afdf096f036ed768ec874389f5389ee26',1,'g2_addfield(unsigned char *cgrib, g2int ipdsnum, g2int *ipdstmpl, g2float *coordlist, g2int numcoord, g2int idrsnum, g2int *idrstmpl, g2float *fld, g2int ngrdpts, g2int ibmap, g2int *bmap): g2_addfield.c']]], - ['g2_5faddfield_2ec_32',['g2_addfield.c',['../g2__addfield_8c.html',1,'']]], - ['g2_5faddfield_5fbad_5fbitmap_33',['G2_ADDFIELD_BAD_BITMAP',['../grib2_8h.html#a496eb9c096d0ecdc712ebea3ffd3a37d',1,'grib2.h']]], - ['g2_5faddfield_5fbad_5fdrt_34',['G2_ADDFIELD_BAD_DRT',['../grib2_8h.html#a5a92ce5b0b8da884e2924dba7f1e1a95',1,'grib2.h']]], - ['g2_5faddfield_5fbad_5fgds_35',['G2_ADDFIELD_BAD_GDS',['../grib2_8h.html#a28e1af8be9f9c34241c0c8ce780c2707',1,'grib2.h']]], - ['g2_5faddfield_5fbad_5fgdt_36',['G2_ADDFIELD_BAD_GDT',['../grib2_8h.html#aaead77879d197777943ee9c53e0672ef',1,'grib2.h']]], - ['g2_5faddfield_5fbad_5fpdt_37',['G2_ADDFIELD_BAD_PDT',['../grib2_8h.html#a7661683648959dad5ea1d2def2cb766d',1,'grib2.h']]], - ['g2_5faddfield_5ferr_38',['G2_ADDFIELD_ERR',['../grib2_8h.html#ad37ad5e44291e1b229321755b4838c3a',1,'grib2.h']]], - ['g2_5faddgrid_39',['g2_addgrid',['../g2__addgrid_8c.html#a14908ea75d83021b0ec10ae8c084567c',1,'g2_addgrid(unsigned char *cgrib, g2int *igds, g2int *igdstmpl, g2int *ideflist, g2int idefnum): g2_addgrid.c'],['../grib2_8h.html#a14908ea75d83021b0ec10ae8c084567c',1,'g2_addgrid(unsigned char *cgrib, g2int *igds, g2int *igdstmpl, g2int *ideflist, g2int idefnum): g2_addgrid.c']]], - ['g2_5faddgrid_2ec_40',['g2_addgrid.c',['../g2__addgrid_8c.html',1,'']]], - ['g2_5faddgrid_5fbad_5fgdt_41',['G2_ADDGRID_BAD_GDT',['../grib2_8h.html#a3687ada1cdabe6b44b62620a3e4e612b',1,'grib2.h']]], - ['g2_5faddlocal_42',['g2_addlocal',['../grib2_8h.html#aa9490d67c089f6a15fd9941f273752c3',1,'g2_addlocal(unsigned char *cgrib, unsigned char *csec2, g2int lcsec2): g2_addlocal.c'],['../g2__addlocal_8c.html#aa9490d67c089f6a15fd9941f273752c3',1,'g2_addlocal(unsigned char *cgrib, unsigned char *csec2, g2int lcsec2): g2_addlocal.c']]], - ['g2_5faddlocal_2ec_43',['g2_addlocal.c',['../g2__addlocal_8c.html',1,'']]], - ['g2_5fbad_5fsec_44',['G2_BAD_SEC',['../grib2_8h.html#a362f4c8ddcb007058bccba7eab1ff8e0',1,'grib2.h']]], - ['g2_5fbad_5fsec_5fcounts_45',['G2_BAD_SEC_COUNTS',['../grib2_8h.html#a06d37843d3f4b3f46cb240206ce430b0',1,'grib2.h']]], - ['g2_5fcreate_46',['g2_create',['../g2__create_8c.html#a0e8970973e1cefc142240f961a796108',1,'g2_create(unsigned char *cgrib, g2int *listsec0, g2int *listsec1): g2_create.c'],['../grib2_8h.html#a0e8970973e1cefc142240f961a796108',1,'g2_create(unsigned char *cgrib, g2int *listsec0, g2int *listsec1): g2_create.c']]], - ['g2_5fcreate_2ec_47',['g2_create.c',['../g2__create_8c.html',1,'']]], - ['g2_5fcreate_5fgrib_5fversion_48',['G2_CREATE_GRIB_VERSION',['../grib2_8h.html#ae740c66315236fc68d4f337558587505',1,'grib2.h']]], - ['g2_5ffree_49',['g2_free',['../g2__free_8c.html#a084c47c8f83bb5a5c7799753ac7b6f02',1,'g2_free(gribfield *gfld): g2_free.c'],['../grib2_8h.html#a084c47c8f83bb5a5c7799753ac7b6f02',1,'g2_free(gribfield *gfld): g2_free.c']]], - ['g2_5ffree_2ec_50',['g2_free.c',['../g2__free_8c.html',1,'']]], - ['g2_5fgetfld_51',['g2_getfld',['../g2__getfld_8c.html#abad9d3ba0ee798acd442850573fc6b8e',1,'g2_getfld(unsigned char *cgrib, g2int ifldnum, g2int unpack, g2int expand, gribfield **gfld): g2_getfld.c'],['../grib2_8h.html#abad9d3ba0ee798acd442850573fc6b8e',1,'g2_getfld(unsigned char *cgrib, g2int ifldnum, g2int unpack, g2int expand, gribfield **gfld): g2_getfld.c']]], - ['g2_5fgetfld_2ec_52',['g2_getfld.c',['../g2__getfld_8c.html',1,'']]], - ['g2_5fgetfld_5fbad_5fend_53',['G2_GETFLD_BAD_END',['../grib2_8h.html#ae5716ebe302534d9fc24cf328bade4df',1,'grib2.h']]], - ['g2_5fgetfld_5fbad_5fsec1_54',['G2_GETFLD_BAD_SEC1',['../grib2_8h.html#a57517913da70932f0c56f076207ea90b',1,'grib2.h']]], - ['g2_5fgetfld_5fbad_5fsec2_55',['G2_GETFLD_BAD_SEC2',['../grib2_8h.html#a4f8b8ce8eb11ed2de38710863323f41a',1,'grib2.h']]], - ['g2_5fgetfld_5fbad_5fsec3_56',['G2_GETFLD_BAD_SEC3',['../grib2_8h.html#ad101a194bd4c5c6c0a0dd9aaa6fb9905',1,'grib2.h']]], - ['g2_5fgetfld_5fbad_5fsec4_57',['G2_GETFLD_BAD_SEC4',['../grib2_8h.html#a94364236b4274588b2b4b6b851555e15',1,'grib2.h']]], - ['g2_5fgetfld_5fbad_5fsec5_58',['G2_GETFLD_BAD_SEC5',['../grib2_8h.html#a6065be2bee7e56c7eb0d3673a70be727',1,'grib2.h']]], - ['g2_5fgetfld_5fbad_5fsec6_59',['G2_GETFLD_BAD_SEC6',['../grib2_8h.html#ab2d294bedc5fda5e67800bef91b6de44',1,'grib2.h']]], - ['g2_5fgetfld_5fbad_5fsec7_60',['G2_GETFLD_BAD_SEC7',['../grib2_8h.html#a115c0b1461732602197d7129cb783938',1,'grib2.h']]], - ['g2_5fgetfld_5fgrib_5fversion_61',['G2_GETFLD_GRIB_VERSION',['../grib2_8h.html#a3c94f1f792106e97d1e4cc2fe674e9ef',1,'grib2.h']]], - ['g2_5fgetfld_5finval_62',['G2_GETFLD_INVAL',['../grib2_8h.html#a2915a7e9bd01c1b2bd33a6e362c88acc',1,'grib2.h']]], - ['g2_5fgetfld_5finval_5fsec_63',['G2_GETFLD_INVAL_SEC',['../grib2_8h.html#afeef0a49033cd2735140f87dfe0fe49f',1,'grib2.h']]], - ['g2_5fgetfld_5fno_5fbitmap_64',['G2_GETFLD_NO_BITMAP',['../grib2_8h.html#aee39ba22e9351cf0b7f2813bd1b5dd7e',1,'grib2.h']]], - ['g2_5fgetfld_5fno_5fdrt_65',['G2_GETFLD_NO_DRT',['../grib2_8h.html#ac2734aa4f2d3f10a642b3d7919563dcc',1,'grib2.h']]], - ['g2_5fgetfld_5fno_5fgrib_66',['G2_GETFLD_NO_GRIB',['../grib2_8h.html#a9600b70ed48d9ee91c366c3d2aaaebb3',1,'grib2.h']]], - ['g2_5fgetfld_5fwrong_5fend_67',['G2_GETFLD_WRONG_END',['../grib2_8h.html#a8ebd7f4cdc757b37d8cf344c17329936',1,'grib2.h']]], - ['g2_5fgetfld_5fwrong_5fnflds_68',['G2_GETFLD_WRONG_NFLDS',['../grib2_8h.html#a49e78acc21d879a88d3fb21866878ef6',1,'grib2.h']]], - ['g2_5fgribend_69',['g2_gribend',['../g2__gribend_8c.html#a84081fb5d32251234409b9ec2d72a0e8',1,'g2_gribend(unsigned char *cgrib): g2_gribend.c'],['../grib2_8h.html#a84081fb5d32251234409b9ec2d72a0e8',1,'g2_gribend(unsigned char *cgrib): g2_gribend.c']]], - ['g2_5fgribend_2ec_70',['g2_gribend.c',['../g2__gribend_8c.html',1,'']]], - ['g2_5fgribend_5fmsg_5finit_71',['G2_GRIBEND_MSG_INIT',['../grib2_8h.html#a07313bd28e479d86f64ff744b10a2b78',1,'grib2.h']]], - ['g2_5finfo_72',['g2_info',['../g2__info_8c.html#abf8ecb0fe00805abfce20115357b4fa3',1,'g2_info(unsigned char *cgrib, g2int *listsec0, g2int *listsec1, g2int *numfields, g2int *numlocal): g2_info.c'],['../grib2_8h.html#abf8ecb0fe00805abfce20115357b4fa3',1,'g2_info(unsigned char *cgrib, g2int *listsec0, g2int *listsec1, g2int *numfields, g2int *numlocal): g2_info.c']]], - ['g2_5finfo_2ec_73',['g2_info.c',['../g2__info_8c.html',1,'']]], - ['g2_5finfo_5fbad_5fend_74',['G2_INFO_BAD_END',['../grib2_8h.html#ae174af0c4aa67c5d6217688d45aad4c5',1,'grib2.h']]], - ['g2_5finfo_5fgrib_5fversion_75',['G2_INFO_GRIB_VERSION',['../grib2_8h.html#a55b6bf7ad57b4c202827f3326ad2c4df',1,'grib2.h']]], - ['g2_5finfo_5finval_5fsec_76',['G2_INFO_INVAL_SEC',['../grib2_8h.html#a436d91157da728072516d50f5c349507',1,'grib2.h']]], - ['g2_5finfo_5fno_5fgrib_77',['G2_INFO_NO_GRIB',['../grib2_8h.html#af26cc0775753191aabf4720876452b48',1,'grib2.h']]], - ['g2_5finfo_5fno_5fsec1_78',['G2_INFO_NO_SEC1',['../grib2_8h.html#a14417ca1b452ff2e6681ebd4f00c2dee',1,'grib2.h']]], - ['g2_5finfo_5fwrong_5fend_79',['G2_INFO_WRONG_END',['../grib2_8h.html#af935bef94850a5b24e554393ce0a8eef',1,'grib2.h']]], - ['g2_5fjpcunpack_5fmem_80',['G2_JPCUNPACK_MEM',['../grib2_8h.html#ade01e29b36d4a7b1de09c84c39786fbd',1,'grib2.h']]], - ['g2_5fjpeg2000_5fenabled_81',['G2_JPEG2000_ENABLED',['../grib2_8h.html#a0a07a1092a64ae871ab45b147de85318',1,'grib2.h']]], - ['g2_5fmiss_82',['g2_miss',['../g2__miss_8c.html#a5ededd2735de5cd446ee17c2415592e6',1,'g2_miss.c']]], - ['g2_5fmiss_2ec_83',['g2_miss.c',['../g2__miss_8c.html',1,'']]], - ['g2_5fno_5ferror_84',['G2_NO_ERROR',['../grib2_8h.html#a94af4623709fa1c08f8035b98e7ca56b',1,'grib2.h']]], - ['g2_5fpng_5fenabled_85',['G2_PNG_ENABLED',['../grib2_8h.html#acaa1f7159ddd54e667beca9658c797a0',1,'grib2.h']]], - ['g2_5fspecunpack_5ftype_86',['G2_SPECUNPACK_TYPE',['../grib2_8h.html#ac046d29b8feb2f0333e7a5c8803aba4d',1,'grib2.h']]], - ['g2_5funpack1_87',['g2_unpack1',['../g2__unpack1_8c.html#a5a9f3222320afe0f957406b53ad36223',1,'g2_unpack1(unsigned char *cgrib, g2int *iofst, g2int **ids, g2int *idslen): g2_unpack1.c'],['../grib2_8h.html#a5a9f3222320afe0f957406b53ad36223',1,'g2_unpack1(unsigned char *cgrib, g2int *iofst, g2int **ids, g2int *idslen): g2_unpack1.c']]], - ['g2_5funpack1_2ec_88',['g2_unpack1.c',['../g2__unpack1_8c.html',1,'']]], - ['g2_5funpack2_89',['g2_unpack2',['../g2__unpack2_8c.html#a4b190a45b5223fa43746cf16c80bef47',1,'g2_unpack2(unsigned char *cgrib, g2int *iofst, g2int *lencsec2, unsigned char **csec2): g2_unpack2.c'],['../grib2_8h.html#a4b190a45b5223fa43746cf16c80bef47',1,'g2_unpack2(unsigned char *cgrib, g2int *iofst, g2int *lencsec2, unsigned char **csec2): g2_unpack2.c']]], - ['g2_5funpack2_2ec_90',['g2_unpack2.c',['../g2__unpack2_8c.html',1,'']]], - ['g2_5funpack3_91',['g2_unpack3',['../g2__unpack3_8c.html#ae0f9483c798b7819852b21fa0ae51590',1,'g2_unpack3(unsigned char *cgrib, g2int *iofst, g2int **igds, g2int **igdstmpl, g2int *mapgridlen, g2int **ideflist, g2int *idefnum): g2_unpack3.c'],['../grib2_8h.html#ae0f9483c798b7819852b21fa0ae51590',1,'g2_unpack3(unsigned char *cgrib, g2int *iofst, g2int **igds, g2int **igdstmpl, g2int *mapgridlen, g2int **ideflist, g2int *idefnum): g2_unpack3.c']]], - ['g2_5funpack3_2ec_92',['g2_unpack3.c',['../g2__unpack3_8c.html',1,'']]], - ['g2_5funpack3_5fbad_5fgdt_93',['G2_UNPACK3_BAD_GDT',['../grib2_8h.html#a97570f9ca7b7f018cad85d5f8e5be4e3',1,'grib2.h']]], - ['g2_5funpack4_94',['g2_unpack4',['../g2__unpack4_8c.html#a16eaee8c9cd73c1589475d7af259f950',1,'g2_unpack4(unsigned char *cgrib, g2int *iofst, g2int *ipdsnum, g2int **ipdstmpl, g2int *mappdslen, g2float **coordlist, g2int *numcoord): g2_unpack4.c'],['../grib2_8h.html#a16eaee8c9cd73c1589475d7af259f950',1,'g2_unpack4(unsigned char *cgrib, g2int *iofst, g2int *ipdsnum, g2int **ipdstmpl, g2int *mappdslen, g2float **coordlist, g2int *numcoord): g2_unpack4.c']]], - ['g2_5funpack4_2ec_95',['g2_unpack4.c',['../g2__unpack4_8c.html',1,'']]], - ['g2_5funpack4_5fbad_5fpdt_96',['G2_UNPACK4_BAD_PDT',['../grib2_8h.html#a6441abadc54f311dbef926fdbd7a6e5a',1,'grib2.h']]], - ['g2_5funpack5_97',['g2_unpack5',['../g2__unpack5_8c.html#a0127b9d6f3a258a9d0dd87f986d86b93',1,'g2_unpack5(unsigned char *cgrib, g2int *iofst, g2int *ndpts, g2int *idrsnum, g2int **idrstmpl, g2int *mapdrslen): g2_unpack5.c'],['../grib2_8h.html#a0127b9d6f3a258a9d0dd87f986d86b93',1,'g2_unpack5(unsigned char *cgrib, g2int *iofst, g2int *ndpts, g2int *idrsnum, g2int **idrstmpl, g2int *mapdrslen): g2_unpack5.c']]], - ['g2_5funpack5_2ec_98',['g2_unpack5.c',['../g2__unpack5_8c.html',1,'']]], - ['g2_5funpack5_5fbad_5fdrt_99',['G2_UNPACK5_BAD_DRT',['../grib2_8h.html#a073c8c6c97479d96e86cdaf1bed26f41',1,'grib2.h']]], - ['g2_5funpack6_100',['g2_unpack6',['../g2__unpack6_8c.html#a83638f96ee10ef44c4dddcebf41d8ee6',1,'g2_unpack6(unsigned char *cgrib, g2int *iofst, g2int ngpts, g2int *ibmap, g2int **bmap): g2_unpack6.c'],['../grib2_8h.html#a83638f96ee10ef44c4dddcebf41d8ee6',1,'g2_unpack6(unsigned char *cgrib, g2int *iofst, g2int ngpts, g2int *ibmap, g2int **bmap): g2_unpack6.c']]], - ['g2_5funpack6_2ec_101',['g2_unpack6.c',['../g2__unpack6_8c.html',1,'']]], - ['g2_5funpack6_5fbad_5fbitmap_102',['G2_UNPACK6_BAD_BITMAP',['../grib2_8h.html#a2f05416b54c82d3ec6aa050c2dd033a4',1,'grib2.h']]], - ['g2_5funpack7_103',['g2_unpack7',['../g2__unpack7_8c.html#a9f18066e6b00b576ff8472bc364af3e6',1,'g2_unpack7(unsigned char *cgrib, g2int *iofst, g2int igdsnum, g2int *igdstmpl, g2int idrsnum, g2int *idrstmpl, g2int ndpts, g2float **fld): g2_unpack7.c'],['../grib2_8h.html#a9f18066e6b00b576ff8472bc364af3e6',1,'g2_unpack7(unsigned char *cgrib, g2int *iofst, g2int igdsnum, g2int *igdstmpl, g2int idrsnum, g2int *idrstmpl, g2int ndpts, g2float **fld): g2_unpack7.c']]], - ['g2_5funpack7_2ec_104',['g2_unpack7.c',['../g2__unpack7_8c.html',1,'']]], - ['g2_5funpack7_5fbad_5fdrt_105',['G2_UNPACK7_BAD_DRT',['../grib2_8h.html#a01fe4ac54380851cc28581d59dfa9bf4',1,'grib2.h']]], - ['g2_5funpack7_5fcorrupt_5fsec_106',['G2_UNPACK7_CORRUPT_SEC',['../grib2_8h.html#a3b6b5bd21386f9f7d49f1f628a9c895c',1,'grib2.h']]], - ['g2_5funpack7_5fwrong_5fgdt_107',['G2_UNPACK7_WRONG_GDT',['../grib2_8h.html#a9485e54be066c97916f22b4d6046cd1b',1,'grib2.h']]], - ['g2_5funpack_5fbad_5fsec_108',['G2_UNPACK_BAD_SEC',['../grib2_8h.html#a1eb0a21681ad4d1a9af3e357f59dc08b',1,'grib2.h']]], - ['g2_5funpack_5fno_5fmem_109',['G2_UNPACK_NO_MEM',['../grib2_8h.html#a76dad0fdc4926df76a417a2992b81d66',1,'grib2.h']]], - ['g2_5fversion_110',['G2_VERSION',['../grib2_8h.html#abdcadc6336632657f0b90b4cff01709f',1,'grib2.h']]], - ['g2c_5fcheck_5fmsg_111',['g2c_check_msg',['../grib2__int_8h.html#a3acf35e5653f0dab59b3e6fd130f2d62',1,'g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose): util.c'],['../util_8c.html#a3acf35e5653f0dab59b3e6fd130f2d62',1,'g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose): util.c']]], - ['g2c_5fmsg_5fcomplete_112',['G2C_MSG_COMPLETE',['../grib2_8h.html#a575d0594c327da0f6001abd1ae17128a',1,'grib2.h']]], - ['g2c_5fno_5ferror_113',['G2C_NO_ERROR',['../grib2_8h.html#a9ea0feeb2757a4caa81858e6957ea3d7',1,'grib2.h']]], - ['g2c_5fnot_5fgrib_114',['G2C_NOT_GRIB',['../grib2_8h.html#abda58c1fda90dc4b6d105e8d9853819e',1,'grib2.h']]], - ['g2float_115',['g2float',['../grib2_8h.html#a2e615ee29fc8d17a681017e4384847c2',1,'grib2.h']]], - ['g2int_116',['g2int',['../grib2_8h.html#af0b63b0e0f41f07f562a4367e2a60838',1,'grib2.h']]], - ['g2intu_117',['g2intu',['../grib2_8h.html#a95bb698b6bd148aae1b3b841fb0da83b',1,'grib2.h']]], - ['gbit_118',['gbit',['../gbits_8c.html#a1efb9739e947d94010aeba6daf62eca3',1,'gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits): gbits.c'],['../grib2__int_8h.html#a1efb9739e947d94010aeba6daf62eca3',1,'gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits): gbits.c']]], - ['gbits_119',['gbits',['../gbits_8c.html#a31ebdbbf262b7478d6a7cc4326f76ade',1,'gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits, g2int nskip, g2int n): gbits.c'],['../grib2__int_8h.html#a31ebdbbf262b7478d6a7cc4326f76ade',1,'gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits, g2int nskip, g2int n): gbits.c']]], - ['gbits_2ec_120',['gbits.c',['../gbits_8c.html',1,'']]], - ['getdim_121',['getdim',['../getdim_8c.html#aabc49a338fae74f6dfc9e98b6cb59de7',1,'getdim(unsigned char *csec3, g2int *width, g2int *height, g2int *iscan): getdim.c'],['../grib2__int_8h.html#aabc49a338fae74f6dfc9e98b6cb59de7',1,'getdim(unsigned char *csec3, g2int *width, g2int *height, g2int *iscan): getdim.c']]], - ['getdim_2ec_122',['getdim.c',['../getdim_8c.html',1,'']]], - ['getdrsindex_123',['getdrsindex',['../drstemplates_8c.html#a307a8ced5bd81dd2bf110596fc9e6532',1,'drstemplates.c']]], - ['getdrstemplate_124',['getdrstemplate',['../drstemplates_8c.html#acf3195b5cecc028727faa8a921eba03e',1,'getdrstemplate(g2int number): drstemplates.c'],['../grib2__int_8h.html#acf3195b5cecc028727faa8a921eba03e',1,'getdrstemplate(g2int number): drstemplates.c']]], - ['getgridindex_125',['getgridindex',['../gridtemplates_8c.html#addbeca29a7de77dc30f65a08b6b38941',1,'gridtemplates.c']]], - ['getgridtemplate_126',['getgridtemplate',['../grib2__int_8h.html#af67f9624982c81a36531989254a9b98a',1,'getgridtemplate(g2int number): gridtemplates.c'],['../gridtemplates_8c.html#af67f9624982c81a36531989254a9b98a',1,'getgridtemplate(g2int number): gridtemplates.c']]], - ['getpdsindex_127',['getpdsindex',['../pdstemplates_8c.html#a59f2fe1fba0577301d154f21e0478e7f',1,'pdstemplates.c']]], - ['getpdstemplate_128',['getpdstemplate',['../grib2__int_8h.html#ad08ad7c4bee0466cd8ccafc1c1e76520',1,'getpdstemplate(g2int number): pdstemplates.c'],['../pdstemplates_8c.html#ad08ad7c4bee0466cd8ccafc1c1e76520',1,'getpdstemplate(g2int number): pdstemplates.c']]], - ['getpoly_129',['getpoly',['../getpoly_8c.html#aa8f99915cc3bf0efa7544cf3c2e1b552',1,'getpoly(unsigned char *csec3, g2int *jj, g2int *kk, g2int *mm): getpoly.c'],['../grib2__int_8h.html#aa8f99915cc3bf0efa7544cf3c2e1b552',1,'getpoly(unsigned char *csec3, g2int *jj, g2int *kk, g2int *mm): getpoly.c']]], - ['getpoly_2ec_130',['getpoly.c',['../getpoly_8c.html',1,'']]], - ['grib2_2eh_131',['grib2.h',['../grib2_8h.html',1,'']]], - ['grib2_5fint_2eh_132',['grib2_int.h',['../grib2__int_8h.html',1,'']]], - ['gribfield_133',['gribfield',['../grib2_8h.html#afd3ef3eb9f8b9a64a7b749a892de46c5',1,'gribfield(): grib2.h'],['../grib2_8h.html#structgribfield',1,'gribfield']]], - ['griddef_134',['griddef',['../grib2_8h.html#a3fcb1e8bf12cf5921c2993f0460d8138',1,'gribfield']]], - ['gridtemplates_2ec_135',['gridtemplates.c',['../gridtemplates_8c.html',1,'']]], - ['gtemplate_136',['gtemplate',['../grib2__int_8h.html#a1f770e683f8b4e9c16c3d4d9d1e4fb63',1,'gtemplate(): grib2_int.h'],['../grib2__int_8h.html#structgtemplate',1,'gtemplate']]] + ['g1num_59',['g1num',['../grib2__int_8h.html#a2e0aefa5b3b3c702b0f5f6dc8fc0401a',1,'g2c_param']]], + ['g1ver_60',['g1ver',['../grib2__int_8h.html#a1ea94395773c5ecf1257cd01bf033a26',1,'g2c_param']]], + ['g2_5fadd_5fmsg_5fcomplete_61',['G2_ADD_MSG_COMPLETE',['../grib2_8h.html#a5aaef5008fd9be5c044b207231cf767f',1,'grib2.h']]], + ['g2_5fadd_5fmsg_5finit_62',['G2_ADD_MSG_INIT',['../grib2_8h.html#a9627c88b7c7dd863cb3af9fb3e10011b',1,'grib2.h']]], + ['g2_5faddfield_63',['g2_addfield',['../g2__addfield_8c.html#ad403b8c1a156f062c3ded89224e6b46b',1,'g2_addfield(unsigned char *cgrib, g2int ipdsnum, g2int *ipdstmpl, float *coordlist, g2int numcoord, g2int idrsnum, g2int *idrstmpl, float *fld, g2int ngrdpts, g2int ibmap, g2int *bmap): g2_addfield.c'],['../grib2_8h.html#ad403b8c1a156f062c3ded89224e6b46b',1,'g2_addfield(unsigned char *cgrib, g2int ipdsnum, g2int *ipdstmpl, float *coordlist, g2int numcoord, g2int idrsnum, g2int *idrstmpl, float *fld, g2int ngrdpts, g2int ibmap, g2int *bmap): g2_addfield.c']]], + ['g2_5faddfield_2ec_64',['g2_addfield.c',['../g2__addfield_8c.html',1,'']]], + ['g2_5faddfield_5fbad_5fbitmap_65',['G2_ADDFIELD_BAD_BITMAP',['../grib2_8h.html#a496eb9c096d0ecdc712ebea3ffd3a37d',1,'grib2.h']]], + ['g2_5faddfield_5fbad_5fdrt_66',['G2_ADDFIELD_BAD_DRT',['../grib2_8h.html#a5a92ce5b0b8da884e2924dba7f1e1a95',1,'grib2.h']]], + ['g2_5faddfield_5fbad_5fgds_67',['G2_ADDFIELD_BAD_GDS',['../grib2_8h.html#a28e1af8be9f9c34241c0c8ce780c2707',1,'grib2.h']]], + ['g2_5faddfield_5fbad_5fgdt_68',['G2_ADDFIELD_BAD_GDT',['../grib2_8h.html#aaead77879d197777943ee9c53e0672ef',1,'grib2.h']]], + ['g2_5faddfield_5fbad_5fpdt_69',['G2_ADDFIELD_BAD_PDT',['../grib2_8h.html#a7661683648959dad5ea1d2def2cb766d',1,'grib2.h']]], + ['g2_5faddfield_5ferr_70',['G2_ADDFIELD_ERR',['../grib2_8h.html#ad37ad5e44291e1b229321755b4838c3a',1,'grib2.h']]], + ['g2_5faddgrid_71',['g2_addgrid',['../grib2_8h.html#a14908ea75d83021b0ec10ae8c084567c',1,'g2_addgrid(unsigned char *cgrib, g2int *igds, g2int *igdstmpl, g2int *ideflist, g2int idefnum): g2_addgrid.c'],['../g2__addgrid_8c.html#a14908ea75d83021b0ec10ae8c084567c',1,'g2_addgrid(unsigned char *cgrib, g2int *igds, g2int *igdstmpl, g2int *ideflist, g2int idefnum): g2_addgrid.c']]], + ['g2_5faddgrid_2ec_72',['g2_addgrid.c',['../g2__addgrid_8c.html',1,'']]], + ['g2_5faddgrid_5fbad_5fgdt_73',['G2_ADDGRID_BAD_GDT',['../grib2_8h.html#a3687ada1cdabe6b44b62620a3e4e612b',1,'grib2.h']]], + ['g2_5faddlocal_74',['g2_addlocal',['../grib2_8h.html#aa9490d67c089f6a15fd9941f273752c3',1,'g2_addlocal(unsigned char *cgrib, unsigned char *csec2, g2int lcsec2): g2_addlocal.c'],['../g2__addlocal_8c.html#aa9490d67c089f6a15fd9941f273752c3',1,'g2_addlocal(unsigned char *cgrib, unsigned char *csec2, g2int lcsec2): g2_addlocal.c']]], + ['g2_5faddlocal_2ec_75',['g2_addlocal.c',['../g2__addlocal_8c.html',1,'']]], + ['g2_5fbad_5fsec_76',['G2_BAD_SEC',['../grib2_8h.html#a362f4c8ddcb007058bccba7eab1ff8e0',1,'grib2.h']]], + ['g2_5fbad_5fsec_5fcounts_77',['G2_BAD_SEC_COUNTS',['../grib2_8h.html#a06d37843d3f4b3f46cb240206ce430b0',1,'grib2.h']]], + ['g2_5fcreate_78',['g2_create',['../grib2_8h.html#a0e8970973e1cefc142240f961a796108',1,'g2_create(unsigned char *cgrib, g2int *listsec0, g2int *listsec1): g2_create.c'],['../g2__create_8c.html#a0e8970973e1cefc142240f961a796108',1,'g2_create(unsigned char *cgrib, g2int *listsec0, g2int *listsec1): g2_create.c']]], + ['g2_5fcreate_2ec_79',['g2_create.c',['../g2__create_8c.html',1,'']]], + ['g2_5fcreate_5fgrib_5fversion_80',['G2_CREATE_GRIB_VERSION',['../grib2_8h.html#ae740c66315236fc68d4f337558587505',1,'grib2.h']]], + ['g2_5ffree_81',['g2_free',['../grib2_8h.html#a084c47c8f83bb5a5c7799753ac7b6f02',1,'g2_free(gribfield *gfld): g2_free.c'],['../g2__free_8c.html#a084c47c8f83bb5a5c7799753ac7b6f02',1,'g2_free(gribfield *gfld): g2_free.c']]], + ['g2_5ffree_2ec_82',['g2_free.c',['../g2__free_8c.html',1,'']]], + ['g2_5fgetfld_83',['g2_getfld',['../g2__getfld_8c.html#abad9d3ba0ee798acd442850573fc6b8e',1,'g2_getfld(unsigned char *cgrib, g2int ifldnum, g2int unpack, g2int expand, gribfield **gfld): g2_getfld.c'],['../grib2_8h.html#abad9d3ba0ee798acd442850573fc6b8e',1,'g2_getfld(unsigned char *cgrib, g2int ifldnum, g2int unpack, g2int expand, gribfield **gfld): g2_getfld.c']]], + ['g2_5fgetfld_2ec_84',['g2_getfld.c',['../g2__getfld_8c.html',1,'']]], + ['g2_5fgetfld_5fbad_5fend_85',['G2_GETFLD_BAD_END',['../grib2_8h.html#ae5716ebe302534d9fc24cf328bade4df',1,'grib2.h']]], + ['g2_5fgetfld_5fbad_5fsec1_86',['G2_GETFLD_BAD_SEC1',['../grib2_8h.html#a57517913da70932f0c56f076207ea90b',1,'grib2.h']]], + ['g2_5fgetfld_5fbad_5fsec2_87',['G2_GETFLD_BAD_SEC2',['../grib2_8h.html#a4f8b8ce8eb11ed2de38710863323f41a',1,'grib2.h']]], + ['g2_5fgetfld_5fbad_5fsec3_88',['G2_GETFLD_BAD_SEC3',['../grib2_8h.html#ad101a194bd4c5c6c0a0dd9aaa6fb9905',1,'grib2.h']]], + ['g2_5fgetfld_5fbad_5fsec4_89',['G2_GETFLD_BAD_SEC4',['../grib2_8h.html#a94364236b4274588b2b4b6b851555e15',1,'grib2.h']]], + ['g2_5fgetfld_5fbad_5fsec5_90',['G2_GETFLD_BAD_SEC5',['../grib2_8h.html#a6065be2bee7e56c7eb0d3673a70be727',1,'grib2.h']]], + ['g2_5fgetfld_5fbad_5fsec6_91',['G2_GETFLD_BAD_SEC6',['../grib2_8h.html#ab2d294bedc5fda5e67800bef91b6de44',1,'grib2.h']]], + ['g2_5fgetfld_5fbad_5fsec7_92',['G2_GETFLD_BAD_SEC7',['../grib2_8h.html#a115c0b1461732602197d7129cb783938',1,'grib2.h']]], + ['g2_5fgetfld_5fgrib_5fversion_93',['G2_GETFLD_GRIB_VERSION',['../grib2_8h.html#a3c94f1f792106e97d1e4cc2fe674e9ef',1,'grib2.h']]], + ['g2_5fgetfld_5finval_94',['G2_GETFLD_INVAL',['../grib2_8h.html#a2915a7e9bd01c1b2bd33a6e362c88acc',1,'grib2.h']]], + ['g2_5fgetfld_5finval_5fsec_95',['G2_GETFLD_INVAL_SEC',['../grib2_8h.html#afeef0a49033cd2735140f87dfe0fe49f',1,'grib2.h']]], + ['g2_5fgetfld_5fno_5fbitmap_96',['G2_GETFLD_NO_BITMAP',['../grib2_8h.html#aee39ba22e9351cf0b7f2813bd1b5dd7e',1,'grib2.h']]], + ['g2_5fgetfld_5fno_5fdrt_97',['G2_GETFLD_NO_DRT',['../grib2_8h.html#ac2734aa4f2d3f10a642b3d7919563dcc',1,'grib2.h']]], + ['g2_5fgetfld_5fno_5fgrib_98',['G2_GETFLD_NO_GRIB',['../grib2_8h.html#a9600b70ed48d9ee91c366c3d2aaaebb3',1,'grib2.h']]], + ['g2_5fgetfld_5fwrong_5fend_99',['G2_GETFLD_WRONG_END',['../grib2_8h.html#a8ebd7f4cdc757b37d8cf344c17329936',1,'grib2.h']]], + ['g2_5fgetfld_5fwrong_5fnflds_100',['G2_GETFLD_WRONG_NFLDS',['../grib2_8h.html#a49e78acc21d879a88d3fb21866878ef6',1,'grib2.h']]], + ['g2_5fgribend_101',['g2_gribend',['../g2__gribend_8c.html#a84081fb5d32251234409b9ec2d72a0e8',1,'g2_gribend(unsigned char *cgrib): g2_gribend.c'],['../grib2_8h.html#a84081fb5d32251234409b9ec2d72a0e8',1,'g2_gribend(unsigned char *cgrib): g2_gribend.c']]], + ['g2_5fgribend_2ec_102',['g2_gribend.c',['../g2__gribend_8c.html',1,'']]], + ['g2_5fgribend_5fmsg_5finit_103',['G2_GRIBEND_MSG_INIT',['../grib2_8h.html#a07313bd28e479d86f64ff744b10a2b78',1,'grib2.h']]], + ['g2_5finfo_104',['g2_info',['../g2__info_8c.html#abf8ecb0fe00805abfce20115357b4fa3',1,'g2_info(unsigned char *cgrib, g2int *listsec0, g2int *listsec1, g2int *numfields, g2int *numlocal): g2_info.c'],['../grib2_8h.html#abf8ecb0fe00805abfce20115357b4fa3',1,'g2_info(unsigned char *cgrib, g2int *listsec0, g2int *listsec1, g2int *numfields, g2int *numlocal): g2_info.c']]], + ['g2_5finfo_2ec_105',['g2_info.c',['../g2__info_8c.html',1,'']]], + ['g2_5finfo_5fbad_5fend_106',['G2_INFO_BAD_END',['../grib2_8h.html#ae174af0c4aa67c5d6217688d45aad4c5',1,'grib2.h']]], + ['g2_5finfo_5fgrib_5fversion_107',['G2_INFO_GRIB_VERSION',['../grib2_8h.html#a55b6bf7ad57b4c202827f3326ad2c4df',1,'grib2.h']]], + ['g2_5finfo_5finval_5fsec_108',['G2_INFO_INVAL_SEC',['../grib2_8h.html#a436d91157da728072516d50f5c349507',1,'grib2.h']]], + ['g2_5finfo_5fno_5fgrib_109',['G2_INFO_NO_GRIB',['../grib2_8h.html#af26cc0775753191aabf4720876452b48',1,'grib2.h']]], + ['g2_5finfo_5fno_5fsec1_110',['G2_INFO_NO_SEC1',['../grib2_8h.html#a14417ca1b452ff2e6681ebd4f00c2dee',1,'grib2.h']]], + ['g2_5finfo_5fwrong_5fend_111',['G2_INFO_WRONG_END',['../grib2_8h.html#af935bef94850a5b24e554393ce0a8eef',1,'grib2.h']]], + ['g2_5fjasper_5fdecode_112',['G2_JASPER_DECODE',['../grib2_8h.html#a9d842d23dc3c41db9237ba890a255776',1,'grib2.h']]], + ['g2_5fjasper_5fdecode_5fcolor_113',['G2_JASPER_DECODE_COLOR',['../grib2_8h.html#ad18c15e7859be9a08cbd4a42283fed36',1,'grib2.h']]], + ['g2_5fjasper_5fencode_114',['G2_JASPER_ENCODE',['../grib2_8h.html#a5c647eb48e460797f21e6d90960203f1',1,'grib2.h']]], + ['g2_5fjasper_5finit_115',['G2_JASPER_INIT',['../grib2_8h.html#a2cb509d4701384beb0cce5644abae4fb',1,'grib2.h']]], + ['g2_5fjpcunpack_5fmem_116',['G2_JPCUNPACK_MEM',['../grib2_8h.html#ade01e29b36d4a7b1de09c84c39786fbd',1,'grib2.h']]], + ['g2_5fjpeg2000_5fenabled_117',['G2_JPEG2000_ENABLED',['../grib2_8h.html#a0a07a1092a64ae871ab45b147de85318',1,'grib2.h']]], + ['g2_5fmiss_118',['g2_miss',['../g2__miss_8c.html#a5ededd2735de5cd446ee17c2415592e6',1,'g2_miss.c']]], + ['g2_5fmiss_2ec_119',['g2_miss.c',['../g2__miss_8c.html',1,'']]], + ['g2_5fno_5ferror_120',['G2_NO_ERROR',['../grib2_8h.html#a94af4623709fa1c08f8035b98e7ca56b',1,'grib2.h']]], + ['g2_5fpng_5fenabled_121',['G2_PNG_ENABLED',['../grib2_8h.html#acaa1f7159ddd54e667beca9658c797a0',1,'grib2.h']]], + ['g2_5fspecunpack_5ftype_122',['G2_SPECUNPACK_TYPE',['../grib2_8h.html#ac046d29b8feb2f0333e7a5c8803aba4d',1,'grib2.h']]], + ['g2_5funpack1_123',['g2_unpack1',['../g2__unpack1_8c.html#a5a9f3222320afe0f957406b53ad36223',1,'g2_unpack1(unsigned char *cgrib, g2int *iofst, g2int **ids, g2int *idslen): g2_unpack1.c'],['../grib2_8h.html#a5a9f3222320afe0f957406b53ad36223',1,'g2_unpack1(unsigned char *cgrib, g2int *iofst, g2int **ids, g2int *idslen): g2_unpack1.c']]], + ['g2_5funpack1_2ec_124',['g2_unpack1.c',['../g2__unpack1_8c.html',1,'']]], + ['g2_5funpack2_125',['g2_unpack2',['../g2__unpack2_8c.html#a4b190a45b5223fa43746cf16c80bef47',1,'g2_unpack2(unsigned char *cgrib, g2int *iofst, g2int *lencsec2, unsigned char **csec2): g2_unpack2.c'],['../grib2_8h.html#a4b190a45b5223fa43746cf16c80bef47',1,'g2_unpack2(unsigned char *cgrib, g2int *iofst, g2int *lencsec2, unsigned char **csec2): g2_unpack2.c']]], + ['g2_5funpack2_2ec_126',['g2_unpack2.c',['../g2__unpack2_8c.html',1,'']]], + ['g2_5funpack3_127',['g2_unpack3',['../g2__unpack3_8c.html#ae0f9483c798b7819852b21fa0ae51590',1,'g2_unpack3(unsigned char *cgrib, g2int *iofst, g2int **igds, g2int **igdstmpl, g2int *mapgridlen, g2int **ideflist, g2int *idefnum): g2_unpack3.c'],['../grib2_8h.html#ae0f9483c798b7819852b21fa0ae51590',1,'g2_unpack3(unsigned char *cgrib, g2int *iofst, g2int **igds, g2int **igdstmpl, g2int *mapgridlen, g2int **ideflist, g2int *idefnum): g2_unpack3.c']]], + ['g2_5funpack3_2ec_128',['g2_unpack3.c',['../g2__unpack3_8c.html',1,'']]], + ['g2_5funpack3_5fbad_5fgdt_129',['G2_UNPACK3_BAD_GDT',['../grib2_8h.html#a97570f9ca7b7f018cad85d5f8e5be4e3',1,'grib2.h']]], + ['g2_5funpack4_130',['g2_unpack4',['../grib2_8h.html#a379383c777dfa1e788b8e573bdd90889',1,'g2_unpack4(unsigned char *cgrib, g2int *iofst, g2int *ipdsnum, g2int **ipdstmpl, g2int *mappdslen, float **coordlist, g2int *numcoord): g2_unpack4.c'],['../g2__unpack4_8c.html#a379383c777dfa1e788b8e573bdd90889',1,'g2_unpack4(unsigned char *cgrib, g2int *iofst, g2int *ipdsnum, g2int **ipdstmpl, g2int *mappdslen, float **coordlist, g2int *numcoord): g2_unpack4.c']]], + ['g2_5funpack4_2ec_131',['g2_unpack4.c',['../g2__unpack4_8c.html',1,'']]], + ['g2_5funpack4_5fbad_5fpdt_132',['G2_UNPACK4_BAD_PDT',['../grib2_8h.html#a6441abadc54f311dbef926fdbd7a6e5a',1,'grib2.h']]], + ['g2_5funpack5_133',['g2_unpack5',['../g2__unpack5_8c.html#a0127b9d6f3a258a9d0dd87f986d86b93',1,'g2_unpack5(unsigned char *cgrib, g2int *iofst, g2int *ndpts, g2int *idrsnum, g2int **idrstmpl, g2int *mapdrslen): g2_unpack5.c'],['../grib2_8h.html#a0127b9d6f3a258a9d0dd87f986d86b93',1,'g2_unpack5(unsigned char *cgrib, g2int *iofst, g2int *ndpts, g2int *idrsnum, g2int **idrstmpl, g2int *mapdrslen): g2_unpack5.c']]], + ['g2_5funpack5_2ec_134',['g2_unpack5.c',['../g2__unpack5_8c.html',1,'']]], + ['g2_5funpack5_5fbad_5fdrt_135',['G2_UNPACK5_BAD_DRT',['../grib2_8h.html#a073c8c6c97479d96e86cdaf1bed26f41',1,'grib2.h']]], + ['g2_5funpack6_136',['g2_unpack6',['../g2__unpack6_8c.html#a83638f96ee10ef44c4dddcebf41d8ee6',1,'g2_unpack6(unsigned char *cgrib, g2int *iofst, g2int ngpts, g2int *ibmap, g2int **bmap): g2_unpack6.c'],['../grib2_8h.html#a83638f96ee10ef44c4dddcebf41d8ee6',1,'g2_unpack6(unsigned char *cgrib, g2int *iofst, g2int ngpts, g2int *ibmap, g2int **bmap): g2_unpack6.c']]], + ['g2_5funpack6_2ec_137',['g2_unpack6.c',['../g2__unpack6_8c.html',1,'']]], + ['g2_5funpack6_5fbad_5fbitmap_138',['G2_UNPACK6_BAD_BITMAP',['../grib2_8h.html#a2f05416b54c82d3ec6aa050c2dd033a4',1,'grib2.h']]], + ['g2_5funpack7_139',['g2_unpack7',['../g2__unpack7_8c.html#a3469bd6d6e13e1180753a5629ace639d',1,'g2_unpack7(unsigned char *cgrib, g2int *iofst, g2int igdsnum, g2int *igdstmpl, g2int idrsnum, g2int *idrstmpl, g2int ndpts, float **fld): g2_unpack7.c'],['../grib2_8h.html#a3469bd6d6e13e1180753a5629ace639d',1,'g2_unpack7(unsigned char *cgrib, g2int *iofst, g2int igdsnum, g2int *igdstmpl, g2int idrsnum, g2int *idrstmpl, g2int ndpts, float **fld): g2_unpack7.c']]], + ['g2_5funpack7_2ec_140',['g2_unpack7.c',['../g2__unpack7_8c.html',1,'']]], + ['g2_5funpack7_5fbad_5fdrt_141',['G2_UNPACK7_BAD_DRT',['../grib2_8h.html#a01fe4ac54380851cc28581d59dfa9bf4',1,'grib2.h']]], + ['g2_5funpack7_5fcorrupt_5fsec_142',['G2_UNPACK7_CORRUPT_SEC',['../grib2_8h.html#a3b6b5bd21386f9f7d49f1f628a9c895c',1,'grib2.h']]], + ['g2_5funpack7_5fwrong_5fgdt_143',['G2_UNPACK7_WRONG_GDT',['../grib2_8h.html#a9485e54be066c97916f22b4d6046cd1b',1,'grib2.h']]], + ['g2_5funpack_5fbad_5fsec_144',['G2_UNPACK_BAD_SEC',['../grib2_8h.html#a1eb0a21681ad4d1a9af3e357f59dc08b',1,'grib2.h']]], + ['g2_5funpack_5fno_5fmem_145',['G2_UNPACK_NO_MEM',['../grib2_8h.html#a76dad0fdc4926df76a417a2992b81d66',1,'grib2.h']]], + ['g2c_5fadd_5ffile_146',['g2c_add_file',['../g2cfile_8c.html#af12335d519df51c7331a8c4f343fb98a',1,'g2c_add_file(const char *path, int mode, int *g2cid): g2cfile.c'],['../grib2__int_8h.html#af12335d519df51c7331a8c4f343fb98a',1,'g2c_add_file(const char *path, int mode, int *g2cid): g2cfile.c']]], + ['g2c_5fbyte_147',['G2C_BYTE',['../grib2_8h.html#ac8bb24b19b0118d57b9a599939bc3c87',1,'grib2.h']]], + ['g2c_5fchar_148',['G2C_CHAR',['../grib2_8h.html#aee1b93998c31b41b4b4a863aeb00d419',1,'grib2.h']]], + ['g2c_5fcheck_5fmsg_149',['g2c_check_msg',['../util_8c.html#a3acf35e5653f0dab59b3e6fd130f2d62',1,'g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose): util.c'],['../grib2__int_8h.html#a3acf35e5653f0dab59b3e6fd130f2d62',1,'g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose): util.c']]], + ['g2c_5fclobber_150',['G2C_CLOBBER',['../grib2_8h.html#ad74647ae25fde08edb22aa4e1bd514ec',1,'grib2.h']]], + ['g2c_5fclose_151',['g2c_close',['../g2cfile_8c.html#a7761e7401213d226560fd1b379d33ba8',1,'g2c_close(int g2cid): g2cfile.c'],['../grib2_8h.html#a7761e7401213d226560fd1b379d33ba8',1,'g2c_close(int g2cid): g2cfile.c']]], + ['g2c_5fcode_5fentry_5ft_152',['G2C_CODE_ENTRY_T',['../grib2__int_8h.html#ad30cccbe4737bd52122ba6aad5bfac8c',1,'grib2_int.h']]], + ['g2c_5fcode_5ftable_153',['g2c_code_table',['../grib2__int_8h.html#structg2c__code__table',1,'']]], + ['g2c_5fcode_5ftable_5ft_154',['G2C_CODE_TABLE_T',['../grib2__int_8h.html#a08c8e513e52e5f45877cbdf65de84ebc',1,'grib2_int.h']]], + ['g2c_5fcompare_155',['g2c_compare',['../g2ccompare_8c.html#aeca63ecfd7407114317ddb9e5341b71c',1,'g2c_compare(int g2cid1, int g2cid2): g2ccompare.c'],['../grib2_8h.html#aeca63ecfd7407114317ddb9e5341b71c',1,'g2c_compare(int g2cid1, int g2cid2): g2ccompare.c']]], + ['g2c_5fcompare_2ec_156',['g2c_compare.c',['../g2c__compare_8c.html',1,'']]], + ['g2c_5fdate_5ftime_5flen_157',['G2C_DATE_TIME_LEN',['../g2cdegrib2_8c.html#a2e38e28612bc5b82f8c6d0f3d7fd4dcd',1,'g2cdegrib2.c']]], + ['g2c_5fdec_5fjpeg2000_158',['g2c_dec_jpeg2000',['../dec__jpeg2000_8c.html#a20c41af558ecb88ae8a6015b9361914e',1,'g2c_dec_jpeg2000(char *injpc, size_t bufsize, int *outfld): dec_jpeg2000.c'],['../grib2_8h.html#a20c41af558ecb88ae8a6015b9361914e',1,'g2c_dec_jpeg2000(char *injpc, size_t bufsize, int *outfld): dec_jpeg2000.c']]], + ['g2c_5fdegrib2_159',['g2c_degrib2',['../g2cdegrib2_8c.html#a811654ce9d58dc2dc8a42b12cace6914',1,'g2c_degrib2(int g2cid, const char *fileout): g2cdegrib2.c'],['../grib2_8h.html#a811654ce9d58dc2dc8a42b12cace6914',1,'g2c_degrib2(int g2cid, const char *fileout): g2cdegrib2.c']]], + ['g2c_5fdegrib2_2ec_160',['g2c_degrib2.c',['../g2c__degrib2_8c.html',1,'']]], + ['g2c_5fdim_5finfo_161',['g2c_dim_info',['../grib2__int_8h.html#structg2c__dim__info',1,'']]], + ['g2c_5fdim_5finfo_5ft_162',['G2C_DIM_INFO_T',['../grib2__int_8h.html#a5e7f59f229745baebacbc4f7344ff039',1,'grib2_int.h']]], + ['g2c_5fdouble_163',['G2C_DOUBLE',['../grib2_8h.html#a0e0c16e1c95c3272f9de6451df276fad',1,'grib2.h']]], + ['g2c_5febadend_164',['G2C_EBADEND',['../grib2_8h.html#a39ad3149399533c27210ccb8d735507b',1,'grib2.h']]], + ['g2c_5febadid_165',['G2C_EBADID',['../grib2_8h.html#af32c4bff1609a6286dbd77dd2fa0b624',1,'grib2.h']]], + ['g2c_5febadsection_166',['G2C_EBADSECTION',['../grib2_8h.html#aad36614cfd2153c4494969a2f5c3b9ed',1,'grib2.h']]], + ['g2c_5febadtemplate_167',['G2C_EBADTEMPLATE',['../grib2_8h.html#ac9ff1ca39afecf5bc50226cbcff58b25',1,'grib2.h']]], + ['g2c_5febadtype_168',['G2C_EBADTYPE',['../grib2_8h.html#afe2a589c318cc6b24ab4fef37084e7eb',1,'grib2.h']]], + ['g2c_5fefile_169',['G2C_EFILE',['../grib2_8h.html#a597395069e35e29288bd0f57081a0c65',1,'grib2.h']]], + ['g2c_5feinval_170',['G2C_EINVAL',['../grib2_8h.html#a9abb07853bd272b8f33bb978bb805cb9',1,'grib2.h']]], + ['g2c_5fejpeg_171',['G2C_EJPEG',['../grib2_8h.html#af08bc0c9226ed15638aa909821d4b04b',1,'grib2.h']]], + ['g2c_5femsg_172',['G2C_EMSG',['../grib2_8h.html#a024050c81e4981bea2cb67c27e8a8072',1,'grib2.h']]], + ['g2c_5femsgcomplete_173',['G2C_EMSGCOMPLETE',['../grib2_8h.html#aaeae8e4fb69bb650977d47458c3defcf',1,'grib2.h']]], + ['g2c_5fenametoolong_174',['G2C_ENAMETOOLONG',['../grib2_8h.html#a39bad0ee21628d9381fe409ec98214f1',1,'grib2.h']]], + ['g2c_5fenc_5fjpeg2000_175',['g2c_enc_jpeg2000',['../enc__jpeg2000_8c.html#a4e0e87e1e9d443c03c2c5c080d049119',1,'g2c_enc_jpeg2000(unsigned char *cin, int width, int height, int nbits, int ltype, int ratio, int retry, char *outjpc, size_t jpclen): enc_jpeg2000.c'],['../grib2_8h.html#a4e0e87e1e9d443c03c2c5c080d049119',1,'g2c_enc_jpeg2000(unsigned char *cin, int width, int height, int nbits, int ltype, int ratio, int retry, char *outjpc, size_t jpclen): enc_jpeg2000.c']]], + ['g2c_5fenoend_176',['G2C_ENOEND',['../grib2_8h.html#a2a0b6f4c2f89b476ee2dc27f4f3fea64',1,'grib2.h']]], + ['g2c_5fenomem_177',['G2C_ENOMEM',['../grib2_8h.html#a6f87ce641388b1464e2287fd3814993f',1,'grib2.h']]], + ['g2c_5fenomsg_178',['G2C_ENOMSG',['../grib2_8h.html#a2a68c6a57c0aec69ab864843b3727a78',1,'grib2.h']]], + ['g2c_5fenoparam_179',['G2C_ENOPARAM',['../grib2_8h.html#a6d91d3cd029a4eb0377908beb0649b86',1,'grib2.h']]], + ['g2c_5fenoproduct_180',['G2C_ENOPRODUCT',['../grib2_8h.html#a98305aa1e32b01875f9b6e935f5341e0',1,'grib2.h']]], + ['g2c_5fenosection_181',['G2C_ENOSECTION',['../grib2_8h.html#a4dcc89afa62b38a9a0d7a4df8d9f8ca7',1,'grib2.h']]], + ['g2c_5fenotemplate_182',['G2C_ENOTEMPLATE',['../grib2_8h.html#a6ec2aa9a3c6ce2699f87223f9c45c2d9',1,'grib2.h']]], + ['g2c_5fenotfound_183',['G2C_ENOTFOUND',['../grib2_8h.html#a9373ca768b0b3a24a7f622c24bd01cb8',1,'grib2.h']]], + ['g2c_5fenotgrib_184',['G2C_ENOTGRIB',['../grib2_8h.html#a9e91aaf0369664d201e7e401096ff1cf',1,'grib2.h']]], + ['g2c_5fenotgrib2_185',['G2C_ENOTGRIB2',['../grib2_8h.html#a4d383ca4c9a6ac0cf11bfe94814a16ca',1,'grib2.h']]], + ['g2c_5fentry_186',['g2c_entry',['../grib2__int_8h.html#structg2c__entry',1,'']]], + ['g2c_5fepng_187',['G2C_EPNG',['../grib2_8h.html#a7a2f7f8292c1f827ed98794f2fb8bbe4',1,'grib2.h']]], + ['g2c_5ferror_188',['G2C_ERROR',['../grib2_8h.html#a898aa73781e9952c3e56ed3282a873f4',1,'grib2.h']]], + ['g2c_5fetoomanyfiles_189',['G2C_ETOOMANYFILES',['../grib2_8h.html#aa9eaa709aa71a9f4b164b979b9467ce1',1,'grib2.h']]], + ['g2c_5fexml_190',['G2C_EXML',['../grib2_8h.html#ad2c81f046ec07b38d12915c52241d6a7',1,'grib2.h']]], + ['g2c_5ffile_191',['g2c_file',['../g2cutil_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d',1,'g2c_file(): g2cfile.c'],['../g2cprod_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d',1,'g2c_file(): g2cfile.c'],['../g2cinq_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d',1,'g2c_file(): g2cfile.c'],['../g2cindex_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d',1,'g2c_file(): g2cfile.c'],['../g2cfile_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d',1,'g2c_file(): g2cfile.c'],['../g2cdegrib2_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d',1,'g2c_file(): g2cfile.c'],['../g2ccompare_8c.html#a074a9283d6ed7957967f08c981a93e77',1,'g2c_file(): g2cfile.c']]], + ['g2c_5ffile_5finfo_192',['g2c_file_info',['../grib2__int_8h.html#structg2c__file__info',1,'']]], + ['g2c_5ffile_5finfo_5ft_193',['G2C_FILE_INFO_T',['../grib2__int_8h.html#a2742865fda7051b6bdd795a2af426a89',1,'grib2_int.h']]], + ['g2c_5ffile_5fio_194',['g2c_file_io',['../g2cio_8c.html#a86669f909e0dd9439ce7ad8de66905ff',1,'g2c_file_io(FILE *f, int write, int g2ctype, void *var): g2cio.c'],['../grib2__int_8h.html#a86669f909e0dd9439ce7ad8de66905ff',1,'g2c_file_io(FILE *f, int write, int g2ctype, void *var): g2cio.c']]], + ['g2c_5ffile_5fio_5fbyte_195',['g2c_file_io_byte',['../grib2__int_8h.html#a1947b04c8b32bd5196bde44ce47d067e',1,'g2c_file_io_byte(FILE *f, int write, char *var): g2cio.c'],['../g2cio_8c.html#a1947b04c8b32bd5196bde44ce47d067e',1,'g2c_file_io_byte(FILE *f, int write, char *var): g2cio.c']]], + ['g2c_5ffile_5fio_5fint_196',['g2c_file_io_int',['../grib2__int_8h.html#afa29c9cc65c8069fc3e6676fbc26c060',1,'g2c_file_io_int(FILE *f, int write, int *var): g2cio.c'],['../g2cio_8c.html#afa29c9cc65c8069fc3e6676fbc26c060',1,'g2c_file_io_int(FILE *f, int write, int *var): g2cio.c']]], + ['g2c_5ffile_5fio_5flonglong_197',['g2c_file_io_longlong',['../grib2__int_8h.html#aed980fec21c06ad88363cd2eb8b01843',1,'g2c_file_io_longlong(FILE *f, int write, long long *var): g2cio.c'],['../g2cio_8c.html#aed980fec21c06ad88363cd2eb8b01843',1,'g2c_file_io_longlong(FILE *f, int write, long long *var): g2cio.c']]], + ['g2c_5ffile_5fio_5fshort_198',['g2c_file_io_short',['../grib2__int_8h.html#a938ee5c56d3896e1bfb6682eeac6d6c2',1,'g2c_file_io_short(FILE *f, int write, short *var): g2cio.c'],['../g2cio_8c.html#a938ee5c56d3896e1bfb6682eeac6d6c2',1,'g2c_file_io_short(FILE *f, int write, short *var): g2cio.c']]], + ['g2c_5ffile_5fio_5ftemplate_199',['g2c_file_io_template',['../grib2__int_8h.html#a2cb1faaeaddca5c428124e2611c9c58c',1,'g2c_file_io_template(FILE *f, int rw_flag, int map, long long int *template_value): g2cio.c'],['../g2cio_8c.html#a2cb1faaeaddca5c428124e2611c9c58c',1,'g2c_file_io_template(FILE *f, int rw_flag, int map, long long int *template_value): g2cio.c']]], + ['g2c_5ffile_5fio_5fubyte_200',['g2c_file_io_ubyte',['../g2cio_8c.html#ae839ef9885e9d311f34429e9d8c4e429',1,'g2c_file_io_ubyte(FILE *f, int write, unsigned char *var): g2cio.c'],['../grib2__int_8h.html#ae839ef9885e9d311f34429e9d8c4e429',1,'g2c_file_io_ubyte(FILE *f, int write, unsigned char *var): g2cio.c']]], + ['g2c_5ffile_5fio_5fuint_201',['g2c_file_io_uint',['../g2cio_8c.html#af13561bb1b69477285058c02d2f053b2',1,'g2c_file_io_uint(FILE *f, int write, unsigned int *var): g2cio.c'],['../grib2__int_8h.html#af13561bb1b69477285058c02d2f053b2',1,'g2c_file_io_uint(FILE *f, int write, unsigned int *var): g2cio.c']]], + ['g2c_5ffile_5fio_5fulonglong_202',['g2c_file_io_ulonglong',['../g2cio_8c.html#a540760f2051b00c67fefc9dfeb927c99',1,'g2c_file_io_ulonglong(FILE *f, int write, unsigned long long *var): g2cio.c'],['../grib2__int_8h.html#a540760f2051b00c67fefc9dfeb927c99',1,'g2c_file_io_ulonglong(FILE *f, int write, unsigned long long *var): g2cio.c']]], + ['g2c_5ffile_5fio_5fushort_203',['g2c_file_io_ushort',['../g2cio_8c.html#a0efe5cf31d683e3e6aa3144c82ab2a17',1,'g2c_file_io_ushort(FILE *f, int write, unsigned short *var): g2cio.c'],['../grib2__int_8h.html#a0efe5cf31d683e3e6aa3144c82ab2a17',1,'g2c_file_io_ushort(FILE *f, int write, unsigned short *var): g2cio.c']]], + ['g2c_5ffile_5fread_204',['G2C_FILE_READ',['../grib2__int_8h.html#a03dbc85724fca79a8a073e2101fdb64d',1,'grib2_int.h']]], + ['g2c_5ffile_5fwrite_205',['G2C_FILE_WRITE',['../grib2__int_8h.html#a1b307f84498592d3af16987f3828dd7e',1,'grib2_int.h']]], + ['g2c_5ffind_5fdesc_206',['g2c_find_desc',['../g2cxml_8c.html#a4057c499c1e2441ee560cafd306b0141',1,'g2c_find_desc(char *title, int code, char *desc): g2cxml.c'],['../grib2_8h.html#a4057c499c1e2441ee560cafd306b0141',1,'g2c_find_desc(char *title, int code, char *desc): g2cxml.c']]], + ['g2c_5ffind_5fdesc_5fstr_207',['g2c_find_desc_str',['../g2cxml_8c.html#a2076220d495e627198c94d9e00ec360e',1,'g2c_find_desc_str(char *title, char *code, char *desc): g2cxml.c'],['../grib2_8h.html#a2076220d495e627198c94d9e00ec360e',1,'g2c_find_desc_str(char *title, char *code, char *desc): g2cxml.c']]], + ['g2c_5ffind_5fentry_208',['g2c_find_entry',['../g2cxml_8c.html#a8b20012fc50b105e7aca0773381073e2',1,'g2cxml.c']]], + ['g2c_5ffind_5fmsg2_209',['g2c_find_msg2',['../g2cfile_8c.html#ab4cbbee608ee075df75f19c67188aa9c',1,'g2c_find_msg2(int g2cid, size_t skip_bytes, size_t max_bytes, size_t *bytes_to_msg, size_t *bytes_in_msg): g2cfile.c'],['../grib2_8h.html#ab4cbbee608ee075df75f19c67188aa9c',1,'g2c_find_msg2(int g2cid, size_t skip_bytes, size_t max_bytes, size_t *bytes_to_msg, size_t *bytes_in_msg): g2cfile.c']]], + ['g2c_5ffind_5ftable_210',['g2c_find_table',['../g2cxml_8c.html#abef2032deef721d17da6b9a545d3c0a8',1,'g2cxml.c']]], + ['g2c_5ffloat_211',['G2C_FLOAT',['../grib2_8h.html#a689b4dc2282e838fdb98a2936a67ff5a',1,'grib2.h']]], + ['g2c_5ffree_5ftables_212',['g2c_free_tables',['../g2cxml_8c.html#a96d0020d95aa799524048a40c252e240',1,'g2c_free_tables(): g2cxml.c'],['../grib2_8h.html#a96d0020d95aa799524048a40c252e240',1,'g2c_free_tables(): g2cxml.c']]], + ['g2c_5fgbit_5fint_213',['g2c_gbit_int',['../gbits_8c.html#af6b32459b20742990d06db4d8caeb348',1,'g2c_gbit_int(unsigned char *in, int *iout, int iskip, int nbits): gbits.c'],['../grib2_8h.html#af6b32459b20742990d06db4d8caeb348',1,'g2c_gbit_int(unsigned char *in, int *iout, int iskip, int nbits): gbits.c']]], + ['g2c_5fgbits_5fint_214',['g2c_gbits_int',['../gbits_8c.html#ae1535246186a033329df1715123819d2',1,'g2c_gbits_int(unsigned char *in, int *iout, int iskip, int nbits, int nskip, int n): gbits.c'],['../grib2_8h.html#ae1535246186a033329df1715123819d2',1,'g2c_gbits_int(unsigned char *in, int *iout, int iskip, int nbits, int nskip, int n): gbits.c']]], + ['g2c_5fget_5fdatetime_215',['g2c_get_datetime',['../g2cdegrib2_8c.html#af047ad60d1fa2efe9d7cf018e32c86da',1,'g2c_get_datetime(int ipdtn, long long int *ipdtmpl, short year, unsigned char month, unsigned char day, unsigned char hour, unsigned char minute, unsigned char second, char *tabbrev): g2cdegrib2.c'],['../grib2__int_8h.html#af047ad60d1fa2efe9d7cf018e32c86da',1,'g2c_get_datetime(int ipdtn, long long int *ipdtmpl, short year, unsigned char month, unsigned char day, unsigned char hour, unsigned char minute, unsigned char second, char *tabbrev): g2cdegrib2.c']]], + ['g2c_5fget_5fdrs_5ftemplate_216',['g2c_get_drs_template',['../drstemplates_8c.html#aa9a9b32379db85395891b59213f08a5d',1,'g2c_get_drs_template(int drs_template_num, int *maplen, int *map, int *needext): drstemplates.c'],['../grib2_8h.html#aa9a9b32379db85395891b59213f08a5d',1,'g2c_get_drs_template(int drs_template_num, int *maplen, int *map, int *needext): drstemplates.c']]], + ['g2c_5fget_5fgrid_5ftemplate_217',['g2c_get_grid_template',['../gridtemplates_8c.html#af43657d544d6892fcfce2bb11a615ab6',1,'g2c_get_grid_template(int grid_template_num, int *maplen, int *map, int *needext): gridtemplates.c'],['../grib2_8h.html#af43657d544d6892fcfce2bb11a615ab6',1,'g2c_get_grid_template(int grid_template_num, int *maplen, int *map, int *needext): gridtemplates.c']]], + ['g2c_5fget_5fgrid_5ftemplate_5fextension_218',['g2c_get_grid_template_extension',['../grib2_8h.html#a99a2fc1974fbe30d1d063a4ec2d6cb3c',1,'g2c_get_grid_template_extension(int grid_template_num, int *template, int *extlen, int *ext): gridtemplates.c'],['../gridtemplates_8c.html#a99a2fc1974fbe30d1d063a4ec2d6cb3c',1,'g2c_get_grid_template_extension(int grid_template_num, int *template, int *extlen, int *ext): gridtemplates.c']]], + ['g2c_5fget_5flevel_5fdesc_219',['g2c_get_level_desc',['../g2cdegrib2_8c.html#aa5c776ca39acf408c81fbc96568d72dc',1,'g2c_get_level_desc(int ipdtn, long long int *ipdtmpl, char *level_desc): g2cdegrib2.c'],['../grib2__int_8h.html#aa5c776ca39acf408c81fbc96568d72dc',1,'g2c_get_level_desc(int ipdtn, long long int *ipdtmpl, char *level_desc): g2cdegrib2.c']]], + ['g2c_5fget_5fmsg_220',['g2c_get_msg',['../g2cfile_8c.html#a977358be2d226299f842cb298b779854',1,'g2c_get_msg(int g2cid, size_t skip_bytes, size_t max_bytes, size_t *bytes_to_msg, size_t *bytes_in_msg, unsigned char **cbuf): g2cfile.c'],['../grib2_8h.html#a977358be2d226299f842cb298b779854',1,'g2c_get_msg(int g2cid, size_t skip_bytes, size_t max_bytes, size_t *bytes_to_msg, size_t *bytes_in_msg, unsigned char **cbuf): g2cfile.c']]], + ['g2c_5fget_5fpds_5ftemplate_221',['g2c_get_pds_template',['../pdstemplates_8c.html#a5d014a6e14c17d59ce83f78ca048d86b',1,'g2c_get_pds_template(int pds_template_num, int *maplen, int *map, int *needext): pdstemplates.c'],['../grib2_8h.html#a5d014a6e14c17d59ce83f78ca048d86b',1,'g2c_get_pds_template(int pds_template_num, int *maplen, int *map, int *needext): pdstemplates.c']]], + ['g2c_5fget_5fpds_5ftemplate_5fextension_222',['g2c_get_pds_template_extension',['../pdstemplates_8c.html#a657046138f00942c426122df3e25c546',1,'g2c_get_pds_template_extension(int pds_template_num, int *template, int *extlen, int *ext): pdstemplates.c'],['../grib2_8h.html#a657046138f00942c426122df3e25c546',1,'g2c_get_pds_template_extension(int pds_template_num, int *template, int *extlen, int *ext): pdstemplates.c']]], + ['g2c_5fget_5fprod_223',['g2c_get_prod',['../g2cprod_8c.html#ab63fb34d6630c4c24eca9c1c5c129fef',1,'g2c_get_prod(int g2cid, int msg_num, int prod_num, int *num_data_points, float *data): g2cprod.c'],['../grib2_8h.html#ab63fb34d6630c4c24eca9c1c5c129fef',1,'g2c_get_prod(int g2cid, int msg_num, int prod_num, int *num_data_points, float *data): g2cprod.c']]], + ['g2c_5fget_5fprod_5fsections_224',['g2c_get_prod_sections',['../g2cindex_8c.html#aeaf05bed64c11f59dc5fdd66eb28b7a3',1,'g2cindex.c']]], + ['g2c_5findex_2ec_225',['g2c_index.c',['../g2c__index_8c.html',1,'']]], + ['g2c_5findex1_5fbds_5fval_5flen_226',['G2C_INDEX1_BDS_VAL_LEN',['../grib2__int_8h.html#a12c6feec8073278d5147ed3f451d8f26',1,'grib2_int.h']]], + ['g2c_5findex1_5fbms_5fval_5flen_227',['G2C_INDEX1_BMS_VAL_LEN',['../grib2__int_8h.html#a68960e1200741ecaacc22020d1ad2565',1,'grib2_int.h']]], + ['g2c_5findex1_5fgds_5fval2_5flen_228',['G2C_INDEX1_GDS_VAL2_LEN',['../grib2__int_8h.html#ab380f99a5148decd6afd0f7877f97746',1,'grib2_int.h']]], + ['g2c_5findex1_5fgds_5fval_5flen_229',['G2C_INDEX1_GDS_VAL_LEN',['../grib2__int_8h.html#a56d5a04be7b7feb227634533413f528a',1,'grib2_int.h']]], + ['g2c_5findex1_5fpds_5fval2_5flen_230',['G2C_INDEX1_PDS_VAL2_LEN',['../grib2__int_8h.html#a897d92ef651510a3fe10dc9a7b5df9b8',1,'grib2_int.h']]], + ['g2c_5findex1_5fpds_5fval3_5flen_231',['G2C_INDEX1_PDS_VAL3_LEN',['../grib2__int_8h.html#a91a1d7b538da7f1f9786d50ab7fb8211',1,'grib2_int.h']]], + ['g2c_5findex1_5fpds_5fval_5flen_232',['G2C_INDEX1_PDS_VAL_LEN',['../grib2__int_8h.html#a91624c9b58aaa01748a06a85c15b6c5c',1,'grib2_int.h']]], + ['g2c_5findex_5fbasename_5flen_233',['G2C_INDEX_BASENAME_LEN',['../g2cindex_8c.html#af8a1ae5ba5b9fd2dca00f97181756d94',1,'g2cindex.c']]], + ['g2c_5findex_5fbitmap_5fbytes_234',['G2C_INDEX_BITMAP_BYTES',['../g2cindex_8c.html#a6796481f7b67f04f0d0cad3c024668d0',1,'g2cindex.c']]], + ['g2c_5findex_5fdate_5fstr_5flen_235',['G2C_INDEX_DATE_STR_LEN',['../g2cindex_8c.html#ab777707744dc22770af6415fc907d469',1,'g2cindex.c']]], + ['g2c_5findex_5ffixed_5flen_236',['G2C_INDEX_FIXED_LEN',['../g2cindex_8c.html#aa902f43c766a21ef5870180b11cd490f',1,'g2cindex.c']]], + ['g2c_5findex_5fheader_5flen_237',['G2C_INDEX_HEADER_LEN',['../g2cindex_8c.html#a6b75cee1ad7398ff26c514a509326ac6',1,'g2cindex.c']]], + ['g2c_5findex_5fstr1_5flen_238',['G2C_INDEX_STR1_LEN',['../g2cindex_8c.html#abec75da2ac349d28e3f11722dff87d39',1,'g2cindex.c']]], + ['g2c_5findex_5ftime_5fstr_5flen_239',['G2C_INDEX_TIME_STR_LEN',['../g2cindex_8c.html#ac60c6eb3d8e8d6b31db875a2f04ca168',1,'g2cindex.c']]], + ['g2c_5finq_240',['g2c_inq',['../g2cinq_8c.html#a11d1277208e3ee21f2dda94effdbe41b',1,'g2c_inq(int g2cid, int *num_msg): g2cinq.c'],['../grib2_8h.html#a11d1277208e3ee21f2dda94effdbe41b',1,'g2c_inq(int g2cid, int *num_msg): g2cinq.c']]], + ['g2c_5finq_5fdim_241',['g2c_inq_dim',['../g2cinq_8c.html#a8e4a8fcf8d55db639760e873013af0ab',1,'g2c_inq_dim(int g2cid, int msg_num, int prod_num, int dim_num, size_t *len, char *name, float *val): g2cinq.c'],['../grib2_8h.html#a8e4a8fcf8d55db639760e873013af0ab',1,'g2c_inq_dim(int g2cid, int msg_num, int prod_num, int dim_num, size_t *len, char *name, float *val): g2cinq.c']]], + ['g2c_5finq_5fmsg_242',['g2c_inq_msg',['../g2cinq_8c.html#a9a6d255355a287b253ebc369271751f4',1,'g2c_inq_msg(int g2cid, int msg_num, unsigned char *discipline, int *num_fields, int *num_local, short *center, short *subcenter, unsigned char *master_version, unsigned char *local_version): g2cinq.c'],['../grib2_8h.html#a9a6d255355a287b253ebc369271751f4',1,'g2c_inq_msg(int g2cid, int msg_num, unsigned char *discipline, int *num_fields, int *num_local, short *center, short *subcenter, unsigned char *master_version, unsigned char *local_version): g2cinq.c']]], + ['g2c_5finq_5fmsg_5ftime_243',['g2c_inq_msg_time',['../g2cinq_8c.html#a914c41f0c96a57cf78f5a05525b2e8b4',1,'g2c_inq_msg_time(int g2cid, int msg_num, unsigned char *sig_ref_time, short *year, unsigned char *month, unsigned char *day, unsigned char *hour, unsigned char *minute, unsigned char *second): g2cinq.c'],['../grib2_8h.html#a914c41f0c96a57cf78f5a05525b2e8b4',1,'g2c_inq_msg_time(int g2cid, int msg_num, unsigned char *sig_ref_time, short *year, unsigned char *month, unsigned char *day, unsigned char *hour, unsigned char *minute, unsigned char *second): g2cinq.c']]], + ['g2c_5finq_5fprod_244',['g2c_inq_prod',['../g2cinq_8c.html#a0bd2b43c8e10bf7374a0ba1d2e121a96',1,'g2c_inq_prod(int g2cid, int msg_num, int prod_num, int *pds_template_len, int *pds_template, int *gds_template_len, int *gds_template, int *drs_template_len, int *drs_template): g2cinq.c'],['../grib2_8h.html#a0bd2b43c8e10bf7374a0ba1d2e121a96',1,'g2c_inq_prod(int g2cid, int msg_num, int prod_num, int *pds_template_len, int *pds_template, int *gds_template_len, int *gds_template, int *drs_template_len, int *drs_template): g2cinq.c']]], + ['g2c_5fint_245',['G2C_INT',['../grib2_8h.html#adc0a16adef9d60b0ccd46f563db513ae',1,'grib2.h']]], + ['g2c_5fint64_246',['G2C_INT64',['../grib2_8h.html#a8f3e490a5d39ec4f34992fba1fb6ab12',1,'grib2.h']]], + ['g2c_5fjasper_5fjpeg_5fformat_5fname_247',['G2C_JASPER_JPEG_FORMAT_NAME',['../grib2__int_8h.html#a05f66c598caeaf6ef1b9e25c15dc053b',1,'grib2_int.h']]], + ['g2c_5fjasper_5fmax_5fmem_248',['G2C_JASPER_MAX_MEM',['../grib2_8h.html#aaa5a59527b7c1538cf47e10ecd365784',1,'grib2.h']]], + ['g2c_5fjpcpackd_249',['g2c_jpcpackd',['../jpcpack_8c.html#a29a71629c41dfefe937460952ffa18f1',1,'g2c_jpcpackd(double *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, size_t *lcpack): jpcpack.c'],['../grib2_8h.html#a29a71629c41dfefe937460952ffa18f1',1,'g2c_jpcpackd(double *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, size_t *lcpack): jpcpack.c']]], + ['g2c_5fjpcpackf_250',['g2c_jpcpackf',['../jpcpack_8c.html#a7b892e53508c65fd31c6564d5418c824',1,'g2c_jpcpackf(float *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, size_t *lcpack): jpcpack.c'],['../grib2_8h.html#a7b892e53508c65fd31c6564d5418c824',1,'g2c_jpcpackf(float *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, size_t *lcpack): jpcpack.c']]], + ['g2c_5fjpcunpackd_251',['g2c_jpcunpackd',['../jpcunpack_8c.html#a1a04c5d88c271b98a56edfd136b7db77',1,'g2c_jpcunpackd(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, double *fld): jpcunpack.c'],['../grib2_8h.html#a1a04c5d88c271b98a56edfd136b7db77',1,'g2c_jpcunpackd(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, double *fld): jpcunpack.c']]], + ['g2c_5fjpcunpackf_252',['g2c_jpcunpackf',['../jpcunpack_8c.html#a2c7e2ed3363571d9f55162f38371187c',1,'g2c_jpcunpackf(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, float *fld): jpcunpack.c'],['../grib2_8h.html#a2c7e2ed3363571d9f55162f38371187c',1,'g2c_jpcunpackf(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, float *fld): jpcunpack.c']]], + ['g2c_5fjpeg_5fdrs_5ftemplate_5flen_253',['G2C_JPEG_DRS_TEMPLATE_LEN',['../grib2_8h.html#a0385933efeefce1a3ff8157b98f06d0a',1,'grib2.h']]], + ['g2c_5flog_5ffile_254',['g2c_log_file',['../g2cutil_8c.html#acec6023ac37dbab9ac55c62a0ac14624',1,'g2c_log_file(int g2cid): g2cutil.c'],['../grib2_8h.html#acec6023ac37dbab9ac55c62a0ac14624',1,'g2c_log_file(int g2cid): g2cutil.c']]], + ['g2c_5flog_5fsection_255',['g2c_log_section',['../g2cutil_8c.html#a5e90b9030e3dd950fec8b770ee8cc312',1,'g2cutil.c']]], + ['g2c_5flog_5fsection1_256',['g2c_log_section1',['../g2cutil_8c.html#a5bf6dfa852b0a206632d52aa666abf3a',1,'g2c_log_section1(G2C_MESSAGE_INFO_T *msg): g2cutil.c'],['../grib2__int_8h.html#a5bf6dfa852b0a206632d52aa666abf3a',1,'g2c_log_section1(G2C_MESSAGE_INFO_T *msg): g2cutil.c']]], + ['g2c_5fmagic_5fheader_257',['G2C_MAGIC_HEADER',['../grib2__int_8h.html#a509882196b78bdf75ee36d1d1bf0cc35',1,'grib2_int.h']]], + ['g2c_5fmagic_5fheader_5flen_258',['G2C_MAGIC_HEADER_LEN',['../grib2__int_8h.html#a240eb2cfb06a088831f356621ffbd629',1,'grib2_int.h']]], + ['g2c_5fmax_5fdrs_5ftemplate_259',['G2C_MAX_DRS_TEMPLATE',['../grib2_8h.html#a6da0d8269b5acb7475bfa5bd6b78da28',1,'grib2.h']]], + ['g2c_5fmax_5fdrs_5ftemplate_5fmaplen_260',['G2C_MAX_DRS_TEMPLATE_MAPLEN',['../grib2_8h.html#a9fd31927766f572312f6b7b6993a56c2',1,'grib2.h']]], + ['g2c_5fmax_5ffiles_261',['G2C_MAX_FILES',['../grib2_8h.html#a030fe94d956425ce9723e231c7cd652e',1,'grib2.h']]], + ['g2c_5fmax_5fgds_5ftemplate_262',['G2C_MAX_GDS_TEMPLATE',['../grib2_8h.html#a28bd17e0a13e2f8d2bc6c546d25e9bab',1,'grib2.h']]], + ['g2c_5fmax_5fgds_5ftemplate_5fmaplen_263',['G2C_MAX_GDS_TEMPLATE_MAPLEN',['../grib2_8h.html#a6d73cbbc6177df2e5bc844798d8f2d2b',1,'grib2.h']]], + ['g2c_5fmax_5fgrib_5fcode_5flen_264',['G2C_MAX_GRIB_CODE_LEN',['../grib2_8h.html#acbbf68ad0294fdad53dc9ff5066a5eb5',1,'grib2.h']]], + ['g2c_5fmax_5fgrib_5fdesc_5flen_265',['G2C_MAX_GRIB_DESC_LEN',['../grib2_8h.html#a183f59614ad572efac9b75f448cd563a',1,'grib2.h']]], + ['g2c_5fmax_5fgrib_5flevel_5fdesc_5flen_266',['G2C_MAX_GRIB_LEVEL_DESC_LEN',['../grib2_8h.html#ae13769d05f338ec9dbb0ef1a7b3ac293',1,'grib2.h']]], + ['g2c_5fmax_5fgrib_5fstatus_5flen_267',['G2C_MAX_GRIB_STATUS_LEN',['../grib2_8h.html#a95de976d74502f1f5a4b4afd7be0c0f2',1,'grib2.h']]], + ['g2c_5fmax_5fgrib_5ftitle_5flen_268',['G2C_MAX_GRIB_TITLE_LEN',['../grib2_8h.html#a0b22a0eef8418b8b30cf73263b429613',1,'grib2.h']]], + ['g2c_5fmax_5fmessages_269',['G2C_MAX_MESSAGES',['../grib2__int_8h.html#a98f7c3fe1e4dd5db104fde7c6549a32d',1,'grib2_int.h']]], + ['g2c_5fmax_5fname_270',['G2C_MAX_NAME',['../grib2_8h.html#a91778844b25133a0b77e345a8e1bccf8',1,'grib2.h']]], + ['g2c_5fmax_5fnoaa_5fabbrev_5flen_271',['G2C_MAX_NOAA_ABBREV_LEN',['../grib2_8h.html#af55f435a20a9079c03ff2ccfab8fd2e8',1,'grib2.h']]], + ['g2c_5fmax_5fnoaa_5fparam_5fline_5flen_272',['G2C_MAX_NOAA_PARAM_LINE_LEN',['../grib2_8h.html#a1c000643672bcf0463adf199df6a1e87',1,'grib2.h']]], + ['g2c_5fmax_5fnoaa_5fparams_273',['G2C_MAX_NOAA_PARAMS',['../grib2_8h.html#a9a190b6ec4e060e9ccbe554135c47717',1,'grib2.h']]], + ['g2c_5fmax_5fnum_5fsections_274',['G2C_MAX_NUM_SECTIONS',['../grib2_8h.html#af8927f176801d42df35c60ec5585e792',1,'grib2.h']]], + ['g2c_5fmax_5fpds_5ftemplate_275',['G2C_MAX_PDS_TEMPLATE',['../grib2_8h.html#a0afd432698f939755dbae56c681bbce5',1,'grib2.h']]], + ['g2c_5fmax_5fpds_5ftemplate_5fmaplen_276',['G2C_MAX_PDS_TEMPLATE_MAPLEN',['../grib2_8h.html#ac46d9ca4e9715c77dd63ee6a3a3ecab5',1,'grib2.h']]], + ['g2c_5fmax_5ftype_5fof_5ffixed_5fsurface_5flen_277',['G2C_MAX_TYPE_OF_FIXED_SURFACE_LEN',['../g2cdegrib2_8c.html#a5568b9855cf04e83bba0ac3de8c1e8ba',1,'g2cdegrib2.c']]], + ['g2c_5fmessage_5finfo_278',['g2c_message_info',['../grib2__int_8h.html#structg2c__message__info',1,'']]], + ['g2c_5fmessage_5finfo_5ft_279',['G2C_MESSAGE_INFO_T',['../grib2__int_8h.html#a99a45e03f1f4601ea7c5fcdeec5cb19b',1,'grib2_int.h']]], + ['g2c_5fmin_5fmax_5fbytes_280',['G2C_MIN_MAX_BYTES',['../grib2__int_8h.html#a8da09513416a4bd9ba4cfa1b291c0c85',1,'grib2_int.h']]], + ['g2c_5fnext_5fg2cid_281',['g2c_next_g2cid',['../g2cfile_8c.html#afd7e03b89e0711bca4a47eb59926a4c4',1,'g2cfile.c']]], + ['g2c_5fnoclobber_282',['G2C_NOCLOBBER',['../grib2_8h.html#a0f60a9a7769c124118754c22926b5ddf',1,'grib2.h']]], + ['g2c_5fnoerror_283',['G2C_NOERROR',['../grib2_8h.html#af837ca43cf1f95ac2d4096d3c3e35576',1,'grib2.h']]], + ['g2c_5fnowrite_284',['G2C_NOWRITE',['../grib2_8h.html#ae0a9149f145ff6ca1d8539231b8bcf55',1,'grib2.h']]], + ['g2c_5fopen_285',['g2c_open',['../g2cfile_8c.html#a216f2c45794641932725b7a8b1800423',1,'g2c_open(const char *path, int mode, int *g2cid): g2cfile.c'],['../grib2_8h.html#a216f2c45794641932725b7a8b1800423',1,'g2c_open(const char *path, int mode, int *g2cid): g2cfile.c']]], + ['g2c_5fopen_5findex_286',['g2c_open_index',['../g2cindex_8c.html#a146ebf0fbbfac18432b0c0dbe9900631',1,'g2c_open_index(const char *data_file, const char *index_file, int mode, int *g2cid): g2cindex.c'],['../grib2_8h.html#a146ebf0fbbfac18432b0c0dbe9900631',1,'g2c_open_index(const char *data_file, const char *index_file, int mode, int *g2cid): g2cindex.c']]], + ['g2c_5fopen_5findex1_287',['g2c_open_index1',['../g2cindex_8c.html#a32a9653961314d342b211ab98a07aa0a',1,'g2c_open_index1(const char *index_file): g2cindex.c'],['../grib2_8h.html#a32a9653961314d342b211ab98a07aa0a',1,'g2c_open_index1(const char *index_file): g2cindex.c']]], + ['g2c_5fparam_288',['g2c_param',['../grib2__int_8h.html#structg2c__param',1,'']]], + ['g2c_5fparam_5fabbrev_289',['g2c_param_abbrev',['../g2cparams_8c.html#a309e4c0c418755d046b6e414560eb36f',1,'g2c_param_abbrev(int g2disc, int g2cat, int g2num, char *abbrev): g2cparams.c'],['../grib2_8h.html#a309e4c0c418755d046b6e414560eb36f',1,'g2c_param_abbrev(int g2disc, int g2cat, int g2num, char *abbrev): g2cparams.c']]], + ['g2c_5fparam_5fall_290',['g2c_param_all',['../g2cparams_8c.html#ace202361aa7d8f7337730e7dc6efe916',1,'g2c_param_all(int param_idx, int *g1num, int *g1ver, int *g2disc, int *g2cat, int *g2num, char *abbrev): g2cparams.c'],['../grib2_8h.html#aacf7f56c868c12e27c3d187164655218',1,'g2c_param_all(int param_idx, int *g1ver, int *g1val, int *g2disc, int *g2cat, int *g2num, char *abbdrev): g2cparams.c']]], + ['g2c_5fparam_5fg1tog2_291',['g2c_param_g1tog2',['../grib2_8h.html#ab820e4fe7f1b895232334e5d6927fc9a',1,'g2c_param_g1tog2(int g1val, int g1ver, int *g2disc, int *g2cat, int *g2num): g2cparams.c'],['../g2cparams_8c.html#a408859d9761a9891f74614a293fa0177',1,'g2c_param_g1tog2(int g1num, int g1ver, int *g2disc, int *g2cat, int *g2num): g2cparams.c']]], + ['g2c_5fparam_5fg2tog1_292',['g2c_param_g2tog1',['../g2cparams_8c.html#a1d07030fd384aba15b55d493efe95aa6',1,'g2c_param_g2tog1(int g2disc, int g2cat, int g2num, int *g1num, int *g1ver): g2cparams.c'],['../grib2_8h.html#a2a1b1cfa73b675ff4d7822f836898846',1,'g2c_param_g2tog1(int g2disc, int g2cat, int g2num, int *g1val, int *g1ver): g2cparams.c']]], + ['g2c_5fparam_5ft_293',['G2C_PARAM_T',['../grib2__int_8h.html#a6f80bff99b9d4dd94df22bea9c6057c4',1,'grib2_int.h']]], + ['g2c_5fpng_5fdrs_5ftemplate_5flen_294',['G2C_PNG_DRS_TEMPLATE_LEN',['../grib2_8h.html#a958fab96aa91de18f24b40fb8a084a93',1,'grib2.h']]], + ['g2c_5fpngpackd_295',['g2c_pngpackd',['../pngpack_8c.html#a5f2e244f2819f238f11348a0c79f6079',1,'g2c_pngpackd(double *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, int *lcpack): pngpack.c'],['../grib2_8h.html#a5f2e244f2819f238f11348a0c79f6079',1,'g2c_pngpackd(double *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, int *lcpack): pngpack.c']]], + ['g2c_5fpngpackf_296',['g2c_pngpackf',['../pngpack_8c.html#ae889c3c77c33283d6cab33086048b1ac',1,'g2c_pngpackf(float *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, int *lcpack): pngpack.c'],['../grib2_8h.html#ae889c3c77c33283d6cab33086048b1ac',1,'g2c_pngpackf(float *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, int *lcpack): pngpack.c']]], + ['g2c_5fpngunpackd_297',['g2c_pngunpackd',['../pngunpack_8c.html#a33fbfbbde0db4cea4dd33d83a86cf3e0',1,'g2c_pngunpackd(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, double *fld): pngunpack.c'],['../grib2_8h.html#a33fbfbbde0db4cea4dd33d83a86cf3e0',1,'g2c_pngunpackd(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, double *fld): pngunpack.c']]], + ['g2c_5fpngunpackf_298',['g2c_pngunpackf',['../pngunpack_8c.html#a840ce62970e0482389aea32b69fe8721',1,'g2c_pngunpackf(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, float *fld): pngunpack.c'],['../grib2_8h.html#a840ce62970e0482389aea32b69fe8721',1,'g2c_pngunpackf(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, float *fld): pngunpack.c']]], + ['g2c_5fprint_5ftables_299',['g2c_print_tables',['../g2cxml_8c.html#afb9b94205e0b07b276d624b0285a1751',1,'g2cxml.c']]], + ['g2c_5frw_5fsection1_5fmetadata_300',['g2c_rw_section1_metadata',['../g2cfile_8c.html#ae7843e51976900337654503388d9a726',1,'g2c_rw_section1_metadata(FILE *f, int rw_flag, G2C_MESSAGE_INFO_T *msg): g2cfile.c'],['../grib2__int_8h.html#ae7843e51976900337654503388d9a726',1,'g2c_rw_section1_metadata(FILE *f, int rw_flag, G2C_MESSAGE_INFO_T *msg): g2cfile.c']]], + ['g2c_5frw_5fsection3_5fmetadata_301',['g2c_rw_section3_metadata',['../g2cfile_8c.html#af7f2e7b1cc0d81f73f972feaa4fc65c0',1,'g2c_rw_section3_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec): g2cfile.c'],['../grib2__int_8h.html#af7f2e7b1cc0d81f73f972feaa4fc65c0',1,'g2c_rw_section3_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec): g2cfile.c']]], + ['g2c_5frw_5fsection4_5fmetadata_302',['g2c_rw_section4_metadata',['../g2cfile_8c.html#af7fef1bd5fae59a765ccfa3493c20699',1,'g2c_rw_section4_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec): g2cfile.c'],['../grib2__int_8h.html#af7fef1bd5fae59a765ccfa3493c20699',1,'g2c_rw_section4_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec): g2cfile.c']]], + ['g2c_5frw_5fsection5_5fmetadata_303',['g2c_rw_section5_metadata',['../g2cfile_8c.html#abd2e0851785661aee3f32380c9d8fdf0',1,'g2c_rw_section5_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec): g2cfile.c'],['../grib2__int_8h.html#abd2e0851785661aee3f32380c9d8fdf0',1,'g2c_rw_section5_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec): g2cfile.c']]], + ['g2c_5frw_5fsection6_5fmetadata_304',['g2c_rw_section6_metadata',['../g2cfile_8c.html#a767dd5916869dc53f395903d613075cb',1,'g2c_rw_section6_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec): g2cfile.c'],['../grib2__int_8h.html#a767dd5916869dc53f395903d613075cb',1,'g2c_rw_section6_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec): g2cfile.c']]], + ['g2c_5fsection0_5farray_5flen_305',['G2C_SECTION0_ARRAY_LEN',['../grib2_8h.html#abb0600d5c6baf2937c0258921ea4e0aa',1,'grib2.h']]], + ['g2c_5fsection0_5fbytes_306',['G2C_SECTION0_BYTES',['../grib2_8h.html#af04bb40930441ec99376ed72bf18684e',1,'grib2.h']]], + ['g2c_5fsection0_5flen_307',['G2C_SECTION0_LEN',['../grib2_8h.html#a2d2f950408b743a0191242af8d81cb20',1,'grib2.h']]], + ['g2c_5fsection1_5farray_5flen_308',['G2C_SECTION1_ARRAY_LEN',['../grib2_8h.html#ad9c884e1caa56f82a8801b573f5bc3c9',1,'grib2.h']]], + ['g2c_5fsection1_5fbytes_309',['G2C_SECTION1_BYTES',['../grib2_8h.html#afd42b8eddf696ef63f54a6265ebc69f9',1,'grib2.h']]], + ['g2c_5fsection1_5flen_310',['G2C_SECTION1_LEN',['../grib2_8h.html#a3a626a5662eaf679c785fd5ae85c1d7d',1,'grib2.h']]], + ['g2c_5fsection3_5finfo_311',['g2c_section3_info',['../grib2__int_8h.html#structg2c__section3__info',1,'']]], + ['g2c_5fsection3_5finfo_5ft_312',['G2C_SECTION3_INFO_T',['../grib2__int_8h.html#a07f31f8e961b2d10b82007cef989ba62',1,'grib2_int.h']]], + ['g2c_5fsection4_5finfo_313',['g2c_section4_info',['../grib2__int_8h.html#structg2c__section4__info',1,'']]], + ['g2c_5fsection4_5finfo_5ft_314',['G2C_SECTION4_INFO_T',['../grib2__int_8h.html#a86155cc800a49fff155d3d48fa61b306',1,'grib2_int.h']]], + ['g2c_5fsection5_5finfo_315',['g2c_section5_info',['../grib2__int_8h.html#structg2c__section5__info',1,'']]], + ['g2c_5fsection5_5finfo_5ft_316',['G2C_SECTION5_INFO_T',['../grib2__int_8h.html#a7c9598594469891f1962213355a28cdd',1,'grib2_int.h']]], + ['g2c_5fsection6_5finfo_317',['g2c_section6_info',['../grib2__int_8h.html#structg2c__section6__info',1,'']]], + ['g2c_5fsection6_5finfo_5ft_318',['G2C_SECTION6_INFO_T',['../grib2__int_8h.html#af27005591b78f26dda3151d941dc8247',1,'grib2_int.h']]], + ['g2c_5fsection_5finfo_319',['g2c_section_info',['../grib2__int_8h.html#structg2c__section__info',1,'']]], + ['g2c_5fsection_5finfo_5ft_320',['G2C_SECTION_INFO_T',['../grib2__int_8h.html#a6461bd06cff157e5887e739b8f9d063f',1,'grib2_int.h']]], + ['g2c_5fseekmsg_321',['g2c_seekmsg',['../g2cfile_8c.html#af50a08963916901ddae4e32a81fec8f5',1,'g2c_seekmsg(int g2cid, size_t skip, size_t *offset, size_t *msglen): g2cfile.c'],['../grib2_8h.html#af50a08963916901ddae4e32a81fec8f5',1,'g2c_seekmsg(int g2cid, size_t skip, size_t *offset, size_t *msglen): g2cfile.c']]], + ['g2c_5fseekmsg_5fbufsize_322',['G2C_SEEKMSG_BUFSIZE',['../g2cfile_8c.html#afa9f4de2d5c14d0e8d26ae7f502b0267',1,'g2cfile.c']]], + ['g2c_5fset_5flog_5flevel_323',['g2c_set_log_level',['../util_8c.html#a9a2353e67d13207769db5bd68e343abe',1,'g2c_set_log_level(int new_level): util.c'],['../grib2_8h.html#a9a2353e67d13207769db5bd68e343abe',1,'g2c_set_log_level(int new_level): util.c']]], + ['g2c_5fshort_324',['G2C_SHORT',['../grib2_8h.html#a24f0315e18f5b5e7d0200cffe32897b4',1,'grib2.h']]], + ['g2c_5fstart_5findex1_5frecord_325',['g2c_start_index1_record',['../g2cindex_8c.html#a3012c86f328edde808fb0c27bcbd0de2',1,'g2cindex.c']]], + ['g2c_5fstart_5findex_5frecord_326',['g2c_start_index_record',['../g2cindex_8c.html#a98ff06adef664fd65de70cc2ecfb2354',1,'g2cindex.c']]], + ['g2c_5fstrerror_327',['g2c_strerror',['../g2cutil_8c.html#a1792f482362669e846f8f69e0eb63fe0',1,'g2c_strerror(int g2cerr): g2cutil.c'],['../grib2_8h.html#a1792f482362669e846f8f69e0eb63fe0',1,'g2c_strerror(int g2cerr): g2cutil.c']]], + ['g2c_5ftable_328',['g2c_table',['../g2cdegrib2_8c.html#afac4cc2cc30baa5dba0f5512c91e5a70',1,'g2c_table(): g2cxml.c'],['../g2cutil_8c.html#afac4cc2cc30baa5dba0f5512c91e5a70',1,'g2c_table(): g2cxml.c'],['../g2cxml_8c.html#afac4cc2cc30baa5dba0f5512c91e5a70',1,'g2c_table(): g2cxml.c']]], + ['g2c_5fubyte_329',['G2C_UBYTE',['../grib2_8h.html#af4ce40d4300a8384bd032697928f5551',1,'grib2.h']]], + ['g2c_5fuint_330',['G2C_UINT',['../grib2_8h.html#adea4acd4d82730009c5415b7ded0e187',1,'grib2.h']]], + ['g2c_5fuint64_331',['G2C_UINT64',['../grib2_8h.html#ac2ff72b386a405e5e4f4c9bd013a882e',1,'grib2.h']]], + ['g2c_5funpack7_332',['g2c_unpack7',['../g2__unpack7_8c.html#ab880dad973bf979fc906b4d5c60ce3c7',1,'g2c_unpack7(unsigned char *cgrib, int igdsnum, int gds_tmpl_len, long long int *gdstmpl, int idrsnum, int drs_tmpl_len, long long int *drstmpl, int ndpts, float *fld): g2_unpack7.c'],['../grib2_8h.html#ab880dad973bf979fc906b4d5c60ce3c7',1,'g2c_unpack7(unsigned char *cgrib, int igdsnum, int gds_tmpl_len, long long int *gdstmpl, int idrsnum, int drs_tmpl_len, long long int *drstmpl, int ndpts, float *fld): g2_unpack7.c']]], + ['g2c_5funpack7_5fint_333',['g2c_unpack7_int',['../g2__unpack7_8c.html#a17dbb42101538f5b02d685d46a38c4a9',1,'g2_unpack7.c']]], + ['g2c_5fushort_334',['G2C_USHORT',['../grib2_8h.html#a4891ea5efd77f5fce12483849104b099',1,'grib2.h']]], + ['g2c_5fversion_335',['G2C_VERSION',['../grib2_8h.html#ace11da5841473bb62734708867bb11bd',1,'grib2.h']]], + ['g2c_5fwrite_336',['G2C_WRITE',['../grib2_8h.html#a43712608ab00578dafcf3c39cff9582d',1,'grib2.h']]], + ['g2c_5fwrite_5findex_337',['g2c_write_index',['../grib2_8h.html#aa370217896d20f1ccb1c77e7a4edc1ed',1,'g2c_write_index(int g2cid, int mode, const char *index_file): g2cindex.c'],['../g2cindex_8c.html#aa370217896d20f1ccb1c77e7a4edc1ed',1,'g2c_write_index(int g2cid, int mode, const char *index_file): g2cindex.c']]], + ['g2c_5fxml_5finit_338',['g2c_xml_init',['../grib2_8h.html#a6e22025328a8e92092654f5333d78226',1,'g2c_xml_init(): g2cxml.c'],['../g2cxml_8c.html#a6e22025328a8e92092654f5333d78226',1,'g2c_xml_init(): g2cxml.c']]], + ['g2cat_339',['g2cat',['../grib2__int_8h.html#a668dee231d7aa73fcb36e6ecc41badc1',1,'g2c_param']]], + ['g2ccompare_2ec_340',['g2ccompare.c',['../g2ccompare_8c.html',1,'']]], + ['g2cdegrib2_2ec_341',['g2cdegrib2.c',['../g2cdegrib2_8c.html',1,'']]], + ['g2cfile_2ec_342',['g2cfile.c',['../g2cfile_8c.html',1,'']]], + ['g2cid_343',['g2cid',['../grib2__int_8h.html#a6c2582f1e1d3c5e49df28497d9264fcd',1,'g2c_file_info']]], + ['g2cindex_2ec_344',['g2cindex.c',['../g2cindex_8c.html',1,'']]], + ['g2cinq_2ec_345',['g2cinq.c',['../g2cinq_8c.html',1,'']]], + ['g2cio_2ec_346',['g2cio.c',['../g2cio_8c.html',1,'']]], + ['g2cparams_2ec_347',['g2cparams.c',['../g2cparams_8c.html',1,'']]], + ['g2cprod_2ec_348',['g2cprod.c',['../g2cprod_8c.html',1,'']]], + ['g2cutil_2ec_349',['g2cutil.c',['../g2cutil_8c.html',1,'']]], + ['g2cxml_2ec_350',['g2cxml.c',['../g2cxml_8c.html',1,'']]], + ['g2disc_351',['g2disc',['../grib2__int_8h.html#ad610f3bb919c70bcb7ad8593804c3b65',1,'g2c_param']]], + ['g2float_352',['g2float',['../grib2_8h.html#a2e615ee29fc8d17a681017e4384847c2',1,'grib2.h']]], + ['g2int_353',['g2int',['../grib2_8h.html#af0b63b0e0f41f07f562a4367e2a60838',1,'grib2.h']]], + ['g2intu_354',['g2intu',['../grib2_8h.html#a95bb698b6bd148aae1b3b841fb0da83b',1,'grib2.h']]], + ['g2num_355',['g2num',['../grib2__int_8h.html#af79b19aedb2a36aedcef7a85f42502c6',1,'g2c_param']]], + ['gbit_356',['gbit',['../gbits_8c.html#a1efb9739e947d94010aeba6daf62eca3',1,'gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits): gbits.c'],['../grib2__int_8h.html#a1efb9739e947d94010aeba6daf62eca3',1,'gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits): gbits.c']]], + ['gbits_357',['gbits',['../gbits_8c.html#a31ebdbbf262b7478d6a7cc4326f76ade',1,'gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits, g2int nskip, g2int n): gbits.c'],['../grib2__int_8h.html#a31ebdbbf262b7478d6a7cc4326f76ade',1,'gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits, g2int nskip, g2int n): gbits.c']]], + ['gbits_2ec_358',['gbits.c',['../gbits_8c.html',1,'']]], + ['getdim_359',['getdim',['../getdim_8c.html#aabc49a338fae74f6dfc9e98b6cb59de7',1,'getdim(unsigned char *csec3, g2int *width, g2int *height, g2int *iscan): getdim.c'],['../grib2__int_8h.html#aabc49a338fae74f6dfc9e98b6cb59de7',1,'getdim(unsigned char *csec3, g2int *width, g2int *height, g2int *iscan): getdim.c']]], + ['getdim_2ec_360',['getdim.c',['../getdim_8c.html',1,'']]], + ['getdrsindex_361',['getdrsindex',['../drstemplates_8c.html#a307a8ced5bd81dd2bf110596fc9e6532',1,'drstemplates.c']]], + ['getdrstemplate_362',['getdrstemplate',['../drstemplates_8c.html#acf3195b5cecc028727faa8a921eba03e',1,'getdrstemplate(g2int number): drstemplates.c'],['../grib2__int_8h.html#acf3195b5cecc028727faa8a921eba03e',1,'getdrstemplate(g2int number): drstemplates.c']]], + ['getgridindex_363',['getgridindex',['../gridtemplates_8c.html#addbeca29a7de77dc30f65a08b6b38941',1,'gridtemplates.c']]], + ['getgridtemplate_364',['getgridtemplate',['../grib2__int_8h.html#af67f9624982c81a36531989254a9b98a',1,'getgridtemplate(g2int number): gridtemplates.c'],['../gridtemplates_8c.html#af67f9624982c81a36531989254a9b98a',1,'getgridtemplate(g2int number): gridtemplates.c']]], + ['getpdsindex_365',['getpdsindex',['../pdstemplates_8c.html#a59f2fe1fba0577301d154f21e0478e7f',1,'pdstemplates.c']]], + ['getpdstemplate_366',['getpdstemplate',['../grib2__int_8h.html#ad08ad7c4bee0466cd8ccafc1c1e76520',1,'getpdstemplate(g2int number): pdstemplates.c'],['../pdstemplates_8c.html#ad08ad7c4bee0466cd8ccafc1c1e76520',1,'getpdstemplate(g2int number): pdstemplates.c']]], + ['getpoly_367',['getpoly',['../getpoly_8c.html#aa8f99915cc3bf0efa7544cf3c2e1b552',1,'getpoly(unsigned char *csec3, g2int *jj, g2int *kk, g2int *mm): getpoly.c'],['../grib2__int_8h.html#aa8f99915cc3bf0efa7544cf3c2e1b552',1,'getpoly(unsigned char *csec3, g2int *jj, g2int *kk, g2int *mm): getpoly.c']]], + ['getpoly_2ec_368',['getpoly.c',['../getpoly_8c.html',1,'']]], + ['grib2_2eh_369',['grib2.h',['../grib2_8h.html',1,'']]], + ['grib2_5fint_2eh_370',['grib2_int.h',['../grib2__int_8h.html',1,'']]], + ['gribfield_371',['gribfield',['../grib2_8h.html#structgribfield',1,'gribfield'],['../grib2_8h.html#afd3ef3eb9f8b9a64a7b749a892de46c5',1,'gribfield(): grib2.h']]], + ['grid_5fdef_372',['grid_def',['../grib2__int_8h.html#a49ce0f513e7723400907f777946fc6c4',1,'g2c_section3_info']]], + ['griddef_373',['griddef',['../grib2_8h.html#a3fcb1e8bf12cf5921c2993f0460d8138',1,'gribfield']]], + ['gridtemplates_2ec_374',['gridtemplates.c',['../gridtemplates_8c.html',1,'']]], + ['gtemplate_375',['gtemplate',['../grib2__int_8h.html#structgtemplate',1,'gtemplate'],['../grib2__int_8h.html#a1f770e683f8b4e9c16c3d4d9d1e4fb63',1,'gtemplate(): grib2_int.h']]] ]; diff --git a/search/all_7.js b/search/all_7.js index 4e0ac966..8ba4f93a 100644 --- a/search/all_7.js +++ b/search/all_7.js @@ -1,19 +1,5 @@ var searchData= [ - ['ibmap_137',['ibmap',['../grib2_8h.html#a10a46b6a25d615784dced13e914d0726',1,'gribfield']]], - ['idrtlen_138',['idrtlen',['../grib2_8h.html#a63afadbf31fb6307011a983afbf9a5bc',1,'gribfield']]], - ['idrtmpl_139',['idrtmpl',['../grib2_8h.html#aadea4d0f1c3d8f4a40087f3b20ddf457',1,'gribfield']]], - ['idrtnum_140',['idrtnum',['../grib2_8h.html#a9e82319d51b43e564aa3b5199cb9f15f',1,'gribfield']]], - ['idsect_141',['idsect',['../grib2_8h.html#ad81615f4a659f2454762301e0e810793',1,'gribfield']]], - ['idsectlen_142',['idsectlen',['../grib2_8h.html#a8b46586925aaf77c69f38ad7bc72b826',1,'gribfield']]], - ['ifldnum_143',['ifldnum',['../grib2_8h.html#a2a4eaa3208d40466f647ae53a4b19454',1,'gribfield']]], - ['igdtlen_144',['igdtlen',['../grib2_8h.html#ae8f44c108ad9fd344937abc845511e2e',1,'gribfield']]], - ['igdtmpl_145',['igdtmpl',['../grib2_8h.html#a9c94d15723e5a2d175d96f8c6fa2fd53',1,'gribfield']]], - ['igdtnum_146',['igdtnum',['../grib2_8h.html#a065d206f38d552c49af642e3cf6056b3',1,'gribfield']]], - ['int_5fpower_147',['int_power',['../grib2__int_8h.html#a6b284a64a4b42cd86db872ae7e1eeaa8',1,'int_power(double x, g2int y): int_power.c'],['../int__power_8c.html#a6b284a64a4b42cd86db872ae7e1eeaa8',1,'int_power(double x, g2int y): int_power.c']]], - ['int_5fpower_2ec_148',['int_power.c',['../int__power_8c.html',1,'']]], - ['interp_5fopt_149',['interp_opt',['../grib2_8h.html#a1ddf29fe5e55bee98b5d5990d674a940',1,'gribfield']]], - ['ipdtlen_150',['ipdtlen',['../grib2_8h.html#a8bf35419f98181f5550a3fee8c4a201e',1,'gribfield']]], - ['ipdtmpl_151',['ipdtmpl',['../grib2_8h.html#a49b9e8c090596e02abc193b1974b8022',1,'gribfield']]], - ['ipdtnum_152',['ipdtnum',['../grib2_8h.html#a44eee21c0fddc82fb5829f8b56675911',1,'gribfield']]] + ['hour_376',['hour',['../grib2__int_8h.html#a4bca22c62bed41329e62bea27ee745b3',1,'g2c_message_info']]], + ['hton64_377',['hton64',['../grib2__int_8h.html#ad4e90614132aeb5308bffc79b342c519',1,'grib2_int.h']]] ]; diff --git a/search/all_8.js b/search/all_8.js index 24cd733a..0c275330 100644 --- a/search/all_8.js +++ b/search/all_8.js @@ -1,7 +1,22 @@ var searchData= [ - ['jpcpack_153',['jpcpack',['../g2__addfield_8c.html#ae9c19967000623138e0d9218f6c949ab',1,'jpcpack(g2float *, g2int, g2int, g2int *, unsigned char *, g2int *): jpcpack.c'],['../grib2__int_8h.html#a9342b7e883d454cc9c9c5051e40cf557',1,'jpcpack(g2float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): jpcpack.c'],['../jpcpack_8c.html#a9342b7e883d454cc9c9c5051e40cf557',1,'jpcpack(g2float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): jpcpack.c']]], - ['jpcpack_2ec_154',['jpcpack.c',['../jpcpack_8c.html',1,'']]], - ['jpcunpack_155',['jpcunpack',['../grib2__int_8h.html#adcf25467e143e6705a2108caaad9fd88',1,'jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, g2float *fld): jpcunpack.c'],['../jpcunpack_8c.html#adcf25467e143e6705a2108caaad9fd88',1,'jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, g2float *fld): jpcunpack.c']]], - ['jpcunpack_2ec_156',['jpcunpack.c',['../jpcunpack_8c.html',1,'']]] + ['ibmap_378',['ibmap',['../grib2_8h.html#a10a46b6a25d615784dced13e914d0726',1,'gribfield']]], + ['idrtlen_379',['idrtlen',['../grib2_8h.html#a63afadbf31fb6307011a983afbf9a5bc',1,'gribfield']]], + ['idrtmpl_380',['idrtmpl',['../grib2_8h.html#aadea4d0f1c3d8f4a40087f3b20ddf457',1,'gribfield']]], + ['idrtnum_381',['idrtnum',['../grib2_8h.html#a9e82319d51b43e564aa3b5199cb9f15f',1,'gribfield']]], + ['idsect_382',['idsect',['../grib2_8h.html#ad81615f4a659f2454762301e0e810793',1,'gribfield']]], + ['idsectlen_383',['idsectlen',['../grib2_8h.html#a8b46586925aaf77c69f38ad7bc72b826',1,'gribfield']]], + ['ifldnum_384',['ifldnum',['../grib2_8h.html#a2a4eaa3208d40466f647ae53a4b19454',1,'gribfield']]], + ['igdtlen_385',['igdtlen',['../grib2_8h.html#ae8f44c108ad9fd344937abc845511e2e',1,'gribfield']]], + ['igdtmpl_386',['igdtmpl',['../grib2_8h.html#a9c94d15723e5a2d175d96f8c6fa2fd53',1,'gribfield']]], + ['igdtnum_387',['igdtnum',['../grib2_8h.html#a065d206f38d552c49af642e3cf6056b3',1,'gribfield']]], + ['indicator_388',['indicator',['../grib2__int_8h.html#a9974cef2b24b092ce879c1f65c6ed88c',1,'g2c_section6_info']]], + ['int_5fdec_5fjpeg2000_389',['int_dec_jpeg2000',['../dec__jpeg2000_8c.html#ac822263ee9732d7603f242a848888ed9',1,'dec_jpeg2000.c']]], + ['int_5fpower_390',['int_power',['../grib2__int_8h.html#a6b284a64a4b42cd86db872ae7e1eeaa8',1,'int_power(double x, g2int y): int_power.c'],['../int__power_8c.html#a6b284a64a4b42cd86db872ae7e1eeaa8',1,'int_power(double x, g2int y): int_power.c']]], + ['int_5fpower_2ec_391',['int_power.c',['../int__power_8c.html',1,'']]], + ['interp_5flist_392',['interp_list',['../grib2__int_8h.html#a761fd11af0a8e1d3b9eb147edb653b0b',1,'g2c_section3_info']]], + ['interp_5fopt_393',['interp_opt',['../grib2_8h.html#a1ddf29fe5e55bee98b5d5990d674a940',1,'gribfield']]], + ['ipdtlen_394',['ipdtlen',['../grib2_8h.html#a8bf35419f98181f5550a3fee8c4a201e',1,'gribfield']]], + ['ipdtmpl_395',['ipdtmpl',['../grib2_8h.html#a49b9e8c090596e02abc193b1974b8022',1,'gribfield']]], + ['ipdtnum_396',['ipdtnum',['../grib2_8h.html#a44eee21c0fddc82fb5829f8b56675911',1,'gribfield']]] ]; diff --git a/search/all_9.js b/search/all_9.js index 37995078..c4afd9cb 100644 --- a/search/all_9.js +++ b/search/all_9.js @@ -1,7 +1,9 @@ var searchData= [ - ['lensec0_157',['LENSEC0',['../g2__create_8c.html#a509c8614b4771ae9b3d2a96a6f3bdc15',1,'g2_create.c']]], - ['list_5fopt_158',['list_opt',['../grib2_8h.html#ab50dde08eec9a69f5d063a25e863897d',1,'gribfield']]], - ['local_159',['local',['../grib2_8h.html#ae1772f6e7ca41ab7ff0b5eb9ad0980c1',1,'gribfield']]], - ['locallen_160',['locallen',['../grib2_8h.html#a0e2cadad47b161868b97e60f00409982',1,'gribfield']]] + ['jpcpack_397',['jpcpack',['../grib2__int_8h.html#ac5fa531e1573e7ae501a4e2826d22e89',1,'jpcpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): jpcpack.c'],['../jpcpack_8c.html#ac5fa531e1573e7ae501a4e2826d22e89',1,'jpcpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): jpcpack.c'],['../grib2_8h.html#ac5fa531e1573e7ae501a4e2826d22e89',1,'jpcpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): jpcpack.c']]], + ['jpcpack_2ec_398',['jpcpack.c',['../jpcpack_8c.html',1,'']]], + ['jpcpack_5fint_399',['jpcpack_int',['../jpcpack_8c.html#ad647202ae0cbd537a9fed7bff5b45992',1,'jpcpack.c']]], + ['jpcunpack_400',['jpcunpack',['../grib2__int_8h.html#a067a3f608a80a9fdd89ed9f59ed7c7f6',1,'jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld): jpcunpack.c'],['../jpcunpack_8c.html#a067a3f608a80a9fdd89ed9f59ed7c7f6',1,'jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld): jpcunpack.c'],['../grib2_8h.html#a067a3f608a80a9fdd89ed9f59ed7c7f6',1,'jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld): jpcunpack.c']]], + ['jpcunpack_2ec_401',['jpcunpack.c',['../jpcunpack_8c.html',1,'']]], + ['jpcunpack_5fint_402',['jpcunpack_int',['../jpcunpack_8c.html#abb65df72f7e882bcf138316552e2b89b',1,'jpcunpack.c']]] ]; diff --git a/search/all_a.js b/search/all_a.js index f7c03745..585588ff 100644 --- a/search/all_a.js +++ b/search/all_a.js @@ -1,17 +1,12 @@ var searchData= [ - ['map_161',['map',['../grib2__int_8h.html#a88e12020d460546cafcef9c445c3df20',1,'gtemplate']]], - ['maplen_162',['maplen',['../grib2__int_8h.html#aea3cb225770444c7e40855ee401a5b29',1,'gtemplate']]], - ['mapsec1len_163',['MAPSEC1LEN',['../g2__create_8c.html#a7ea6e1ded57657a0b75c46636e6dbb89',1,'g2_create.c']]], - ['maxdrsmaplen_164',['MAXDRSMAPLEN',['../drstemplates_8c.html#ade593949cef71416060205db106c2828',1,'drstemplates.c']]], - ['maxdrstemp_165',['MAXDRSTEMP',['../drstemplates_8c.html#a94872ea1f11e8ea068177a6506e0a3e4',1,'drstemplates.c']]], - ['maxgridmaplen_166',['MAXGRIDMAPLEN',['../gridtemplates_8c.html#ab19500a13d07a421b89afd9d011ae058',1,'gridtemplates.c']]], - ['maxgridtemp_167',['MAXGRIDTEMP',['../gridtemplates_8c.html#a4d1ba1f89b11d332fb06d9624d5156c9',1,'gridtemplates.c']]], - ['maxoptssize_168',['MAXOPTSSIZE',['../enc__jpeg2000_8c.html#a9855b4e8c40619aab0092ba284943a67',1,'enc_jpeg2000.c']]], - ['maxpdsmaplen_169',['MAXPDSMAPLEN',['../pdstemplates_8c.html#aa0bb590f8c48ad21d17f6cf7a72d8f53',1,'pdstemplates.c']]], - ['maxpdstemp_170',['MAXPDSTEMP',['../pdstemplates_8c.html#a11c588e7671155abba68b92678fc2071',1,'pdstemplates.c']]], - ['misspack_171',['misspack',['../grib2__int_8h.html#a33440a1e301c24cf2996122f63ee3cae',1,'misspack(g2float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): misspack.c'],['../misspack_8c.html#a33440a1e301c24cf2996122f63ee3cae',1,'misspack(g2float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): misspack.c']]], - ['misspack_2ec_172',['misspack.c',['../misspack_8c.html',1,'']]], - ['mkieee_173',['mkieee',['../grib2__int_8h.html#ac81ff0ca19f32422c5667e1bca5aae27',1,'mkieee(g2float *a, g2int *rieee, g2int num): mkieee.c'],['../mkieee_8c.html#ac81ff0ca19f32422c5667e1bca5aae27',1,'mkieee(g2float *a, g2int *rieee, g2int num): mkieee.c']]], - ['mkieee_2ec_174',['mkieee.c',['../mkieee_8c.html',1,'']]] + ['latitude_403',['LATITUDE',['../grib2__int_8h.html#a63205f1ad14afc714149004a931abbce',1,'grib2_int.h']]], + ['len_404',['len',['../grib2__int_8h.html#a1ff7f8239d6d580d53d1857b05842eda',1,'g2c_dim_info']]], + ['lensec0_405',['LENSEC0',['../g2__create_8c.html#a509c8614b4771ae9b3d2a96a6f3bdc15',1,'g2_create.c']]], + ['list_5fopt_406',['list_opt',['../grib2_8h.html#ab50dde08eec9a69f5d063a25e863897d',1,'gribfield']]], + ['local_407',['local',['../grib2_8h.html#ae1772f6e7ca41ab7ff0b5eb9ad0980c1',1,'gribfield']]], + ['local_5fversion_408',['local_version',['../grib2__int_8h.html#acaf5f4deaef680af27ba1b626a4a7acc',1,'g2c_message_info']]], + ['locallen_409',['locallen',['../grib2_8h.html#a0e2cadad47b161868b97e60f00409982',1,'gribfield']]], + ['log_410',['LOG',['../grib2__int_8h.html#abb35b3e9ac2b0ff8cd7c0881988940c0',1,'grib2_int.h']]], + ['longitude_411',['LONGITUDE',['../grib2__int_8h.html#ab04a12985543a4277feae611d62718bf',1,'grib2_int.h']]] ]; diff --git a/search/all_b.js b/search/all_b.js index 5c7949f0..98c4ab59 100644 --- a/search/all_b.js +++ b/search/all_b.js @@ -1,10 +1,21 @@ var searchData= [ - ['ndpts_175',['ndpts',['../grib2_8h.html#aa97ba6b54e9c91fb231708048d54156c',1,'gribfield']]], - ['needext_176',['needext',['../grib2__int_8h.html#a8e1ecd4e873a86a10a76d264c55ae7bf',1,'gtemplate']]], - ['ngrdpts_177',['ngrdpts',['../grib2_8h.html#a1fd25a21842b45215676696fcddb2a09',1,'gribfield']]], - ['num_178',['num',['../grib2__int_8h.html#a973b6764b40aed427d419046b63d75b3',1,'gtemplate']]], - ['num_5fcoord_179',['num_coord',['../grib2_8h.html#aded2ca1c14ca96b2bdc7138945a2f4ce',1,'gribfield']]], - ['num_5fopt_180',['num_opt',['../grib2_8h.html#ae6ac361f230f89a9461e260d72c1d60b',1,'gribfield']]], - ['numoct_5fopt_181',['numoct_opt',['../grib2_8h.html#a4f9284ebe7fabba1cc092fbea1a5b7e0',1,'gribfield']]] + ['main_412',['main',['../g2c__compare_8c.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): g2c_compare.c'],['../g2c__degrib2_8c.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): g2c_degrib2.c'],['../g2c__index_8c.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): g2c_index.c']]], + ['map_413',['map',['../grib2__int_8h.html#a88e12020d460546cafcef9c445c3df20',1,'gtemplate']]], + ['maplen_414',['maplen',['../grib2__int_8h.html#aea3cb225770444c7e40855ee401a5b29',1,'gtemplate']]], + ['mapsec1len_415',['MAPSEC1LEN',['../g2__create_8c.html#a7ea6e1ded57657a0b75c46636e6dbb89',1,'g2_create.c']]], + ['master_5fversion_416',['master_version',['../grib2__int_8h.html#a269f23c98537183178c3ebc9f6d915fd',1,'g2c_message_info']]], + ['maxoptssize_417',['MAXOPTSSIZE',['../enc__jpeg2000_8c.html#a9855b4e8c40619aab0092ba284943a67',1,'enc_jpeg2000.c']]], + ['min_418',['MIN',['../g2cfile_8c.html#a3acffbd305ee72dcd4593c0d8af64a4f',1,'g2cfile.c']]], + ['minute_419',['minute',['../grib2__int_8h.html#a5815202ac6ed7cb3e380093dd6602262',1,'g2c_message_info']]], + ['misspack_420',['misspack',['../misspack_8c.html#aaa78613e8bf42b3dbd6d3813371bc339',1,'misspack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): misspack.c'],['../grib2__int_8h.html#aaa78613e8bf42b3dbd6d3813371bc339',1,'misspack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): misspack.c']]], + ['misspack_2ec_421',['misspack.c',['../misspack_8c.html',1,'']]], + ['mkieee_422',['mkieee',['../mkieee_8c.html#a1594a8cc9a699a73a870b9ec4231fbd3',1,'mkieee(float *a, g2int *rieee, g2int num): mkieee.c'],['../grib2__int_8h.html#a1594a8cc9a699a73a870b9ec4231fbd3',1,'mkieee(float *a, g2int *rieee, g2int num): mkieee.c']]], + ['mkieee_2ec_423',['mkieee.c',['../mkieee_8c.html',1,'']]], + ['month_424',['month',['../grib2__int_8h.html#adcef6b4e7c590e2a2fc37308d1c7d96a',1,'g2c_message_info']]], + ['msg_425',['msg',['../grib2__int_8h.html#ab6826be68665930ed928662d56c671e3',1,'g2c_file_info::msg()'],['../grib2__int_8h.html#afa38d80d5790033707db560070c8b0a3',1,'g2c_section_info::msg()']]], + ['msg_5fnum_426',['msg_num',['../grib2__int_8h.html#ae400e26b01043c449c39de9cf6629c88',1,'g2c_message_info']]], + ['mutex_427',['MUTEX',['../grib2__int_8h.html#a8160b611383b384c0e62752cee0ccb92',1,'MUTEX(): grib2_int.h'],['../g2cfile_8c.html#a51cfcbcc556e03f4347510eb7613344d',1,'MUTEX(m): g2cfile.c']]], + ['mutex_5flock_428',['MUTEX_LOCK',['../grib2__int_8h.html#af1b008061fe84eb508e6aef5b2e37f52',1,'grib2_int.h']]], + ['mutex_5funlock_429',['MUTEX_UNLOCK',['../grib2__int_8h.html#a2e449246cf2d393ed6973729785e9e0c',1,'grib2_int.h']]] ]; diff --git a/search/all_c.js b/search/all_c.js index 60688094..91208164 100644 --- a/search/all_c.js +++ b/search/all_c.js @@ -1,11 +1,18 @@ var searchData= [ - ['pack_5fgp_182',['pack_gp',['../grib2__int_8h.html#ab5fbec07e58a9d872a0fa1c04d74a81b',1,'pack_gp(g2int *kfildo, g2int *ic, g2int *nxy, g2int *is523, g2int *minpk, g2int *inc, g2int *missp, g2int *misss, g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov, g2int *ndg, g2int *lx, g2int *ibit, g2int *jbit, g2int *kbit, g2int *novref, g2int *lbitref, g2int *ier): pack_gp.c'],['../pack__gp_8c.html#ab5fbec07e58a9d872a0fa1c04d74a81b',1,'pack_gp(g2int *kfildo, g2int *ic, g2int *nxy, g2int *is523, g2int *minpk, g2int *inc, g2int *missp, g2int *misss, g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov, g2int *ndg, g2int *lx, g2int *ibit, g2int *jbit, g2int *kbit, g2int *novref, g2int *lbitref, g2int *ier): pack_gp.c']]], - ['pack_5fgp_2ec_183',['pack_gp.c',['../pack__gp_8c.html',1,'']]], - ['pdstemplates_2ec_184',['pdstemplates.c',['../pdstemplates_8c.html',1,'']]], - ['png_5fstream_185',['png_stream',['../dec__png_8c.html#a51736c0c137626d13b71ea12021c10f3',1,'png_stream(): dec_png.c'],['../enc__png_8c.html#a51736c0c137626d13b71ea12021c10f3',1,'png_stream(): enc_png.c']]], - ['pngpack_186',['pngpack',['../g2__addfield_8c.html#aa19673a03d5b0df2730903c39b9e5002',1,'pngpack(g2float *, g2int, g2int, g2int *, unsigned char *, g2int *): pngpack.c'],['../grib2__int_8h.html#aead12707dbe31153a792ec922eb2fec7',1,'pngpack(g2float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): pngpack.c'],['../pngpack_8c.html#aead12707dbe31153a792ec922eb2fec7',1,'pngpack(g2float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): pngpack.c']]], - ['pngpack_2ec_187',['pngpack.c',['../pngpack_8c.html',1,'']]], - ['pngunpack_188',['pngunpack',['../grib2__int_8h.html#acd726669156a52a640744423669e9397',1,'pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, g2float *fld): pngunpack.c'],['../pngunpack_8c.html#acd726669156a52a640744423669e9397',1,'pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, g2float *fld): pngunpack.c']]], - ['pngunpack_2ec_189',['pngunpack.c',['../pngunpack_8c.html',1,'']]] + ['name_430',['name',['../grib2__int_8h.html#a72cb1219a1d21a7261b3ff4f6e6ea1c1',1,'g2c_dim_info']]], + ['ndpts_431',['ndpts',['../grib2_8h.html#aa97ba6b54e9c91fb231708048d54156c',1,'gribfield']]], + ['needext_432',['needext',['../grib2__int_8h.html#a8e1ecd4e873a86a10a76d264c55ae7bf',1,'gtemplate']]], + ['next_433',['next',['../grib2__int_8h.html#af9828d4b2656003825bd4aa83dc14d26',1,'g2c_message_info::next()'],['../grib2__int_8h.html#a1c00621e95d7abedb7b7d929cfb2f34a',1,'g2c_section_info::next()']]], + ['ngrdpts_434',['ngrdpts',['../grib2_8h.html#a1fd25a21842b45215676696fcddb2a09',1,'gribfield']]], + ['ntoh64_435',['ntoh64',['../grib2__int_8h.html#a98771c5eaa5f71f696f580046347393a',1,'grib2_int.h']]], + ['num_436',['num',['../grib2__int_8h.html#a973b6764b40aed427d419046b63d75b3',1,'gtemplate']]], + ['num_5fcoord_437',['num_coord',['../grib2__int_8h.html#a5c5c17ef34f6f6401cf4ebd9a3fbf9b0',1,'g2c_section4_info::num_coord()'],['../grib2_8h.html#aded2ca1c14ca96b2bdc7138945a2f4ce',1,'gribfield::num_coord()']]], + ['num_5fdata_5fpoints_438',['num_data_points',['../grib2__int_8h.html#a5916fc7041e507c7cfc797ef73699471',1,'g2c_section3_info::num_data_points()'],['../grib2__int_8h.html#a901fe0745e77a8f83cc94e45343c2128',1,'g2c_section5_info::num_data_points()']]], + ['num_5ffields_439',['num_fields',['../grib2__int_8h.html#a85954382df1adfd1066de85f7d790ad7',1,'g2c_message_info']]], + ['num_5flocal_440',['num_local',['../grib2__int_8h.html#a6239752e3aa457d9dce277385ca3e75b',1,'g2c_message_info']]], + ['num_5fmessages_441',['num_messages',['../grib2__int_8h.html#a5bb4a632dcaa3398c4557cfe52a81e35',1,'g2c_file_info']]], + ['num_5fopt_442',['num_opt',['../grib2__int_8h.html#a646e4d619d5326e4168cfd9ea8890c01',1,'g2c_section3_info::num_opt()'],['../grib2_8h.html#ae6ac361f230f89a9461e260d72c1d60b',1,'gribfield::num_opt()']]], + ['num_5fsections_443',['num_sections',['../grib2__int_8h.html#a54bcbb8dd191ef325627323bff87ff42',1,'g2c_message_info']]], + ['numoct_5fopt_444',['numoct_opt',['../grib2_8h.html#a4f9284ebe7fabba1cc092fbea1a5b7e0',1,'gribfield']]] ]; diff --git a/search/all_d.js b/search/all_d.js index b3c8e09b..d979bdcd 100644 --- a/search/all_d.js +++ b/search/all_d.js @@ -1,7 +1,5 @@ var searchData= [ - ['rdieee_190',['rdieee',['../grib2__int_8h.html#a765d8cfa0519cce8a36953120263ba51',1,'rdieee(g2int *rieee, g2float *a, g2int num): rdieee.c'],['../rdieee_8c.html#a765d8cfa0519cce8a36953120263ba51',1,'rdieee(g2int *rieee, g2float *a, g2int num): rdieee.c']]], - ['rdieee_2ec_191',['rdieee.c',['../rdieee_8c.html',1,'']]], - ['reduce_192',['reduce',['../reduce_8c.html#a6bb0dafca9ef2de9d433cb4c72f34b2d',1,'reduce.c']]], - ['reduce_2ec_193',['reduce.c',['../reduce_8c.html',1,'']]] + ['one_5fbyte_445',['ONE_BYTE',['../grib2__int_8h.html#ab6ab60c8c7e1f9fa0d00ea25b917a7e1',1,'grib2_int.h']]], + ['optional_446',['optional',['../grib2__int_8h.html#afeb55ec4eed62df0c9e34f2e8f9f0120',1,'g2c_section3_info::optional()'],['../grib2__int_8h.html#a69a46b58c28c0102b219f9310ff12b85',1,'g2c_section4_info::optional()']]] ]; diff --git a/search/all_e.js b/search/all_e.js index 260f1f44..1d801269 100644 --- a/search/all_e.js +++ b/search/all_e.js @@ -1,15 +1,17 @@ var searchData= [ - ['sbit_194',['sbit',['../gbits_8c.html#af9e044ba7da32a5415e351ed647ef676',1,'sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits): gbits.c'],['../grib2__int_8h.html#af9e044ba7da32a5415e351ed647ef676',1,'sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits): gbits.c']]], - ['sbits_195',['sbits',['../gbits_8c.html#a92b32e56ff8941c5026d460f4fe2aec3',1,'sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n): gbits.c'],['../grib2__int_8h.html#a92b32e56ff8941c5026d460f4fe2aec3',1,'sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n): gbits.c']]], - ['seekgb_196',['seekgb',['../grib2_8h.html#a27edb1018106a2e02743be31afc5ea0c',1,'seekgb(FILE *lugb, g2int iseek, g2int mseek, g2int *lskip, g2int *lgrib): seekgb.c'],['../seekgb_8c.html#a27edb1018106a2e02743be31afc5ea0c',1,'seekgb(FILE *lugb, g2int iseek, g2int mseek, g2int *lskip, g2int *lgrib): seekgb.c']]], - ['seekgb_2ec_197',['seekgb.c',['../seekgb_8c.html',1,'']]], - ['simpack_198',['simpack',['../simpack_8c.html#a1044c3047067228a30d93a351a079bab',1,'simpack(g2float *fld, g2int ndpts, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): simpack.c'],['../grib2__int_8h.html#a1044c3047067228a30d93a351a079bab',1,'simpack(g2float *fld, g2int ndpts, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): simpack.c']]], - ['simpack_2ec_199',['simpack.c',['../simpack_8c.html',1,'']]], - ['simunpack_200',['simunpack',['../grib2__int_8h.html#aee9904f7aa97792022274de23107ba09',1,'simunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2float *fld): simunpack.c'],['../simunpack_8c.html#aee9904f7aa97792022274de23107ba09',1,'simunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2float *fld): simunpack.c']]], - ['simunpack_2ec_201',['simunpack.c',['../simunpack_8c.html',1,'']]], - ['specpack_202',['specpack',['../grib2__int_8h.html#a4464faa396c6e14a740e0ff4b4a0c9a1',1,'specpack(g2float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): specpack.c'],['../specpack_8c.html#a4464faa396c6e14a740e0ff4b4a0c9a1',1,'specpack(g2float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): specpack.c']]], - ['specpack_2ec_203',['specpack.c',['../specpack_8c.html',1,'']]], - ['specunpack_204',['specunpack',['../grib2__int_8h.html#aeb5b149867887c46a6eca7737531d3a5',1,'specunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2float *fld): specunpack.c'],['../specunpack_8c.html#aeb5b149867887c46a6eca7737531d3a5',1,'specunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2float *fld): specunpack.c']]], - ['specunpack_2ec_205',['specunpack.c',['../specunpack_8c.html',1,'']]] + ['pack_5fgp_447',['pack_gp',['../pack__gp_8c.html#ab5fbec07e58a9d872a0fa1c04d74a81b',1,'pack_gp(g2int *kfildo, g2int *ic, g2int *nxy, g2int *is523, g2int *minpk, g2int *inc, g2int *missp, g2int *misss, g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov, g2int *ndg, g2int *lx, g2int *ibit, g2int *jbit, g2int *kbit, g2int *novref, g2int *lbitref, g2int *ier): pack_gp.c'],['../grib2__int_8h.html#ab5fbec07e58a9d872a0fa1c04d74a81b',1,'pack_gp(g2int *kfildo, g2int *ic, g2int *nxy, g2int *is523, g2int *minpk, g2int *inc, g2int *missp, g2int *misss, g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov, g2int *ndg, g2int *lx, g2int *ibit, g2int *jbit, g2int *kbit, g2int *novref, g2int *lbitref, g2int *ier): pack_gp.c']]], + ['pack_5fgp_2ec_448',['pack_gp.c',['../pack__gp_8c.html',1,'']]], + ['param_449',['param',['../g2cparams_8c.html#aa2bbc1dd9622de3e0620c3185472bd89',1,'g2cparams.c']]], + ['path_450',['path',['../grib2__int_8h.html#a3101792b0b015bbb7860f85eb73bbd97',1,'g2c_file_info']]], + ['pdstemplates_2ec_451',['pdstemplates.c',['../pdstemplates_8c.html',1,'']]], + ['png_5fstream_452',['png_stream',['../dec__png_8c.html#a51736c0c137626d13b71ea12021c10f3',1,'png_stream(): dec_png.c'],['../enc__png_8c.html#a51736c0c137626d13b71ea12021c10f3',1,'png_stream(): enc_png.c']]], + ['pngpack_453',['pngpack',['../grib2__int_8h.html#a1353956d6cc706acd63e87ce21c69fd2',1,'pngpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): pngpack.c'],['../pngpack_8c.html#a1353956d6cc706acd63e87ce21c69fd2',1,'pngpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): pngpack.c'],['../grib2_8h.html#a1353956d6cc706acd63e87ce21c69fd2',1,'pngpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): pngpack.c']]], + ['pngpack_2ec_454',['pngpack.c',['../pngpack_8c.html',1,'']]], + ['pngpack_5fint_455',['pngpack_int',['../pngpack_8c.html#af2a272e6da0675f7e00a16adec84af74',1,'pngpack.c']]], + ['pngunpack_456',['pngunpack',['../grib2__int_8h.html#a25efad18886998fd8f7172ddccaa9076',1,'pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld): pngunpack.c'],['../pngunpack_8c.html#a25efad18886998fd8f7172ddccaa9076',1,'pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld): pngunpack.c'],['../grib2_8h.html#a25efad18886998fd8f7172ddccaa9076',1,'pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld): pngunpack.c']]], + ['pngunpack_2ec_457',['pngunpack.c',['../pngunpack_8c.html',1,'']]], + ['pngunpack_5fint_458',['pngunpack_int',['../pngunpack_8c.html#a984fa92b35d86ddd5c45590e2aeec9f1',1,'pngunpack.c']]], + ['prev_459',['prev',['../grib2__int_8h.html#a7f81c8fcd129ef70ad65140d6161668a',1,'g2c_section_info']]], + ['prod_5fdef_460',['prod_def',['../grib2__int_8h.html#affe809d466e10244055a71487aaa43cb',1,'g2c_section4_info']]] ]; diff --git a/search/all_f.js b/search/all_f.js index 799a3b59..3e8e29e3 100644 --- a/search/all_f.js +++ b/search/all_f.js @@ -1,8 +1,12 @@ var searchData= [ - ['templatesdrs_206',['templatesdrs',['../drstemplates_8c.html#a08f7c019317d1e6235a863ee8ce6e9e2',1,'drstemplates.c']]], - ['templatesgrid_207',['templatesgrid',['../gridtemplates_8c.html#af8316127b8fcf96fb4d3ab2c5411cde9',1,'gridtemplates.c']]], - ['templatespds_208',['templatespds',['../pdstemplates_8c.html#a87d5723cb60a9b598bc574cd31673a26',1,'pdstemplates.c']]], - ['true_5f_209',['TRUE_',['../pack__gp_8c.html#aca1e6c3771fa0306e1dad2b11d22a8e5',1,'pack_gp.c']]], - ['type_210',['type',['../grib2__int_8h.html#ad28b4af0030473208605c2cf2c5e3f36',1,'gtemplate']]] + ['rdieee_461',['rdieee',['../grib2__int_8h.html#af4e2650852f7bbbfb531c977fcbd42ca',1,'rdieee(g2int *rieee, float *a, g2int num): rdieee.c'],['../rdieee_8c.html#af4e2650852f7bbbfb531c977fcbd42ca',1,'rdieee(g2int *rieee, float *a, g2int num): rdieee.c']]], + ['rdieee_2ec_462',['rdieee.c',['../rdieee_8c.html',1,'']]], + ['read_5fbuf_5fsize_463',['READ_BUF_SIZE',['../g2cfile_8c.html#a4245ea3fba0358165b402a7a615419bb',1,'g2cfile.c']]], + ['read_5fhdr_5frec1_464',['read_hdr_rec1',['../g2cindex_8c.html#a34cdf8504ffcbd6a648d5748386bdd71',1,'g2cindex.c']]], + ['read_5fhdr_5frec2_465',['read_hdr_rec2',['../g2cindex_8c.html#afd61fcdaf4a9fb95a36632d27f711c84',1,'g2cindex.c']]], + ['read_5fmetadata_466',['read_metadata',['../g2cfile_8c.html#acce12ea485669fe8604956b37b2126fb',1,'g2cfile.c']]], + ['read_5fmsg_5fmetadata_467',['read_msg_metadata',['../g2cfile_8c.html#a666d5536f6359a1e357d5518413b6381',1,'g2cfile.c']]], + ['reduce_468',['reduce',['../reduce_8c.html#a6bb0dafca9ef2de9d433cb4c72f34b2d',1,'reduce.c']]], + ['reduce_2ec_469',['reduce.c',['../reduce_8c.html',1,'']]] ]; diff --git a/search/classes_0.js b/search/classes_0.js index 64287294..dffabe60 100644 --- a/search/classes_0.js +++ b/search/classes_0.js @@ -1,5 +1,16 @@ var searchData= [ - ['gribfield_217',['gribfield',['../grib2_8h.html#structgribfield',1,'']]], - ['gtemplate_218',['gtemplate',['../grib2__int_8h.html#structgtemplate',1,'']]] + ['g2c_5fcode_5ftable_513',['g2c_code_table',['../grib2__int_8h.html#structg2c__code__table',1,'']]], + ['g2c_5fdim_5finfo_514',['g2c_dim_info',['../grib2__int_8h.html#structg2c__dim__info',1,'']]], + ['g2c_5fentry_515',['g2c_entry',['../grib2__int_8h.html#structg2c__entry',1,'']]], + ['g2c_5ffile_5finfo_516',['g2c_file_info',['../grib2__int_8h.html#structg2c__file__info',1,'']]], + ['g2c_5fmessage_5finfo_517',['g2c_message_info',['../grib2__int_8h.html#structg2c__message__info',1,'']]], + ['g2c_5fparam_518',['g2c_param',['../grib2__int_8h.html#structg2c__param',1,'']]], + ['g2c_5fsection3_5finfo_519',['g2c_section3_info',['../grib2__int_8h.html#structg2c__section3__info',1,'']]], + ['g2c_5fsection4_5finfo_520',['g2c_section4_info',['../grib2__int_8h.html#structg2c__section4__info',1,'']]], + ['g2c_5fsection5_5finfo_521',['g2c_section5_info',['../grib2__int_8h.html#structg2c__section5__info',1,'']]], + ['g2c_5fsection6_5finfo_522',['g2c_section6_info',['../grib2__int_8h.html#structg2c__section6__info',1,'']]], + ['g2c_5fsection_5finfo_523',['g2c_section_info',['../grib2__int_8h.html#structg2c__section__info',1,'']]], + ['gribfield_524',['gribfield',['../grib2_8h.html#structgribfield',1,'']]], + ['gtemplate_525',['gtemplate',['../grib2__int_8h.html#structgtemplate',1,'']]] ]; diff --git a/search/defines_0.js b/search/defines_0.js index ba7d3385..56d983cc 100644 --- a/search/defines_0.js +++ b/search/defines_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['alog2_370',['ALOG2',['../grib2__int_8h.html#aca7ef7356b1550ae26423a6d8012f5fd',1,'grib2_int.h']]] + ['alog2_856',['ALOG2',['../grib2__int_8h.html#aca7ef7356b1550ae26423a6d8012f5fd',1,'grib2_int.h']]] ]; diff --git a/search/defines_1.js b/search/defines_1.js index ecb06d42..39f2b262 100644 --- a/search/defines_1.js +++ b/search/defines_1.js @@ -1,4 +1,9 @@ var searchData= [ - ['bits_5fper_5fbyte_371',['BITS_PER_BYTE',['../seekgb_8c.html#a369ecd38b3ab077fc235f892354bb46f',1,'seekgb.c']]] + ['bitshift_5f15_857',['BITSHIFT_15',['../g2cio_8c.html#a64ba8ad777044454eea36f02206b04e7',1,'g2cio.c']]], + ['bitshift_5f31_858',['BITSHIFT_31',['../g2cio_8c.html#ac983e96cb327c68aab7f99a310102bef',1,'g2cio.c']]], + ['bitshift_5f63_859',['BITSHIFT_63',['../g2cio_8c.html#aa4291e37b14092366ecabb502a32e644',1,'g2cio.c']]], + ['bitshift_5f7_860',['BITSHIFT_7',['../g2cio_8c.html#a1e7305cfdbd4492cb2d1cbad6916a1df',1,'g2cio.c']]], + ['byte_861',['BYTE',['../grib2__int_8h.html#aec93e83855ac17c3c25c55c37ca186dd',1,'grib2_int.h']]], + ['bytes_5fto_5fdiscipline_862',['BYTES_TO_DISCIPLINE',['../g2cfile_8c.html#aa13705298bc1de257ed922f999da7c1c',1,'g2cfile.c']]] ]; diff --git a/search/defines_2.js b/search/defines_2.js index 67bf4d14..7f7e90b9 100644 --- a/search/defines_2.js +++ b/search/defines_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['false_5f_372',['FALSE_',['../pack__gp_8c.html#ad4986ecbba005b963f63a85f7c8c281d',1,'pack_gp.c']]] + ['csv_5ffile_863',['CSV_FILE',['../g2cparams_8c.html#a160c2d9af5acc96d8adaa910a6ac0805',1,'g2cparams.c']]] ]; diff --git a/search/defines_3.js b/search/defines_3.js index 821c1a82..3fd88094 100644 --- a/search/defines_3.js +++ b/search/defines_3.js @@ -1,56 +1,5 @@ var searchData= [ - ['g2_5fadd_5fmsg_5fcomplete_373',['G2_ADD_MSG_COMPLETE',['../grib2_8h.html#a5aaef5008fd9be5c044b207231cf767f',1,'grib2.h']]], - ['g2_5fadd_5fmsg_5finit_374',['G2_ADD_MSG_INIT',['../grib2_8h.html#a9627c88b7c7dd863cb3af9fb3e10011b',1,'grib2.h']]], - ['g2_5faddfield_5fbad_5fbitmap_375',['G2_ADDFIELD_BAD_BITMAP',['../grib2_8h.html#a496eb9c096d0ecdc712ebea3ffd3a37d',1,'grib2.h']]], - ['g2_5faddfield_5fbad_5fdrt_376',['G2_ADDFIELD_BAD_DRT',['../grib2_8h.html#a5a92ce5b0b8da884e2924dba7f1e1a95',1,'grib2.h']]], - ['g2_5faddfield_5fbad_5fgds_377',['G2_ADDFIELD_BAD_GDS',['../grib2_8h.html#a28e1af8be9f9c34241c0c8ce780c2707',1,'grib2.h']]], - ['g2_5faddfield_5fbad_5fgdt_378',['G2_ADDFIELD_BAD_GDT',['../grib2_8h.html#aaead77879d197777943ee9c53e0672ef',1,'grib2.h']]], - ['g2_5faddfield_5fbad_5fpdt_379',['G2_ADDFIELD_BAD_PDT',['../grib2_8h.html#a7661683648959dad5ea1d2def2cb766d',1,'grib2.h']]], - ['g2_5faddfield_5ferr_380',['G2_ADDFIELD_ERR',['../grib2_8h.html#ad37ad5e44291e1b229321755b4838c3a',1,'grib2.h']]], - ['g2_5faddgrid_5fbad_5fgdt_381',['G2_ADDGRID_BAD_GDT',['../grib2_8h.html#a3687ada1cdabe6b44b62620a3e4e612b',1,'grib2.h']]], - ['g2_5fbad_5fsec_382',['G2_BAD_SEC',['../grib2_8h.html#a362f4c8ddcb007058bccba7eab1ff8e0',1,'grib2.h']]], - ['g2_5fbad_5fsec_5fcounts_383',['G2_BAD_SEC_COUNTS',['../grib2_8h.html#a06d37843d3f4b3f46cb240206ce430b0',1,'grib2.h']]], - ['g2_5fcreate_5fgrib_5fversion_384',['G2_CREATE_GRIB_VERSION',['../grib2_8h.html#ae740c66315236fc68d4f337558587505',1,'grib2.h']]], - ['g2_5fgetfld_5fbad_5fend_385',['G2_GETFLD_BAD_END',['../grib2_8h.html#ae5716ebe302534d9fc24cf328bade4df',1,'grib2.h']]], - ['g2_5fgetfld_5fbad_5fsec1_386',['G2_GETFLD_BAD_SEC1',['../grib2_8h.html#a57517913da70932f0c56f076207ea90b',1,'grib2.h']]], - ['g2_5fgetfld_5fbad_5fsec2_387',['G2_GETFLD_BAD_SEC2',['../grib2_8h.html#a4f8b8ce8eb11ed2de38710863323f41a',1,'grib2.h']]], - ['g2_5fgetfld_5fbad_5fsec3_388',['G2_GETFLD_BAD_SEC3',['../grib2_8h.html#ad101a194bd4c5c6c0a0dd9aaa6fb9905',1,'grib2.h']]], - ['g2_5fgetfld_5fbad_5fsec4_389',['G2_GETFLD_BAD_SEC4',['../grib2_8h.html#a94364236b4274588b2b4b6b851555e15',1,'grib2.h']]], - ['g2_5fgetfld_5fbad_5fsec5_390',['G2_GETFLD_BAD_SEC5',['../grib2_8h.html#a6065be2bee7e56c7eb0d3673a70be727',1,'grib2.h']]], - ['g2_5fgetfld_5fbad_5fsec6_391',['G2_GETFLD_BAD_SEC6',['../grib2_8h.html#ab2d294bedc5fda5e67800bef91b6de44',1,'grib2.h']]], - ['g2_5fgetfld_5fbad_5fsec7_392',['G2_GETFLD_BAD_SEC7',['../grib2_8h.html#a115c0b1461732602197d7129cb783938',1,'grib2.h']]], - ['g2_5fgetfld_5fgrib_5fversion_393',['G2_GETFLD_GRIB_VERSION',['../grib2_8h.html#a3c94f1f792106e97d1e4cc2fe674e9ef',1,'grib2.h']]], - ['g2_5fgetfld_5finval_394',['G2_GETFLD_INVAL',['../grib2_8h.html#a2915a7e9bd01c1b2bd33a6e362c88acc',1,'grib2.h']]], - ['g2_5fgetfld_5finval_5fsec_395',['G2_GETFLD_INVAL_SEC',['../grib2_8h.html#afeef0a49033cd2735140f87dfe0fe49f',1,'grib2.h']]], - ['g2_5fgetfld_5fno_5fbitmap_396',['G2_GETFLD_NO_BITMAP',['../grib2_8h.html#aee39ba22e9351cf0b7f2813bd1b5dd7e',1,'grib2.h']]], - ['g2_5fgetfld_5fno_5fdrt_397',['G2_GETFLD_NO_DRT',['../grib2_8h.html#ac2734aa4f2d3f10a642b3d7919563dcc',1,'grib2.h']]], - ['g2_5fgetfld_5fno_5fgrib_398',['G2_GETFLD_NO_GRIB',['../grib2_8h.html#a9600b70ed48d9ee91c366c3d2aaaebb3',1,'grib2.h']]], - ['g2_5fgetfld_5fwrong_5fend_399',['G2_GETFLD_WRONG_END',['../grib2_8h.html#a8ebd7f4cdc757b37d8cf344c17329936',1,'grib2.h']]], - ['g2_5fgetfld_5fwrong_5fnflds_400',['G2_GETFLD_WRONG_NFLDS',['../grib2_8h.html#a49e78acc21d879a88d3fb21866878ef6',1,'grib2.h']]], - ['g2_5fgribend_5fmsg_5finit_401',['G2_GRIBEND_MSG_INIT',['../grib2_8h.html#a07313bd28e479d86f64ff744b10a2b78',1,'grib2.h']]], - ['g2_5finfo_5fbad_5fend_402',['G2_INFO_BAD_END',['../grib2_8h.html#ae174af0c4aa67c5d6217688d45aad4c5',1,'grib2.h']]], - ['g2_5finfo_5fgrib_5fversion_403',['G2_INFO_GRIB_VERSION',['../grib2_8h.html#a55b6bf7ad57b4c202827f3326ad2c4df',1,'grib2.h']]], - ['g2_5finfo_5finval_5fsec_404',['G2_INFO_INVAL_SEC',['../grib2_8h.html#a436d91157da728072516d50f5c349507',1,'grib2.h']]], - ['g2_5finfo_5fno_5fgrib_405',['G2_INFO_NO_GRIB',['../grib2_8h.html#af26cc0775753191aabf4720876452b48',1,'grib2.h']]], - ['g2_5finfo_5fno_5fsec1_406',['G2_INFO_NO_SEC1',['../grib2_8h.html#a14417ca1b452ff2e6681ebd4f00c2dee',1,'grib2.h']]], - ['g2_5finfo_5fwrong_5fend_407',['G2_INFO_WRONG_END',['../grib2_8h.html#af935bef94850a5b24e554393ce0a8eef',1,'grib2.h']]], - ['g2_5fjpcunpack_5fmem_408',['G2_JPCUNPACK_MEM',['../grib2_8h.html#ade01e29b36d4a7b1de09c84c39786fbd',1,'grib2.h']]], - ['g2_5fjpeg2000_5fenabled_409',['G2_JPEG2000_ENABLED',['../grib2_8h.html#a0a07a1092a64ae871ab45b147de85318',1,'grib2.h']]], - ['g2_5fno_5ferror_410',['G2_NO_ERROR',['../grib2_8h.html#a94af4623709fa1c08f8035b98e7ca56b',1,'grib2.h']]], - ['g2_5fpng_5fenabled_411',['G2_PNG_ENABLED',['../grib2_8h.html#acaa1f7159ddd54e667beca9658c797a0',1,'grib2.h']]], - ['g2_5fspecunpack_5ftype_412',['G2_SPECUNPACK_TYPE',['../grib2_8h.html#ac046d29b8feb2f0333e7a5c8803aba4d',1,'grib2.h']]], - ['g2_5funpack3_5fbad_5fgdt_413',['G2_UNPACK3_BAD_GDT',['../grib2_8h.html#a97570f9ca7b7f018cad85d5f8e5be4e3',1,'grib2.h']]], - ['g2_5funpack4_5fbad_5fpdt_414',['G2_UNPACK4_BAD_PDT',['../grib2_8h.html#a6441abadc54f311dbef926fdbd7a6e5a',1,'grib2.h']]], - ['g2_5funpack5_5fbad_5fdrt_415',['G2_UNPACK5_BAD_DRT',['../grib2_8h.html#a073c8c6c97479d96e86cdaf1bed26f41',1,'grib2.h']]], - ['g2_5funpack6_5fbad_5fbitmap_416',['G2_UNPACK6_BAD_BITMAP',['../grib2_8h.html#a2f05416b54c82d3ec6aa050c2dd033a4',1,'grib2.h']]], - ['g2_5funpack7_5fbad_5fdrt_417',['G2_UNPACK7_BAD_DRT',['../grib2_8h.html#a01fe4ac54380851cc28581d59dfa9bf4',1,'grib2.h']]], - ['g2_5funpack7_5fcorrupt_5fsec_418',['G2_UNPACK7_CORRUPT_SEC',['../grib2_8h.html#a3b6b5bd21386f9f7d49f1f628a9c895c',1,'grib2.h']]], - ['g2_5funpack7_5fwrong_5fgdt_419',['G2_UNPACK7_WRONG_GDT',['../grib2_8h.html#a9485e54be066c97916f22b4d6046cd1b',1,'grib2.h']]], - ['g2_5funpack_5fbad_5fsec_420',['G2_UNPACK_BAD_SEC',['../grib2_8h.html#a1eb0a21681ad4d1a9af3e357f59dc08b',1,'grib2.h']]], - ['g2_5funpack_5fno_5fmem_421',['G2_UNPACK_NO_MEM',['../grib2_8h.html#a76dad0fdc4926df76a417a2992b81d66',1,'grib2.h']]], - ['g2_5fversion_422',['G2_VERSION',['../grib2_8h.html#abdcadc6336632657f0b90b4cff01709f',1,'grib2.h']]], - ['g2c_5fmsg_5fcomplete_423',['G2C_MSG_COMPLETE',['../grib2_8h.html#a575d0594c327da0f6001abd1ae17128a',1,'grib2.h']]], - ['g2c_5fno_5ferror_424',['G2C_NO_ERROR',['../grib2_8h.html#a9ea0feeb2757a4caa81858e6957ea3d7',1,'grib2.h']]], - ['g2c_5fnot_5fgrib_425',['G2C_NOT_GRIB',['../grib2_8h.html#abda58c1fda90dc4b6d105e8d9853819e',1,'grib2.h']]] + ['eight_5fbytes_864',['EIGHT_BYTES',['../grib2__int_8h.html#ace025ff0f3bbc5575c7eca20d39653a0',1,'grib2_int.h']]], + ['extern_5fmutex_865',['EXTERN_MUTEX',['../grib2__int_8h.html#af1e2cdb6482d0eda709d3beea3426687',1,'grib2_int.h']]] ]; diff --git a/search/defines_4.js b/search/defines_4.js index e8c58367..b0a3ec8b 100644 --- a/search/defines_4.js +++ b/search/defines_4.js @@ -1,4 +1,5 @@ var searchData= [ - ['lensec0_426',['LENSEC0',['../g2__create_8c.html#a509c8614b4771ae9b3d2a96a6f3bdc15',1,'g2_create.c']]] + ['false_5f_866',['FALSE_',['../pack__gp_8c.html#ad4986ecbba005b963f63a85f7c8c281d',1,'pack_gp.c']]], + ['four_5fbytes_867',['FOUR_BYTES',['../grib2__int_8h.html#a2d4f4340b41c07ec8fc52ff19aa23ec4',1,'grib2_int.h']]] ]; diff --git a/search/defines_5.js b/search/defines_5.js index f058a436..37cd220e 100644 --- a/search/defines_5.js +++ b/search/defines_5.js @@ -1,11 +1,148 @@ var searchData= [ - ['mapsec1len_427',['MAPSEC1LEN',['../g2__create_8c.html#a7ea6e1ded57657a0b75c46636e6dbb89',1,'g2_create.c']]], - ['maxdrsmaplen_428',['MAXDRSMAPLEN',['../drstemplates_8c.html#ade593949cef71416060205db106c2828',1,'drstemplates.c']]], - ['maxdrstemp_429',['MAXDRSTEMP',['../drstemplates_8c.html#a94872ea1f11e8ea068177a6506e0a3e4',1,'drstemplates.c']]], - ['maxgridmaplen_430',['MAXGRIDMAPLEN',['../gridtemplates_8c.html#ab19500a13d07a421b89afd9d011ae058',1,'gridtemplates.c']]], - ['maxgridtemp_431',['MAXGRIDTEMP',['../gridtemplates_8c.html#a4d1ba1f89b11d332fb06d9624d5156c9',1,'gridtemplates.c']]], - ['maxoptssize_432',['MAXOPTSSIZE',['../enc__jpeg2000_8c.html#a9855b4e8c40619aab0092ba284943a67',1,'enc_jpeg2000.c']]], - ['maxpdsmaplen_433',['MAXPDSMAPLEN',['../pdstemplates_8c.html#aa0bb590f8c48ad21d17f6cf7a72d8f53',1,'pdstemplates.c']]], - ['maxpdstemp_434',['MAXPDSTEMP',['../pdstemplates_8c.html#a11c588e7671155abba68b92678fc2071',1,'pdstemplates.c']]] + ['g2_5fadd_5fmsg_5fcomplete_868',['G2_ADD_MSG_COMPLETE',['../grib2_8h.html#a5aaef5008fd9be5c044b207231cf767f',1,'grib2.h']]], + ['g2_5fadd_5fmsg_5finit_869',['G2_ADD_MSG_INIT',['../grib2_8h.html#a9627c88b7c7dd863cb3af9fb3e10011b',1,'grib2.h']]], + ['g2_5faddfield_5fbad_5fbitmap_870',['G2_ADDFIELD_BAD_BITMAP',['../grib2_8h.html#a496eb9c096d0ecdc712ebea3ffd3a37d',1,'grib2.h']]], + ['g2_5faddfield_5fbad_5fdrt_871',['G2_ADDFIELD_BAD_DRT',['../grib2_8h.html#a5a92ce5b0b8da884e2924dba7f1e1a95',1,'grib2.h']]], + ['g2_5faddfield_5fbad_5fgds_872',['G2_ADDFIELD_BAD_GDS',['../grib2_8h.html#a28e1af8be9f9c34241c0c8ce780c2707',1,'grib2.h']]], + ['g2_5faddfield_5fbad_5fgdt_873',['G2_ADDFIELD_BAD_GDT',['../grib2_8h.html#aaead77879d197777943ee9c53e0672ef',1,'grib2.h']]], + ['g2_5faddfield_5fbad_5fpdt_874',['G2_ADDFIELD_BAD_PDT',['../grib2_8h.html#a7661683648959dad5ea1d2def2cb766d',1,'grib2.h']]], + ['g2_5faddfield_5ferr_875',['G2_ADDFIELD_ERR',['../grib2_8h.html#ad37ad5e44291e1b229321755b4838c3a',1,'grib2.h']]], + ['g2_5faddgrid_5fbad_5fgdt_876',['G2_ADDGRID_BAD_GDT',['../grib2_8h.html#a3687ada1cdabe6b44b62620a3e4e612b',1,'grib2.h']]], + ['g2_5fbad_5fsec_877',['G2_BAD_SEC',['../grib2_8h.html#a362f4c8ddcb007058bccba7eab1ff8e0',1,'grib2.h']]], + ['g2_5fbad_5fsec_5fcounts_878',['G2_BAD_SEC_COUNTS',['../grib2_8h.html#a06d37843d3f4b3f46cb240206ce430b0',1,'grib2.h']]], + ['g2_5fcreate_5fgrib_5fversion_879',['G2_CREATE_GRIB_VERSION',['../grib2_8h.html#ae740c66315236fc68d4f337558587505',1,'grib2.h']]], + ['g2_5fgetfld_5fbad_5fend_880',['G2_GETFLD_BAD_END',['../grib2_8h.html#ae5716ebe302534d9fc24cf328bade4df',1,'grib2.h']]], + ['g2_5fgetfld_5fbad_5fsec1_881',['G2_GETFLD_BAD_SEC1',['../grib2_8h.html#a57517913da70932f0c56f076207ea90b',1,'grib2.h']]], + ['g2_5fgetfld_5fbad_5fsec2_882',['G2_GETFLD_BAD_SEC2',['../grib2_8h.html#a4f8b8ce8eb11ed2de38710863323f41a',1,'grib2.h']]], + ['g2_5fgetfld_5fbad_5fsec3_883',['G2_GETFLD_BAD_SEC3',['../grib2_8h.html#ad101a194bd4c5c6c0a0dd9aaa6fb9905',1,'grib2.h']]], + ['g2_5fgetfld_5fbad_5fsec4_884',['G2_GETFLD_BAD_SEC4',['../grib2_8h.html#a94364236b4274588b2b4b6b851555e15',1,'grib2.h']]], + ['g2_5fgetfld_5fbad_5fsec5_885',['G2_GETFLD_BAD_SEC5',['../grib2_8h.html#a6065be2bee7e56c7eb0d3673a70be727',1,'grib2.h']]], + ['g2_5fgetfld_5fbad_5fsec6_886',['G2_GETFLD_BAD_SEC6',['../grib2_8h.html#ab2d294bedc5fda5e67800bef91b6de44',1,'grib2.h']]], + ['g2_5fgetfld_5fbad_5fsec7_887',['G2_GETFLD_BAD_SEC7',['../grib2_8h.html#a115c0b1461732602197d7129cb783938',1,'grib2.h']]], + ['g2_5fgetfld_5fgrib_5fversion_888',['G2_GETFLD_GRIB_VERSION',['../grib2_8h.html#a3c94f1f792106e97d1e4cc2fe674e9ef',1,'grib2.h']]], + ['g2_5fgetfld_5finval_889',['G2_GETFLD_INVAL',['../grib2_8h.html#a2915a7e9bd01c1b2bd33a6e362c88acc',1,'grib2.h']]], + ['g2_5fgetfld_5finval_5fsec_890',['G2_GETFLD_INVAL_SEC',['../grib2_8h.html#afeef0a49033cd2735140f87dfe0fe49f',1,'grib2.h']]], + ['g2_5fgetfld_5fno_5fbitmap_891',['G2_GETFLD_NO_BITMAP',['../grib2_8h.html#aee39ba22e9351cf0b7f2813bd1b5dd7e',1,'grib2.h']]], + ['g2_5fgetfld_5fno_5fdrt_892',['G2_GETFLD_NO_DRT',['../grib2_8h.html#ac2734aa4f2d3f10a642b3d7919563dcc',1,'grib2.h']]], + ['g2_5fgetfld_5fno_5fgrib_893',['G2_GETFLD_NO_GRIB',['../grib2_8h.html#a9600b70ed48d9ee91c366c3d2aaaebb3',1,'grib2.h']]], + ['g2_5fgetfld_5fwrong_5fend_894',['G2_GETFLD_WRONG_END',['../grib2_8h.html#a8ebd7f4cdc757b37d8cf344c17329936',1,'grib2.h']]], + ['g2_5fgetfld_5fwrong_5fnflds_895',['G2_GETFLD_WRONG_NFLDS',['../grib2_8h.html#a49e78acc21d879a88d3fb21866878ef6',1,'grib2.h']]], + ['g2_5fgribend_5fmsg_5finit_896',['G2_GRIBEND_MSG_INIT',['../grib2_8h.html#a07313bd28e479d86f64ff744b10a2b78',1,'grib2.h']]], + ['g2_5finfo_5fbad_5fend_897',['G2_INFO_BAD_END',['../grib2_8h.html#ae174af0c4aa67c5d6217688d45aad4c5',1,'grib2.h']]], + ['g2_5finfo_5fgrib_5fversion_898',['G2_INFO_GRIB_VERSION',['../grib2_8h.html#a55b6bf7ad57b4c202827f3326ad2c4df',1,'grib2.h']]], + ['g2_5finfo_5finval_5fsec_899',['G2_INFO_INVAL_SEC',['../grib2_8h.html#a436d91157da728072516d50f5c349507',1,'grib2.h']]], + ['g2_5finfo_5fno_5fgrib_900',['G2_INFO_NO_GRIB',['../grib2_8h.html#af26cc0775753191aabf4720876452b48',1,'grib2.h']]], + ['g2_5finfo_5fno_5fsec1_901',['G2_INFO_NO_SEC1',['../grib2_8h.html#a14417ca1b452ff2e6681ebd4f00c2dee',1,'grib2.h']]], + ['g2_5finfo_5fwrong_5fend_902',['G2_INFO_WRONG_END',['../grib2_8h.html#af935bef94850a5b24e554393ce0a8eef',1,'grib2.h']]], + ['g2_5fjasper_5fdecode_903',['G2_JASPER_DECODE',['../grib2_8h.html#a9d842d23dc3c41db9237ba890a255776',1,'grib2.h']]], + ['g2_5fjasper_5fdecode_5fcolor_904',['G2_JASPER_DECODE_COLOR',['../grib2_8h.html#ad18c15e7859be9a08cbd4a42283fed36',1,'grib2.h']]], + ['g2_5fjasper_5fencode_905',['G2_JASPER_ENCODE',['../grib2_8h.html#a5c647eb48e460797f21e6d90960203f1',1,'grib2.h']]], + ['g2_5fjasper_5finit_906',['G2_JASPER_INIT',['../grib2_8h.html#a2cb509d4701384beb0cce5644abae4fb',1,'grib2.h']]], + ['g2_5fjpcunpack_5fmem_907',['G2_JPCUNPACK_MEM',['../grib2_8h.html#ade01e29b36d4a7b1de09c84c39786fbd',1,'grib2.h']]], + ['g2_5fjpeg2000_5fenabled_908',['G2_JPEG2000_ENABLED',['../grib2_8h.html#a0a07a1092a64ae871ab45b147de85318',1,'grib2.h']]], + ['g2_5fno_5ferror_909',['G2_NO_ERROR',['../grib2_8h.html#a94af4623709fa1c08f8035b98e7ca56b',1,'grib2.h']]], + ['g2_5fpng_5fenabled_910',['G2_PNG_ENABLED',['../grib2_8h.html#acaa1f7159ddd54e667beca9658c797a0',1,'grib2.h']]], + ['g2_5fspecunpack_5ftype_911',['G2_SPECUNPACK_TYPE',['../grib2_8h.html#ac046d29b8feb2f0333e7a5c8803aba4d',1,'grib2.h']]], + ['g2_5funpack3_5fbad_5fgdt_912',['G2_UNPACK3_BAD_GDT',['../grib2_8h.html#a97570f9ca7b7f018cad85d5f8e5be4e3',1,'grib2.h']]], + ['g2_5funpack4_5fbad_5fpdt_913',['G2_UNPACK4_BAD_PDT',['../grib2_8h.html#a6441abadc54f311dbef926fdbd7a6e5a',1,'grib2.h']]], + ['g2_5funpack5_5fbad_5fdrt_914',['G2_UNPACK5_BAD_DRT',['../grib2_8h.html#a073c8c6c97479d96e86cdaf1bed26f41',1,'grib2.h']]], + ['g2_5funpack6_5fbad_5fbitmap_915',['G2_UNPACK6_BAD_BITMAP',['../grib2_8h.html#a2f05416b54c82d3ec6aa050c2dd033a4',1,'grib2.h']]], + ['g2_5funpack7_5fbad_5fdrt_916',['G2_UNPACK7_BAD_DRT',['../grib2_8h.html#a01fe4ac54380851cc28581d59dfa9bf4',1,'grib2.h']]], + ['g2_5funpack7_5fcorrupt_5fsec_917',['G2_UNPACK7_CORRUPT_SEC',['../grib2_8h.html#a3b6b5bd21386f9f7d49f1f628a9c895c',1,'grib2.h']]], + ['g2_5funpack7_5fwrong_5fgdt_918',['G2_UNPACK7_WRONG_GDT',['../grib2_8h.html#a9485e54be066c97916f22b4d6046cd1b',1,'grib2.h']]], + ['g2_5funpack_5fbad_5fsec_919',['G2_UNPACK_BAD_SEC',['../grib2_8h.html#a1eb0a21681ad4d1a9af3e357f59dc08b',1,'grib2.h']]], + ['g2_5funpack_5fno_5fmem_920',['G2_UNPACK_NO_MEM',['../grib2_8h.html#a76dad0fdc4926df76a417a2992b81d66',1,'grib2.h']]], + ['g2c_5fbyte_921',['G2C_BYTE',['../grib2_8h.html#ac8bb24b19b0118d57b9a599939bc3c87',1,'grib2.h']]], + ['g2c_5fchar_922',['G2C_CHAR',['../grib2_8h.html#aee1b93998c31b41b4b4a863aeb00d419',1,'grib2.h']]], + ['g2c_5fclobber_923',['G2C_CLOBBER',['../grib2_8h.html#ad74647ae25fde08edb22aa4e1bd514ec',1,'grib2.h']]], + ['g2c_5fdate_5ftime_5flen_924',['G2C_DATE_TIME_LEN',['../g2cdegrib2_8c.html#a2e38e28612bc5b82f8c6d0f3d7fd4dcd',1,'g2cdegrib2.c']]], + ['g2c_5fdouble_925',['G2C_DOUBLE',['../grib2_8h.html#a0e0c16e1c95c3272f9de6451df276fad',1,'grib2.h']]], + ['g2c_5febadend_926',['G2C_EBADEND',['../grib2_8h.html#a39ad3149399533c27210ccb8d735507b',1,'grib2.h']]], + ['g2c_5febadid_927',['G2C_EBADID',['../grib2_8h.html#af32c4bff1609a6286dbd77dd2fa0b624',1,'grib2.h']]], + ['g2c_5febadsection_928',['G2C_EBADSECTION',['../grib2_8h.html#aad36614cfd2153c4494969a2f5c3b9ed',1,'grib2.h']]], + ['g2c_5febadtemplate_929',['G2C_EBADTEMPLATE',['../grib2_8h.html#ac9ff1ca39afecf5bc50226cbcff58b25',1,'grib2.h']]], + ['g2c_5febadtype_930',['G2C_EBADTYPE',['../grib2_8h.html#afe2a589c318cc6b24ab4fef37084e7eb',1,'grib2.h']]], + ['g2c_5fefile_931',['G2C_EFILE',['../grib2_8h.html#a597395069e35e29288bd0f57081a0c65',1,'grib2.h']]], + ['g2c_5feinval_932',['G2C_EINVAL',['../grib2_8h.html#a9abb07853bd272b8f33bb978bb805cb9',1,'grib2.h']]], + ['g2c_5fejpeg_933',['G2C_EJPEG',['../grib2_8h.html#af08bc0c9226ed15638aa909821d4b04b',1,'grib2.h']]], + ['g2c_5femsg_934',['G2C_EMSG',['../grib2_8h.html#a024050c81e4981bea2cb67c27e8a8072',1,'grib2.h']]], + ['g2c_5femsgcomplete_935',['G2C_EMSGCOMPLETE',['../grib2_8h.html#aaeae8e4fb69bb650977d47458c3defcf',1,'grib2.h']]], + ['g2c_5fenametoolong_936',['G2C_ENAMETOOLONG',['../grib2_8h.html#a39bad0ee21628d9381fe409ec98214f1',1,'grib2.h']]], + ['g2c_5fenoend_937',['G2C_ENOEND',['../grib2_8h.html#a2a0b6f4c2f89b476ee2dc27f4f3fea64',1,'grib2.h']]], + ['g2c_5fenomem_938',['G2C_ENOMEM',['../grib2_8h.html#a6f87ce641388b1464e2287fd3814993f',1,'grib2.h']]], + ['g2c_5fenomsg_939',['G2C_ENOMSG',['../grib2_8h.html#a2a68c6a57c0aec69ab864843b3727a78',1,'grib2.h']]], + ['g2c_5fenoparam_940',['G2C_ENOPARAM',['../grib2_8h.html#a6d91d3cd029a4eb0377908beb0649b86',1,'grib2.h']]], + ['g2c_5fenoproduct_941',['G2C_ENOPRODUCT',['../grib2_8h.html#a98305aa1e32b01875f9b6e935f5341e0',1,'grib2.h']]], + ['g2c_5fenosection_942',['G2C_ENOSECTION',['../grib2_8h.html#a4dcc89afa62b38a9a0d7a4df8d9f8ca7',1,'grib2.h']]], + ['g2c_5fenotemplate_943',['G2C_ENOTEMPLATE',['../grib2_8h.html#a6ec2aa9a3c6ce2699f87223f9c45c2d9',1,'grib2.h']]], + ['g2c_5fenotfound_944',['G2C_ENOTFOUND',['../grib2_8h.html#a9373ca768b0b3a24a7f622c24bd01cb8',1,'grib2.h']]], + ['g2c_5fenotgrib_945',['G2C_ENOTGRIB',['../grib2_8h.html#a9e91aaf0369664d201e7e401096ff1cf',1,'grib2.h']]], + ['g2c_5fenotgrib2_946',['G2C_ENOTGRIB2',['../grib2_8h.html#a4d383ca4c9a6ac0cf11bfe94814a16ca',1,'grib2.h']]], + ['g2c_5fepng_947',['G2C_EPNG',['../grib2_8h.html#a7a2f7f8292c1f827ed98794f2fb8bbe4',1,'grib2.h']]], + ['g2c_5ferror_948',['G2C_ERROR',['../grib2_8h.html#a898aa73781e9952c3e56ed3282a873f4',1,'grib2.h']]], + ['g2c_5fetoomanyfiles_949',['G2C_ETOOMANYFILES',['../grib2_8h.html#aa9eaa709aa71a9f4b164b979b9467ce1',1,'grib2.h']]], + ['g2c_5fexml_950',['G2C_EXML',['../grib2_8h.html#ad2c81f046ec07b38d12915c52241d6a7',1,'grib2.h']]], + ['g2c_5ffile_5fread_951',['G2C_FILE_READ',['../grib2__int_8h.html#a03dbc85724fca79a8a073e2101fdb64d',1,'grib2_int.h']]], + ['g2c_5ffile_5fwrite_952',['G2C_FILE_WRITE',['../grib2__int_8h.html#a1b307f84498592d3af16987f3828dd7e',1,'grib2_int.h']]], + ['g2c_5ffloat_953',['G2C_FLOAT',['../grib2_8h.html#a689b4dc2282e838fdb98a2936a67ff5a',1,'grib2.h']]], + ['g2c_5findex1_5fbds_5fval_5flen_954',['G2C_INDEX1_BDS_VAL_LEN',['../grib2__int_8h.html#a12c6feec8073278d5147ed3f451d8f26',1,'grib2_int.h']]], + ['g2c_5findex1_5fbms_5fval_5flen_955',['G2C_INDEX1_BMS_VAL_LEN',['../grib2__int_8h.html#a68960e1200741ecaacc22020d1ad2565',1,'grib2_int.h']]], + ['g2c_5findex1_5fgds_5fval2_5flen_956',['G2C_INDEX1_GDS_VAL2_LEN',['../grib2__int_8h.html#ab380f99a5148decd6afd0f7877f97746',1,'grib2_int.h']]], + ['g2c_5findex1_5fgds_5fval_5flen_957',['G2C_INDEX1_GDS_VAL_LEN',['../grib2__int_8h.html#a56d5a04be7b7feb227634533413f528a',1,'grib2_int.h']]], + ['g2c_5findex1_5fpds_5fval2_5flen_958',['G2C_INDEX1_PDS_VAL2_LEN',['../grib2__int_8h.html#a897d92ef651510a3fe10dc9a7b5df9b8',1,'grib2_int.h']]], + ['g2c_5findex1_5fpds_5fval3_5flen_959',['G2C_INDEX1_PDS_VAL3_LEN',['../grib2__int_8h.html#a91a1d7b538da7f1f9786d50ab7fb8211',1,'grib2_int.h']]], + ['g2c_5findex1_5fpds_5fval_5flen_960',['G2C_INDEX1_PDS_VAL_LEN',['../grib2__int_8h.html#a91624c9b58aaa01748a06a85c15b6c5c',1,'grib2_int.h']]], + ['g2c_5findex_5fbasename_5flen_961',['G2C_INDEX_BASENAME_LEN',['../g2cindex_8c.html#af8a1ae5ba5b9fd2dca00f97181756d94',1,'g2cindex.c']]], + ['g2c_5findex_5fbitmap_5fbytes_962',['G2C_INDEX_BITMAP_BYTES',['../g2cindex_8c.html#a6796481f7b67f04f0d0cad3c024668d0',1,'g2cindex.c']]], + ['g2c_5findex_5fdate_5fstr_5flen_963',['G2C_INDEX_DATE_STR_LEN',['../g2cindex_8c.html#ab777707744dc22770af6415fc907d469',1,'g2cindex.c']]], + ['g2c_5findex_5ffixed_5flen_964',['G2C_INDEX_FIXED_LEN',['../g2cindex_8c.html#aa902f43c766a21ef5870180b11cd490f',1,'g2cindex.c']]], + ['g2c_5findex_5fheader_5flen_965',['G2C_INDEX_HEADER_LEN',['../g2cindex_8c.html#a6b75cee1ad7398ff26c514a509326ac6',1,'g2cindex.c']]], + ['g2c_5findex_5fstr1_5flen_966',['G2C_INDEX_STR1_LEN',['../g2cindex_8c.html#abec75da2ac349d28e3f11722dff87d39',1,'g2cindex.c']]], + ['g2c_5findex_5ftime_5fstr_5flen_967',['G2C_INDEX_TIME_STR_LEN',['../g2cindex_8c.html#ac60c6eb3d8e8d6b31db875a2f04ca168',1,'g2cindex.c']]], + ['g2c_5fint_968',['G2C_INT',['../grib2_8h.html#adc0a16adef9d60b0ccd46f563db513ae',1,'grib2.h']]], + ['g2c_5fint64_969',['G2C_INT64',['../grib2_8h.html#a8f3e490a5d39ec4f34992fba1fb6ab12',1,'grib2.h']]], + ['g2c_5fjasper_5fjpeg_5fformat_5fname_970',['G2C_JASPER_JPEG_FORMAT_NAME',['../grib2__int_8h.html#a05f66c598caeaf6ef1b9e25c15dc053b',1,'grib2_int.h']]], + ['g2c_5fjasper_5fmax_5fmem_971',['G2C_JASPER_MAX_MEM',['../grib2_8h.html#aaa5a59527b7c1538cf47e10ecd365784',1,'grib2.h']]], + ['g2c_5fjpeg_5fdrs_5ftemplate_5flen_972',['G2C_JPEG_DRS_TEMPLATE_LEN',['../grib2_8h.html#a0385933efeefce1a3ff8157b98f06d0a',1,'grib2.h']]], + ['g2c_5fmagic_5fheader_973',['G2C_MAGIC_HEADER',['../grib2__int_8h.html#a509882196b78bdf75ee36d1d1bf0cc35',1,'grib2_int.h']]], + ['g2c_5fmagic_5fheader_5flen_974',['G2C_MAGIC_HEADER_LEN',['../grib2__int_8h.html#a240eb2cfb06a088831f356621ffbd629',1,'grib2_int.h']]], + ['g2c_5fmax_5fdrs_5ftemplate_975',['G2C_MAX_DRS_TEMPLATE',['../grib2_8h.html#a6da0d8269b5acb7475bfa5bd6b78da28',1,'grib2.h']]], + ['g2c_5fmax_5fdrs_5ftemplate_5fmaplen_976',['G2C_MAX_DRS_TEMPLATE_MAPLEN',['../grib2_8h.html#a9fd31927766f572312f6b7b6993a56c2',1,'grib2.h']]], + ['g2c_5fmax_5ffiles_977',['G2C_MAX_FILES',['../grib2_8h.html#a030fe94d956425ce9723e231c7cd652e',1,'grib2.h']]], + ['g2c_5fmax_5fgds_5ftemplate_978',['G2C_MAX_GDS_TEMPLATE',['../grib2_8h.html#a28bd17e0a13e2f8d2bc6c546d25e9bab',1,'grib2.h']]], + ['g2c_5fmax_5fgds_5ftemplate_5fmaplen_979',['G2C_MAX_GDS_TEMPLATE_MAPLEN',['../grib2_8h.html#a6d73cbbc6177df2e5bc844798d8f2d2b',1,'grib2.h']]], + ['g2c_5fmax_5fgrib_5fcode_5flen_980',['G2C_MAX_GRIB_CODE_LEN',['../grib2_8h.html#acbbf68ad0294fdad53dc9ff5066a5eb5',1,'grib2.h']]], + ['g2c_5fmax_5fgrib_5fdesc_5flen_981',['G2C_MAX_GRIB_DESC_LEN',['../grib2_8h.html#a183f59614ad572efac9b75f448cd563a',1,'grib2.h']]], + ['g2c_5fmax_5fgrib_5flevel_5fdesc_5flen_982',['G2C_MAX_GRIB_LEVEL_DESC_LEN',['../grib2_8h.html#ae13769d05f338ec9dbb0ef1a7b3ac293',1,'grib2.h']]], + ['g2c_5fmax_5fgrib_5fstatus_5flen_983',['G2C_MAX_GRIB_STATUS_LEN',['../grib2_8h.html#a95de976d74502f1f5a4b4afd7be0c0f2',1,'grib2.h']]], + ['g2c_5fmax_5fgrib_5ftitle_5flen_984',['G2C_MAX_GRIB_TITLE_LEN',['../grib2_8h.html#a0b22a0eef8418b8b30cf73263b429613',1,'grib2.h']]], + ['g2c_5fmax_5fmessages_985',['G2C_MAX_MESSAGES',['../grib2__int_8h.html#a98f7c3fe1e4dd5db104fde7c6549a32d',1,'grib2_int.h']]], + ['g2c_5fmax_5fname_986',['G2C_MAX_NAME',['../grib2_8h.html#a91778844b25133a0b77e345a8e1bccf8',1,'grib2.h']]], + ['g2c_5fmax_5fnoaa_5fabbrev_5flen_987',['G2C_MAX_NOAA_ABBREV_LEN',['../grib2_8h.html#af55f435a20a9079c03ff2ccfab8fd2e8',1,'grib2.h']]], + ['g2c_5fmax_5fnoaa_5fparam_5fline_5flen_988',['G2C_MAX_NOAA_PARAM_LINE_LEN',['../grib2_8h.html#a1c000643672bcf0463adf199df6a1e87',1,'grib2.h']]], + ['g2c_5fmax_5fnoaa_5fparams_989',['G2C_MAX_NOAA_PARAMS',['../grib2_8h.html#a9a190b6ec4e060e9ccbe554135c47717',1,'grib2.h']]], + ['g2c_5fmax_5fnum_5fsections_990',['G2C_MAX_NUM_SECTIONS',['../grib2_8h.html#af8927f176801d42df35c60ec5585e792',1,'grib2.h']]], + ['g2c_5fmax_5fpds_5ftemplate_991',['G2C_MAX_PDS_TEMPLATE',['../grib2_8h.html#a0afd432698f939755dbae56c681bbce5',1,'grib2.h']]], + ['g2c_5fmax_5fpds_5ftemplate_5fmaplen_992',['G2C_MAX_PDS_TEMPLATE_MAPLEN',['../grib2_8h.html#ac46d9ca4e9715c77dd63ee6a3a3ecab5',1,'grib2.h']]], + ['g2c_5fmax_5ftype_5fof_5ffixed_5fsurface_5flen_993',['G2C_MAX_TYPE_OF_FIXED_SURFACE_LEN',['../g2cdegrib2_8c.html#a5568b9855cf04e83bba0ac3de8c1e8ba',1,'g2cdegrib2.c']]], + ['g2c_5fmin_5fmax_5fbytes_994',['G2C_MIN_MAX_BYTES',['../grib2__int_8h.html#a8da09513416a4bd9ba4cfa1b291c0c85',1,'grib2_int.h']]], + ['g2c_5fnoclobber_995',['G2C_NOCLOBBER',['../grib2_8h.html#a0f60a9a7769c124118754c22926b5ddf',1,'grib2.h']]], + ['g2c_5fnoerror_996',['G2C_NOERROR',['../grib2_8h.html#af837ca43cf1f95ac2d4096d3c3e35576',1,'grib2.h']]], + ['g2c_5fnowrite_997',['G2C_NOWRITE',['../grib2_8h.html#ae0a9149f145ff6ca1d8539231b8bcf55',1,'grib2.h']]], + ['g2c_5fpng_5fdrs_5ftemplate_5flen_998',['G2C_PNG_DRS_TEMPLATE_LEN',['../grib2_8h.html#a958fab96aa91de18f24b40fb8a084a93',1,'grib2.h']]], + ['g2c_5fsection0_5farray_5flen_999',['G2C_SECTION0_ARRAY_LEN',['../grib2_8h.html#abb0600d5c6baf2937c0258921ea4e0aa',1,'grib2.h']]], + ['g2c_5fsection0_5fbytes_1000',['G2C_SECTION0_BYTES',['../grib2_8h.html#af04bb40930441ec99376ed72bf18684e',1,'grib2.h']]], + ['g2c_5fsection0_5flen_1001',['G2C_SECTION0_LEN',['../grib2_8h.html#a2d2f950408b743a0191242af8d81cb20',1,'grib2.h']]], + ['g2c_5fsection1_5farray_5flen_1002',['G2C_SECTION1_ARRAY_LEN',['../grib2_8h.html#ad9c884e1caa56f82a8801b573f5bc3c9',1,'grib2.h']]], + ['g2c_5fsection1_5fbytes_1003',['G2C_SECTION1_BYTES',['../grib2_8h.html#afd42b8eddf696ef63f54a6265ebc69f9',1,'grib2.h']]], + ['g2c_5fsection1_5flen_1004',['G2C_SECTION1_LEN',['../grib2_8h.html#a3a626a5662eaf679c785fd5ae85c1d7d',1,'grib2.h']]], + ['g2c_5fseekmsg_5fbufsize_1005',['G2C_SEEKMSG_BUFSIZE',['../g2cfile_8c.html#afa9f4de2d5c14d0e8d26ae7f502b0267',1,'g2cfile.c']]], + ['g2c_5fshort_1006',['G2C_SHORT',['../grib2_8h.html#a24f0315e18f5b5e7d0200cffe32897b4',1,'grib2.h']]], + ['g2c_5fubyte_1007',['G2C_UBYTE',['../grib2_8h.html#af4ce40d4300a8384bd032697928f5551',1,'grib2.h']]], + ['g2c_5fuint_1008',['G2C_UINT',['../grib2_8h.html#adea4acd4d82730009c5415b7ded0e187',1,'grib2.h']]], + ['g2c_5fuint64_1009',['G2C_UINT64',['../grib2_8h.html#ac2ff72b386a405e5e4f4c9bd013a882e',1,'grib2.h']]], + ['g2c_5fushort_1010',['G2C_USHORT',['../grib2_8h.html#a4891ea5efd77f5fce12483849104b099',1,'grib2.h']]], + ['g2c_5fversion_1011',['G2C_VERSION',['../grib2_8h.html#ace11da5841473bb62734708867bb11bd',1,'grib2.h']]], + ['g2c_5fwrite_1012',['G2C_WRITE',['../grib2_8h.html#a43712608ab00578dafcf3c39cff9582d',1,'grib2.h']]] ]; diff --git a/search/defines_6.js b/search/defines_6.js index c531f5fd..0d812c09 100644 --- a/search/defines_6.js +++ b/search/defines_6.js @@ -1,4 +1,4 @@ var searchData= [ - ['true_5f_435',['TRUE_',['../pack__gp_8c.html#aca1e6c3771fa0306e1dad2b11d22a8e5',1,'pack_gp.c']]] + ['hton64_1013',['hton64',['../grib2__int_8h.html#ad4e90614132aeb5308bffc79b342c519',1,'grib2_int.h']]] ]; diff --git a/search/defines_7.html b/search/defines_7.html new file mode 100644 index 00000000..81d23049 --- /dev/null +++ b/search/defines_7.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/defines_7.js b/search/defines_7.js new file mode 100644 index 00000000..23c3ce93 --- /dev/null +++ b/search/defines_7.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['latitude_1014',['LATITUDE',['../grib2__int_8h.html#a63205f1ad14afc714149004a931abbce',1,'grib2_int.h']]], + ['lensec0_1015',['LENSEC0',['../g2__create_8c.html#a509c8614b4771ae9b3d2a96a6f3bdc15',1,'g2_create.c']]], + ['log_1016',['LOG',['../grib2__int_8h.html#abb35b3e9ac2b0ff8cd7c0881988940c0',1,'grib2_int.h']]], + ['longitude_1017',['LONGITUDE',['../grib2__int_8h.html#ab04a12985543a4277feae611d62718bf',1,'grib2_int.h']]] +]; diff --git a/search/defines_8.html b/search/defines_8.html new file mode 100644 index 00000000..7e7e3dc9 --- /dev/null +++ b/search/defines_8.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/defines_8.js b/search/defines_8.js new file mode 100644 index 00000000..d32c745d --- /dev/null +++ b/search/defines_8.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['mapsec1len_1018',['MAPSEC1LEN',['../g2__create_8c.html#a7ea6e1ded57657a0b75c46636e6dbb89',1,'g2_create.c']]], + ['maxoptssize_1019',['MAXOPTSSIZE',['../enc__jpeg2000_8c.html#a9855b4e8c40619aab0092ba284943a67',1,'enc_jpeg2000.c']]], + ['min_1020',['MIN',['../g2cfile_8c.html#a3acffbd305ee72dcd4593c0d8af64a4f',1,'g2cfile.c']]], + ['mutex_1021',['MUTEX',['../grib2__int_8h.html#a8160b611383b384c0e62752cee0ccb92',1,'grib2_int.h']]], + ['mutex_5flock_1022',['MUTEX_LOCK',['../grib2__int_8h.html#af1b008061fe84eb508e6aef5b2e37f52',1,'grib2_int.h']]], + ['mutex_5funlock_1023',['MUTEX_UNLOCK',['../grib2__int_8h.html#a2e449246cf2d393ed6973729785e9e0c',1,'grib2_int.h']]] +]; diff --git a/search/defines_9.html b/search/defines_9.html new file mode 100644 index 00000000..596c26f3 --- /dev/null +++ b/search/defines_9.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/defines_9.js b/search/defines_9.js new file mode 100644 index 00000000..7c3521fa --- /dev/null +++ b/search/defines_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['ntoh64_1024',['ntoh64',['../grib2__int_8h.html#a98771c5eaa5f71f696f580046347393a',1,'grib2_int.h']]] +]; diff --git a/search/defines_a.html b/search/defines_a.html new file mode 100644 index 00000000..1fc75131 --- /dev/null +++ b/search/defines_a.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/defines_a.js b/search/defines_a.js new file mode 100644 index 00000000..2be0348c --- /dev/null +++ b/search/defines_a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['one_5fbyte_1025',['ONE_BYTE',['../grib2__int_8h.html#ab6ab60c8c7e1f9fa0d00ea25b917a7e1',1,'grib2_int.h']]] +]; diff --git a/search/defines_b.html b/search/defines_b.html new file mode 100644 index 00000000..47d13f85 --- /dev/null +++ b/search/defines_b.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/defines_b.js b/search/defines_b.js new file mode 100644 index 00000000..a442a68e --- /dev/null +++ b/search/defines_b.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['read_5fbuf_5fsize_1026',['READ_BUF_SIZE',['../g2cfile_8c.html#a4245ea3fba0358165b402a7a615419bb',1,'g2cfile.c']]] +]; diff --git a/search/defines_c.html b/search/defines_c.html new file mode 100644 index 00000000..64f71909 --- /dev/null +++ b/search/defines_c.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/defines_c.js b/search/defines_c.js new file mode 100644 index 00000000..460ecedc --- /dev/null +++ b/search/defines_c.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['true_5f_1027',['TRUE_',['../pack__gp_8c.html#aca1e6c3771fa0306e1dad2b11d22a8e5',1,'pack_gp.c']]], + ['two_5fbytes_1028',['TWO_BYTES',['../grib2__int_8h.html#ab427e6926fcc47eb1c02c1f78162b6f6',1,'grib2_int.h']]] +]; diff --git a/search/defines_d.html b/search/defines_d.html new file mode 100644 index 00000000..3b6825f7 --- /dev/null +++ b/search/defines_d.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/defines_d.js b/search/defines_d.js new file mode 100644 index 00000000..0b01691e --- /dev/null +++ b/search/defines_d.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['word_1029',['WORD',['../grib2__int_8h.html#a4cfc63e05db4883dc4b60a1245a9ffc5',1,'grib2_int.h']]] +]; diff --git a/search/files_0.js b/search/files_0.js index 6b0ad10b..ef9b9d83 100644 --- a/search/files_0.js +++ b/search/files_0.js @@ -1,6 +1,6 @@ var searchData= [ - ['cmplxpack_2ec_219',['cmplxpack.c',['../cmplxpack_8c.html',1,'']]], - ['compack_2ec_220',['compack.c',['../compack_8c.html',1,'']]], - ['comunpack_2ec_221',['comunpack.c',['../comunpack_8c.html',1,'']]] + ['cmplxpack_2ec_526',['cmplxpack.c',['../cmplxpack_8c.html',1,'']]], + ['compack_2ec_527',['compack.c',['../compack_8c.html',1,'']]], + ['comunpack_2ec_528',['comunpack.c',['../comunpack_8c.html',1,'']]] ]; diff --git a/search/files_1.js b/search/files_1.js index c32247f7..c0733148 100644 --- a/search/files_1.js +++ b/search/files_1.js @@ -1,7 +1,7 @@ var searchData= [ - ['dec_5fjpeg2000_2ec_222',['dec_jpeg2000.c',['../dec__jpeg2000_8c.html',1,'']]], - ['dec_5fpng_2ec_223',['dec_png.c',['../dec__png_8c.html',1,'']]], - ['decenc_5fopenjpeg_2ec_224',['decenc_openjpeg.c',['../decenc__openjpeg_8c.html',1,'']]], - ['drstemplates_2ec_225',['drstemplates.c',['../drstemplates_8c.html',1,'']]] + ['dec_5fjpeg2000_2ec_529',['dec_jpeg2000.c',['../dec__jpeg2000_8c.html',1,'']]], + ['dec_5fpng_2ec_530',['dec_png.c',['../dec__png_8c.html',1,'']]], + ['decenc_5fopenjpeg_2ec_531',['decenc_openjpeg.c',['../decenc__openjpeg_8c.html',1,'']]], + ['drstemplates_2ec_532',['drstemplates.c',['../drstemplates_8c.html',1,'']]] ]; diff --git a/search/files_2.js b/search/files_2.js index a5cfef5f..54cd9c4d 100644 --- a/search/files_2.js +++ b/search/files_2.js @@ -1,5 +1,5 @@ var searchData= [ - ['enc_5fjpeg2000_2ec_226',['enc_jpeg2000.c',['../enc__jpeg2000_8c.html',1,'']]], - ['enc_5fpng_2ec_227',['enc_png.c',['../enc__png_8c.html',1,'']]] + ['enc_5fjpeg2000_2ec_533',['enc_jpeg2000.c',['../enc__jpeg2000_8c.html',1,'']]], + ['enc_5fpng_2ec_534',['enc_png.c',['../enc__png_8c.html',1,'']]] ]; diff --git a/search/files_3.js b/search/files_3.js index c4f62cf3..6396c2f1 100644 --- a/search/files_3.js +++ b/search/files_3.js @@ -1,25 +1,38 @@ var searchData= [ - ['g2_5faddfield_2ec_228',['g2_addfield.c',['../g2__addfield_8c.html',1,'']]], - ['g2_5faddgrid_2ec_229',['g2_addgrid.c',['../g2__addgrid_8c.html',1,'']]], - ['g2_5faddlocal_2ec_230',['g2_addlocal.c',['../g2__addlocal_8c.html',1,'']]], - ['g2_5fcreate_2ec_231',['g2_create.c',['../g2__create_8c.html',1,'']]], - ['g2_5ffree_2ec_232',['g2_free.c',['../g2__free_8c.html',1,'']]], - ['g2_5fgetfld_2ec_233',['g2_getfld.c',['../g2__getfld_8c.html',1,'']]], - ['g2_5fgribend_2ec_234',['g2_gribend.c',['../g2__gribend_8c.html',1,'']]], - ['g2_5finfo_2ec_235',['g2_info.c',['../g2__info_8c.html',1,'']]], - ['g2_5fmiss_2ec_236',['g2_miss.c',['../g2__miss_8c.html',1,'']]], - ['g2_5funpack1_2ec_237',['g2_unpack1.c',['../g2__unpack1_8c.html',1,'']]], - ['g2_5funpack2_2ec_238',['g2_unpack2.c',['../g2__unpack2_8c.html',1,'']]], - ['g2_5funpack3_2ec_239',['g2_unpack3.c',['../g2__unpack3_8c.html',1,'']]], - ['g2_5funpack4_2ec_240',['g2_unpack4.c',['../g2__unpack4_8c.html',1,'']]], - ['g2_5funpack5_2ec_241',['g2_unpack5.c',['../g2__unpack5_8c.html',1,'']]], - ['g2_5funpack6_2ec_242',['g2_unpack6.c',['../g2__unpack6_8c.html',1,'']]], - ['g2_5funpack7_2ec_243',['g2_unpack7.c',['../g2__unpack7_8c.html',1,'']]], - ['gbits_2ec_244',['gbits.c',['../gbits_8c.html',1,'']]], - ['getdim_2ec_245',['getdim.c',['../getdim_8c.html',1,'']]], - ['getpoly_2ec_246',['getpoly.c',['../getpoly_8c.html',1,'']]], - ['grib2_2eh_247',['grib2.h',['../grib2_8h.html',1,'']]], - ['grib2_5fint_2eh_248',['grib2_int.h',['../grib2__int_8h.html',1,'']]], - ['gridtemplates_2ec_249',['gridtemplates.c',['../gridtemplates_8c.html',1,'']]] + ['g2_5faddfield_2ec_535',['g2_addfield.c',['../g2__addfield_8c.html',1,'']]], + ['g2_5faddgrid_2ec_536',['g2_addgrid.c',['../g2__addgrid_8c.html',1,'']]], + ['g2_5faddlocal_2ec_537',['g2_addlocal.c',['../g2__addlocal_8c.html',1,'']]], + ['g2_5fcreate_2ec_538',['g2_create.c',['../g2__create_8c.html',1,'']]], + ['g2_5ffree_2ec_539',['g2_free.c',['../g2__free_8c.html',1,'']]], + ['g2_5fgetfld_2ec_540',['g2_getfld.c',['../g2__getfld_8c.html',1,'']]], + ['g2_5fgribend_2ec_541',['g2_gribend.c',['../g2__gribend_8c.html',1,'']]], + ['g2_5finfo_2ec_542',['g2_info.c',['../g2__info_8c.html',1,'']]], + ['g2_5fmiss_2ec_543',['g2_miss.c',['../g2__miss_8c.html',1,'']]], + ['g2_5funpack1_2ec_544',['g2_unpack1.c',['../g2__unpack1_8c.html',1,'']]], + ['g2_5funpack2_2ec_545',['g2_unpack2.c',['../g2__unpack2_8c.html',1,'']]], + ['g2_5funpack3_2ec_546',['g2_unpack3.c',['../g2__unpack3_8c.html',1,'']]], + ['g2_5funpack4_2ec_547',['g2_unpack4.c',['../g2__unpack4_8c.html',1,'']]], + ['g2_5funpack5_2ec_548',['g2_unpack5.c',['../g2__unpack5_8c.html',1,'']]], + ['g2_5funpack6_2ec_549',['g2_unpack6.c',['../g2__unpack6_8c.html',1,'']]], + ['g2_5funpack7_2ec_550',['g2_unpack7.c',['../g2__unpack7_8c.html',1,'']]], + ['g2c_5fcompare_2ec_551',['g2c_compare.c',['../g2c__compare_8c.html',1,'']]], + ['g2c_5fdegrib2_2ec_552',['g2c_degrib2.c',['../g2c__degrib2_8c.html',1,'']]], + ['g2c_5findex_2ec_553',['g2c_index.c',['../g2c__index_8c.html',1,'']]], + ['g2ccompare_2ec_554',['g2ccompare.c',['../g2ccompare_8c.html',1,'']]], + ['g2cdegrib2_2ec_555',['g2cdegrib2.c',['../g2cdegrib2_8c.html',1,'']]], + ['g2cfile_2ec_556',['g2cfile.c',['../g2cfile_8c.html',1,'']]], + ['g2cindex_2ec_557',['g2cindex.c',['../g2cindex_8c.html',1,'']]], + ['g2cinq_2ec_558',['g2cinq.c',['../g2cinq_8c.html',1,'']]], + ['g2cio_2ec_559',['g2cio.c',['../g2cio_8c.html',1,'']]], + ['g2cparams_2ec_560',['g2cparams.c',['../g2cparams_8c.html',1,'']]], + ['g2cprod_2ec_561',['g2cprod.c',['../g2cprod_8c.html',1,'']]], + ['g2cutil_2ec_562',['g2cutil.c',['../g2cutil_8c.html',1,'']]], + ['g2cxml_2ec_563',['g2cxml.c',['../g2cxml_8c.html',1,'']]], + ['gbits_2ec_564',['gbits.c',['../gbits_8c.html',1,'']]], + ['getdim_2ec_565',['getdim.c',['../getdim_8c.html',1,'']]], + ['getpoly_2ec_566',['getpoly.c',['../getpoly_8c.html',1,'']]], + ['grib2_2eh_567',['grib2.h',['../grib2_8h.html',1,'']]], + ['grib2_5fint_2eh_568',['grib2_int.h',['../grib2__int_8h.html',1,'']]], + ['gridtemplates_2ec_569',['gridtemplates.c',['../gridtemplates_8c.html',1,'']]] ]; diff --git a/search/files_4.js b/search/files_4.js index 98c03c5d..93c9fea3 100644 --- a/search/files_4.js +++ b/search/files_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['int_5fpower_2ec_250',['int_power.c',['../int__power_8c.html',1,'']]] + ['int_5fpower_2ec_570',['int_power.c',['../int__power_8c.html',1,'']]] ]; diff --git a/search/files_5.js b/search/files_5.js index 4ad32bac..e7ee0294 100644 --- a/search/files_5.js +++ b/search/files_5.js @@ -1,5 +1,5 @@ var searchData= [ - ['jpcpack_2ec_251',['jpcpack.c',['../jpcpack_8c.html',1,'']]], - ['jpcunpack_2ec_252',['jpcunpack.c',['../jpcunpack_8c.html',1,'']]] + ['jpcpack_2ec_571',['jpcpack.c',['../jpcpack_8c.html',1,'']]], + ['jpcunpack_2ec_572',['jpcunpack.c',['../jpcunpack_8c.html',1,'']]] ]; diff --git a/search/files_6.js b/search/files_6.js index b424e605..9ed386ae 100644 --- a/search/files_6.js +++ b/search/files_6.js @@ -1,5 +1,5 @@ var searchData= [ - ['misspack_2ec_253',['misspack.c',['../misspack_8c.html',1,'']]], - ['mkieee_2ec_254',['mkieee.c',['../mkieee_8c.html',1,'']]] + ['misspack_2ec_573',['misspack.c',['../misspack_8c.html',1,'']]], + ['mkieee_2ec_574',['mkieee.c',['../mkieee_8c.html',1,'']]] ]; diff --git a/search/files_7.js b/search/files_7.js index c1b5053d..7250ccc9 100644 --- a/search/files_7.js +++ b/search/files_7.js @@ -1,7 +1,7 @@ var searchData= [ - ['pack_5fgp_2ec_255',['pack_gp.c',['../pack__gp_8c.html',1,'']]], - ['pdstemplates_2ec_256',['pdstemplates.c',['../pdstemplates_8c.html',1,'']]], - ['pngpack_2ec_257',['pngpack.c',['../pngpack_8c.html',1,'']]], - ['pngunpack_2ec_258',['pngunpack.c',['../pngunpack_8c.html',1,'']]] + ['pack_5fgp_2ec_575',['pack_gp.c',['../pack__gp_8c.html',1,'']]], + ['pdstemplates_2ec_576',['pdstemplates.c',['../pdstemplates_8c.html',1,'']]], + ['pngpack_2ec_577',['pngpack.c',['../pngpack_8c.html',1,'']]], + ['pngunpack_2ec_578',['pngunpack.c',['../pngunpack_8c.html',1,'']]] ]; diff --git a/search/files_8.js b/search/files_8.js index 89e8c362..4cff8caf 100644 --- a/search/files_8.js +++ b/search/files_8.js @@ -1,5 +1,5 @@ var searchData= [ - ['rdieee_2ec_259',['rdieee.c',['../rdieee_8c.html',1,'']]], - ['reduce_2ec_260',['reduce.c',['../reduce_8c.html',1,'']]] + ['rdieee_2ec_579',['rdieee.c',['../rdieee_8c.html',1,'']]], + ['reduce_2ec_580',['reduce.c',['../reduce_8c.html',1,'']]] ]; diff --git a/search/files_9.js b/search/files_9.js index 82adca37..d8d66fdb 100644 --- a/search/files_9.js +++ b/search/files_9.js @@ -1,8 +1,8 @@ var searchData= [ - ['seekgb_2ec_261',['seekgb.c',['../seekgb_8c.html',1,'']]], - ['simpack_2ec_262',['simpack.c',['../simpack_8c.html',1,'']]], - ['simunpack_2ec_263',['simunpack.c',['../simunpack_8c.html',1,'']]], - ['specpack_2ec_264',['specpack.c',['../specpack_8c.html',1,'']]], - ['specunpack_2ec_265',['specunpack.c',['../specunpack_8c.html',1,'']]] + ['seekgb_2ec_581',['seekgb.c',['../seekgb_8c.html',1,'']]], + ['simpack_2ec_582',['simpack.c',['../simpack_8c.html',1,'']]], + ['simunpack_2ec_583',['simunpack.c',['../simunpack_8c.html',1,'']]], + ['specpack_2ec_584',['specpack.c',['../specpack_8c.html',1,'']]], + ['specunpack_2ec_585',['specunpack.c',['../specunpack_8c.html',1,'']]] ]; diff --git a/search/files_a.js b/search/files_a.js index ccc3030b..b52e7942 100644 --- a/search/files_a.js +++ b/search/files_a.js @@ -1,4 +1,4 @@ var searchData= [ - ['util_2ec_266',['util.c',['../util_8c.html',1,'']]] + ['util_2ec_586',['util.c',['../util_8c.html',1,'']]] ]; diff --git a/search/functions_0.js b/search/functions_0.js index bd595b6f..9fb0d8ea 100644 --- a/search/functions_0.js +++ b/search/functions_0.js @@ -1,6 +1,5 @@ var searchData= [ - ['cmplxpack_267',['cmplxpack',['../cmplxpack_8c.html#a1866293a23a4f417804e829d30817054',1,'cmplxpack(g2float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): cmplxpack.c'],['../grib2__int_8h.html#a1866293a23a4f417804e829d30817054',1,'cmplxpack(g2float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): cmplxpack.c']]], - ['compack_268',['compack',['../compack_8c.html#a1e3bc6eb03df58e192ded1b429f172e0',1,'compack(g2float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): compack.c'],['../grib2__int_8h.html#a1e3bc6eb03df58e192ded1b429f172e0',1,'compack(g2float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): compack.c']]], - ['comunpack_269',['comunpack',['../comunpack_8c.html#a7c04fe1475985ae33214a65398cd1d94',1,'comunpack(unsigned char *cpack, g2int lensec, g2int idrsnum, g2int *idrstmpl, g2int ndpts, g2float *fld): comunpack.c'],['../grib2__int_8h.html#a7c04fe1475985ae33214a65398cd1d94',1,'comunpack(unsigned char *cpack, g2int lensec, g2int idrsnum, g2int *idrstmpl, g2int ndpts, g2float *fld): comunpack.c']]] + ['add_5fmsg_587',['add_msg',['../g2cfile_8c.html#a9474e2c676b3c163bcbd2b928fd509f3',1,'add_msg(G2C_FILE_INFO_T *file, int msg_num, size_t bytes_to_msg, size_t bytes_in_msg, int read_file, G2C_MESSAGE_INFO_T **msg): g2cfile.c'],['../grib2__int_8h.html#a9474e2c676b3c163bcbd2b928fd509f3',1,'add_msg(G2C_FILE_INFO_T *file, int msg_num, size_t bytes_to_msg, size_t bytes_in_msg, int read_file, G2C_MESSAGE_INFO_T **msg): g2cfile.c']]], + ['add_5fsection_588',['add_section',['../g2cfile_8c.html#a9b77b4fddeb0b4e4d136bb7c2460b7cc',1,'add_section(FILE *f, G2C_MESSAGE_INFO_T *msg, int sec_id, unsigned int sec_len, size_t bytes_to_sec, unsigned char sec_num): g2cfile.c'],['../grib2__int_8h.html#a9b77b4fddeb0b4e4d136bb7c2460b7cc',1,'add_section(FILE *f, G2C_MESSAGE_INFO_T *msg, int sec_id, unsigned int sec_len, size_t bytes_to_sec, unsigned char sec_num): g2cfile.c']]] ]; diff --git a/search/functions_1.js b/search/functions_1.js index 667215b0..d45fd1a1 100644 --- a/search/functions_1.js +++ b/search/functions_1.js @@ -1,5 +1,6 @@ var searchData= [ - ['dec_5fjpeg2000_270',['dec_jpeg2000',['../dec__jpeg2000_8c.html#aecc47ef133bb090df718275d41098613',1,'dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld): dec_jpeg2000.c'],['../grib2__int_8h.html#aecc47ef133bb090df718275d41098613',1,'dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld): dec_jpeg2000.c']]], - ['dec_5fpng_271',['dec_png',['../dec__png_8c.html#a4c7dfb37dbbca9143143db5aeb2f6005',1,'dec_png(unsigned char *pngbuf, g2int *width, g2int *height, unsigned char *cout): dec_png.c'],['../grib2__int_8h.html#a4c7dfb37dbbca9143143db5aeb2f6005',1,'dec_png(unsigned char *pngbuf, g2int *width, g2int *height, unsigned char *cout): dec_png.c']]] + ['cmplxpack_589',['cmplxpack',['../cmplxpack_8c.html#a099225c582defca6ab562d9aad5bc20b',1,'cmplxpack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): cmplxpack.c'],['../grib2__int_8h.html#a099225c582defca6ab562d9aad5bc20b',1,'cmplxpack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): cmplxpack.c']]], + ['compack_590',['compack',['../compack_8c.html#acbf694045589babceb7412ac6faadc39',1,'compack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): compack.c'],['../grib2__int_8h.html#acbf694045589babceb7412ac6faadc39',1,'compack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): compack.c']]], + ['comunpack_591',['comunpack',['../comunpack_8c.html#ab6cce79f010456f1e882fa1c027062da',1,'comunpack(unsigned char *cpack, g2int lensec, g2int idrsnum, g2int *idrstmpl, g2int ndpts, float *fld): comunpack.c'],['../grib2__int_8h.html#ab6cce79f010456f1e882fa1c027062da',1,'comunpack(unsigned char *cpack, g2int lensec, g2int idrsnum, g2int *idrstmpl, g2int ndpts, float *fld): comunpack.c']]] ]; diff --git a/search/functions_2.js b/search/functions_2.js index a8c4d905..5038d0d4 100644 --- a/search/functions_2.js +++ b/search/functions_2.js @@ -1,8 +1,6 @@ var searchData= [ - ['enc_5fjpeg2000_272',['enc_jpeg2000',['../enc__jpeg2000_8c.html#af4af6d586d2f9ca5da713d025dccf781',1,'enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen): enc_jpeg2000.c'],['../grib2__int_8h.html#af4af6d586d2f9ca5da713d025dccf781',1,'enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen): enc_jpeg2000.c']]], - ['enc_5fpng_273',['enc_png',['../enc__png_8c.html#a0b304f2dca88e94a76c1182fbc1f5938',1,'enc_png(unsigned char *data, g2int width, g2int height, g2int nbits, unsigned char *pngbuf): enc_png.c'],['../grib2__int_8h.html#a0b304f2dca88e94a76c1182fbc1f5938',1,'enc_png(unsigned char *data, g2int width, g2int height, g2int nbits, unsigned char *pngbuf): enc_png.c']]], - ['extdrstemplate_274',['extdrstemplate',['../drstemplates_8c.html#a29eb8a2ca16e15e491d7115725ff907c',1,'extdrstemplate(g2int number, g2int *list): drstemplates.c'],['../grib2__int_8h.html#a29eb8a2ca16e15e491d7115725ff907c',1,'extdrstemplate(g2int number, g2int *list): drstemplates.c']]], - ['extgridtemplate_275',['extgridtemplate',['../grib2__int_8h.html#a0d65c7c29a06c12ebee26746476d49c9',1,'extgridtemplate(g2int number, g2int *list): gridtemplates.c'],['../gridtemplates_8c.html#a0d65c7c29a06c12ebee26746476d49c9',1,'extgridtemplate(g2int number, g2int *list): gridtemplates.c']]], - ['extpdstemplate_276',['extpdstemplate',['../grib2__int_8h.html#a64e5f115f7c4ec0b1b7d8af8376d12eb',1,'extpdstemplate(g2int number, g2int *list): pdstemplates.c'],['../pdstemplates_8c.html#a64e5f115f7c4ec0b1b7d8af8376d12eb',1,'extpdstemplate(g2int number, g2int *list): pdstemplates.c']]] + ['dec_5fjpeg2000_592',['dec_jpeg2000',['../dec__jpeg2000_8c.html#aecc47ef133bb090df718275d41098613',1,'dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld): dec_jpeg2000.c'],['../grib2__int_8h.html#aecc47ef133bb090df718275d41098613',1,'dec_jpeg2000(char *injpc, g2int bufsize, g2int *outfld): dec_jpeg2000.c']]], + ['dec_5fpng_593',['dec_png',['../dec__png_8c.html#a4c7dfb37dbbca9143143db5aeb2f6005',1,'dec_png(unsigned char *pngbuf, g2int *width, g2int *height, unsigned char *cout): dec_png.c'],['../grib2__int_8h.html#a4c7dfb37dbbca9143143db5aeb2f6005',1,'dec_png(unsigned char *pngbuf, g2int *width, g2int *height, unsigned char *cout): dec_png.c']]], + ['determine_5fdims_594',['determine_dims',['../g2cfile_8c.html#a469752e68c9f6532ca2af09351146bf2',1,'g2cfile.c']]] ]; diff --git a/search/functions_3.js b/search/functions_3.js index 630dd885..acce9ea8 100644 --- a/search/functions_3.js +++ b/search/functions_3.js @@ -1,30 +1,9 @@ var searchData= [ - ['g2_5faddfield_277',['g2_addfield',['../grib2_8h.html#afdf096f036ed768ec874389f5389ee26',1,'g2_addfield(unsigned char *cgrib, g2int ipdsnum, g2int *ipdstmpl, g2float *coordlist, g2int numcoord, g2int idrsnum, g2int *idrstmpl, g2float *fld, g2int ngrdpts, g2int ibmap, g2int *bmap): g2_addfield.c'],['../g2__addfield_8c.html#afdf096f036ed768ec874389f5389ee26',1,'g2_addfield(unsigned char *cgrib, g2int ipdsnum, g2int *ipdstmpl, g2float *coordlist, g2int numcoord, g2int idrsnum, g2int *idrstmpl, g2float *fld, g2int ngrdpts, g2int ibmap, g2int *bmap): g2_addfield.c']]], - ['g2_5faddgrid_278',['g2_addgrid',['../grib2_8h.html#a14908ea75d83021b0ec10ae8c084567c',1,'g2_addgrid(unsigned char *cgrib, g2int *igds, g2int *igdstmpl, g2int *ideflist, g2int idefnum): g2_addgrid.c'],['../g2__addgrid_8c.html#a14908ea75d83021b0ec10ae8c084567c',1,'g2_addgrid(unsigned char *cgrib, g2int *igds, g2int *igdstmpl, g2int *ideflist, g2int idefnum): g2_addgrid.c']]], - ['g2_5faddlocal_279',['g2_addlocal',['../g2__addlocal_8c.html#aa9490d67c089f6a15fd9941f273752c3',1,'g2_addlocal(unsigned char *cgrib, unsigned char *csec2, g2int lcsec2): g2_addlocal.c'],['../grib2_8h.html#aa9490d67c089f6a15fd9941f273752c3',1,'g2_addlocal(unsigned char *cgrib, unsigned char *csec2, g2int lcsec2): g2_addlocal.c']]], - ['g2_5fcreate_280',['g2_create',['../g2__create_8c.html#a0e8970973e1cefc142240f961a796108',1,'g2_create(unsigned char *cgrib, g2int *listsec0, g2int *listsec1): g2_create.c'],['../grib2_8h.html#a0e8970973e1cefc142240f961a796108',1,'g2_create(unsigned char *cgrib, g2int *listsec0, g2int *listsec1): g2_create.c']]], - ['g2_5ffree_281',['g2_free',['../g2__free_8c.html#a084c47c8f83bb5a5c7799753ac7b6f02',1,'g2_free(gribfield *gfld): g2_free.c'],['../grib2_8h.html#a084c47c8f83bb5a5c7799753ac7b6f02',1,'g2_free(gribfield *gfld): g2_free.c']]], - ['g2_5fgetfld_282',['g2_getfld',['../g2__getfld_8c.html#abad9d3ba0ee798acd442850573fc6b8e',1,'g2_getfld(unsigned char *cgrib, g2int ifldnum, g2int unpack, g2int expand, gribfield **gfld): g2_getfld.c'],['../grib2_8h.html#abad9d3ba0ee798acd442850573fc6b8e',1,'g2_getfld(unsigned char *cgrib, g2int ifldnum, g2int unpack, g2int expand, gribfield **gfld): g2_getfld.c']]], - ['g2_5fgribend_283',['g2_gribend',['../g2__gribend_8c.html#a84081fb5d32251234409b9ec2d72a0e8',1,'g2_gribend(unsigned char *cgrib): g2_gribend.c'],['../grib2_8h.html#a84081fb5d32251234409b9ec2d72a0e8',1,'g2_gribend(unsigned char *cgrib): g2_gribend.c']]], - ['g2_5finfo_284',['g2_info',['../g2__info_8c.html#abf8ecb0fe00805abfce20115357b4fa3',1,'g2_info(unsigned char *cgrib, g2int *listsec0, g2int *listsec1, g2int *numfields, g2int *numlocal): g2_info.c'],['../grib2_8h.html#abf8ecb0fe00805abfce20115357b4fa3',1,'g2_info(unsigned char *cgrib, g2int *listsec0, g2int *listsec1, g2int *numfields, g2int *numlocal): g2_info.c']]], - ['g2_5fmiss_285',['g2_miss',['../g2__miss_8c.html#a5ededd2735de5cd446ee17c2415592e6',1,'g2_miss.c']]], - ['g2_5funpack1_286',['g2_unpack1',['../g2__unpack1_8c.html#a5a9f3222320afe0f957406b53ad36223',1,'g2_unpack1(unsigned char *cgrib, g2int *iofst, g2int **ids, g2int *idslen): g2_unpack1.c'],['../grib2_8h.html#a5a9f3222320afe0f957406b53ad36223',1,'g2_unpack1(unsigned char *cgrib, g2int *iofst, g2int **ids, g2int *idslen): g2_unpack1.c']]], - ['g2_5funpack2_287',['g2_unpack2',['../g2__unpack2_8c.html#a4b190a45b5223fa43746cf16c80bef47',1,'g2_unpack2(unsigned char *cgrib, g2int *iofst, g2int *lencsec2, unsigned char **csec2): g2_unpack2.c'],['../grib2_8h.html#a4b190a45b5223fa43746cf16c80bef47',1,'g2_unpack2(unsigned char *cgrib, g2int *iofst, g2int *lencsec2, unsigned char **csec2): g2_unpack2.c']]], - ['g2_5funpack3_288',['g2_unpack3',['../g2__unpack3_8c.html#ae0f9483c798b7819852b21fa0ae51590',1,'g2_unpack3(unsigned char *cgrib, g2int *iofst, g2int **igds, g2int **igdstmpl, g2int *mapgridlen, g2int **ideflist, g2int *idefnum): g2_unpack3.c'],['../grib2_8h.html#ae0f9483c798b7819852b21fa0ae51590',1,'g2_unpack3(unsigned char *cgrib, g2int *iofst, g2int **igds, g2int **igdstmpl, g2int *mapgridlen, g2int **ideflist, g2int *idefnum): g2_unpack3.c']]], - ['g2_5funpack4_289',['g2_unpack4',['../g2__unpack4_8c.html#a16eaee8c9cd73c1589475d7af259f950',1,'g2_unpack4(unsigned char *cgrib, g2int *iofst, g2int *ipdsnum, g2int **ipdstmpl, g2int *mappdslen, g2float **coordlist, g2int *numcoord): g2_unpack4.c'],['../grib2_8h.html#a16eaee8c9cd73c1589475d7af259f950',1,'g2_unpack4(unsigned char *cgrib, g2int *iofst, g2int *ipdsnum, g2int **ipdstmpl, g2int *mappdslen, g2float **coordlist, g2int *numcoord): g2_unpack4.c']]], - ['g2_5funpack5_290',['g2_unpack5',['../g2__unpack5_8c.html#a0127b9d6f3a258a9d0dd87f986d86b93',1,'g2_unpack5(unsigned char *cgrib, g2int *iofst, g2int *ndpts, g2int *idrsnum, g2int **idrstmpl, g2int *mapdrslen): g2_unpack5.c'],['../grib2_8h.html#a0127b9d6f3a258a9d0dd87f986d86b93',1,'g2_unpack5(unsigned char *cgrib, g2int *iofst, g2int *ndpts, g2int *idrsnum, g2int **idrstmpl, g2int *mapdrslen): g2_unpack5.c']]], - ['g2_5funpack6_291',['g2_unpack6',['../g2__unpack6_8c.html#a83638f96ee10ef44c4dddcebf41d8ee6',1,'g2_unpack6(unsigned char *cgrib, g2int *iofst, g2int ngpts, g2int *ibmap, g2int **bmap): g2_unpack6.c'],['../grib2_8h.html#a83638f96ee10ef44c4dddcebf41d8ee6',1,'g2_unpack6(unsigned char *cgrib, g2int *iofst, g2int ngpts, g2int *ibmap, g2int **bmap): g2_unpack6.c']]], - ['g2_5funpack7_292',['g2_unpack7',['../g2__unpack7_8c.html#a9f18066e6b00b576ff8472bc364af3e6',1,'g2_unpack7(unsigned char *cgrib, g2int *iofst, g2int igdsnum, g2int *igdstmpl, g2int idrsnum, g2int *idrstmpl, g2int ndpts, g2float **fld): g2_unpack7.c'],['../grib2_8h.html#a9f18066e6b00b576ff8472bc364af3e6',1,'g2_unpack7(unsigned char *cgrib, g2int *iofst, g2int igdsnum, g2int *igdstmpl, g2int idrsnum, g2int *idrstmpl, g2int ndpts, g2float **fld): g2_unpack7.c']]], - ['g2c_5fcheck_5fmsg_293',['g2c_check_msg',['../grib2__int_8h.html#a3acf35e5653f0dab59b3e6fd130f2d62',1,'g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose): util.c'],['../util_8c.html#a3acf35e5653f0dab59b3e6fd130f2d62',1,'g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose): util.c']]], - ['gbit_294',['gbit',['../gbits_8c.html#a1efb9739e947d94010aeba6daf62eca3',1,'gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits): gbits.c'],['../grib2__int_8h.html#a1efb9739e947d94010aeba6daf62eca3',1,'gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits): gbits.c']]], - ['gbits_295',['gbits',['../gbits_8c.html#a31ebdbbf262b7478d6a7cc4326f76ade',1,'gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits, g2int nskip, g2int n): gbits.c'],['../grib2__int_8h.html#a31ebdbbf262b7478d6a7cc4326f76ade',1,'gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits, g2int nskip, g2int n): gbits.c']]], - ['getdim_296',['getdim',['../grib2__int_8h.html#aabc49a338fae74f6dfc9e98b6cb59de7',1,'getdim(unsigned char *csec3, g2int *width, g2int *height, g2int *iscan): getdim.c'],['../getdim_8c.html#aabc49a338fae74f6dfc9e98b6cb59de7',1,'getdim(unsigned char *csec3, g2int *width, g2int *height, g2int *iscan): getdim.c']]], - ['getdrsindex_297',['getdrsindex',['../drstemplates_8c.html#a307a8ced5bd81dd2bf110596fc9e6532',1,'drstemplates.c']]], - ['getdrstemplate_298',['getdrstemplate',['../drstemplates_8c.html#acf3195b5cecc028727faa8a921eba03e',1,'getdrstemplate(g2int number): drstemplates.c'],['../grib2__int_8h.html#acf3195b5cecc028727faa8a921eba03e',1,'getdrstemplate(g2int number): drstemplates.c']]], - ['getgridindex_299',['getgridindex',['../gridtemplates_8c.html#addbeca29a7de77dc30f65a08b6b38941',1,'gridtemplates.c']]], - ['getgridtemplate_300',['getgridtemplate',['../grib2__int_8h.html#af67f9624982c81a36531989254a9b98a',1,'getgridtemplate(g2int number): gridtemplates.c'],['../gridtemplates_8c.html#af67f9624982c81a36531989254a9b98a',1,'getgridtemplate(g2int number): gridtemplates.c']]], - ['getpdsindex_301',['getpdsindex',['../pdstemplates_8c.html#a59f2fe1fba0577301d154f21e0478e7f',1,'pdstemplates.c']]], - ['getpdstemplate_302',['getpdstemplate',['../grib2__int_8h.html#ad08ad7c4bee0466cd8ccafc1c1e76520',1,'getpdstemplate(g2int number): pdstemplates.c'],['../pdstemplates_8c.html#ad08ad7c4bee0466cd8ccafc1c1e76520',1,'getpdstemplate(g2int number): pdstemplates.c']]], - ['getpoly_303',['getpoly',['../getpoly_8c.html#aa8f99915cc3bf0efa7544cf3c2e1b552',1,'getpoly(unsigned char *csec3, g2int *jj, g2int *kk, g2int *mm): getpoly.c'],['../grib2__int_8h.html#aa8f99915cc3bf0efa7544cf3c2e1b552',1,'getpoly(unsigned char *csec3, g2int *jj, g2int *kk, g2int *mm): getpoly.c']]] + ['enc_5fjpeg2000_595',['enc_jpeg2000',['../enc__jpeg2000_8c.html#af4af6d586d2f9ca5da713d025dccf781',1,'enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen): enc_jpeg2000.c'],['../grib2__int_8h.html#af4af6d586d2f9ca5da713d025dccf781',1,'enc_jpeg2000(unsigned char *cin, g2int width, g2int height, g2int nbits, g2int ltype, g2int ratio, g2int retry, char *outjpc, g2int jpclen): enc_jpeg2000.c']]], + ['enc_5fpng_596',['enc_png',['../enc__png_8c.html#a0b304f2dca88e94a76c1182fbc1f5938',1,'enc_png(unsigned char *data, g2int width, g2int height, g2int nbits, unsigned char *pngbuf): enc_png.c'],['../grib2__int_8h.html#a0b304f2dca88e94a76c1182fbc1f5938',1,'enc_png(unsigned char *data, g2int width, g2int height, g2int nbits, unsigned char *pngbuf): enc_png.c']]], + ['extdrstemplate_597',['extdrstemplate',['../drstemplates_8c.html#a29eb8a2ca16e15e491d7115725ff907c',1,'extdrstemplate(g2int number, g2int *list): drstemplates.c'],['../grib2__int_8h.html#a29eb8a2ca16e15e491d7115725ff907c',1,'extdrstemplate(g2int number, g2int *list): drstemplates.c']]], + ['extern_5fmutex_598',['EXTERN_MUTEX',['../g2cindex_8c.html#af762d41ed99e829c53653662192c859d',1,'EXTERN_MUTEX(m): g2cindex.c'],['../g2cinq_8c.html#af762d41ed99e829c53653662192c859d',1,'EXTERN_MUTEX(m): g2cinq.c']]], + ['extgridtemplate_599',['extgridtemplate',['../grib2__int_8h.html#a0d65c7c29a06c12ebee26746476d49c9',1,'extgridtemplate(g2int number, g2int *list): gridtemplates.c'],['../gridtemplates_8c.html#a8300c17bb873509fba7a24ec9fe6b4ad',1,'extgridtemplate(g2int number, g2int *template): gridtemplates.c']]], + ['extpdstemplate_600',['extpdstemplate',['../grib2__int_8h.html#a64e5f115f7c4ec0b1b7d8af8376d12eb',1,'extpdstemplate(g2int number, g2int *list): pdstemplates.c'],['../pdstemplates_8c.html#a64e5f115f7c4ec0b1b7d8af8376d12eb',1,'extpdstemplate(g2int number, g2int *list): pdstemplates.c']]] ]; diff --git a/search/functions_4.js b/search/functions_4.js index d5725cf6..7c0c0ecf 100644 --- a/search/functions_4.js +++ b/search/functions_4.js @@ -1,4 +1,6 @@ var searchData= [ - ['int_5fpower_304',['int_power',['../grib2__int_8h.html#a6b284a64a4b42cd86db872ae7e1eeaa8',1,'int_power(double x, g2int y): int_power.c'],['../int__power_8c.html#a6b284a64a4b42cd86db872ae7e1eeaa8',1,'int_power(double x, g2int y): int_power.c']]] + ['find_5favailable_5fg2cid_601',['find_available_g2cid',['../g2cfile_8c.html#af251e6786990405633095ab288f06a06',1,'g2cfile.c']]], + ['format_5flevel_602',['format_level',['../g2cdegrib2_8c.html#a54048672cf7750b27b06a5f1ecd9ead3',1,'g2cdegrib2.c']]], + ['free_5fmetadata_603',['free_metadata',['../g2cfile_8c.html#ab86d8501a831d9b263548f1664dc661c',1,'g2cfile.c']]] ]; diff --git a/search/functions_5.js b/search/functions_5.js index 8d594145..ece5da6a 100644 --- a/search/functions_5.js +++ b/search/functions_5.js @@ -1,5 +1,102 @@ var searchData= [ - ['jpcpack_305',['jpcpack',['../g2__addfield_8c.html#ae9c19967000623138e0d9218f6c949ab',1,'jpcpack(g2float *, g2int, g2int, g2int *, unsigned char *, g2int *): jpcpack.c'],['../grib2__int_8h.html#a9342b7e883d454cc9c9c5051e40cf557',1,'jpcpack(g2float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): jpcpack.c'],['../jpcpack_8c.html#a9342b7e883d454cc9c9c5051e40cf557',1,'jpcpack(g2float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): jpcpack.c']]], - ['jpcunpack_306',['jpcunpack',['../grib2__int_8h.html#adcf25467e143e6705a2108caaad9fd88',1,'jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, g2float *fld): jpcunpack.c'],['../jpcunpack_8c.html#adcf25467e143e6705a2108caaad9fd88',1,'jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, g2float *fld): jpcunpack.c']]] + ['g2_5faddfield_604',['g2_addfield',['../grib2_8h.html#ad403b8c1a156f062c3ded89224e6b46b',1,'g2_addfield(unsigned char *cgrib, g2int ipdsnum, g2int *ipdstmpl, float *coordlist, g2int numcoord, g2int idrsnum, g2int *idrstmpl, float *fld, g2int ngrdpts, g2int ibmap, g2int *bmap): g2_addfield.c'],['../g2__addfield_8c.html#ad403b8c1a156f062c3ded89224e6b46b',1,'g2_addfield(unsigned char *cgrib, g2int ipdsnum, g2int *ipdstmpl, float *coordlist, g2int numcoord, g2int idrsnum, g2int *idrstmpl, float *fld, g2int ngrdpts, g2int ibmap, g2int *bmap): g2_addfield.c']]], + ['g2_5faddgrid_605',['g2_addgrid',['../grib2_8h.html#a14908ea75d83021b0ec10ae8c084567c',1,'g2_addgrid(unsigned char *cgrib, g2int *igds, g2int *igdstmpl, g2int *ideflist, g2int idefnum): g2_addgrid.c'],['../g2__addgrid_8c.html#a14908ea75d83021b0ec10ae8c084567c',1,'g2_addgrid(unsigned char *cgrib, g2int *igds, g2int *igdstmpl, g2int *ideflist, g2int idefnum): g2_addgrid.c']]], + ['g2_5faddlocal_606',['g2_addlocal',['../grib2_8h.html#aa9490d67c089f6a15fd9941f273752c3',1,'g2_addlocal(unsigned char *cgrib, unsigned char *csec2, g2int lcsec2): g2_addlocal.c'],['../g2__addlocal_8c.html#aa9490d67c089f6a15fd9941f273752c3',1,'g2_addlocal(unsigned char *cgrib, unsigned char *csec2, g2int lcsec2): g2_addlocal.c']]], + ['g2_5fcreate_607',['g2_create',['../grib2_8h.html#a0e8970973e1cefc142240f961a796108',1,'g2_create(unsigned char *cgrib, g2int *listsec0, g2int *listsec1): g2_create.c'],['../g2__create_8c.html#a0e8970973e1cefc142240f961a796108',1,'g2_create(unsigned char *cgrib, g2int *listsec0, g2int *listsec1): g2_create.c']]], + ['g2_5ffree_608',['g2_free',['../g2__free_8c.html#a084c47c8f83bb5a5c7799753ac7b6f02',1,'g2_free(gribfield *gfld): g2_free.c'],['../grib2_8h.html#a084c47c8f83bb5a5c7799753ac7b6f02',1,'g2_free(gribfield *gfld): g2_free.c']]], + ['g2_5fgetfld_609',['g2_getfld',['../g2__getfld_8c.html#abad9d3ba0ee798acd442850573fc6b8e',1,'g2_getfld(unsigned char *cgrib, g2int ifldnum, g2int unpack, g2int expand, gribfield **gfld): g2_getfld.c'],['../grib2_8h.html#abad9d3ba0ee798acd442850573fc6b8e',1,'g2_getfld(unsigned char *cgrib, g2int ifldnum, g2int unpack, g2int expand, gribfield **gfld): g2_getfld.c']]], + ['g2_5fgribend_610',['g2_gribend',['../g2__gribend_8c.html#a84081fb5d32251234409b9ec2d72a0e8',1,'g2_gribend(unsigned char *cgrib): g2_gribend.c'],['../grib2_8h.html#a84081fb5d32251234409b9ec2d72a0e8',1,'g2_gribend(unsigned char *cgrib): g2_gribend.c']]], + ['g2_5finfo_611',['g2_info',['../g2__info_8c.html#abf8ecb0fe00805abfce20115357b4fa3',1,'g2_info(unsigned char *cgrib, g2int *listsec0, g2int *listsec1, g2int *numfields, g2int *numlocal): g2_info.c'],['../grib2_8h.html#abf8ecb0fe00805abfce20115357b4fa3',1,'g2_info(unsigned char *cgrib, g2int *listsec0, g2int *listsec1, g2int *numfields, g2int *numlocal): g2_info.c']]], + ['g2_5fmiss_612',['g2_miss',['../g2__miss_8c.html#a5ededd2735de5cd446ee17c2415592e6',1,'g2_miss.c']]], + ['g2_5funpack1_613',['g2_unpack1',['../g2__unpack1_8c.html#a5a9f3222320afe0f957406b53ad36223',1,'g2_unpack1(unsigned char *cgrib, g2int *iofst, g2int **ids, g2int *idslen): g2_unpack1.c'],['../grib2_8h.html#a5a9f3222320afe0f957406b53ad36223',1,'g2_unpack1(unsigned char *cgrib, g2int *iofst, g2int **ids, g2int *idslen): g2_unpack1.c']]], + ['g2_5funpack2_614',['g2_unpack2',['../g2__unpack2_8c.html#a4b190a45b5223fa43746cf16c80bef47',1,'g2_unpack2(unsigned char *cgrib, g2int *iofst, g2int *lencsec2, unsigned char **csec2): g2_unpack2.c'],['../grib2_8h.html#a4b190a45b5223fa43746cf16c80bef47',1,'g2_unpack2(unsigned char *cgrib, g2int *iofst, g2int *lencsec2, unsigned char **csec2): g2_unpack2.c']]], + ['g2_5funpack3_615',['g2_unpack3',['../g2__unpack3_8c.html#ae0f9483c798b7819852b21fa0ae51590',1,'g2_unpack3(unsigned char *cgrib, g2int *iofst, g2int **igds, g2int **igdstmpl, g2int *mapgridlen, g2int **ideflist, g2int *idefnum): g2_unpack3.c'],['../grib2_8h.html#ae0f9483c798b7819852b21fa0ae51590',1,'g2_unpack3(unsigned char *cgrib, g2int *iofst, g2int **igds, g2int **igdstmpl, g2int *mapgridlen, g2int **ideflist, g2int *idefnum): g2_unpack3.c']]], + ['g2_5funpack4_616',['g2_unpack4',['../g2__unpack4_8c.html#a379383c777dfa1e788b8e573bdd90889',1,'g2_unpack4(unsigned char *cgrib, g2int *iofst, g2int *ipdsnum, g2int **ipdstmpl, g2int *mappdslen, float **coordlist, g2int *numcoord): g2_unpack4.c'],['../grib2_8h.html#a379383c777dfa1e788b8e573bdd90889',1,'g2_unpack4(unsigned char *cgrib, g2int *iofst, g2int *ipdsnum, g2int **ipdstmpl, g2int *mappdslen, float **coordlist, g2int *numcoord): g2_unpack4.c']]], + ['g2_5funpack5_617',['g2_unpack5',['../grib2_8h.html#a0127b9d6f3a258a9d0dd87f986d86b93',1,'g2_unpack5(unsigned char *cgrib, g2int *iofst, g2int *ndpts, g2int *idrsnum, g2int **idrstmpl, g2int *mapdrslen): g2_unpack5.c'],['../g2__unpack5_8c.html#a0127b9d6f3a258a9d0dd87f986d86b93',1,'g2_unpack5(unsigned char *cgrib, g2int *iofst, g2int *ndpts, g2int *idrsnum, g2int **idrstmpl, g2int *mapdrslen): g2_unpack5.c']]], + ['g2_5funpack6_618',['g2_unpack6',['../g2__unpack6_8c.html#a83638f96ee10ef44c4dddcebf41d8ee6',1,'g2_unpack6(unsigned char *cgrib, g2int *iofst, g2int ngpts, g2int *ibmap, g2int **bmap): g2_unpack6.c'],['../grib2_8h.html#a83638f96ee10ef44c4dddcebf41d8ee6',1,'g2_unpack6(unsigned char *cgrib, g2int *iofst, g2int ngpts, g2int *ibmap, g2int **bmap): g2_unpack6.c']]], + ['g2_5funpack7_619',['g2_unpack7',['../g2__unpack7_8c.html#a3469bd6d6e13e1180753a5629ace639d',1,'g2_unpack7(unsigned char *cgrib, g2int *iofst, g2int igdsnum, g2int *igdstmpl, g2int idrsnum, g2int *idrstmpl, g2int ndpts, float **fld): g2_unpack7.c'],['../grib2_8h.html#a3469bd6d6e13e1180753a5629ace639d',1,'g2_unpack7(unsigned char *cgrib, g2int *iofst, g2int igdsnum, g2int *igdstmpl, g2int idrsnum, g2int *idrstmpl, g2int ndpts, float **fld): g2_unpack7.c']]], + ['g2c_5fadd_5ffile_620',['g2c_add_file',['../g2cfile_8c.html#af12335d519df51c7331a8c4f343fb98a',1,'g2c_add_file(const char *path, int mode, int *g2cid): g2cfile.c'],['../grib2__int_8h.html#af12335d519df51c7331a8c4f343fb98a',1,'g2c_add_file(const char *path, int mode, int *g2cid): g2cfile.c']]], + ['g2c_5fcheck_5fmsg_621',['g2c_check_msg',['../grib2__int_8h.html#a3acf35e5653f0dab59b3e6fd130f2d62',1,'g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose): util.c'],['../util_8c.html#a3acf35e5653f0dab59b3e6fd130f2d62',1,'g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose): util.c']]], + ['g2c_5fclose_622',['g2c_close',['../g2cfile_8c.html#a7761e7401213d226560fd1b379d33ba8',1,'g2c_close(int g2cid): g2cfile.c'],['../grib2_8h.html#a7761e7401213d226560fd1b379d33ba8',1,'g2c_close(int g2cid): g2cfile.c']]], + ['g2c_5fcompare_623',['g2c_compare',['../g2ccompare_8c.html#aeca63ecfd7407114317ddb9e5341b71c',1,'g2c_compare(int g2cid1, int g2cid2): g2ccompare.c'],['../grib2_8h.html#aeca63ecfd7407114317ddb9e5341b71c',1,'g2c_compare(int g2cid1, int g2cid2): g2ccompare.c']]], + ['g2c_5fdec_5fjpeg2000_624',['g2c_dec_jpeg2000',['../dec__jpeg2000_8c.html#a20c41af558ecb88ae8a6015b9361914e',1,'g2c_dec_jpeg2000(char *injpc, size_t bufsize, int *outfld): dec_jpeg2000.c'],['../grib2_8h.html#a20c41af558ecb88ae8a6015b9361914e',1,'g2c_dec_jpeg2000(char *injpc, size_t bufsize, int *outfld): dec_jpeg2000.c']]], + ['g2c_5fdegrib2_625',['g2c_degrib2',['../g2cdegrib2_8c.html#a811654ce9d58dc2dc8a42b12cace6914',1,'g2c_degrib2(int g2cid, const char *fileout): g2cdegrib2.c'],['../grib2_8h.html#a811654ce9d58dc2dc8a42b12cace6914',1,'g2c_degrib2(int g2cid, const char *fileout): g2cdegrib2.c']]], + ['g2c_5fenc_5fjpeg2000_626',['g2c_enc_jpeg2000',['../enc__jpeg2000_8c.html#a4e0e87e1e9d443c03c2c5c080d049119',1,'g2c_enc_jpeg2000(unsigned char *cin, int width, int height, int nbits, int ltype, int ratio, int retry, char *outjpc, size_t jpclen): enc_jpeg2000.c'],['../grib2_8h.html#a4e0e87e1e9d443c03c2c5c080d049119',1,'g2c_enc_jpeg2000(unsigned char *cin, int width, int height, int nbits, int ltype, int ratio, int retry, char *outjpc, size_t jpclen): enc_jpeg2000.c']]], + ['g2c_5ffile_5fio_627',['g2c_file_io',['../g2cio_8c.html#a86669f909e0dd9439ce7ad8de66905ff',1,'g2c_file_io(FILE *f, int write, int g2ctype, void *var): g2cio.c'],['../grib2__int_8h.html#a86669f909e0dd9439ce7ad8de66905ff',1,'g2c_file_io(FILE *f, int write, int g2ctype, void *var): g2cio.c']]], + ['g2c_5ffile_5fio_5fbyte_628',['g2c_file_io_byte',['../grib2__int_8h.html#a1947b04c8b32bd5196bde44ce47d067e',1,'g2c_file_io_byte(FILE *f, int write, char *var): g2cio.c'],['../g2cio_8c.html#a1947b04c8b32bd5196bde44ce47d067e',1,'g2c_file_io_byte(FILE *f, int write, char *var): g2cio.c']]], + ['g2c_5ffile_5fio_5fint_629',['g2c_file_io_int',['../g2cio_8c.html#afa29c9cc65c8069fc3e6676fbc26c060',1,'g2c_file_io_int(FILE *f, int write, int *var): g2cio.c'],['../grib2__int_8h.html#afa29c9cc65c8069fc3e6676fbc26c060',1,'g2c_file_io_int(FILE *f, int write, int *var): g2cio.c']]], + ['g2c_5ffile_5fio_5flonglong_630',['g2c_file_io_longlong',['../g2cio_8c.html#aed980fec21c06ad88363cd2eb8b01843',1,'g2c_file_io_longlong(FILE *f, int write, long long *var): g2cio.c'],['../grib2__int_8h.html#aed980fec21c06ad88363cd2eb8b01843',1,'g2c_file_io_longlong(FILE *f, int write, long long *var): g2cio.c']]], + ['g2c_5ffile_5fio_5fshort_631',['g2c_file_io_short',['../g2cio_8c.html#a938ee5c56d3896e1bfb6682eeac6d6c2',1,'g2c_file_io_short(FILE *f, int write, short *var): g2cio.c'],['../grib2__int_8h.html#a938ee5c56d3896e1bfb6682eeac6d6c2',1,'g2c_file_io_short(FILE *f, int write, short *var): g2cio.c']]], + ['g2c_5ffile_5fio_5ftemplate_632',['g2c_file_io_template',['../g2cio_8c.html#a2cb1faaeaddca5c428124e2611c9c58c',1,'g2c_file_io_template(FILE *f, int rw_flag, int map, long long int *template_value): g2cio.c'],['../grib2__int_8h.html#a2cb1faaeaddca5c428124e2611c9c58c',1,'g2c_file_io_template(FILE *f, int rw_flag, int map, long long int *template_value): g2cio.c']]], + ['g2c_5ffile_5fio_5fubyte_633',['g2c_file_io_ubyte',['../g2cio_8c.html#ae839ef9885e9d311f34429e9d8c4e429',1,'g2c_file_io_ubyte(FILE *f, int write, unsigned char *var): g2cio.c'],['../grib2__int_8h.html#ae839ef9885e9d311f34429e9d8c4e429',1,'g2c_file_io_ubyte(FILE *f, int write, unsigned char *var): g2cio.c']]], + ['g2c_5ffile_5fio_5fuint_634',['g2c_file_io_uint',['../grib2__int_8h.html#af13561bb1b69477285058c02d2f053b2',1,'g2c_file_io_uint(FILE *f, int write, unsigned int *var): g2cio.c'],['../g2cio_8c.html#af13561bb1b69477285058c02d2f053b2',1,'g2c_file_io_uint(FILE *f, int write, unsigned int *var): g2cio.c']]], + ['g2c_5ffile_5fio_5fulonglong_635',['g2c_file_io_ulonglong',['../g2cio_8c.html#a540760f2051b00c67fefc9dfeb927c99',1,'g2c_file_io_ulonglong(FILE *f, int write, unsigned long long *var): g2cio.c'],['../grib2__int_8h.html#a540760f2051b00c67fefc9dfeb927c99',1,'g2c_file_io_ulonglong(FILE *f, int write, unsigned long long *var): g2cio.c']]], + ['g2c_5ffile_5fio_5fushort_636',['g2c_file_io_ushort',['../g2cio_8c.html#a0efe5cf31d683e3e6aa3144c82ab2a17',1,'g2c_file_io_ushort(FILE *f, int write, unsigned short *var): g2cio.c'],['../grib2__int_8h.html#a0efe5cf31d683e3e6aa3144c82ab2a17',1,'g2c_file_io_ushort(FILE *f, int write, unsigned short *var): g2cio.c']]], + ['g2c_5ffind_5fdesc_637',['g2c_find_desc',['../g2cxml_8c.html#a4057c499c1e2441ee560cafd306b0141',1,'g2c_find_desc(char *title, int code, char *desc): g2cxml.c'],['../grib2_8h.html#a4057c499c1e2441ee560cafd306b0141',1,'g2c_find_desc(char *title, int code, char *desc): g2cxml.c']]], + ['g2c_5ffind_5fdesc_5fstr_638',['g2c_find_desc_str',['../g2cxml_8c.html#a2076220d495e627198c94d9e00ec360e',1,'g2c_find_desc_str(char *title, char *code, char *desc): g2cxml.c'],['../grib2_8h.html#a2076220d495e627198c94d9e00ec360e',1,'g2c_find_desc_str(char *title, char *code, char *desc): g2cxml.c']]], + ['g2c_5ffind_5fentry_639',['g2c_find_entry',['../g2cxml_8c.html#a8b20012fc50b105e7aca0773381073e2',1,'g2cxml.c']]], + ['g2c_5ffind_5fmsg2_640',['g2c_find_msg2',['../grib2_8h.html#ab4cbbee608ee075df75f19c67188aa9c',1,'g2c_find_msg2(int g2cid, size_t skip_bytes, size_t max_bytes, size_t *bytes_to_msg, size_t *bytes_in_msg): g2cfile.c'],['../g2cfile_8c.html#ab4cbbee608ee075df75f19c67188aa9c',1,'g2c_find_msg2(int g2cid, size_t skip_bytes, size_t max_bytes, size_t *bytes_to_msg, size_t *bytes_in_msg): g2cfile.c']]], + ['g2c_5ffind_5ftable_641',['g2c_find_table',['../g2cxml_8c.html#abef2032deef721d17da6b9a545d3c0a8',1,'g2cxml.c']]], + ['g2c_5ffree_5ftables_642',['g2c_free_tables',['../g2cxml_8c.html#a96d0020d95aa799524048a40c252e240',1,'g2c_free_tables(): g2cxml.c'],['../grib2_8h.html#a96d0020d95aa799524048a40c252e240',1,'g2c_free_tables(): g2cxml.c']]], + ['g2c_5fgbit_5fint_643',['g2c_gbit_int',['../gbits_8c.html#af6b32459b20742990d06db4d8caeb348',1,'g2c_gbit_int(unsigned char *in, int *iout, int iskip, int nbits): gbits.c'],['../grib2_8h.html#af6b32459b20742990d06db4d8caeb348',1,'g2c_gbit_int(unsigned char *in, int *iout, int iskip, int nbits): gbits.c']]], + ['g2c_5fgbits_5fint_644',['g2c_gbits_int',['../gbits_8c.html#ae1535246186a033329df1715123819d2',1,'g2c_gbits_int(unsigned char *in, int *iout, int iskip, int nbits, int nskip, int n): gbits.c'],['../grib2_8h.html#ae1535246186a033329df1715123819d2',1,'g2c_gbits_int(unsigned char *in, int *iout, int iskip, int nbits, int nskip, int n): gbits.c']]], + ['g2c_5fget_5fdatetime_645',['g2c_get_datetime',['../g2cdegrib2_8c.html#af047ad60d1fa2efe9d7cf018e32c86da',1,'g2c_get_datetime(int ipdtn, long long int *ipdtmpl, short year, unsigned char month, unsigned char day, unsigned char hour, unsigned char minute, unsigned char second, char *tabbrev): g2cdegrib2.c'],['../grib2__int_8h.html#af047ad60d1fa2efe9d7cf018e32c86da',1,'g2c_get_datetime(int ipdtn, long long int *ipdtmpl, short year, unsigned char month, unsigned char day, unsigned char hour, unsigned char minute, unsigned char second, char *tabbrev): g2cdegrib2.c']]], + ['g2c_5fget_5fdrs_5ftemplate_646',['g2c_get_drs_template',['../grib2_8h.html#aa9a9b32379db85395891b59213f08a5d',1,'g2c_get_drs_template(int drs_template_num, int *maplen, int *map, int *needext): drstemplates.c'],['../drstemplates_8c.html#aa9a9b32379db85395891b59213f08a5d',1,'g2c_get_drs_template(int drs_template_num, int *maplen, int *map, int *needext): drstemplates.c']]], + ['g2c_5fget_5fgrid_5ftemplate_647',['g2c_get_grid_template',['../gridtemplates_8c.html#af43657d544d6892fcfce2bb11a615ab6',1,'g2c_get_grid_template(int grid_template_num, int *maplen, int *map, int *needext): gridtemplates.c'],['../grib2_8h.html#af43657d544d6892fcfce2bb11a615ab6',1,'g2c_get_grid_template(int grid_template_num, int *maplen, int *map, int *needext): gridtemplates.c']]], + ['g2c_5fget_5fgrid_5ftemplate_5fextension_648',['g2c_get_grid_template_extension',['../gridtemplates_8c.html#a99a2fc1974fbe30d1d063a4ec2d6cb3c',1,'g2c_get_grid_template_extension(int grid_template_num, int *template, int *extlen, int *ext): gridtemplates.c'],['../grib2_8h.html#a99a2fc1974fbe30d1d063a4ec2d6cb3c',1,'g2c_get_grid_template_extension(int grid_template_num, int *template, int *extlen, int *ext): gridtemplates.c']]], + ['g2c_5fget_5flevel_5fdesc_649',['g2c_get_level_desc',['../g2cdegrib2_8c.html#aa5c776ca39acf408c81fbc96568d72dc',1,'g2c_get_level_desc(int ipdtn, long long int *ipdtmpl, char *level_desc): g2cdegrib2.c'],['../grib2__int_8h.html#aa5c776ca39acf408c81fbc96568d72dc',1,'g2c_get_level_desc(int ipdtn, long long int *ipdtmpl, char *level_desc): g2cdegrib2.c']]], + ['g2c_5fget_5fmsg_650',['g2c_get_msg',['../g2cfile_8c.html#a977358be2d226299f842cb298b779854',1,'g2c_get_msg(int g2cid, size_t skip_bytes, size_t max_bytes, size_t *bytes_to_msg, size_t *bytes_in_msg, unsigned char **cbuf): g2cfile.c'],['../grib2_8h.html#a977358be2d226299f842cb298b779854',1,'g2c_get_msg(int g2cid, size_t skip_bytes, size_t max_bytes, size_t *bytes_to_msg, size_t *bytes_in_msg, unsigned char **cbuf): g2cfile.c']]], + ['g2c_5fget_5fpds_5ftemplate_651',['g2c_get_pds_template',['../pdstemplates_8c.html#a5d014a6e14c17d59ce83f78ca048d86b',1,'g2c_get_pds_template(int pds_template_num, int *maplen, int *map, int *needext): pdstemplates.c'],['../grib2_8h.html#a5d014a6e14c17d59ce83f78ca048d86b',1,'g2c_get_pds_template(int pds_template_num, int *maplen, int *map, int *needext): pdstemplates.c']]], + ['g2c_5fget_5fpds_5ftemplate_5fextension_652',['g2c_get_pds_template_extension',['../pdstemplates_8c.html#a657046138f00942c426122df3e25c546',1,'g2c_get_pds_template_extension(int pds_template_num, int *template, int *extlen, int *ext): pdstemplates.c'],['../grib2_8h.html#a657046138f00942c426122df3e25c546',1,'g2c_get_pds_template_extension(int pds_template_num, int *template, int *extlen, int *ext): pdstemplates.c']]], + ['g2c_5fget_5fprod_653',['g2c_get_prod',['../g2cprod_8c.html#ab63fb34d6630c4c24eca9c1c5c129fef',1,'g2c_get_prod(int g2cid, int msg_num, int prod_num, int *num_data_points, float *data): g2cprod.c'],['../grib2_8h.html#ab63fb34d6630c4c24eca9c1c5c129fef',1,'g2c_get_prod(int g2cid, int msg_num, int prod_num, int *num_data_points, float *data): g2cprod.c']]], + ['g2c_5fget_5fprod_5fsections_654',['g2c_get_prod_sections',['../g2cindex_8c.html#aeaf05bed64c11f59dc5fdd66eb28b7a3',1,'g2cindex.c']]], + ['g2c_5finq_655',['g2c_inq',['../grib2_8h.html#a11d1277208e3ee21f2dda94effdbe41b',1,'g2c_inq(int g2cid, int *num_msg): g2cinq.c'],['../g2cinq_8c.html#a11d1277208e3ee21f2dda94effdbe41b',1,'g2c_inq(int g2cid, int *num_msg): g2cinq.c']]], + ['g2c_5finq_5fdim_656',['g2c_inq_dim',['../g2cinq_8c.html#a8e4a8fcf8d55db639760e873013af0ab',1,'g2c_inq_dim(int g2cid, int msg_num, int prod_num, int dim_num, size_t *len, char *name, float *val): g2cinq.c'],['../grib2_8h.html#a8e4a8fcf8d55db639760e873013af0ab',1,'g2c_inq_dim(int g2cid, int msg_num, int prod_num, int dim_num, size_t *len, char *name, float *val): g2cinq.c']]], + ['g2c_5finq_5fmsg_657',['g2c_inq_msg',['../g2cinq_8c.html#a9a6d255355a287b253ebc369271751f4',1,'g2c_inq_msg(int g2cid, int msg_num, unsigned char *discipline, int *num_fields, int *num_local, short *center, short *subcenter, unsigned char *master_version, unsigned char *local_version): g2cinq.c'],['../grib2_8h.html#a9a6d255355a287b253ebc369271751f4',1,'g2c_inq_msg(int g2cid, int msg_num, unsigned char *discipline, int *num_fields, int *num_local, short *center, short *subcenter, unsigned char *master_version, unsigned char *local_version): g2cinq.c']]], + ['g2c_5finq_5fmsg_5ftime_658',['g2c_inq_msg_time',['../g2cinq_8c.html#a914c41f0c96a57cf78f5a05525b2e8b4',1,'g2c_inq_msg_time(int g2cid, int msg_num, unsigned char *sig_ref_time, short *year, unsigned char *month, unsigned char *day, unsigned char *hour, unsigned char *minute, unsigned char *second): g2cinq.c'],['../grib2_8h.html#a914c41f0c96a57cf78f5a05525b2e8b4',1,'g2c_inq_msg_time(int g2cid, int msg_num, unsigned char *sig_ref_time, short *year, unsigned char *month, unsigned char *day, unsigned char *hour, unsigned char *minute, unsigned char *second): g2cinq.c']]], + ['g2c_5finq_5fprod_659',['g2c_inq_prod',['../g2cinq_8c.html#a0bd2b43c8e10bf7374a0ba1d2e121a96',1,'g2c_inq_prod(int g2cid, int msg_num, int prod_num, int *pds_template_len, int *pds_template, int *gds_template_len, int *gds_template, int *drs_template_len, int *drs_template): g2cinq.c'],['../grib2_8h.html#a0bd2b43c8e10bf7374a0ba1d2e121a96',1,'g2c_inq_prod(int g2cid, int msg_num, int prod_num, int *pds_template_len, int *pds_template, int *gds_template_len, int *gds_template, int *drs_template_len, int *drs_template): g2cinq.c']]], + ['g2c_5fjpcpackd_660',['g2c_jpcpackd',['../jpcpack_8c.html#a29a71629c41dfefe937460952ffa18f1',1,'g2c_jpcpackd(double *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, size_t *lcpack): jpcpack.c'],['../grib2_8h.html#a29a71629c41dfefe937460952ffa18f1',1,'g2c_jpcpackd(double *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, size_t *lcpack): jpcpack.c']]], + ['g2c_5fjpcpackf_661',['g2c_jpcpackf',['../jpcpack_8c.html#a7b892e53508c65fd31c6564d5418c824',1,'g2c_jpcpackf(float *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, size_t *lcpack): jpcpack.c'],['../grib2_8h.html#a7b892e53508c65fd31c6564d5418c824',1,'g2c_jpcpackf(float *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, size_t *lcpack): jpcpack.c']]], + ['g2c_5fjpcunpackd_662',['g2c_jpcunpackd',['../jpcunpack_8c.html#a1a04c5d88c271b98a56edfd136b7db77',1,'g2c_jpcunpackd(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, double *fld): jpcunpack.c'],['../grib2_8h.html#a1a04c5d88c271b98a56edfd136b7db77',1,'g2c_jpcunpackd(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, double *fld): jpcunpack.c']]], + ['g2c_5fjpcunpackf_663',['g2c_jpcunpackf',['../jpcunpack_8c.html#a2c7e2ed3363571d9f55162f38371187c',1,'g2c_jpcunpackf(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, float *fld): jpcunpack.c'],['../grib2_8h.html#a2c7e2ed3363571d9f55162f38371187c',1,'g2c_jpcunpackf(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, float *fld): jpcunpack.c']]], + ['g2c_5flog_5ffile_664',['g2c_log_file',['../g2cutil_8c.html#acec6023ac37dbab9ac55c62a0ac14624',1,'g2c_log_file(int g2cid): g2cutil.c'],['../grib2_8h.html#acec6023ac37dbab9ac55c62a0ac14624',1,'g2c_log_file(int g2cid): g2cutil.c']]], + ['g2c_5flog_5fsection_665',['g2c_log_section',['../g2cutil_8c.html#a5e90b9030e3dd950fec8b770ee8cc312',1,'g2cutil.c']]], + ['g2c_5flog_5fsection1_666',['g2c_log_section1',['../grib2__int_8h.html#a5bf6dfa852b0a206632d52aa666abf3a',1,'g2c_log_section1(G2C_MESSAGE_INFO_T *msg): g2cutil.c'],['../g2cutil_8c.html#a5bf6dfa852b0a206632d52aa666abf3a',1,'g2c_log_section1(G2C_MESSAGE_INFO_T *msg): g2cutil.c']]], + ['g2c_5fopen_667',['g2c_open',['../g2cfile_8c.html#a216f2c45794641932725b7a8b1800423',1,'g2c_open(const char *path, int mode, int *g2cid): g2cfile.c'],['../grib2_8h.html#a216f2c45794641932725b7a8b1800423',1,'g2c_open(const char *path, int mode, int *g2cid): g2cfile.c']]], + ['g2c_5fopen_5findex_668',['g2c_open_index',['../g2cindex_8c.html#a146ebf0fbbfac18432b0c0dbe9900631',1,'g2c_open_index(const char *data_file, const char *index_file, int mode, int *g2cid): g2cindex.c'],['../grib2_8h.html#a146ebf0fbbfac18432b0c0dbe9900631',1,'g2c_open_index(const char *data_file, const char *index_file, int mode, int *g2cid): g2cindex.c']]], + ['g2c_5fopen_5findex1_669',['g2c_open_index1',['../g2cindex_8c.html#a32a9653961314d342b211ab98a07aa0a',1,'g2c_open_index1(const char *index_file): g2cindex.c'],['../grib2_8h.html#a32a9653961314d342b211ab98a07aa0a',1,'g2c_open_index1(const char *index_file): g2cindex.c']]], + ['g2c_5fparam_5fabbrev_670',['g2c_param_abbrev',['../g2cparams_8c.html#a309e4c0c418755d046b6e414560eb36f',1,'g2c_param_abbrev(int g2disc, int g2cat, int g2num, char *abbrev): g2cparams.c'],['../grib2_8h.html#a309e4c0c418755d046b6e414560eb36f',1,'g2c_param_abbrev(int g2disc, int g2cat, int g2num, char *abbrev): g2cparams.c']]], + ['g2c_5fparam_5fall_671',['g2c_param_all',['../g2cparams_8c.html#ace202361aa7d8f7337730e7dc6efe916',1,'g2c_param_all(int param_idx, int *g1num, int *g1ver, int *g2disc, int *g2cat, int *g2num, char *abbrev): g2cparams.c'],['../grib2_8h.html#aacf7f56c868c12e27c3d187164655218',1,'g2c_param_all(int param_idx, int *g1ver, int *g1val, int *g2disc, int *g2cat, int *g2num, char *abbdrev): g2cparams.c']]], + ['g2c_5fparam_5fg1tog2_672',['g2c_param_g1tog2',['../g2cparams_8c.html#a408859d9761a9891f74614a293fa0177',1,'g2c_param_g1tog2(int g1num, int g1ver, int *g2disc, int *g2cat, int *g2num): g2cparams.c'],['../grib2_8h.html#ab820e4fe7f1b895232334e5d6927fc9a',1,'g2c_param_g1tog2(int g1val, int g1ver, int *g2disc, int *g2cat, int *g2num): g2cparams.c']]], + ['g2c_5fparam_5fg2tog1_673',['g2c_param_g2tog1',['../g2cparams_8c.html#a1d07030fd384aba15b55d493efe95aa6',1,'g2c_param_g2tog1(int g2disc, int g2cat, int g2num, int *g1num, int *g1ver): g2cparams.c'],['../grib2_8h.html#a2a1b1cfa73b675ff4d7822f836898846',1,'g2c_param_g2tog1(int g2disc, int g2cat, int g2num, int *g1val, int *g1ver): g2cparams.c']]], + ['g2c_5fpngpackd_674',['g2c_pngpackd',['../pngpack_8c.html#a5f2e244f2819f238f11348a0c79f6079',1,'g2c_pngpackd(double *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, int *lcpack): pngpack.c'],['../grib2_8h.html#a5f2e244f2819f238f11348a0c79f6079',1,'g2c_pngpackd(double *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, int *lcpack): pngpack.c']]], + ['g2c_5fpngpackf_675',['g2c_pngpackf',['../pngpack_8c.html#ae889c3c77c33283d6cab33086048b1ac',1,'g2c_pngpackf(float *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, int *lcpack): pngpack.c'],['../grib2_8h.html#ae889c3c77c33283d6cab33086048b1ac',1,'g2c_pngpackf(float *fld, size_t width, size_t height, int *idrstmpl, unsigned char *cpack, int *lcpack): pngpack.c']]], + ['g2c_5fpngunpackd_676',['g2c_pngunpackd',['../grib2_8h.html#a33fbfbbde0db4cea4dd33d83a86cf3e0',1,'g2c_pngunpackd(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, double *fld): pngunpack.c'],['../pngunpack_8c.html#a33fbfbbde0db4cea4dd33d83a86cf3e0',1,'g2c_pngunpackd(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, double *fld): pngunpack.c']]], + ['g2c_5fpngunpackf_677',['g2c_pngunpackf',['../pngunpack_8c.html#a840ce62970e0482389aea32b69fe8721',1,'g2c_pngunpackf(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, float *fld): pngunpack.c'],['../grib2_8h.html#a840ce62970e0482389aea32b69fe8721',1,'g2c_pngunpackf(unsigned char *cpack, size_t len, int *idrstmpl, size_t ndpts, float *fld): pngunpack.c']]], + ['g2c_5fprint_5ftables_678',['g2c_print_tables',['../g2cxml_8c.html#afb9b94205e0b07b276d624b0285a1751',1,'g2cxml.c']]], + ['g2c_5frw_5fsection1_5fmetadata_679',['g2c_rw_section1_metadata',['../g2cfile_8c.html#ae7843e51976900337654503388d9a726',1,'g2c_rw_section1_metadata(FILE *f, int rw_flag, G2C_MESSAGE_INFO_T *msg): g2cfile.c'],['../grib2__int_8h.html#ae7843e51976900337654503388d9a726',1,'g2c_rw_section1_metadata(FILE *f, int rw_flag, G2C_MESSAGE_INFO_T *msg): g2cfile.c']]], + ['g2c_5frw_5fsection3_5fmetadata_680',['g2c_rw_section3_metadata',['../g2cfile_8c.html#af7f2e7b1cc0d81f73f972feaa4fc65c0',1,'g2c_rw_section3_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec): g2cfile.c'],['../grib2__int_8h.html#af7f2e7b1cc0d81f73f972feaa4fc65c0',1,'g2c_rw_section3_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec): g2cfile.c']]], + ['g2c_5frw_5fsection4_5fmetadata_681',['g2c_rw_section4_metadata',['../g2cfile_8c.html#af7fef1bd5fae59a765ccfa3493c20699',1,'g2c_rw_section4_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec): g2cfile.c'],['../grib2__int_8h.html#af7fef1bd5fae59a765ccfa3493c20699',1,'g2c_rw_section4_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec): g2cfile.c']]], + ['g2c_5frw_5fsection5_5fmetadata_682',['g2c_rw_section5_metadata',['../g2cfile_8c.html#abd2e0851785661aee3f32380c9d8fdf0',1,'g2c_rw_section5_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec): g2cfile.c'],['../grib2__int_8h.html#abd2e0851785661aee3f32380c9d8fdf0',1,'g2c_rw_section5_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec): g2cfile.c']]], + ['g2c_5frw_5fsection6_5fmetadata_683',['g2c_rw_section6_metadata',['../g2cfile_8c.html#a767dd5916869dc53f395903d613075cb',1,'g2c_rw_section6_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec): g2cfile.c'],['../grib2__int_8h.html#a767dd5916869dc53f395903d613075cb',1,'g2c_rw_section6_metadata(FILE *f, int rw_flag, G2C_SECTION_INFO_T *sec): g2cfile.c']]], + ['g2c_5fseekmsg_684',['g2c_seekmsg',['../g2cfile_8c.html#af50a08963916901ddae4e32a81fec8f5',1,'g2c_seekmsg(int g2cid, size_t skip, size_t *offset, size_t *msglen): g2cfile.c'],['../grib2_8h.html#af50a08963916901ddae4e32a81fec8f5',1,'g2c_seekmsg(int g2cid, size_t skip, size_t *offset, size_t *msglen): g2cfile.c']]], + ['g2c_5fset_5flog_5flevel_685',['g2c_set_log_level',['../util_8c.html#a9a2353e67d13207769db5bd68e343abe',1,'g2c_set_log_level(int new_level): util.c'],['../grib2_8h.html#a9a2353e67d13207769db5bd68e343abe',1,'g2c_set_log_level(int new_level): util.c']]], + ['g2c_5fstart_5findex1_5frecord_686',['g2c_start_index1_record',['../g2cindex_8c.html#a3012c86f328edde808fb0c27bcbd0de2',1,'g2cindex.c']]], + ['g2c_5fstart_5findex_5frecord_687',['g2c_start_index_record',['../g2cindex_8c.html#a98ff06adef664fd65de70cc2ecfb2354',1,'g2cindex.c']]], + ['g2c_5fstrerror_688',['g2c_strerror',['../g2cutil_8c.html#a1792f482362669e846f8f69e0eb63fe0',1,'g2c_strerror(int g2cerr): g2cutil.c'],['../grib2_8h.html#a1792f482362669e846f8f69e0eb63fe0',1,'g2c_strerror(int g2cerr): g2cutil.c']]], + ['g2c_5funpack7_689',['g2c_unpack7',['../grib2_8h.html#ab880dad973bf979fc906b4d5c60ce3c7',1,'g2c_unpack7(unsigned char *cgrib, int igdsnum, int gds_tmpl_len, long long int *gdstmpl, int idrsnum, int drs_tmpl_len, long long int *drstmpl, int ndpts, float *fld): g2_unpack7.c'],['../g2__unpack7_8c.html#ab880dad973bf979fc906b4d5c60ce3c7',1,'g2c_unpack7(unsigned char *cgrib, int igdsnum, int gds_tmpl_len, long long int *gdstmpl, int idrsnum, int drs_tmpl_len, long long int *drstmpl, int ndpts, float *fld): g2_unpack7.c']]], + ['g2c_5funpack7_5fint_690',['g2c_unpack7_int',['../g2__unpack7_8c.html#a17dbb42101538f5b02d685d46a38c4a9',1,'g2_unpack7.c']]], + ['g2c_5fwrite_5findex_691',['g2c_write_index',['../g2cindex_8c.html#aa370217896d20f1ccb1c77e7a4edc1ed',1,'g2c_write_index(int g2cid, int mode, const char *index_file): g2cindex.c'],['../grib2_8h.html#aa370217896d20f1ccb1c77e7a4edc1ed',1,'g2c_write_index(int g2cid, int mode, const char *index_file): g2cindex.c']]], + ['g2c_5fxml_5finit_692',['g2c_xml_init',['../g2cxml_8c.html#a6e22025328a8e92092654f5333d78226',1,'g2c_xml_init(): g2cxml.c'],['../grib2_8h.html#a6e22025328a8e92092654f5333d78226',1,'g2c_xml_init(): g2cxml.c']]], + ['gbit_693',['gbit',['../gbits_8c.html#a1efb9739e947d94010aeba6daf62eca3',1,'gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits): gbits.c'],['../grib2__int_8h.html#a1efb9739e947d94010aeba6daf62eca3',1,'gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits): gbits.c']]], + ['gbits_694',['gbits',['../gbits_8c.html#a31ebdbbf262b7478d6a7cc4326f76ade',1,'gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits, g2int nskip, g2int n): gbits.c'],['../grib2__int_8h.html#a31ebdbbf262b7478d6a7cc4326f76ade',1,'gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits, g2int nskip, g2int n): gbits.c']]], + ['getdim_695',['getdim',['../grib2__int_8h.html#aabc49a338fae74f6dfc9e98b6cb59de7',1,'getdim(unsigned char *csec3, g2int *width, g2int *height, g2int *iscan): getdim.c'],['../getdim_8c.html#aabc49a338fae74f6dfc9e98b6cb59de7',1,'getdim(unsigned char *csec3, g2int *width, g2int *height, g2int *iscan): getdim.c']]], + ['getdrsindex_696',['getdrsindex',['../drstemplates_8c.html#a307a8ced5bd81dd2bf110596fc9e6532',1,'drstemplates.c']]], + ['getdrstemplate_697',['getdrstemplate',['../drstemplates_8c.html#acf3195b5cecc028727faa8a921eba03e',1,'getdrstemplate(g2int number): drstemplates.c'],['../grib2__int_8h.html#acf3195b5cecc028727faa8a921eba03e',1,'getdrstemplate(g2int number): drstemplates.c']]], + ['getgridindex_698',['getgridindex',['../gridtemplates_8c.html#addbeca29a7de77dc30f65a08b6b38941',1,'gridtemplates.c']]], + ['getgridtemplate_699',['getgridtemplate',['../grib2__int_8h.html#af67f9624982c81a36531989254a9b98a',1,'getgridtemplate(g2int number): gridtemplates.c'],['../gridtemplates_8c.html#af67f9624982c81a36531989254a9b98a',1,'getgridtemplate(g2int number): gridtemplates.c']]], + ['getpdsindex_700',['getpdsindex',['../pdstemplates_8c.html#a59f2fe1fba0577301d154f21e0478e7f',1,'pdstemplates.c']]], + ['getpdstemplate_701',['getpdstemplate',['../grib2__int_8h.html#ad08ad7c4bee0466cd8ccafc1c1e76520',1,'getpdstemplate(g2int number): pdstemplates.c'],['../pdstemplates_8c.html#ad08ad7c4bee0466cd8ccafc1c1e76520',1,'getpdstemplate(g2int number): pdstemplates.c']]], + ['getpoly_702',['getpoly',['../getpoly_8c.html#aa8f99915cc3bf0efa7544cf3c2e1b552',1,'getpoly(unsigned char *csec3, g2int *jj, g2int *kk, g2int *mm): getpoly.c'],['../grib2__int_8h.html#aa8f99915cc3bf0efa7544cf3c2e1b552',1,'getpoly(unsigned char *csec3, g2int *jj, g2int *kk, g2int *mm): getpoly.c']]] ]; diff --git a/search/functions_6.js b/search/functions_6.js index 92c20e8c..5c1dfbaa 100644 --- a/search/functions_6.js +++ b/search/functions_6.js @@ -1,5 +1,5 @@ var searchData= [ - ['misspack_307',['misspack',['../grib2__int_8h.html#a33440a1e301c24cf2996122f63ee3cae',1,'misspack(g2float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): misspack.c'],['../misspack_8c.html#a33440a1e301c24cf2996122f63ee3cae',1,'misspack(g2float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): misspack.c']]], - ['mkieee_308',['mkieee',['../grib2__int_8h.html#ac81ff0ca19f32422c5667e1bca5aae27',1,'mkieee(g2float *a, g2int *rieee, g2int num): mkieee.c'],['../mkieee_8c.html#ac81ff0ca19f32422c5667e1bca5aae27',1,'mkieee(g2float *a, g2int *rieee, g2int num): mkieee.c']]] + ['int_5fdec_5fjpeg2000_703',['int_dec_jpeg2000',['../dec__jpeg2000_8c.html#ac822263ee9732d7603f242a848888ed9',1,'dec_jpeg2000.c']]], + ['int_5fpower_704',['int_power',['../grib2__int_8h.html#a6b284a64a4b42cd86db872ae7e1eeaa8',1,'int_power(double x, g2int y): int_power.c'],['../int__power_8c.html#a6b284a64a4b42cd86db872ae7e1eeaa8',1,'int_power(double x, g2int y): int_power.c']]] ]; diff --git a/search/functions_7.js b/search/functions_7.js index 014f2a03..7edc4391 100644 --- a/search/functions_7.js +++ b/search/functions_7.js @@ -1,6 +1,7 @@ var searchData= [ - ['pack_5fgp_309',['pack_gp',['../grib2__int_8h.html#ab5fbec07e58a9d872a0fa1c04d74a81b',1,'pack_gp(g2int *kfildo, g2int *ic, g2int *nxy, g2int *is523, g2int *minpk, g2int *inc, g2int *missp, g2int *misss, g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov, g2int *ndg, g2int *lx, g2int *ibit, g2int *jbit, g2int *kbit, g2int *novref, g2int *lbitref, g2int *ier): pack_gp.c'],['../pack__gp_8c.html#ab5fbec07e58a9d872a0fa1c04d74a81b',1,'pack_gp(g2int *kfildo, g2int *ic, g2int *nxy, g2int *is523, g2int *minpk, g2int *inc, g2int *missp, g2int *misss, g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov, g2int *ndg, g2int *lx, g2int *ibit, g2int *jbit, g2int *kbit, g2int *novref, g2int *lbitref, g2int *ier): pack_gp.c']]], - ['pngpack_310',['pngpack',['../g2__addfield_8c.html#aa19673a03d5b0df2730903c39b9e5002',1,'pngpack(g2float *, g2int, g2int, g2int *, unsigned char *, g2int *): pngpack.c'],['../grib2__int_8h.html#aead12707dbe31153a792ec922eb2fec7',1,'pngpack(g2float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): pngpack.c'],['../pngpack_8c.html#aead12707dbe31153a792ec922eb2fec7',1,'pngpack(g2float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): pngpack.c']]], - ['pngunpack_311',['pngunpack',['../grib2__int_8h.html#acd726669156a52a640744423669e9397',1,'pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, g2float *fld): pngunpack.c'],['../pngunpack_8c.html#acd726669156a52a640744423669e9397',1,'pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, g2float *fld): pngunpack.c']]] + ['jpcpack_705',['jpcpack',['../grib2__int_8h.html#ac5fa531e1573e7ae501a4e2826d22e89',1,'jpcpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): jpcpack.c'],['../jpcpack_8c.html#ac5fa531e1573e7ae501a4e2826d22e89',1,'jpcpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): jpcpack.c'],['../grib2_8h.html#ac5fa531e1573e7ae501a4e2826d22e89',1,'jpcpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): jpcpack.c']]], + ['jpcpack_5fint_706',['jpcpack_int',['../jpcpack_8c.html#ad647202ae0cbd537a9fed7bff5b45992',1,'jpcpack.c']]], + ['jpcunpack_707',['jpcunpack',['../grib2__int_8h.html#a067a3f608a80a9fdd89ed9f59ed7c7f6',1,'jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld): jpcunpack.c'],['../jpcunpack_8c.html#a067a3f608a80a9fdd89ed9f59ed7c7f6',1,'jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld): jpcunpack.c'],['../grib2_8h.html#a067a3f608a80a9fdd89ed9f59ed7c7f6',1,'jpcunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld): jpcunpack.c']]], + ['jpcunpack_5fint_708',['jpcunpack_int',['../jpcunpack_8c.html#abb65df72f7e882bcf138316552e2b89b',1,'jpcunpack.c']]] ]; diff --git a/search/functions_8.js b/search/functions_8.js index a7780bb2..c1bae8a7 100644 --- a/search/functions_8.js +++ b/search/functions_8.js @@ -1,5 +1,7 @@ var searchData= [ - ['rdieee_312',['rdieee',['../grib2__int_8h.html#a765d8cfa0519cce8a36953120263ba51',1,'rdieee(g2int *rieee, g2float *a, g2int num): rdieee.c'],['../rdieee_8c.html#a765d8cfa0519cce8a36953120263ba51',1,'rdieee(g2int *rieee, g2float *a, g2int num): rdieee.c']]], - ['reduce_313',['reduce',['../reduce_8c.html#a6bb0dafca9ef2de9d433cb4c72f34b2d',1,'reduce.c']]] + ['main_709',['main',['../g2c__compare_8c.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): g2c_compare.c'],['../g2c__degrib2_8c.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): g2c_degrib2.c'],['../g2c__index_8c.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): g2c_index.c']]], + ['misspack_710',['misspack',['../grib2__int_8h.html#aaa78613e8bf42b3dbd6d3813371bc339',1,'misspack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): misspack.c'],['../misspack_8c.html#aaa78613e8bf42b3dbd6d3813371bc339',1,'misspack(float *fld, g2int ndpts, g2int idrsnum, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): misspack.c']]], + ['mkieee_711',['mkieee',['../grib2__int_8h.html#a1594a8cc9a699a73a870b9ec4231fbd3',1,'mkieee(float *a, g2int *rieee, g2int num): mkieee.c'],['../mkieee_8c.html#a1594a8cc9a699a73a870b9ec4231fbd3',1,'mkieee(float *a, g2int *rieee, g2int num): mkieee.c']]], + ['mutex_712',['MUTEX',['../g2cfile_8c.html#a51cfcbcc556e03f4347510eb7613344d',1,'g2cfile.c']]] ]; diff --git a/search/functions_9.js b/search/functions_9.js index f219ccbe..5a1e6e45 100644 --- a/search/functions_9.js +++ b/search/functions_9.js @@ -1,10 +1,8 @@ var searchData= [ - ['sbit_314',['sbit',['../gbits_8c.html#af9e044ba7da32a5415e351ed647ef676',1,'sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits): gbits.c'],['../grib2__int_8h.html#af9e044ba7da32a5415e351ed647ef676',1,'sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits): gbits.c']]], - ['sbits_315',['sbits',['../gbits_8c.html#a92b32e56ff8941c5026d460f4fe2aec3',1,'sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n): gbits.c'],['../grib2__int_8h.html#a92b32e56ff8941c5026d460f4fe2aec3',1,'sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n): gbits.c']]], - ['seekgb_316',['seekgb',['../seekgb_8c.html#a27edb1018106a2e02743be31afc5ea0c',1,'seekgb(FILE *lugb, g2int iseek, g2int mseek, g2int *lskip, g2int *lgrib): seekgb.c'],['../grib2_8h.html#a27edb1018106a2e02743be31afc5ea0c',1,'seekgb(FILE *lugb, g2int iseek, g2int mseek, g2int *lskip, g2int *lgrib): seekgb.c']]], - ['simpack_317',['simpack',['../grib2__int_8h.html#a1044c3047067228a30d93a351a079bab',1,'simpack(g2float *fld, g2int ndpts, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): simpack.c'],['../simpack_8c.html#a1044c3047067228a30d93a351a079bab',1,'simpack(g2float *fld, g2int ndpts, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): simpack.c']]], - ['simunpack_318',['simunpack',['../grib2__int_8h.html#aee9904f7aa97792022274de23107ba09',1,'simunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2float *fld): simunpack.c'],['../simunpack_8c.html#aee9904f7aa97792022274de23107ba09',1,'simunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2float *fld): simunpack.c']]], - ['specpack_319',['specpack',['../grib2__int_8h.html#a4464faa396c6e14a740e0ff4b4a0c9a1',1,'specpack(g2float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): specpack.c'],['../specpack_8c.html#a4464faa396c6e14a740e0ff4b4a0c9a1',1,'specpack(g2float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): specpack.c']]], - ['specunpack_320',['specunpack',['../grib2__int_8h.html#aeb5b149867887c46a6eca7737531d3a5',1,'specunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2float *fld): specunpack.c'],['../specunpack_8c.html#aeb5b149867887c46a6eca7737531d3a5',1,'specunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2float *fld): specunpack.c']]] + ['pack_5fgp_713',['pack_gp',['../grib2__int_8h.html#ab5fbec07e58a9d872a0fa1c04d74a81b',1,'pack_gp(g2int *kfildo, g2int *ic, g2int *nxy, g2int *is523, g2int *minpk, g2int *inc, g2int *missp, g2int *misss, g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov, g2int *ndg, g2int *lx, g2int *ibit, g2int *jbit, g2int *kbit, g2int *novref, g2int *lbitref, g2int *ier): pack_gp.c'],['../pack__gp_8c.html#ab5fbec07e58a9d872a0fa1c04d74a81b',1,'pack_gp(g2int *kfildo, g2int *ic, g2int *nxy, g2int *is523, g2int *minpk, g2int *inc, g2int *missp, g2int *misss, g2int *jmin, g2int *jmax, g2int *lbit, g2int *nov, g2int *ndg, g2int *lx, g2int *ibit, g2int *jbit, g2int *kbit, g2int *novref, g2int *lbitref, g2int *ier): pack_gp.c']]], + ['pngpack_714',['pngpack',['../grib2__int_8h.html#a1353956d6cc706acd63e87ce21c69fd2',1,'pngpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): pngpack.c'],['../pngpack_8c.html#a1353956d6cc706acd63e87ce21c69fd2',1,'pngpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): pngpack.c'],['../grib2_8h.html#a1353956d6cc706acd63e87ce21c69fd2',1,'pngpack(float *fld, g2int width, g2int height, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): pngpack.c']]], + ['pngpack_5fint_715',['pngpack_int',['../pngpack_8c.html#af2a272e6da0675f7e00a16adec84af74',1,'pngpack.c']]], + ['pngunpack_716',['pngunpack',['../grib2__int_8h.html#a25efad18886998fd8f7172ddccaa9076',1,'pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld): pngunpack.c'],['../pngunpack_8c.html#a25efad18886998fd8f7172ddccaa9076',1,'pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld): pngunpack.c'],['../grib2_8h.html#a25efad18886998fd8f7172ddccaa9076',1,'pngunpack(unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, float *fld): pngunpack.c']]], + ['pngunpack_5fint_717',['pngunpack_int',['../pngunpack_8c.html#a984fa92b35d86ddd5c45590e2aeec9f1',1,'pngunpack.c']]] ]; diff --git a/search/functions_a.js b/search/functions_a.js index b539d663..831c5a26 100644 --- a/search/functions_a.js +++ b/search/functions_a.js @@ -1,6 +1,9 @@ var searchData= [ - ['user_5fflush_5fdata_321',['user_flush_data',['../enc__png_8c.html#a97f27ca60f363a8a91319d3adee16b0e',1,'enc_png.c']]], - ['user_5fread_5fdata_322',['user_read_data',['../dec__png_8c.html#abe576ea8faea4144cac413a8d2cc6ec7',1,'dec_png.c']]], - ['user_5fwrite_5fdata_323',['user_write_data',['../enc__png_8c.html#ac84301dcabbe4c2893799955c50c38a5',1,'enc_png.c']]] + ['rdieee_718',['rdieee',['../grib2__int_8h.html#af4e2650852f7bbbfb531c977fcbd42ca',1,'rdieee(g2int *rieee, float *a, g2int num): rdieee.c'],['../rdieee_8c.html#af4e2650852f7bbbfb531c977fcbd42ca',1,'rdieee(g2int *rieee, float *a, g2int num): rdieee.c']]], + ['read_5fhdr_5frec1_719',['read_hdr_rec1',['../g2cindex_8c.html#a34cdf8504ffcbd6a648d5748386bdd71',1,'g2cindex.c']]], + ['read_5fhdr_5frec2_720',['read_hdr_rec2',['../g2cindex_8c.html#afd61fcdaf4a9fb95a36632d27f711c84',1,'g2cindex.c']]], + ['read_5fmetadata_721',['read_metadata',['../g2cfile_8c.html#acce12ea485669fe8604956b37b2126fb',1,'g2cfile.c']]], + ['read_5fmsg_5fmetadata_722',['read_msg_metadata',['../g2cfile_8c.html#a666d5536f6359a1e357d5518413b6381',1,'g2cfile.c']]], + ['reduce_723',['reduce',['../reduce_8c.html#a6bb0dafca9ef2de9d433cb4c72f34b2d',1,'reduce.c']]] ]; diff --git a/search/functions_b.html b/search/functions_b.html new file mode 100644 index 00000000..e301fedd --- /dev/null +++ b/search/functions_b.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_b.js b/search/functions_b.js new file mode 100644 index 00000000..cda5022a --- /dev/null +++ b/search/functions_b.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['sbit_724',['sbit',['../gbits_8c.html#af9e044ba7da32a5415e351ed647ef676',1,'sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits): gbits.c'],['../grib2__int_8h.html#af9e044ba7da32a5415e351ed647ef676',1,'sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits): gbits.c']]], + ['sbits_725',['sbits',['../gbits_8c.html#a92b32e56ff8941c5026d460f4fe2aec3',1,'sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n): gbits.c'],['../grib2__int_8h.html#a92b32e56ff8941c5026d460f4fe2aec3',1,'sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n): gbits.c']]], + ['seekgb_726',['seekgb',['../seekgb_8c.html#a27edb1018106a2e02743be31afc5ea0c',1,'seekgb(FILE *lugb, g2int iseek, g2int mseek, g2int *lskip, g2int *lgrib): seekgb.c'],['../grib2_8h.html#a27edb1018106a2e02743be31afc5ea0c',1,'seekgb(FILE *lugb, g2int iseek, g2int mseek, g2int *lskip, g2int *lgrib): seekgb.c']]], + ['simpack_727',['simpack',['../grib2__int_8h.html#ac0b7f3dd51c470b9fb883bc93d82ab49',1,'simpack(float *fld, g2int ndpts, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): simpack.c'],['../simpack_8c.html#ac0b7f3dd51c470b9fb883bc93d82ab49',1,'simpack(float *fld, g2int ndpts, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): simpack.c']]], + ['simunpack_728',['simunpack',['../grib2__int_8h.html#af1de6ae0957904b78ff8cfd7eeb908fa',1,'simunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, float *fld): simunpack.c'],['../simunpack_8c.html#af1de6ae0957904b78ff8cfd7eeb908fa',1,'simunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, float *fld): simunpack.c']]], + ['specpack_729',['specpack',['../grib2__int_8h.html#ab712ca4ca13ff72a2a4f3738e9ef66ce',1,'specpack(float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): specpack.c'],['../specpack_8c.html#ab712ca4ca13ff72a2a4f3738e9ef66ce',1,'specpack(float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack): specpack.c']]], + ['specunpack_730',['specunpack',['../grib2__int_8h.html#accf1040682acbd7ef03f54ca5250d683',1,'specunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2int JJ, g2int KK, g2int MM, float *fld): specunpack.c'],['../specunpack_8c.html#accf1040682acbd7ef03f54ca5250d683',1,'specunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2int JJ, g2int KK, g2int MM, float *fld): specunpack.c']]] +]; diff --git a/search/functions_c.html b/search/functions_c.html new file mode 100644 index 00000000..c4f32687 --- /dev/null +++ b/search/functions_c.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_c.js b/search/functions_c.js new file mode 100644 index 00000000..3ddc8b81 --- /dev/null +++ b/search/functions_c.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['user_5fflush_5fdata_731',['user_flush_data',['../enc__png_8c.html#a97f27ca60f363a8a91319d3adee16b0e',1,'enc_png.c']]], + ['user_5fread_5fdata_732',['user_read_data',['../dec__png_8c.html#abe576ea8faea4144cac413a8d2cc6ec7',1,'dec_png.c']]], + ['user_5fwrite_5fdata_733',['user_write_data',['../enc__png_8c.html#ac84301dcabbe4c2893799955c50c38a5',1,'enc_png.c']]] +]; diff --git a/search/searchdata.js b/search/searchdata.js index 136798fc..8fa0e9cb 100644 --- a/search/searchdata.js +++ b/search/searchdata.js @@ -1,12 +1,12 @@ var indexSectionsWithContent = { - 0: "abcdefgijlmnprstuv", + 0: "abcdefghijlmnoprstuvwy", 1: "g", 2: "cdegijmprsu", - 3: "cdegijmprsu", - 4: "bcdefgilmntuv", + 3: "acdefgijmprsu", + 4: "abcdefghilmnopstuvy", 5: "gp", - 6: "abfglmt" + 6: "abcefghlmnortw" }; var indexSectionNames = diff --git a/search/typedefs_0.js b/search/typedefs_0.js index e7ad3a1f..bdce03b5 100644 --- a/search/typedefs_0.js +++ b/search/typedefs_0.js @@ -1,8 +1,19 @@ var searchData= [ - ['g2float_364',['g2float',['../grib2_8h.html#a2e615ee29fc8d17a681017e4384847c2',1,'grib2.h']]], - ['g2int_365',['g2int',['../grib2_8h.html#af0b63b0e0f41f07f562a4367e2a60838',1,'grib2.h']]], - ['g2intu_366',['g2intu',['../grib2_8h.html#a95bb698b6bd148aae1b3b841fb0da83b',1,'grib2.h']]], - ['gribfield_367',['gribfield',['../grib2_8h.html#afd3ef3eb9f8b9a64a7b749a892de46c5',1,'grib2.h']]], - ['gtemplate_368',['gtemplate',['../grib2__int_8h.html#a1f770e683f8b4e9c16c3d4d9d1e4fb63',1,'grib2_int.h']]] + ['g2c_5fcode_5fentry_5ft_839',['G2C_CODE_ENTRY_T',['../grib2__int_8h.html#ad30cccbe4737bd52122ba6aad5bfac8c',1,'grib2_int.h']]], + ['g2c_5fcode_5ftable_5ft_840',['G2C_CODE_TABLE_T',['../grib2__int_8h.html#a08c8e513e52e5f45877cbdf65de84ebc',1,'grib2_int.h']]], + ['g2c_5fdim_5finfo_5ft_841',['G2C_DIM_INFO_T',['../grib2__int_8h.html#a5e7f59f229745baebacbc4f7344ff039',1,'grib2_int.h']]], + ['g2c_5ffile_5finfo_5ft_842',['G2C_FILE_INFO_T',['../grib2__int_8h.html#a2742865fda7051b6bdd795a2af426a89',1,'grib2_int.h']]], + ['g2c_5fmessage_5finfo_5ft_843',['G2C_MESSAGE_INFO_T',['../grib2__int_8h.html#a99a45e03f1f4601ea7c5fcdeec5cb19b',1,'grib2_int.h']]], + ['g2c_5fparam_5ft_844',['G2C_PARAM_T',['../grib2__int_8h.html#a6f80bff99b9d4dd94df22bea9c6057c4',1,'grib2_int.h']]], + ['g2c_5fsection3_5finfo_5ft_845',['G2C_SECTION3_INFO_T',['../grib2__int_8h.html#a07f31f8e961b2d10b82007cef989ba62',1,'grib2_int.h']]], + ['g2c_5fsection4_5finfo_5ft_846',['G2C_SECTION4_INFO_T',['../grib2__int_8h.html#a86155cc800a49fff155d3d48fa61b306',1,'grib2_int.h']]], + ['g2c_5fsection5_5finfo_5ft_847',['G2C_SECTION5_INFO_T',['../grib2__int_8h.html#a7c9598594469891f1962213355a28cdd',1,'grib2_int.h']]], + ['g2c_5fsection6_5finfo_5ft_848',['G2C_SECTION6_INFO_T',['../grib2__int_8h.html#af27005591b78f26dda3151d941dc8247',1,'grib2_int.h']]], + ['g2c_5fsection_5finfo_5ft_849',['G2C_SECTION_INFO_T',['../grib2__int_8h.html#a6461bd06cff157e5887e739b8f9d063f',1,'grib2_int.h']]], + ['g2float_850',['g2float',['../grib2_8h.html#a2e615ee29fc8d17a681017e4384847c2',1,'grib2.h']]], + ['g2int_851',['g2int',['../grib2_8h.html#af0b63b0e0f41f07f562a4367e2a60838',1,'grib2.h']]], + ['g2intu_852',['g2intu',['../grib2_8h.html#a95bb698b6bd148aae1b3b841fb0da83b',1,'grib2.h']]], + ['gribfield_853',['gribfield',['../grib2_8h.html#afd3ef3eb9f8b9a64a7b749a892de46c5',1,'grib2.h']]], + ['gtemplate_854',['gtemplate',['../grib2__int_8h.html#a1f770e683f8b4e9c16c3d4d9d1e4fb63',1,'grib2_int.h']]] ]; diff --git a/search/typedefs_1.js b/search/typedefs_1.js index e3709187..cb9ebcb6 100644 --- a/search/typedefs_1.js +++ b/search/typedefs_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['png_5fstream_369',['png_stream',['../dec__png_8c.html#a51736c0c137626d13b71ea12021c10f3',1,'png_stream(): dec_png.c'],['../enc__png_8c.html#a51736c0c137626d13b71ea12021c10f3',1,'png_stream(): enc_png.c']]] + ['png_5fstream_855',['png_stream',['../dec__png_8c.html#a51736c0c137626d13b71ea12021c10f3',1,'png_stream(): dec_png.c'],['../enc__png_8c.html#a51736c0c137626d13b71ea12021c10f3',1,'png_stream(): enc_png.c']]] ]; diff --git a/search/variables_0.js b/search/variables_0.js index 2d687990..94b51db0 100644 --- a/search/variables_0.js +++ b/search/variables_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['bmap_324',['bmap',['../grib2_8h.html#aeedbfa7bd7399aaed4554245d182b369',1,'gribfield']]] + ['abbrev_734',['abbrev',['../grib2__int_8h.html#aa2773b08dd14877f37a450421796fe45',1,'g2c_param']]] ]; diff --git a/search/variables_1.js b/search/variables_1.js index 639611b9..25eed8d3 100644 --- a/search/variables_1.js +++ b/search/variables_1.js @@ -1,4 +1,10 @@ var searchData= [ - ['coord_5flist_325',['coord_list',['../grib2_8h.html#a2c1e929174fda138d1e5214e0286b7a5',1,'gribfield']]] + ['bmap_735',['bmap',['../grib2_8h.html#aeedbfa7bd7399aaed4554245d182b369',1,'gribfield']]], + ['bytes_5fin_5fmsg_736',['bytes_in_msg',['../grib2__int_8h.html#a7eccf6cd6fa0f202a1c71c5af338d227',1,'g2c_message_info']]], + ['bytes_5fto_5fbms_737',['bytes_to_bms',['../grib2__int_8h.html#ae8a6efe20a158c6aa8ff026e13b1780f',1,'g2c_message_info']]], + ['bytes_5fto_5fdata_738',['bytes_to_data',['../grib2__int_8h.html#a62eb31cd21e5c37b6378a052eecd67bc',1,'g2c_message_info']]], + ['bytes_5fto_5flocal_739',['bytes_to_local',['../grib2__int_8h.html#a06da9ee061feffa47c552b808166dd6b',1,'g2c_message_info']]], + ['bytes_5fto_5fmsg_740',['bytes_to_msg',['../grib2__int_8h.html#af149feb9c6a24df42c987bbadb5d2c18',1,'g2c_message_info']]], + ['bytes_5fto_5fsec_741',['bytes_to_sec',['../grib2__int_8h.html#aab2569498daaf959c3836f15ee38276d',1,'g2c_section_info']]] ]; diff --git a/search/variables_10.html b/search/variables_10.html new file mode 100644 index 00000000..dc9920b6 --- /dev/null +++ b/search/variables_10.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/variables_10.js b/search/variables_10.js new file mode 100644 index 00000000..dc0735d4 --- /dev/null +++ b/search/variables_10.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['unpacked_835',['unpacked',['../grib2_8h.html#a79acbc94d3f1a0299369b95dae0f5a47',1,'gribfield']]] +]; diff --git a/search/variables_11.html b/search/variables_11.html new file mode 100644 index 00000000..704bcb18 --- /dev/null +++ b/search/variables_11.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/variables_11.js b/search/variables_11.js new file mode 100644 index 00000000..51feb54c --- /dev/null +++ b/search/variables_11.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['value_836',['value',['../grib2__int_8h.html#a9795d38c518857794dee05363ea27997',1,'g2c_dim_info']]], + ['version_837',['version',['../grib2_8h.html#ac1a18226d7790431bad8b065f85befa5',1,'gribfield']]] +]; diff --git a/search/variables_12.html b/search/variables_12.html new file mode 100644 index 00000000..a3a32eb8 --- /dev/null +++ b/search/variables_12.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/variables_12.js b/search/variables_12.js new file mode 100644 index 00000000..03e2b2e6 --- /dev/null +++ b/search/variables_12.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['year_838',['year',['../grib2__int_8h.html#aa656185846e3574abd79f57b1ee3d899',1,'g2c_message_info']]] +]; diff --git a/search/variables_2.js b/search/variables_2.js index 81fb2858..0bdfde8a 100644 --- a/search/variables_2.js +++ b/search/variables_2.js @@ -1,4 +1,5 @@ var searchData= [ - ['discipline_326',['discipline',['../grib2_8h.html#a4af2c3dfeb1cba7be35cd63ea9c51574',1,'gribfield']]] + ['center_742',['center',['../grib2__int_8h.html#afca06e92d8dcf3c8f1172f3414ab870a',1,'g2c_message_info']]], + ['coord_5flist_743',['coord_list',['../grib2_8h.html#a967c330a784570751d24078576317278',1,'gribfield']]] ]; diff --git a/search/variables_3.js b/search/variables_3.js index 9d642c1b..0361f921 100644 --- a/search/variables_3.js +++ b/search/variables_3.js @@ -1,6 +1,9 @@ var searchData= [ - ['expanded_327',['expanded',['../grib2_8h.html#ae5b5e6f9849720b476555b4b32096f20',1,'gribfield']]], - ['ext_328',['ext',['../grib2__int_8h.html#a312a417c8e6f68bea7bfe86268c16594',1,'gtemplate']]], - ['extlen_329',['extlen',['../grib2__int_8h.html#a743151a1bde2a21603926e1541baa5de',1,'gtemplate']]] + ['data_5fdef_744',['data_def',['../grib2__int_8h.html#aeb41d96ee4ff703298807472e6d73ba5',1,'g2c_section5_info']]], + ['day_745',['day',['../grib2__int_8h.html#abecb87ff997d6d0f929ba1a770f0621b',1,'g2c_message_info']]], + ['dim_746',['dim',['../grib2__int_8h.html#a242577f5fe354b2dd763690ba085ec4c',1,'g2c_section3_info']]], + ['dimid_747',['dimid',['../grib2__int_8h.html#abd1ec3c7391edfa6899ccf4e45b7e52e',1,'g2c_dim_info']]], + ['discipline_748',['discipline',['../grib2__int_8h.html#a6ae662fc009939e70b82141e1671a0bb',1,'g2c_message_info::discipline()'],['../grib2_8h.html#a4af2c3dfeb1cba7be35cd63ea9c51574',1,'gribfield::discipline()']]], + ['doc_749',['doc',['../g2cxml_8c.html#acb7e0779c02127031b073502aca38a8c',1,'g2cxml.c']]] ]; diff --git a/search/variables_4.js b/search/variables_4.js index c9dad677..1d786ff3 100644 --- a/search/variables_4.js +++ b/search/variables_4.js @@ -1,4 +1,6 @@ var searchData= [ - ['fld_330',['fld',['../grib2_8h.html#ade69d8c093b2aa18c720c833def6198f',1,'gribfield']]] + ['expanded_750',['expanded',['../grib2_8h.html#ae5b5e6f9849720b476555b4b32096f20',1,'gribfield']]], + ['ext_751',['ext',['../grib2__int_8h.html#a312a417c8e6f68bea7bfe86268c16594',1,'gtemplate']]], + ['extlen_752',['extlen',['../grib2__int_8h.html#a743151a1bde2a21603926e1541baa5de',1,'gtemplate']]] ]; diff --git a/search/variables_5.js b/search/variables_5.js index a90393f8..f2b1606d 100644 --- a/search/variables_5.js +++ b/search/variables_5.js @@ -1,4 +1,6 @@ var searchData= [ - ['griddef_331',['griddef',['../grib2_8h.html#a3fcb1e8bf12cf5921c2993f0460d8138',1,'gribfield']]] + ['f_753',['f',['../grib2__int_8h.html#ac1966f1beac4c32fd406abb7272108f5',1,'g2c_file_info']]], + ['file_754',['file',['../grib2__int_8h.html#afef2b1103683c1aa3333fa7d5a83db01',1,'g2c_message_info']]], + ['fld_755',['fld',['../grib2_8h.html#ad98aa9cc23b61713ef77a84772688427',1,'gribfield']]] ]; diff --git a/search/variables_6.js b/search/variables_6.js index f23b9fb1..6a4c97f6 100644 --- a/search/variables_6.js +++ b/search/variables_6.js @@ -1,17 +1,14 @@ var searchData= [ - ['ibmap_332',['ibmap',['../grib2_8h.html#a10a46b6a25d615784dced13e914d0726',1,'gribfield']]], - ['idrtlen_333',['idrtlen',['../grib2_8h.html#a63afadbf31fb6307011a983afbf9a5bc',1,'gribfield']]], - ['idrtmpl_334',['idrtmpl',['../grib2_8h.html#aadea4d0f1c3d8f4a40087f3b20ddf457',1,'gribfield']]], - ['idrtnum_335',['idrtnum',['../grib2_8h.html#a9e82319d51b43e564aa3b5199cb9f15f',1,'gribfield']]], - ['idsect_336',['idsect',['../grib2_8h.html#ad81615f4a659f2454762301e0e810793',1,'gribfield']]], - ['idsectlen_337',['idsectlen',['../grib2_8h.html#a8b46586925aaf77c69f38ad7bc72b826',1,'gribfield']]], - ['ifldnum_338',['ifldnum',['../grib2_8h.html#a2a4eaa3208d40466f647ae53a4b19454',1,'gribfield']]], - ['igdtlen_339',['igdtlen',['../grib2_8h.html#ae8f44c108ad9fd344937abc845511e2e',1,'gribfield']]], - ['igdtmpl_340',['igdtmpl',['../grib2_8h.html#a9c94d15723e5a2d175d96f8c6fa2fd53',1,'gribfield']]], - ['igdtnum_341',['igdtnum',['../grib2_8h.html#a065d206f38d552c49af642e3cf6056b3',1,'gribfield']]], - ['interp_5fopt_342',['interp_opt',['../grib2_8h.html#a1ddf29fe5e55bee98b5d5990d674a940',1,'gribfield']]], - ['ipdtlen_343',['ipdtlen',['../grib2_8h.html#a8bf35419f98181f5550a3fee8c4a201e',1,'gribfield']]], - ['ipdtmpl_344',['ipdtmpl',['../grib2_8h.html#a49b9e8c090596e02abc193b1974b8022',1,'gribfield']]], - ['ipdtnum_345',['ipdtnum',['../grib2_8h.html#a44eee21c0fddc82fb5829f8b56675911',1,'gribfield']]] + ['g1num_756',['g1num',['../grib2__int_8h.html#a2e0aefa5b3b3c702b0f5f6dc8fc0401a',1,'g2c_param']]], + ['g1ver_757',['g1ver',['../grib2__int_8h.html#a1ea94395773c5ecf1257cd01bf033a26',1,'g2c_param']]], + ['g2c_5ffile_758',['g2c_file',['../g2cdegrib2_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d',1,'g2c_file(): g2cfile.c'],['../g2cutil_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d',1,'g2c_file(): g2cfile.c'],['../g2cprod_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d',1,'g2c_file(): g2cfile.c'],['../g2cinq_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d',1,'g2c_file(): g2cfile.c'],['../g2cindex_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d',1,'g2c_file(): g2cfile.c'],['../g2cfile_8c.html#a87fb1062e1c14b9b21b83b2d87f1656d',1,'g2c_file(): g2cfile.c'],['../g2ccompare_8c.html#a074a9283d6ed7957967f08c981a93e77',1,'g2c_file(): g2cfile.c']]], + ['g2c_5fnext_5fg2cid_759',['g2c_next_g2cid',['../g2cfile_8c.html#afd7e03b89e0711bca4a47eb59926a4c4',1,'g2cfile.c']]], + ['g2c_5ftable_760',['g2c_table',['../g2cdegrib2_8c.html#afac4cc2cc30baa5dba0f5512c91e5a70',1,'g2c_table(): g2cxml.c'],['../g2cutil_8c.html#afac4cc2cc30baa5dba0f5512c91e5a70',1,'g2c_table(): g2cxml.c'],['../g2cxml_8c.html#afac4cc2cc30baa5dba0f5512c91e5a70',1,'g2c_table(): g2cxml.c']]], + ['g2cat_761',['g2cat',['../grib2__int_8h.html#a668dee231d7aa73fcb36e6ecc41badc1',1,'g2c_param']]], + ['g2cid_762',['g2cid',['../grib2__int_8h.html#a6c2582f1e1d3c5e49df28497d9264fcd',1,'g2c_file_info']]], + ['g2disc_763',['g2disc',['../grib2__int_8h.html#ad610f3bb919c70bcb7ad8593804c3b65',1,'g2c_param']]], + ['g2num_764',['g2num',['../grib2__int_8h.html#af79b19aedb2a36aedcef7a85f42502c6',1,'g2c_param']]], + ['grid_5fdef_765',['grid_def',['../grib2__int_8h.html#a49ce0f513e7723400907f777946fc6c4',1,'g2c_section3_info']]], + ['griddef_766',['griddef',['../grib2_8h.html#a3fcb1e8bf12cf5921c2993f0460d8138',1,'gribfield']]] ]; diff --git a/search/variables_7.js b/search/variables_7.js index ca5adda8..d6d7522b 100644 --- a/search/variables_7.js +++ b/search/variables_7.js @@ -1,6 +1,4 @@ var searchData= [ - ['list_5fopt_346',['list_opt',['../grib2_8h.html#ab50dde08eec9a69f5d063a25e863897d',1,'gribfield']]], - ['local_347',['local',['../grib2_8h.html#ae1772f6e7ca41ab7ff0b5eb9ad0980c1',1,'gribfield']]], - ['locallen_348',['locallen',['../grib2_8h.html#a0e2cadad47b161868b97e60f00409982',1,'gribfield']]] + ['hour_767',['hour',['../grib2__int_8h.html#a4bca22c62bed41329e62bea27ee745b3',1,'g2c_message_info']]] ]; diff --git a/search/variables_8.js b/search/variables_8.js index 5ec9fa94..e9e79a49 100644 --- a/search/variables_8.js +++ b/search/variables_8.js @@ -1,5 +1,19 @@ var searchData= [ - ['map_349',['map',['../grib2__int_8h.html#a88e12020d460546cafcef9c445c3df20',1,'gtemplate']]], - ['maplen_350',['maplen',['../grib2__int_8h.html#aea3cb225770444c7e40855ee401a5b29',1,'gtemplate']]] + ['ibmap_768',['ibmap',['../grib2_8h.html#a10a46b6a25d615784dced13e914d0726',1,'gribfield']]], + ['idrtlen_769',['idrtlen',['../grib2_8h.html#a63afadbf31fb6307011a983afbf9a5bc',1,'gribfield']]], + ['idrtmpl_770',['idrtmpl',['../grib2_8h.html#aadea4d0f1c3d8f4a40087f3b20ddf457',1,'gribfield']]], + ['idrtnum_771',['idrtnum',['../grib2_8h.html#a9e82319d51b43e564aa3b5199cb9f15f',1,'gribfield']]], + ['idsect_772',['idsect',['../grib2_8h.html#ad81615f4a659f2454762301e0e810793',1,'gribfield']]], + ['idsectlen_773',['idsectlen',['../grib2_8h.html#a8b46586925aaf77c69f38ad7bc72b826',1,'gribfield']]], + ['ifldnum_774',['ifldnum',['../grib2_8h.html#a2a4eaa3208d40466f647ae53a4b19454',1,'gribfield']]], + ['igdtlen_775',['igdtlen',['../grib2_8h.html#ae8f44c108ad9fd344937abc845511e2e',1,'gribfield']]], + ['igdtmpl_776',['igdtmpl',['../grib2_8h.html#a9c94d15723e5a2d175d96f8c6fa2fd53',1,'gribfield']]], + ['igdtnum_777',['igdtnum',['../grib2_8h.html#a065d206f38d552c49af642e3cf6056b3',1,'gribfield']]], + ['indicator_778',['indicator',['../grib2__int_8h.html#a9974cef2b24b092ce879c1f65c6ed88c',1,'g2c_section6_info']]], + ['interp_5flist_779',['interp_list',['../grib2__int_8h.html#a761fd11af0a8e1d3b9eb147edb653b0b',1,'g2c_section3_info']]], + ['interp_5fopt_780',['interp_opt',['../grib2_8h.html#a1ddf29fe5e55bee98b5d5990d674a940',1,'gribfield']]], + ['ipdtlen_781',['ipdtlen',['../grib2_8h.html#a8bf35419f98181f5550a3fee8c4a201e',1,'gribfield']]], + ['ipdtmpl_782',['ipdtmpl',['../grib2_8h.html#a49b9e8c090596e02abc193b1974b8022',1,'gribfield']]], + ['ipdtnum_783',['ipdtnum',['../grib2_8h.html#a44eee21c0fddc82fb5829f8b56675911',1,'gribfield']]] ]; diff --git a/search/variables_9.js b/search/variables_9.js index 143b27a7..bd6b4704 100644 --- a/search/variables_9.js +++ b/search/variables_9.js @@ -1,10 +1,8 @@ var searchData= [ - ['ndpts_351',['ndpts',['../grib2_8h.html#aa97ba6b54e9c91fb231708048d54156c',1,'gribfield']]], - ['needext_352',['needext',['../grib2__int_8h.html#a8e1ecd4e873a86a10a76d264c55ae7bf',1,'gtemplate']]], - ['ngrdpts_353',['ngrdpts',['../grib2_8h.html#a1fd25a21842b45215676696fcddb2a09',1,'gribfield']]], - ['num_354',['num',['../grib2__int_8h.html#a973b6764b40aed427d419046b63d75b3',1,'gtemplate']]], - ['num_5fcoord_355',['num_coord',['../grib2_8h.html#aded2ca1c14ca96b2bdc7138945a2f4ce',1,'gribfield']]], - ['num_5fopt_356',['num_opt',['../grib2_8h.html#ae6ac361f230f89a9461e260d72c1d60b',1,'gribfield']]], - ['numoct_5fopt_357',['numoct_opt',['../grib2_8h.html#a4f9284ebe7fabba1cc092fbea1a5b7e0',1,'gribfield']]] + ['len_784',['len',['../grib2__int_8h.html#a1ff7f8239d6d580d53d1857b05842eda',1,'g2c_dim_info']]], + ['list_5fopt_785',['list_opt',['../grib2_8h.html#ab50dde08eec9a69f5d063a25e863897d',1,'gribfield']]], + ['local_786',['local',['../grib2_8h.html#ae1772f6e7ca41ab7ff0b5eb9ad0980c1',1,'gribfield']]], + ['local_5fversion_787',['local_version',['../grib2__int_8h.html#acaf5f4deaef680af27ba1b626a4a7acc',1,'g2c_message_info']]], + ['locallen_788',['locallen',['../grib2_8h.html#a0e2cadad47b161868b97e60f00409982',1,'gribfield']]] ]; diff --git a/search/variables_a.js b/search/variables_a.js index 65971db5..5bd8c386 100644 --- a/search/variables_a.js +++ b/search/variables_a.js @@ -1,7 +1,10 @@ var searchData= [ - ['templatesdrs_358',['templatesdrs',['../drstemplates_8c.html#a08f7c019317d1e6235a863ee8ce6e9e2',1,'drstemplates.c']]], - ['templatesgrid_359',['templatesgrid',['../gridtemplates_8c.html#af8316127b8fcf96fb4d3ab2c5411cde9',1,'gridtemplates.c']]], - ['templatespds_360',['templatespds',['../pdstemplates_8c.html#a87d5723cb60a9b598bc574cd31673a26',1,'pdstemplates.c']]], - ['type_361',['type',['../grib2__int_8h.html#ad28b4af0030473208605c2cf2c5e3f36',1,'gtemplate']]] + ['map_789',['map',['../grib2__int_8h.html#a88e12020d460546cafcef9c445c3df20',1,'gtemplate']]], + ['maplen_790',['maplen',['../grib2__int_8h.html#aea3cb225770444c7e40855ee401a5b29',1,'gtemplate']]], + ['master_5fversion_791',['master_version',['../grib2__int_8h.html#a269f23c98537183178c3ebc9f6d915fd',1,'g2c_message_info']]], + ['minute_792',['minute',['../grib2__int_8h.html#a5815202ac6ed7cb3e380093dd6602262',1,'g2c_message_info']]], + ['month_793',['month',['../grib2__int_8h.html#adcef6b4e7c590e2a2fc37308d1c7d96a',1,'g2c_message_info']]], + ['msg_794',['msg',['../grib2__int_8h.html#afa38d80d5790033707db560070c8b0a3',1,'g2c_section_info::msg()'],['../grib2__int_8h.html#ab6826be68665930ed928662d56c671e3',1,'g2c_file_info::msg()']]], + ['msg_5fnum_795',['msg_num',['../grib2__int_8h.html#ae400e26b01043c449c39de9cf6629c88',1,'g2c_message_info']]] ]; diff --git a/search/variables_b.js b/search/variables_b.js index e1a12f3d..c216b562 100644 --- a/search/variables_b.js +++ b/search/variables_b.js @@ -1,4 +1,17 @@ var searchData= [ - ['unpacked_362',['unpacked',['../grib2_8h.html#a79acbc94d3f1a0299369b95dae0f5a47',1,'gribfield']]] + ['name_796',['name',['../grib2__int_8h.html#a72cb1219a1d21a7261b3ff4f6e6ea1c1',1,'g2c_dim_info']]], + ['ndpts_797',['ndpts',['../grib2_8h.html#aa97ba6b54e9c91fb231708048d54156c',1,'gribfield']]], + ['needext_798',['needext',['../grib2__int_8h.html#a8e1ecd4e873a86a10a76d264c55ae7bf',1,'gtemplate']]], + ['next_799',['next',['../grib2__int_8h.html#af9828d4b2656003825bd4aa83dc14d26',1,'g2c_message_info::next()'],['../grib2__int_8h.html#a1c00621e95d7abedb7b7d929cfb2f34a',1,'g2c_section_info::next()']]], + ['ngrdpts_800',['ngrdpts',['../grib2_8h.html#a1fd25a21842b45215676696fcddb2a09',1,'gribfield']]], + ['num_801',['num',['../grib2__int_8h.html#a973b6764b40aed427d419046b63d75b3',1,'gtemplate']]], + ['num_5fcoord_802',['num_coord',['../grib2__int_8h.html#a5c5c17ef34f6f6401cf4ebd9a3fbf9b0',1,'g2c_section4_info::num_coord()'],['../grib2_8h.html#aded2ca1c14ca96b2bdc7138945a2f4ce',1,'gribfield::num_coord()']]], + ['num_5fdata_5fpoints_803',['num_data_points',['../grib2__int_8h.html#a5916fc7041e507c7cfc797ef73699471',1,'g2c_section3_info::num_data_points()'],['../grib2__int_8h.html#a901fe0745e77a8f83cc94e45343c2128',1,'g2c_section5_info::num_data_points()']]], + ['num_5ffields_804',['num_fields',['../grib2__int_8h.html#a85954382df1adfd1066de85f7d790ad7',1,'g2c_message_info']]], + ['num_5flocal_805',['num_local',['../grib2__int_8h.html#a6239752e3aa457d9dce277385ca3e75b',1,'g2c_message_info']]], + ['num_5fmessages_806',['num_messages',['../grib2__int_8h.html#a5bb4a632dcaa3398c4557cfe52a81e35',1,'g2c_file_info']]], + ['num_5fopt_807',['num_opt',['../grib2__int_8h.html#a646e4d619d5326e4168cfd9ea8890c01',1,'g2c_section3_info::num_opt()'],['../grib2_8h.html#ae6ac361f230f89a9461e260d72c1d60b',1,'gribfield::num_opt()']]], + ['num_5fsections_808',['num_sections',['../grib2__int_8h.html#a54bcbb8dd191ef325627323bff87ff42',1,'g2c_message_info']]], + ['numoct_5fopt_809',['numoct_opt',['../grib2_8h.html#a4f9284ebe7fabba1cc092fbea1a5b7e0',1,'gribfield']]] ]; diff --git a/search/variables_c.js b/search/variables_c.js index 5dde2cb0..59fec072 100644 --- a/search/variables_c.js +++ b/search/variables_c.js @@ -1,4 +1,4 @@ var searchData= [ - ['version_363',['version',['../grib2_8h.html#ac1a18226d7790431bad8b065f85befa5',1,'gribfield']]] + ['optional_810',['optional',['../grib2__int_8h.html#afeb55ec4eed62df0c9e34f2e8f9f0120',1,'g2c_section3_info::optional()'],['../grib2__int_8h.html#a69a46b58c28c0102b219f9310ff12b85',1,'g2c_section4_info::optional()']]] ]; diff --git a/search/variables_d.html b/search/variables_d.html new file mode 100644 index 00000000..f61ae751 --- /dev/null +++ b/search/variables_d.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/variables_d.js b/search/variables_d.js new file mode 100644 index 00000000..70d73101 --- /dev/null +++ b/search/variables_d.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['param_811',['param',['../g2cparams_8c.html#aa2bbc1dd9622de3e0620c3185472bd89',1,'g2cparams.c']]], + ['path_812',['path',['../grib2__int_8h.html#a3101792b0b015bbb7860f85eb73bbd97',1,'g2c_file_info']]], + ['prev_813',['prev',['../grib2__int_8h.html#a7f81c8fcd129ef70ad65140d6161668a',1,'g2c_section_info']]], + ['prod_5fdef_814',['prod_def',['../grib2__int_8h.html#affe809d466e10244055a71487aaa43cb',1,'g2c_section4_info']]] +]; diff --git a/search/variables_e.html b/search/variables_e.html new file mode 100644 index 00000000..7bfd3721 --- /dev/null +++ b/search/variables_e.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/variables_e.js b/search/variables_e.js new file mode 100644 index 00000000..ec9119aa --- /dev/null +++ b/search/variables_e.js @@ -0,0 +1,17 @@ +var searchData= +[ + ['sec_815',['sec',['../grib2__int_8h.html#a1dff2889177040680db6291b350c9d1c',1,'g2c_message_info']]], + ['sec1_5flen_816',['sec1_len',['../grib2__int_8h.html#af33ecc99c8b4f4240c69a380b73774f4',1,'g2c_message_info']]], + ['sec_5fid_817',['sec_id',['../grib2__int_8h.html#a2320bf6fe88358a510c67d695395d94d',1,'g2c_section_info']]], + ['sec_5finfo_818',['sec_info',['../grib2__int_8h.html#a9736c199befb7d6cdc3cc771d5e5fd9c',1,'g2c_section_info']]], + ['sec_5flen_819',['sec_len',['../grib2__int_8h.html#a9adc2635c9c81b265f32cbce68b1b474',1,'g2c_section_info']]], + ['sec_5fnum_820',['sec_num',['../grib2__int_8h.html#a8c079c93f9e85a2c75bd3fb5060fd907',1,'g2c_section_info']]], + ['second_821',['second',['../grib2__int_8h.html#abc902f5b888b64b5004b189d25550c99',1,'g2c_message_info']]], + ['section1_822',['section1',['../grib2__int_8h.html#ad1948cfc6aa884bfd9e1312056f5ad08',1,'g2c_message_info']]], + ['section_5fnumber_823',['section_number',['../grib2__int_8h.html#a47b9c7dead0ce3a30ed49cbefe630be9',1,'g2c_message_info']]], + ['section_5foffset_824',['section_offset',['../grib2__int_8h.html#a45620124942dba0d67515b08299a4c43',1,'g2c_message_info']]], + ['sig_5fref_5ftime_825',['sig_ref_time',['../grib2__int_8h.html#a626f386b445c0d2910d680559621c194',1,'g2c_message_info']]], + ['source_5fgrid_5fdef_826',['source_grid_def',['../grib2__int_8h.html#ac5089b3aa084e111dcf76fe148d4cadc',1,'g2c_section3_info']]], + ['status_827',['status',['../grib2__int_8h.html#aab42481c672ffe6236cda6027d174a61',1,'g2c_message_info']]], + ['subcenter_828',['subcenter',['../grib2__int_8h.html#a21a8c63eb7714bf474d25a32017b127f',1,'g2c_message_info']]] +]; diff --git a/search/variables_f.html b/search/variables_f.html new file mode 100644 index 00000000..d97920d0 --- /dev/null +++ b/search/variables_f.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/variables_f.js b/search/variables_f.js new file mode 100644 index 00000000..dee74f68 --- /dev/null +++ b/search/variables_f.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['template_829',['template',['../grib2__int_8h.html#af280c0c0846f17808aae9772a42edc19',1,'g2c_section_info']]], + ['template_5flen_830',['template_len',['../grib2__int_8h.html#ac5827e102f2aaacc0abcbc5a5aafb678',1,'g2c_section_info']]], + ['templatesdrs_831',['templatesdrs',['../drstemplates_8c.html#a091bb17f961371f8e1fbb561704c8d79',1,'drstemplates.c']]], + ['templatesgrid_832',['templatesgrid',['../gridtemplates_8c.html#a94f41c032c530c18e7d69af3f21b569c',1,'gridtemplates.c']]], + ['templatespds_833',['templatespds',['../pdstemplates_8c.html#acda47ee5416fc0feb17fc90ba7891f46',1,'pdstemplates.c']]], + ['type_834',['type',['../grib2__int_8h.html#a4632cb054d0f24d1f39f7e174bc40e28',1,'g2c_message_info::type()'],['../grib2__int_8h.html#ad28b4af0030473208605c2cf2c5e3f36',1,'gtemplate::type()']]] +]; diff --git a/seekgb_8c.html b/seekgb_8c.html index 193dab14..0311ba70 100644 --- a/seekgb_8c.html +++ b/seekgb_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: seekgb.c File Reference @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -83,14 +83,13 @@
    seekgb.c File Reference
    -

    Searches a file for the next GRIB message. +

    Search a file for the next GRIB message. More...

    #include <stdio.h>
    #include <stdlib.h>
    @@ -98,44 +97,31 @@

    Go to the source code of this file.

    - - - - -

    -Macros

    #define BITS_PER_BYTE   8
     8 bits per byte. More...
     
    - +

    Functions

    void seekgb (FILE *lugb, g2int iseek, g2int mseek, g2int *lskip, g2int *lgrib)
     This subprogram searches a file for the next GRIB Message. More...
     Search a file for the next GRIB Message. More...
     

    Detailed Description

    -

    Searches a file for the next GRIB message.

    +

    Search a file for the next GRIB message.

    Author
    Stephen Gilbert
    -
    Date
    2002-10-28
    +
    Date
    2002-10-28
    +

    +Program History Log

    + + + + + + + + + +
    Date Programmer Comments
    2002-10-28 GILBERT Modified from Iredell's skgb subroutine
    2009-01-16 VUONG Changed lskip to 4 instead of sizof(g2int)
    2022-09-11 Hartnett Added g2c_seekgb() function.

    Definition in file seekgb.c.

    -

    Macro Definition Documentation

    - -

    ◆ BITS_PER_BYTE

    - -
    -
    - - - - -
    #define BITS_PER_BYTE   8
    -
    - -

    8 bits per byte.

    - -

    Definition at line 10 of file seekgb.c.

    - -
    -
    -

    Function Documentation

    +

    Function Documentation

    ◆ seekgb()

    @@ -180,34 +166,36 @@

    -

    This subprogram searches a file for the next GRIB Message.

    +

    Search a file for the next GRIB Message.

    The search is done starting at byte offset iseek of the file referenced by lugb for mseek bytes at a time. If found, the starting position and length of the message are returned in lskip and lgrib, respectively. The search is terminated when an EOF or I/O error is encountered.

    -

    +

    Program History Log

    - + - + - +
    Date Programmer Comments
    Date Programmer Comments
    2002-10-28 GILBERT Modified from Iredell's skgb subroutine
    2002-10-28 GILBERT Modified from Iredell's skgb subroutine
    2009-01-16 VUONG Changed lskip to 4 instead of sizof(g2int)
    2009-01-16 VUONG Changed lskip to 4 instead of sizof(g2int)
    Parameters
    - - - - + + + +
    lugbFILE pointer for the file to search. File must be opened before this routine is called.
    iseeknumber of bytes in the file to skip before search.
    mseeknumber of bytes to search at a time (must be at least 16).
    lskipnumber of bytes to skip from the beggining of the file to where the GRIB message starts.
    lgribnumber of bytes in message (set to 0, if no message found).
    iseekThe number of bytes in the file to skip before search.
    mseekThe maximum number of bytes to search at a time (must be at least 16, but larger numbers like 4092 will result in better perfomance).
    lskipPointer that gets the number of bytes to skip from the beggining of the file to where the GRIB message starts.
    lgribPointer that gets the number of bytes in message (set to 0, if no message found).
    Author
    Stephen Gilbert
    Date
    2002-10-28
    -

    Definition at line 39 of file seekgb.c.

    +

    Definition at line 46 of file seekgb.c.

    + +

    References BYTE, gbit(), and LOG.

    -

    References BITS_PER_BYTE, and gbit().

    +

    Referenced by g2c_get_msg().

    @@ -217,9 +205,7 @@

    diff --git a/seekgb_8c.js b/seekgb_8c.js index c37438d8..e4e1489a 100644 --- a/seekgb_8c.js +++ b/seekgb_8c.js @@ -1,5 +1,4 @@ var seekgb_8c = [ - [ "BITS_PER_BYTE", "seekgb_8c.html#a369ecd38b3ab077fc235f892354bb46f", null ], [ "seekgb", "seekgb_8c.html#a27edb1018106a2e02743be31afc5ea0c", null ] ]; \ No newline at end of file diff --git a/seekgb_8c_source.html b/seekgb_8c_source.html index 95973d8a..1d0b4afa 100644 --- a/seekgb_8c_source.html +++ b/seekgb_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: seekgb.c Source File @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -87,84 +87,86 @@
    Go to the documentation of this file.
    1 
    -
    5 #include <stdio.h>
    -
    6 #include <stdlib.h>
    -
    7 #include "grib2_int.h"
    -
    8 
    -
    10 #define BITS_PER_BYTE 8
    -
    11 
    -
    38 void
    -
    39 seekgb(FILE *lugb, g2int iseek, g2int mseek, g2int *lskip, g2int *lgrib)
    -
    40 {
    -
    41  g2int k, k4, ipos, nread, lim, start, vers, lengrib;
    -
    42  int end;
    -
    43  unsigned char *cbuf;
    -
    44 
    -
    45  *lgrib = 0;
    -
    46  cbuf = (unsigned char *)malloc(mseek);
    -
    47  nread = mseek;
    -
    48  ipos = iseek;
    -
    49 
    -
    50  /* Loop until grib message is found. */
    -
    51  while (*lgrib == 0 && nread == mseek)
    -
    52  {
    -
    53  /* Read partial section. */
    -
    54  fseek(lugb, ipos, SEEK_SET);
    -
    55  nread = fread(cbuf, sizeof(unsigned char), mseek, lugb);
    -
    56  lim = nread - 8;
    -
    57 
    -
    58  /* Look for 'grib...' in partial section. */
    -
    59  for (k = 0; k < lim; k++)
    -
    60  {
    -
    61  /* Look at the first 4 bytes - should be 'GRIB'. */
    -
    62  gbit(cbuf, &start, k * BITS_PER_BYTE, 4 * BITS_PER_BYTE);
    -
    63 
    -
    64  /* Look at the 8th byte, it has the GRIB version. */
    -
    65  gbit(cbuf, &vers, (k + 7) * BITS_PER_BYTE, 1 * BITS_PER_BYTE);
    -
    66 
    -
    67  /* If the message starts with 'GRIB', and is version 1 or
    -
    68  * 2, then this is a GRIB message. */
    -
    69  if (start == 1196575042 && (vers == 1 || vers == 2))
    -
    70  {
    -
    71  /* Find the length of the message. */
    -
    72  if (vers == 1)
    -
    73  gbit(cbuf, &lengrib, (k + 4) * BITS_PER_BYTE, 3 * BITS_PER_BYTE);
    -
    74  if (vers == 2)
    -
    75  gbit(cbuf, &lengrib, (k + 12) * BITS_PER_BYTE, 4 * BITS_PER_BYTE);
    +
    13 #include <stdio.h>
    +
    14 #include <stdlib.h>
    +
    15 #include "grib2_int.h"
    +
    16 
    +
    45 void
    +
    46 seekgb(FILE *lugb, g2int iseek, g2int mseek, g2int *lskip, g2int *lgrib)
    +
    47 {
    +
    48  g2int k, k4, ipos, nread, lim, start, vers, lengrib;
    +
    49  int end;
    +
    50  unsigned char *cbuf;
    +
    51 
    +
    52 
    +
    53  LOG((3, "seekgb iseek %ld mseek %ld", iseek, mseek));
    +
    54 
    +
    55  *lgrib = 0;
    +
    56  cbuf = (unsigned char *)malloc(mseek);
    +
    57  nread = mseek;
    +
    58  ipos = iseek;
    +
    59 
    +
    60  /* Loop until grib message is found. */
    +
    61  while (*lgrib == 0 && nread == mseek)
    +
    62  {
    +
    63  /* Read partial section. */
    +
    64  fseek(lugb, ipos, SEEK_SET);
    +
    65  nread = fread(cbuf, sizeof(unsigned char), mseek, lugb);
    +
    66  lim = nread - 8;
    +
    67 
    +
    68  /* Look for 'grib...' in partial section. */
    +
    69  for (k = 0; k < lim; k++)
    +
    70  {
    +
    71  /* Look at the first 4 bytes - should be 'GRIB'. */
    +
    72  gbit(cbuf, &start, k * BYTE, 4 * BYTE);
    +
    73 
    +
    74  /* Look at the 8th byte, it has the GRIB version. */
    +
    75  gbit(cbuf, &vers, (k + 7) * BYTE, 1 * BYTE);
    76 
    -
    77  /* Read the last 4 bytesof the message. */
    -
    78  fseek(lugb, ipos + k + lengrib - 4, SEEK_SET);
    -
    79  k4 = fread(&end, 4, 1, lugb);
    -
    80 
    -
    81  /* Look for '7777' at end of grib message. */
    -
    82  if (k4 == 1 && end == 926365495)
    -
    83  {
    -
    84  /* GRIB message found. */
    -
    85  *lskip = ipos + k;
    -
    86  *lgrib = lengrib;
    -
    87  break;
    -
    88  }
    -
    89  }
    -
    90  }
    -
    91  ipos = ipos + lim;
    -
    92  }
    -
    93 
    -
    94  free(cbuf);
    -
    95 }
    +
    77  /* If the message starts with 'GRIB', and is version 1 or
    +
    78  * 2, then this is a GRIB message. */
    +
    79  if (start == 1196575042 && (vers == 1 || vers == 2))
    +
    80  {
    +
    81  /* Find the length of the message. */
    +
    82  if (vers == 1)
    +
    83  gbit(cbuf, &lengrib, (k + 4) * BYTE, 3 * BYTE);
    +
    84  if (vers == 2)
    +
    85  gbit(cbuf, &lengrib, (k + 12) * BYTE, 4 * BYTE);
    +
    86  LOG((4, "lengrib %ld", lengrib));
    +
    87 
    +
    88  /* Read the last 4 bytesof the message. */
    +
    89  fseek(lugb, ipos + k + lengrib - 4, SEEK_SET);
    +
    90  k4 = fread(&end, 4, 1, lugb);
    +
    91 
    +
    92  /* Look for '7777' at end of grib message. */
    +
    93  if (k4 == 1 && end == 926365495)
    +
    94  {
    +
    95  /* GRIB message found. */
    +
    96  *lskip = ipos + k;
    +
    97  *lgrib = lengrib;
    +
    98  LOG((4, "found end of message lengrib %ld", lengrib));
    +
    99  break;
    +
    100  }
    +
    101  }
    +
    102  }
    +
    103  ipos = ipos + lim;
    +
    104  }
    +
    105 
    +
    106  free(cbuf);
    +
    107 }
    +
    void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits)
    Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
    Definition: gbits.c:20
    +
    int64_t g2int
    Long integer type.
    Definition: grib2.h:31
    +
    Header file with internal function prototypes NCEPLIBS-g2c library.
    +
    #define LOG(e)
    Ignore logging to stdout.
    Definition: grib2_int.h:417
    +
    #define BYTE
    Number of bits in a byte.
    Definition: grib2_int.h:47
    +
    void seekgb(FILE *lugb, g2int iseek, g2int mseek, g2int *lskip, g2int *lgrib)
    Search a file for the next GRIB Message.
    Definition: seekgb.c:46
    -
    Header file with internal function prototypes NCEPLIBS-g2c library.
    -
    void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits)
    Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
    Definition: gbits.c:20
    -
    int64_t g2int
    Long integer type.
    Definition: grib2.h:28
    -
    void seekgb(FILE *lugb, g2int iseek, g2int mseek, g2int *lskip, g2int *lgrib)
    This subprogram searches a file for the next GRIB Message.
    Definition: seekgb.c:39
    -
    #define BITS_PER_BYTE
    8 bits per byte.
    Definition: seekgb.c:10
    diff --git a/simpack_8c.html b/simpack_8c.html index 5531a749..b2ce2157 100644 --- a/simpack_8c.html +++ b/simpack_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: simpack.c File Reference @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -178,7 +178,7 @@

    Definition at line 34 of file simpack.c.

    -

    References ALOG2, int_power(), mkieee(), sbit(), and sbits().

    +

    References ALOG2, int_power(), LOG, mkieee(), sbit(), and sbits().

    Referenced by g2_addfield(), and specpack().

    @@ -190,9 +190,7 @@

    diff --git a/simpack_8c_source.html b/simpack_8c_source.html index 33516446..a1b2376b 100644 --- a/simpack_8c_source.html +++ b/simpack_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: simpack.c Source File @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -92,7 +92,7 @@
    8 #include "grib2_int.h"
    9 
    33 void
    -
    34 simpack(float *fld, g2int ndpts, g2int *idrstmpl,
    +
    34 simpack(float *fld, g2int ndpts, g2int *idrstmpl,
    35  unsigned char *cpack, g2int *lcpack)
    36 {
    37  static g2int zero = 0;
    @@ -102,125 +102,126 @@
    41  double maxnum;
    42  static float alog2 = ALOG2; /* ln(2.0) */
    43 
    -
    44  bscale = int_power(2.0, -idrstmpl[1]);
    -
    45  dscale = int_power(10.0, idrstmpl[2]);
    -
    46  if (idrstmpl[3] <= 0 || idrstmpl[3] > 31)
    -
    47  nbits = 0;
    -
    48  else
    -
    49  nbits = idrstmpl[3];
    -
    50 
    -
    51  /* Find max and min values in the data. */
    -
    52  rmax = fld[0];
    -
    53  rmin = fld[0];
    -
    54  for (j = 1; j < ndpts; j++) {
    -
    55  if (fld[j] > rmax)
    -
    56  rmax = fld[j];
    -
    57  if (fld[j] < rmin)
    -
    58  rmin = fld[j];
    -
    59  }
    -
    60 
    -
    61  ifld = calloc(ndpts, sizeof(g2int));
    +
    44  LOG((3, "simpack ndpts %ld", ndpts));
    +
    45 
    +
    46  bscale = int_power(2.0, -idrstmpl[1]);
    +
    47  dscale = int_power(10.0, idrstmpl[2]);
    +
    48  if (idrstmpl[3] <= 0 || idrstmpl[3] > 31)
    +
    49  nbits = 0;
    +
    50  else
    +
    51  nbits = idrstmpl[3];
    +
    52 
    +
    53  /* Find max and min values in the data. */
    +
    54  rmax = fld[0];
    +
    55  rmin = fld[0];
    +
    56  for (j = 1; j < ndpts; j++) {
    +
    57  if (fld[j] > rmax)
    +
    58  rmax = fld[j];
    +
    59  if (fld[j] < rmin)
    +
    60  rmin = fld[j];
    +
    61  }
    62 
    -
    63  /* If max and min values are not equal, pack up field. If they are
    -
    64  * equal, we have a constant field, and the reference value (rmin)
    -
    65  * is the value for each point in the field and set nbits to 0. */
    -
    66  if (rmin != rmax) {
    -
    67 
    -
    68  /* Determine which algorithm to use based on user-supplied
    -
    69  * binary scale factor and number of bits. */
    -
    70  if (nbits == 0 && idrstmpl[1] == 0) {
    -
    71 
    -
    72  /* No binary scaling and calculate minumum number of bits
    -
    73  * in which the data will fit. */
    -
    74  imin = (g2int)rint(rmin * dscale);
    -
    75  imax = (g2int)rint(rmax * dscale);
    -
    76  maxdif = imax - imin;
    -
    77  temp = log((double)(maxdif + 1)) / alog2;
    -
    78  nbits = (g2int)ceil(temp);
    -
    79  rmin = (float)imin;
    -
    80  /* scale data */
    -
    81  for(j = 0; j < ndpts; j++)
    -
    82  ifld[j] = (g2int)rint(fld[j] * dscale) - imin;
    -
    83  }
    -
    84  else if (nbits != 0 && idrstmpl[1] == 0) {
    -
    85 
    -
    86  /* Use minimum number of bits specified by user and adjust
    -
    87  * binary scaling factor to accomodate data. */
    -
    88  rmin = rmin * dscale;
    -
    89  rmax = rmax * dscale;
    -
    90  maxnum = int_power(2.0, nbits) - 1;
    -
    91  temp = log(maxnum / (rmax - rmin)) / alog2;
    -
    92  idrstmpl[1] = (g2int)ceil(-1.0 * temp);
    -
    93  bscale = int_power(2.0, -idrstmpl[1]);
    -
    94  /* scale data */
    -
    95  for (j = 0; j < ndpts; j++)
    -
    96  ifld[j] = (g2int)rint(((fld[j] * dscale) - rmin) * bscale);
    -
    97  }
    -
    98  else if (nbits == 0 && idrstmpl[1] != 0) {
    -
    99 
    -
    100  /* Use binary scaling factor and calculate minumum number
    -
    101  * of bits in which the data will fit. */
    -
    102  rmin = rmin * dscale;
    -
    103  rmax = rmax * dscale;
    -
    104  maxdif = (g2int)rint((rmax - rmin) * bscale);
    -
    105  temp = log((double)(maxdif + 1)) / alog2;
    -
    106  nbits = (g2int)ceil(temp);
    -
    107  /* scale data */
    -
    108  for (j = 0; j < ndpts; j++)
    -
    109  ifld[j] = (g2int)rint(((fld[j] * dscale) - rmin) * bscale);
    -
    110  }
    -
    111  else if (nbits != 0 && idrstmpl[1] != 0) {
    -
    112 
    -
    113  /* Use binary scaling factor and use minumum number of
    -
    114  * bits specified by user. Dangerous - may loose
    -
    115  * information if binary scale factor and nbits not set
    -
    116  * properly by user. */
    -
    117  rmin = rmin * dscale;
    -
    118  /* scale data */
    -
    119  for (j = 0; j < ndpts; j++)
    -
    120  ifld[j] = (g2int)rint(((fld[j] * dscale) - rmin) * bscale);
    -
    121  }
    -
    122 
    -
    123  /* Pack data, Pad last octet with Zeros, if necessary, and
    -
    124  * calculate the length of the packed data in bytes. */
    -
    125  sbits(cpack, ifld, 0, nbits, 0, ndpts);
    -
    126  nbittot = nbits * ndpts;
    -
    127  left = 8 - (nbittot % 8);
    -
    128  if (left != 8) {
    -
    129  sbit(cpack, &zero, nbittot, left); /* Pad with zeros to fill Octet. */
    -
    130  nbittot = nbittot + left;
    -
    131  }
    -
    132  *lcpack = nbittot / 8;
    -
    133  }
    -
    134  else {
    -
    135  nbits = 0;
    -
    136  *lcpack = 0;
    -
    137  }
    -
    138 
    -
    139  /* Fill in ref value and number of bits in Template 5.0. */
    -
    140  mkieee(&rmin, idrstmpl, 1); /* ensure reference value is IEEE format. */
    -
    141  idrstmpl[3] = nbits;
    -
    142  idrstmpl[4] = 0; /* original data were reals. */
    -
    143 
    -
    144  free(ifld);
    -
    145 }
    - - -
    double int_power(double x, g2int y)
    Function similar to C pow() power function.
    Definition: int_power.c:18
    +
    63  ifld = calloc(ndpts, sizeof(g2int));
    +
    64 
    +
    65  /* If max and min values are not equal, pack up field. If they are
    +
    66  * equal, we have a constant field, and the reference value (rmin)
    +
    67  * is the value for each point in the field and set nbits to 0. */
    +
    68  if (rmin != rmax) {
    +
    69 
    +
    70  /* Determine which algorithm to use based on user-supplied
    +
    71  * binary scale factor and number of bits. */
    +
    72  if (nbits == 0 && idrstmpl[1] == 0) {
    +
    73 
    +
    74  /* No binary scaling and calculate minumum number of bits
    +
    75  * in which the data will fit. */
    +
    76  imin = (g2int)rint(rmin * dscale);
    +
    77  imax = (g2int)rint(rmax * dscale);
    +
    78  maxdif = imax - imin;
    +
    79  temp = log((double)(maxdif + 1)) / alog2;
    +
    80  nbits = (g2int)ceil(temp);
    +
    81  rmin = (float)imin;
    +
    82  /* scale data */
    +
    83  for(j = 0; j < ndpts; j++)
    +
    84  ifld[j] = (g2int)rint(fld[j] * dscale) - imin;
    +
    85  }
    +
    86  else if (nbits != 0 && idrstmpl[1] == 0) {
    +
    87 
    +
    88  /* Use minimum number of bits specified by user and adjust
    +
    89  * binary scaling factor to accomodate data. */
    +
    90  rmin = rmin * dscale;
    +
    91  rmax = rmax * dscale;
    +
    92  maxnum = int_power(2.0, nbits) - 1;
    +
    93  temp = log(maxnum / (rmax - rmin)) / alog2;
    +
    94  idrstmpl[1] = (g2int)ceil(-1.0 * temp);
    +
    95  bscale = int_power(2.0, -idrstmpl[1]);
    +
    96  /* scale data */
    +
    97  for (j = 0; j < ndpts; j++)
    +
    98  ifld[j] = (g2int)rint(((fld[j] * dscale) - rmin) * bscale);
    +
    99  }
    +
    100  else if (nbits == 0 && idrstmpl[1] != 0) {
    +
    101 
    +
    102  /* Use binary scaling factor and calculate minumum number
    +
    103  * of bits in which the data will fit. */
    +
    104  rmin = rmin * dscale;
    +
    105  rmax = rmax * dscale;
    +
    106  maxdif = (g2int)rint((rmax - rmin) * bscale);
    +
    107  temp = log((double)(maxdif + 1)) / alog2;
    +
    108  nbits = (g2int)ceil(temp);
    +
    109  /* scale data */
    +
    110  for (j = 0; j < ndpts; j++)
    +
    111  ifld[j] = (g2int)rint(((fld[j] * dscale) - rmin) * bscale);
    +
    112  }
    +
    113  else if (nbits != 0 && idrstmpl[1] != 0) {
    +
    114 
    +
    115  /* Use binary scaling factor and use minumum number of
    +
    116  * bits specified by user. Dangerous - may loose
    +
    117  * information if binary scale factor and nbits not set
    +
    118  * properly by user. */
    +
    119  rmin = rmin * dscale;
    +
    120  /* scale data */
    +
    121  for (j = 0; j < ndpts; j++)
    +
    122  ifld[j] = (g2int)rint(((fld[j] * dscale) - rmin) * bscale);
    +
    123  }
    +
    124 
    +
    125  /* Pack data, Pad last octet with Zeros, if necessary, and
    +
    126  * calculate the length of the packed data in bytes. */
    +
    127  sbits(cpack, ifld, 0, nbits, 0, ndpts);
    +
    128  nbittot = nbits * ndpts;
    +
    129  left = 8 - (nbittot % 8);
    +
    130  if (left != 8) {
    +
    131  sbit(cpack, &zero, nbittot, left); /* Pad with zeros to fill Octet. */
    +
    132  nbittot = nbittot + left;
    +
    133  }
    +
    134  *lcpack = nbittot / 8;
    +
    135  }
    +
    136  else {
    +
    137  nbits = 0;
    +
    138  *lcpack = 0;
    +
    139  }
    +
    140 
    +
    141  /* Fill in ref value and number of bits in Template 5.0. */
    +
    142  mkieee(&rmin, idrstmpl, 1); /* ensure reference value is IEEE format. */
    +
    143  idrstmpl[3] = nbits;
    +
    144  idrstmpl[4] = 0; /* original data were reals. */
    +
    145 
    +
    146  free(ifld);
    +
    147 }
    +
    void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n)
    Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
    Definition: gbits.c:180
    +
    void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits)
    Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
    Definition: gbits.c:38
    +
    int64_t g2int
    Long integer type.
    Definition: grib2.h:31
    Header file with internal function prototypes NCEPLIBS-g2c library.
    -
    void sbits(unsigned char *out, g2int *in, g2int iskip, g2int nbits, g2int nskip, g2int n)
    Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
    Definition: gbits.c:114
    void mkieee(float *a, g2int *rieee, g2int num)
    This subroutine stores a list of real values in 32-bit IEEE floating point format.
    Definition: mkieee.c:22
    +
    double int_power(double x, g2int y)
    Function similar to C pow() power function.
    Definition: int_power.c:18
    +
    #define LOG(e)
    Ignore logging to stdout.
    Definition: grib2_int.h:417
    +
    #define ALOG2
    ln(2.0)
    Definition: grib2_int.h:30
    void simpack(float *fld, g2int ndpts, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
    This subroutine packs up a data field using the simple packing algorithm as defined in the GRIB2 docu...
    Definition: simpack.c:34
    -
    int64_t g2int
    Long integer type.
    Definition: grib2.h:28
    -
    #define ALOG2
    ln(2.0)
    Definition: grib2_int.h:21
    -
    void sbit(unsigned char *out, g2int *in, g2int iskip, g2int nbits)
    Store bits - put arbitrary size values into a packed bit string, taking the low order bits from each ...
    Definition: gbits.c:38
    + + diff --git a/simunpack_8c.html b/simunpack_8c.html index 72fc7d27..967e8dc0 100644 --- a/simunpack_8c.html +++ b/simunpack_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: simunpack.c File Reference @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -150,7 +150,7 @@

    cpackpointer to the packed data field. idrstmplpointer to the array of values for Data Representation Template 5.0. ndptsThe number of data values to unpack. - fldContains the unpacked data values. fld must be `* allocated with at least ndpts * sizeof(float) bytes before calling this routine. + fldA pointer that gets the unpacked data values. fld must be `* allocated with at least ndpts * sizeof(float) bytes before calling this routine. @@ -160,9 +160,9 @@

    Definition at line 26 of file simunpack.c.

    -

    References G2_JPCUNPACK_MEM, G2_NO_ERROR, gbits(), int_power(), and rdieee().

    +

    References G2_JPCUNPACK_MEM, G2_NO_ERROR, gbits(), int_power(), LOG, and rdieee().

    -

    Referenced by g2_unpack7().

    +

    Referenced by g2c_unpack7_int().

    @@ -172,9 +172,7 @@

    diff --git a/simunpack_8c_source.html b/simunpack_8c_source.html index 777294cc..608c11b4 100644 --- a/simunpack_8c_source.html +++ b/simunpack_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: simunpack.c Source File @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -92,59 +92,62 @@
    6 #include "grib2_int.h"
    7 
    25 g2int
    -
    26 simunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts,
    -
    27  float *fld)
    -
    28 {
    -
    29  g2int *ifld;
    -
    30  g2int j, nbits;
    -
    31  float ref, bscale, dscale;
    -
    32 
    -
    33  rdieee(idrstmpl, &ref, 1);
    -
    34  bscale = int_power(2.0, idrstmpl[1]);
    -
    35  dscale = int_power(10.0, -idrstmpl[2]);
    -
    36  nbits = idrstmpl[3];
    -
    37 
    -
    38  if (!(ifld = calloc(ndpts, sizeof(g2int))))
    -
    39  {
    -
    40  fprintf(stderr, "Could not allocate space in simunpack.\n "
    -
    41  "Data field NOT upacked.\n");
    -
    42  return G2_JPCUNPACK_MEM;
    -
    43  }
    -
    44 
    -
    45  /* If nbits equals 0, we have a constant field where the reference
    -
    46  * value is the data value at each gridpoint. */
    -
    47  if (nbits != 0)
    -
    48  {
    -
    49  gbits(cpack, ifld, 0, nbits, 0, ndpts);
    -
    50  for (j = 0; j < ndpts; j++)
    -
    51  fld[j] = (((float)ifld[j] * bscale) + ref) * dscale;
    -
    52  }
    -
    53  else
    -
    54  {
    -
    55  for (j = 0; j < ndpts; j++)
    -
    56  fld[j] = ref;
    -
    57  }
    -
    58 
    -
    59  free(ifld);
    -
    60  return G2_NO_ERROR;
    -
    61 }
    - - -
    #define G2_NO_ERROR
    Function succeeded.
    Definition: grib2.h:275
    -
    void rdieee(g2int *rieee, float *a, g2int num)
    This subroutine reads a list of real values in 32-bit IEEE floating point format.
    Definition: rdieee.c:21
    -
    double int_power(double x, g2int y)
    Function similar to C pow() power function.
    Definition: int_power.c:18
    +
    26 simunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, float *fld)
    +
    27 {
    +
    28  g2int *ifld;
    +
    29  g2int j, nbits;
    +
    30  float ref, bscale, dscale;
    +
    31 
    +
    32  assert(cpack && idrstmpl && fld);
    +
    33 
    +
    34  LOG((3, "simunpack ndpts %ld idrstmpl: %ld %ld %ld %ld %ld", ndpts, idrstmpl[0],
    +
    35  idrstmpl[1], idrstmpl[2], idrstmpl[3], idrstmpl[4]));
    +
    36 
    +
    37  rdieee(idrstmpl, &ref, 1);
    +
    38  bscale = int_power(2.0, idrstmpl[1]);
    +
    39  dscale = int_power(10.0, -idrstmpl[2]);
    +
    40  nbits = idrstmpl[3];
    +
    41 
    +
    42  if (!(ifld = calloc(ndpts, sizeof(g2int))))
    +
    43  {
    +
    44  fprintf(stderr, "Could not allocate space in simunpack.\n "
    +
    45  "Data field NOT upacked.\n");
    +
    46  return G2_JPCUNPACK_MEM;
    +
    47  }
    +
    48 
    +
    49  /* If nbits equals 0, we have a constant field where the reference
    +
    50  * value is the data value at each gridpoint. */
    +
    51  if (nbits != 0)
    +
    52  {
    +
    53  gbits(cpack, ifld, 0, nbits, 0, ndpts);
    +
    54  for (j = 0; j < ndpts; j++)
    +
    55  fld[j] = (((float)ifld[j] * bscale) + ref) * dscale;
    +
    56  }
    +
    57  else
    +
    58  {
    +
    59  for (j = 0; j < ndpts; j++)
    +
    60  fld[j] = ref;
    +
    61  }
    +
    62 
    +
    63  free(ifld);
    +
    64  return G2_NO_ERROR;
    +
    65 }
    +
    void gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits, g2int nskip, g2int n)
    Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
    Definition: gbits.c:57
    +
    #define G2_NO_ERROR
    Function succeeded.
    Definition: grib2.h:423
    +
    #define G2_JPCUNPACK_MEM
    In jpcunpack() or other unpack function: out of memory.
    Definition: grib2.h:468
    +
    int64_t g2int
    Long integer type.
    Definition: grib2.h:31
    Header file with internal function prototypes NCEPLIBS-g2c library.
    -
    int64_t g2int
    Long integer type.
    Definition: grib2.h:28
    +
    double int_power(double x, g2int y)
    Function similar to C pow() power function.
    Definition: int_power.c:18
    +
    #define LOG(e)
    Ignore logging to stdout.
    Definition: grib2_int.h:417
    +
    void rdieee(g2int *rieee, float *a, g2int num)
    This subroutine reads a list of real values in 32-bit IEEE floating point format.
    Definition: rdieee.c:21
    g2int simunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, float *fld)
    This subroutine unpacks a data field that was packed using a simple packing algorithm as defined in t...
    Definition: simunpack.c:26
    -
    void gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits, g2int nskip, g2int n)
    Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
    Definition: gbits.c:57
    -
    #define G2_JPCUNPACK_MEM
    In jpcunpack() or other unpack function: out of memory.
    Definition: grib2.h:320
    + + diff --git a/specpack_8c.html b/specpack_8c.html index f2e23a5f..fa6aaccd 100644 --- a/specpack_8c.html +++ b/specpack_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: specpack.c File Reference @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -204,9 +204,7 @@

    diff --git a/specpack_8c_source.html b/specpack_8c_source.html index 988d1bc0..9f1e7852 100644 --- a/specpack_8c_source.html +++ b/specpack_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: specpack.c Source File @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -93,7 +93,7 @@
    10 #include "grib2_int.h"
    11 
    32 void
    -
    33 specpack(float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM,
    +
    33 specpack(float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM,
    34  g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
    35 {
    36 
    @@ -180,20 +180,18 @@
    117 
    118  return;
    119 }
    - - -
    void specpack(float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
    This subroutine packs a spectral data field using the complex packing algorithm for spherical harmoni...
    Definition: specpack.c:33
    +
    int64_t g2int
    Long integer type.
    Definition: grib2.h:31
    Header file with internal function prototypes NCEPLIBS-g2c library.
    void mkieee(float *a, g2int *rieee, g2int num)
    This subroutine stores a list of real values in 32-bit IEEE floating point format.
    Definition: mkieee.c:22
    -
    int64_t g2int
    Long integer type.
    Definition: grib2.h:28
    void simpack(float *fld, g2int ndpts, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
    This subroutine packs up a data field using the simple packing algorithm as defined in the GRIB2 docu...
    Definition: simpack.c:34
    +
    void specpack(float *fld, g2int ndpts, g2int JJ, g2int KK, g2int MM, g2int *idrstmpl, unsigned char *cpack, g2int *lcpack)
    This subroutine packs a spectral data field using the complex packing algorithm for spherical harmoni...
    Definition: specpack.c:33
    + + diff --git a/specunpack_8c.html b/specunpack_8c.html index 47db3d96..928c25c7 100644 --- a/specunpack_8c.html +++ b/specunpack_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: specunpack.c File Reference @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -186,9 +186,9 @@

    Definition at line 35 of file specunpack.c.

    -

    References G2_NO_ERROR, G2_SPECUNPACK_TYPE, gbits(), int_power(), and rdieee().

    +

    References G2_NO_ERROR, G2_SPECUNPACK_TYPE, gbits(), int_power(), and rdieee().

    -

    Referenced by g2_unpack7().

    +

    Referenced by g2c_unpack7_int().

    @@ -198,9 +198,7 @@

    diff --git a/specunpack_8c_source.html b/specunpack_8c_source.html index 25147585..94d15774 100644 --- a/specunpack_8c_source.html +++ b/specunpack_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: specunpack.c Source File @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -93,7 +93,7 @@
    9 #include "grib2_int.h"
    10 
    34 g2int
    -
    35 specunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2int JJ,
    +
    35 specunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2int JJ,
    36  g2int KK, g2int MM, float *fld)
    37 {
    38  g2int *ifld, j, iofst, nbits;
    @@ -172,23 +172,21 @@
    111 
    112  return G2_NO_ERROR;
    113 }
    - - -
    #define G2_NO_ERROR
    Function succeeded.
    Definition: grib2.h:275
    -
    void rdieee(g2int *rieee, float *a, g2int num)
    This subroutine reads a list of real values in 32-bit IEEE floating point format.
    Definition: rdieee.c:21
    -
    double int_power(double x, g2int y)
    Function similar to C pow() power function.
    Definition: int_power.c:18
    -
    Header file with internal function prototypes NCEPLIBS-g2c library.
    -
    int64_t g2int
    Long integer type.
    Definition: grib2.h:28
    void gbits(unsigned char *in, g2int *iout, g2int iskip, g2int nbits, g2int nskip, g2int n)
    Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
    Definition: gbits.c:57
    +
    #define G2_NO_ERROR
    Function succeeded.
    Definition: grib2.h:423
    +
    #define G2_SPECUNPACK_TYPE
    In specunpack() Can't handle 64 or 128 bit floats.
    Definition: grib2.h:469
    +
    int64_t g2int
    Long integer type.
    Definition: grib2.h:31
    +
    Header file with internal function prototypes NCEPLIBS-g2c library.
    +
    double int_power(double x, g2int y)
    Function similar to C pow() power function.
    Definition: int_power.c:18
    +
    void rdieee(g2int *rieee, float *a, g2int num)
    This subroutine reads a list of real values in 32-bit IEEE floating point format.
    Definition: rdieee.c:21
    g2int specunpack(unsigned char *cpack, g2int *idrstmpl, g2int ndpts, g2int JJ, g2int KK, g2int MM, float *fld)
    This subroutine unpacks a spectral data field that was packed using the complex packing algorithm for...
    Definition: specunpack.c:35
    -
    #define G2_SPECUNPACK_TYPE
    In specunpack() Can't handle 64 or 128 bit floats.
    Definition: grib2.h:321
    + + diff --git a/util_8c.html b/util_8c.html index 09194f1b..89dc4e51 100644 --- a/util_8c.html +++ b/util_8c.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: util.c File Reference @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -154,9 +154,9 @@

    Returns
    Author
    Ed Hartnett
    @@ -164,7 +164,7 @@

    Definition at line 26 of file util.c.

    -

    References G2C_MSG_COMPLETE, G2C_NO_ERROR, G2C_NOT_GRIB, and gbit().

    +

    References G2C_EMSGCOMPLETE, G2C_ENOTGRIB, G2C_NOERROR, and gbit().

    Referenced by g2_addfield(), g2_addgrid(), g2_addlocal(), and g2_gribend().

    @@ -194,12 +194,14 @@

    Returns
    G2_NO_ERROR No error.
    +
    Returns
    G2C_NOERROR No error.
    Author
    Ed Hartnett

    Definition at line 124 of file util.c.

    -

    References G2C_NO_ERROR, and LOG.

    +

    References G2C_NOERROR, and LOG.

    + +

    Referenced by main().

    @@ -209,9 +211,7 @@

    diff --git a/util_8c_source.html b/util_8c_source.html index 44f741db..ba60b95a 100644 --- a/util_8c_source.html +++ b/util_8c_source.html @@ -3,7 +3,7 @@ - + NCEPLIBS-g2c: util.c Source File @@ -26,7 +26,7 @@
    NCEPLIBS-g2c -  1.7.0 +  1.8.0
    @@ -34,10 +34,10 @@ - + @@ -91,7 +91,7 @@
    8 #include <stdarg.h>
    9 
    25 int
    -
    26 g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose)
    +
    26 g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose)
    27 {
    28  unsigned char G = 0x47; /* 'G' */
    29  unsigned char R = 0x52; /* 'R' */
    @@ -107,7 +107,7 @@
    39  if (verbose)
    40  printf("GRIB not found in given message. A call to routine g2_create() "
    41  "is required to to initialize GRIB messge.\n");
    -
    42  return G2C_NOT_GRIB;
    +
    42  return G2C_ENOTGRIB;
    43  }
    44 
    45  /* Get current length of GRIB message. */
    @@ -119,10 +119,10 @@
    51  {
    52  if (verbose)
    53  printf("GRIB message already complete. Cannot add new section.\n");
    -
    54  return G2C_MSG_COMPLETE;
    +
    54  return G2C_EMSGCOMPLETE;
    55  }
    56 
    -
    57  return G2C_NO_ERROR;
    +
    57  return G2C_NOERROR;
    58 }
    59 
    60 #ifdef LOGGING
    @@ -176,7 +176,7 @@
    108 #endif /* LOGGING */
    109 
    123 int
    -
    124 g2c_set_log_level(int new_level)
    +
    124 g2c_set_log_level(int new_level)
    125 {
    126 #ifdef LOGGING
    127  /* Remember the new level. */
    @@ -184,26 +184,25 @@
    129 
    130  LOG((1, "log_level changed to %d", g2_log_level));
    131 #endif
    -
    132  return G2C_NO_ERROR;
    +
    132  return G2C_NOERROR;
    133 }
    - - -
    int g2c_set_log_level(int new_level)
    Use this to set the global log level.
    Definition: util.c:124
    -
    #define G2C_NO_ERROR
    No error.
    Definition: grib2.h:328
    -
    #define LOG(e)
    Ignore logging to stdout.
    Definition: grib2_int.h:138
    -
    Header file with internal function prototypes NCEPLIBS-g2c library.
    +
    134 
    void gbit(unsigned char *in, g2int *iout, g2int iskip, g2int nbits)
    Get bits - unpack bits: Extract arbitrary size values from a packed bit string, right justifying each...
    Definition: gbits.c:20
    -
    int64_t g2int
    Long integer type.
    Definition: grib2.h:28
    -
    #define G2C_MSG_COMPLETE
    GRIB message already complete.
    Definition: grib2.h:330
    +
    #define G2C_ENOTGRIB
    GRIB header not found.
    Definition: grib2.h:478
    +
    #define G2C_EMSGCOMPLETE
    GRIB message already complete.
    Definition: grib2.h:479
    +
    int64_t g2int
    Long integer type.
    Definition: grib2.h:31
    +
    #define G2C_NOERROR
    No error.
    Definition: grib2.h:476
    +
    Header file with internal function prototypes NCEPLIBS-g2c library.
    +
    #define LOG(e)
    Ignore logging to stdout.
    Definition: grib2_int.h:417
    int g2c_check_msg(unsigned char *cgrib, g2int *lencurr, int verbose)
    Check for 'GRIB' at the beginning of a GRIB message, and check to see if the message is already termi...
    Definition: util.c:26
    -
    #define G2C_NOT_GRIB
    GRIB header not found.
    Definition: grib2.h:329
    +
    int g2c_set_log_level(int new_level)
    Use this to set the global log level.
    Definition: util.c:124
    + +