mirror of https://github.com/ecmwf/eccodes.git
678 lines
33 KiB
HTML
678 lines
33 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.5"/>
|
|
<title>eccodes: eccodes::codes_set Interface Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
|
</script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">eccodes
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.5 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="modules.html"><span>C Interface</span></a></li>
|
|
<li><a href="classeccodes.html"><span>F90 Interface</span></a></li>
|
|
<li><a href="namespaces.html"><span>Python Interface</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Pages</a></div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="classeccodes.html">eccodes</a></li><li class="navelem"><a class="el" href="interfaceeccodes_1_1codes__set.html">codes_set</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">eccodes::codes_set Interface Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Set the value for a key in a grib message.
|
|
<a href="interfaceeccodes_1_1codes__set.html#details">More...</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:ac060bb983b9e515db8ad7edd3d91ce9a"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceeccodes_1_1codes__set.html#ac060bb983b9e515db8ad7edd3d91ce9a">codes_set_int</a> (msgid, key, value, status)</td></tr>
|
|
<tr class="memdesc:ac060bb983b9e515db8ad7edd3d91ce9a"><td class="mdescLeft"> </td><td class="mdescRight">Set the integer value for a key in a message. <a href="#ac060bb983b9e515db8ad7edd3d91ce9a">More...</a><br/></td></tr>
|
|
<tr class="separator:ac060bb983b9e515db8ad7edd3d91ce9a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3c9cdc65f00b3c36742206e6e3dde864"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceeccodes_1_1codes__set.html#a3c9cdc65f00b3c36742206e6e3dde864">codes_set_long</a> (msgid, key, value, status)</td></tr>
|
|
<tr class="memdesc:a3c9cdc65f00b3c36742206e6e3dde864"><td class="mdescLeft"> </td><td class="mdescRight">Set the integer value for a key in a message. <a href="#a3c9cdc65f00b3c36742206e6e3dde864">More...</a><br/></td></tr>
|
|
<tr class="separator:a3c9cdc65f00b3c36742206e6e3dde864"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2614a1e015c16370ed18cc360a14663e"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceeccodes_1_1codes__set.html#a2614a1e015c16370ed18cc360a14663e">codes_set_real4</a> (msgid, key, value, status)</td></tr>
|
|
<tr class="memdesc:a2614a1e015c16370ed18cc360a14663e"><td class="mdescLeft"> </td><td class="mdescRight">Set the real(4) value for a key in a message. <a href="#a2614a1e015c16370ed18cc360a14663e">More...</a><br/></td></tr>
|
|
<tr class="separator:a2614a1e015c16370ed18cc360a14663e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4b20fe82de5ba6f8355ff8a5d2725b3d"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceeccodes_1_1codes__set.html#a4b20fe82de5ba6f8355ff8a5d2725b3d">codes_set_real8</a> (msgid, key, value, status)</td></tr>
|
|
<tr class="memdesc:a4b20fe82de5ba6f8355ff8a5d2725b3d"><td class="mdescLeft"> </td><td class="mdescRight">Set the real(8) value for a key in a message. <a href="#a4b20fe82de5ba6f8355ff8a5d2725b3d">More...</a><br/></td></tr>
|
|
<tr class="separator:a4b20fe82de5ba6f8355ff8a5d2725b3d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a50acfd20f8dff8b4e547135057ef119a"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceeccodes_1_1codes__set.html#a50acfd20f8dff8b4e547135057ef119a">codes_set_string</a> (msgid, key, value, status)</td></tr>
|
|
<tr class="memdesc:a50acfd20f8dff8b4e547135057ef119a"><td class="mdescLeft"> </td><td class="mdescRight">*/ <a href="#a50acfd20f8dff8b4e547135057ef119a">More...</a><br/></td></tr>
|
|
<tr class="separator:a50acfd20f8dff8b4e547135057ef119a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a18b5890c85f15d5fefeefc2b99a09ce5"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceeccodes_1_1codes__set.html#a18b5890c85f15d5fefeefc2b99a09ce5">codes_set_int_array</a> (msgid, key, value, status)</td></tr>
|
|
<tr class="memdesc:a18b5890c85f15d5fefeefc2b99a09ce5"><td class="mdescLeft"> </td><td class="mdescRight">Set the integers values for an array key in a message. <a href="#a18b5890c85f15d5fefeefc2b99a09ce5">More...</a><br/></td></tr>
|
|
<tr class="separator:a18b5890c85f15d5fefeefc2b99a09ce5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5fa893fca21268a9c12d93e9d8c664e3"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceeccodes_1_1codes__set.html#a5fa893fca21268a9c12d93e9d8c664e3">codes_set_long_array</a> (msgid, key, value, status)</td></tr>
|
|
<tr class="memdesc:a5fa893fca21268a9c12d93e9d8c664e3"><td class="mdescLeft"> </td><td class="mdescRight">Set the integers values for an array key in a message. <a href="#a5fa893fca21268a9c12d93e9d8c664e3">More...</a><br/></td></tr>
|
|
<tr class="separator:a5fa893fca21268a9c12d93e9d8c664e3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a292d71c0a7252bdfded6a38aea4284be"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceeccodes_1_1codes__set.html#a292d71c0a7252bdfded6a38aea4284be">codes_set_byte_array</a> (msgid, key, value, length, status)</td></tr>
|
|
<tr class="memdesc:a292d71c0a7252bdfded6a38aea4284be"><td class="mdescLeft"> </td><td class="mdescRight">Set the array of bytes (character) for a key in a message. <a href="#a292d71c0a7252bdfded6a38aea4284be">More...</a><br/></td></tr>
|
|
<tr class="separator:a292d71c0a7252bdfded6a38aea4284be"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aabaefc49c8d603bcf18a627dacc38f15"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceeccodes_1_1codes__set.html#aabaefc49c8d603bcf18a627dacc38f15">codes_set_real4_array</a> (msgid, key, value, status)</td></tr>
|
|
<tr class="memdesc:aabaefc49c8d603bcf18a627dacc38f15"><td class="mdescLeft"> </td><td class="mdescRight">Set the real(4) values for an array key in a message. <a href="#aabaefc49c8d603bcf18a627dacc38f15">More...</a><br/></td></tr>
|
|
<tr class="separator:aabaefc49c8d603bcf18a627dacc38f15"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a14b3bc17ea1ee83936f32dd0fced44a4"><td class="memItemLeft" align="right" valign="top">subroutine </td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceeccodes_1_1codes__set.html#a14b3bc17ea1ee83936f32dd0fced44a4">codes_set_real8_array</a> (msgid, key, value, status)</td></tr>
|
|
<tr class="memdesc:a14b3bc17ea1ee83936f32dd0fced44a4"><td class="mdescLeft"> </td><td class="mdescRight">Set the real(8) values for an array key in a message. <a href="#a14b3bc17ea1ee83936f32dd0fced44a4">More...</a><br/></td></tr>
|
|
<tr class="separator:a14b3bc17ea1ee83936f32dd0fced44a4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Set the value for a key in a grib message. </p>
|
|
<p>The given <em>value</em> is set for the <em>key</em> in the <em>gribid</em> message. In some cases the <em>value</em> can be an array rather than a scalar. As examples of array keys we have "values","pl", "pv" respectively the data values, the list of number of points for each latitude in a reduced grid and the list of vertical levels. In these cases the <em>value</em> array must be allocated by the caller and their required dimension can be obtained with <a class="el" href="interfaceeccodes_1_1codes__get__size.html">codes_get_size</a>. <br/>
|
|
The gribid references to a grib 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 <a class="el" href="classeccodes.html#a835de867b8ad79cc43f127e7048712f3">codes_get_error_string</a>.</p>
|
|
<p><b>Examples:</b> <a href="https://confluence.ecmwf.int/display/ECC/grib_set_keys" target="_blank">grib_set_keys.f90</a></p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classeccodes.html#a5533c6fb8bd7d8f622c89484b7bbdfb6" title="Load in memory a message from a file. ">codes_new_from_file</a>, <a class="el" href="classeccodes.html#a1c0ab28b0ae33f04d267d794a8bdd4b7" title="Free the memory for the message referred as msgid. ">codes_release</a>, <a class="el" href="interfaceeccodes_1_1codes__get.html" title="Get the value for a key from a grib message. ">codes_get</a></dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">gribid</td><td>id of the message loaded in memory </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">key</td><td>key name </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">value</td><td>value can be a scalar or array of integer(4),real(4),real(8) </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">status</td><td>CODES_SUCCESS if OK, integer value on error </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
</div><h2 class="groupheader">Member Function/Subroutine Documentation</h2>
|
|
<a class="anchor" id="a292d71c0a7252bdfded6a38aea4284be"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">subroutine codes_set_byte_array </td>
|
|
<td>(</td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(in) </td>
|
|
<td class="paramname"><em>msgid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">character(len=*), intent(in) </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">character(len=1), dimension(:), intent(in) </td>
|
|
<td class="paramname"><em>value</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(out), optional </td>
|
|
<td class="paramname"><em>length</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(out), optional </td>
|
|
<td class="paramname"><em>status</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the array of bytes (character) for a key in a message. </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 <a class="el" href="classeccodes.html#a835de867b8ad79cc43f127e7048712f3">codes_get_error_string</a>.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">msgid</td><td>id of the message loaded in memory </td></tr>
|
|
<tr><td class="paramname">key</td><td>key name </td></tr>
|
|
<tr><td class="paramname">value</td><td>character(len=1) array of byte values </td></tr>
|
|
<tr><td class="paramname">length</td><td>(optional) output: number of values written </td></tr>
|
|
<tr><td class="paramname">status</td><td>(optional) CODES_SUCCESS if OK, integer value on error </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac060bb983b9e515db8ad7edd3d91ce9a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">subroutine codes_set_int </td>
|
|
<td>(</td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(in) </td>
|
|
<td class="paramname"><em>msgid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">character(len=*), intent(in) </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(in) </td>
|
|
<td class="paramname"><em>value</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(out), optional </td>
|
|
<td class="paramname"><em>status</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the integer value for a key in a message. </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 <a class="el" href="classeccodes.html#a835de867b8ad79cc43f127e7048712f3">codes_get_error_string</a>.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">msgid</td><td>id of the message loaded in memory </td></tr>
|
|
<tr><td class="paramname">key</td><td>key name </td></tr>
|
|
<tr><td class="paramname">value</td><td>integer(4) value </td></tr>
|
|
<tr><td class="paramname">status</td><td>CODES_SUCCESS if OK, integer value on error </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a18b5890c85f15d5fefeefc2b99a09ce5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">subroutine codes_set_int_array </td>
|
|
<td>(</td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(in) </td>
|
|
<td class="paramname"><em>msgid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">character(len=*), intent(in) </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">integer(kind=kindofint), dimension(:), intent(in) </td>
|
|
<td class="paramname"><em>value</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(out), optional </td>
|
|
<td class="paramname"><em>status</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the integers values for an array key in a message. </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 <a class="el" href="classeccodes.html#a835de867b8ad79cc43f127e7048712f3">codes_get_error_string</a>.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">msgid</td><td>id of the message loaded in memory </td></tr>
|
|
<tr><td class="paramname">key</td><td>key name </td></tr>
|
|
<tr><td class="paramname">value</td><td>integer(4) array value </td></tr>
|
|
<tr><td class="paramname">status</td><td>CODES_SUCCESS if OK, integer value on error </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3c9cdc65f00b3c36742206e6e3dde864"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">subroutine codes_set_long </td>
|
|
<td>(</td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(in) </td>
|
|
<td class="paramname"><em>msgid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">character(len=*), intent(in) </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">integer(kind=kindoflong), intent(in) </td>
|
|
<td class="paramname"><em>value</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(out), optional </td>
|
|
<td class="paramname"><em>status</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the integer value for a key in a message. </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 <a class="el" href="classeccodes.html#a835de867b8ad79cc43f127e7048712f3">codes_get_error_string</a>.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">msgid</td><td>id of the message loaded in memory </td></tr>
|
|
<tr><td class="paramname">key</td><td>key name </td></tr>
|
|
<tr><td class="paramname">value</td><td>integer(4) value </td></tr>
|
|
<tr><td class="paramname">status</td><td>CODES_SUCCESS if OK, integer value on error </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5fa893fca21268a9c12d93e9d8c664e3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">subroutine codes_set_long_array </td>
|
|
<td>(</td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(in) </td>
|
|
<td class="paramname"><em>msgid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">character(len=*), intent(in) </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">integer(kind=kindoflong), dimension(:), intent(in) </td>
|
|
<td class="paramname"><em>value</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(out), optional </td>
|
|
<td class="paramname"><em>status</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the integers values for an array key in a message. </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 <a class="el" href="classeccodes.html#a835de867b8ad79cc43f127e7048712f3">codes_get_error_string</a>.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">msgid</td><td>id of the message loaded in memory </td></tr>
|
|
<tr><td class="paramname">key</td><td>key name </td></tr>
|
|
<tr><td class="paramname">value</td><td>integer(4) array value </td></tr>
|
|
<tr><td class="paramname">status</td><td>CODES_SUCCESS if OK, integer value on error </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2614a1e015c16370ed18cc360a14663e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">subroutine codes_set_real4 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(in) </td>
|
|
<td class="paramname"><em>msgid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">character(len=*), intent(in) </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">real(kind = kindoffloat), intent(in) </td>
|
|
<td class="paramname"><em>value</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(out), optional </td>
|
|
<td class="paramname"><em>status</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the real(4) value for a key in a message. </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 <a class="el" href="classeccodes.html#a835de867b8ad79cc43f127e7048712f3">codes_get_error_string</a>.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">msgid</td><td>id of the message loaded in memory </td></tr>
|
|
<tr><td class="paramname">key</td><td>key name </td></tr>
|
|
<tr><td class="paramname">value</td><td>real(4) value </td></tr>
|
|
<tr><td class="paramname">status</td><td>CODES_SUCCESS if OK, integer value on error </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aabaefc49c8d603bcf18a627dacc38f15"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">subroutine codes_set_real4_array </td>
|
|
<td>(</td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(in) </td>
|
|
<td class="paramname"><em>msgid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">character(len=*), intent(in) </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">real(kind = kindoffloat), dimension(:), intent(in) </td>
|
|
<td class="paramname"><em>value</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(out), optional </td>
|
|
<td class="paramname"><em>status</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the real(4) values for an array key in a message. </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 <a class="el" href="classeccodes.html#a835de867b8ad79cc43f127e7048712f3">codes_get_error_string</a>.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">msgid</td><td>id of the message loaded in memory </td></tr>
|
|
<tr><td class="paramname">key</td><td>key name </td></tr>
|
|
<tr><td class="paramname">value</td><td>real(4) array value </td></tr>
|
|
<tr><td class="paramname">status</td><td>CODES_SUCCESS if OK, integer value on error </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4b20fe82de5ba6f8355ff8a5d2725b3d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">subroutine codes_set_real8 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(in) </td>
|
|
<td class="paramname"><em>msgid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">character(len=*), intent(in) </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">real(kind = kindofdouble), intent(in) </td>
|
|
<td class="paramname"><em>value</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(out), optional </td>
|
|
<td class="paramname"><em>status</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the real(8) value for a key in a message. </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 <a class="el" href="classeccodes.html#a835de867b8ad79cc43f127e7048712f3">codes_get_error_string</a>.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">msgid</td><td>id of the message loaded in memory </td></tr>
|
|
<tr><td class="paramname">key</td><td>key name </td></tr>
|
|
<tr><td class="paramname">value</td><td>real(8) value </td></tr>
|
|
<tr><td class="paramname">status</td><td>CODES_SUCCESS if OK, integer value on error </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a14b3bc17ea1ee83936f32dd0fced44a4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">subroutine codes_set_real8_array </td>
|
|
<td>(</td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(in) </td>
|
|
<td class="paramname"><em>msgid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">character(len=*), intent(in) </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">real(kind = kindofdouble), dimension(:), intent(in) </td>
|
|
<td class="paramname"><em>value</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(out), optional </td>
|
|
<td class="paramname"><em>status</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the real(8) values for an array key in a message. </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 <a class="el" href="classeccodes.html#a835de867b8ad79cc43f127e7048712f3">codes_get_error_string</a>.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">msgid</td><td>id of the message loaded in memory </td></tr>
|
|
<tr><td class="paramname">key</td><td>key name </td></tr>
|
|
<tr><td class="paramname">value</td><td>real(8) array value </td></tr>
|
|
<tr><td class="paramname">status</td><td>CODES_SUCCESS if OK, integer value on error </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a50acfd20f8dff8b4e547135057ef119a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">subroutine codes_set_string </td>
|
|
<td>(</td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(in) </td>
|
|
<td class="paramname"><em>msgid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">character(len=*), intent(in) </td>
|
|
<td class="paramname"><em>key</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">character(len=*), intent(in) </td>
|
|
<td class="paramname"><em>value</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">integer(kind=kindofint), intent(out), optional </td>
|
|
<td class="paramname"><em>status</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>*/ </p>
|
|
<p>Set the character value for a string key in a message.</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 <a class="el" href="classeccodes.html#a835de867b8ad79cc43f127e7048712f3">codes_get_error_string</a>.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">msgid</td><td>id of the message loaded in memory </td></tr>
|
|
<tr><td class="paramname">key</td><td>key name </td></tr>
|
|
<tr><td class="paramname">value</td><td>character value </td></tr>
|
|
<tr><td class="paramname">status</td><td>CODES_SUCCESS if OK, integer value on error </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this interface was generated from the following file:<ul>
|
|
<li>eccodes_f90.f90</li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.5
|
|
</small></address>
|
|
</body>
|
|
</html>
|