<trclass="memdesc:a9d846a6d3872e4fdb991b007b7ab1301"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get a real(4) value of specified index from an array key. <ahref="#a9d846a6d3872e4fdb991b007b7ab1301">More...</a><br/></td></tr>
<trclass="memdesc:a7f8c1bc6b5c77950fe80d324c99e541a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get a real(8) value of specified index from an array key. <ahref="#a7f8c1bc6b5c77950fe80d324c99e541a">More...</a><br/></td></tr>
<trclass="memdesc:a6e52b77671af20322bd3fc72282449e3"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get the real(4) values whose indexes are stored in the array "index" from an array key. <ahref="#a6e52b77671af20322bd3fc72282449e3">More...</a><br/></td></tr>
<trclass="memdesc:ad2652d9dd45016f29721a60a5104867f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get the real(8) values whose indexes are stored in the array "index" from an array key. <ahref="#ad2652d9dd45016f29721a60a5104867f">More...</a><br/></td></tr>
<divclass="textblock"><p>Get a value of specified index from an array key. </p>
<p>Given an ID and key name as input a value corresponding to the given index is returned. The index is zero based i.e. the first element has zero index, the second element index one and so on. If the parameter index is an array all the values correspondig to the indexes list is returned. The ID references to a message loaded in memory.</p>
<p>In case of error, if the status parameter (optional) is not given, the program will exit with an error message.<br/>
Otherwise the error message can be gathered with <aclass="el"href="classeccodes.html#a835de867b8ad79cc43f127e7048712f3">codes_get_error_string</a>.</p>
<dlclass="section see"><dt>See Also</dt><dd><aclass="el"href="classeccodes.html#a5533c6fb8bd7d8f622c89484b7bbdfb6"title="Load in memory a message from a file. ">codes_new_from_file</a>, <aclass="el"href="classeccodes.html#a1c0ab28b0ae33f04d267d794a8bdd4b7"title="Free the memory for the message referred as msgid. ">codes_release</a>, <aclass="el"href="interfaceeccodes_1_1codes__get.html"title="Get the value for a key from a grib message. ">codes_get</a></dd></dl>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">id</td><td>ID of the message loaded in memory </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">key</td><td>key name </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">index</td><td>index can be a scalar or array of integer(4) </td></tr>
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">value</td><td>value can be a scalar or array of integer(4),real(4),real(8) </td></tr>
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">status</td><td>CODES_SUCCESS if OK, integer value on error </td></tr>
<p>Get a real(4) value of specified index from an array key. </p>
<p>In case of error, if the status parameter (optional) is not given, the program will exit with an error message.<br/>
Otherwise the error message can be gathered with <aclass="el"href="classeccodes.html#a835de867b8ad79cc43f127e7048712f3">codes_get_error_string</a>.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">msgid</td><td>id of the grib loaded in memory </td></tr>
<tr><tdclass="paramname">key</td><td>key name </td></tr>
<p>Get the real(4) values whose indexes are stored in the array "index" from an array key. </p>
<p>In case of error, if the status parameter (optional) is not given, the program will exit with an error message.<br/>
Otherwise the error message can be gathered with <aclass="el"href="classeccodes.html#a835de867b8ad79cc43f127e7048712f3">codes_get_error_string</a>.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">msgid</td><td>id of the grib loaded in memory </td></tr>
<tr><tdclass="paramname">key</td><td>key name </td></tr>
<p>Get a real(8) value of specified index from an array key. </p>
<p>In case of error, if the status parameter (optional) is not given, the program will exit with an error message.<br/>
Otherwise the error message can be gathered with <aclass="el"href="classeccodes.html#a835de867b8ad79cc43f127e7048712f3">codes_get_error_string</a>.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">msgid</td><td>id of the grib loaded in memory </td></tr>
<tr><tdclass="paramname">key</td><td>key name </td></tr>
<p>Get the real(8) values whose indexes are stored in the array "index" from an array key. </p>
<p>In case of error, if the status parameter (optional) is not given, the program will exit with an error message.<br/>
Otherwise the error message can be gathered with <aclass="el"href="classeccodes.html#a835de867b8ad79cc43f127e7048712f3">codes_get_error_string</a>.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">msgid</td><td>id of the grib loaded in memory </td></tr>
<tr><tdclass="paramname">key</td><td>key name </td></tr>