<aname="l00035"></a>00035 <spanclass="comment">/* turn on support for multi fields messages */</span>
<aname="l00036"></a>00036 <aname="a1"></a><aclass="code"href="group__context.html#g3266536e68ebb6d4bbc4a22b29f0e8ea"title="Turn on support for multiple fields in single grib messages.">grib_multi_support_on</a>(0);
<aname="l00037"></a>00037
<aname="l00038"></a>00038 <spanclass="comment">/* turn off support for multi fields messages */</span>
<aname="l00048"></a>00048 <spanclass="keywordflow">while</span> ((h = <aname="a2"></a><aclass="code"href="group__grib__handle.html#g5e24f8499aa7e4178ccc25a5de3145c5"title="Create a handle from a file resource.">grib_handle_new_from_file</a>(0,in,&err)) != NULL ) {
<aname="l00049"></a>00049
<aname="l00050"></a>00050 GRIB_CHECK(err,0);
<aname="l00051"></a>00051
<aname="l00052"></a>00052 GRIB_CHECK(<aname="a3"></a><aclass="code"href="group__get__set.html#g03cfa6762312face1a3cc3ef23e16526"title="Get a long value from a key, if several keys of the same name are present, the last...">grib_get_long</a>(h,<spanclass="stringliteral">"discipline"</span>,&discipline),0);
<aname="l00055"></a>00055 GRIB_CHECK(<aclass="code"href="group__get__set.html#g03cfa6762312face1a3cc3ef23e16526"title="Get a long value from a key, if several keys of the same name are present, the last...">grib_get_long</a>(h,<spanclass="stringliteral">"parameterCategory"</span>,&parameterCategory),0);
<aname="l00058"></a>00058 GRIB_CHECK(<aclass="code"href="group__get__set.html#g03cfa6762312face1a3cc3ef23e16526"title="Get a long value from a key, if several keys of the same name are present, the last...">grib_get_long</a>(h,<spanclass="stringliteral">"parameterNumber"</span>,&parameterNumber),0);
<aname="l00062"></a>00062 <spanclass="keywordflow">if</span> (parameterNumber == 2) printf(<spanclass="stringliteral">"-------- u -------\n"</span>);
<aname="l00063"></a>00063 <spanclass="keywordflow">if</span> (parameterNumber == 3) printf(<spanclass="stringliteral">"-------- v -------\n"</span>);
<aname="l00064"></a>00064 }
<aname="l00065"></a>00065 }
<aname="l00066"></a>00066
<aname="l00067"></a>00067 <aname="a4"></a><aclass="code"href="group__grib__handle.html#g0e4b2585f22247c49b930c1579257677"title="Frees a handle, also frees the message if it is not a user message.">grib_handle_delete</a>(h);