eccodes/html/grib_examples.html

35 lines
6.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>grib_api: Grib API examples</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<h1><a class="anchor" name="grib_examples">Grib API examples</a></h1>The main features of the grib_api are explained here through some simple examples that can be taken as a starting point to write more complex programs.<br>
<h2><a class="anchor" name="fortran90">
Fortran 90</a></h2>
<ul>
<li><a class="el" href="index_8f90-example.html">index.f90</a> how to access a grib file through an index.</li><li><a class="el" href="get_8f90-example.html">get.f90</a> how to get values through the key names.</li><li><a class="el" href="count__messages_8f90-example.html">count_messages.f90</a> count the messages in a file and loop through them.</li><li><a class="el" href="get__pl_8f90-example.html">get_pl.f90</a> how to get the list of number of points for each parallel in reduced grids.</li><li><a class="el" href="get__pv_8f90-example.html">get_pv.f90</a> how to get the list of levels.</li><li><a class="el" href="get__data_8f90-example.html">get_data.f90</a> how to get latitude/longitude/values.</li><li><a class="el" href="set_8f90-example.html">set.f90</a> how to set values through the key names.</li><li><a class="el" href="set__bitmap_8f90-example.html">set_bitmap.f90</a> how to set and use a bitmap.</li><li><a class="el" href="set__missing_8f90-example.html">set_missing.f90</a> how to set a missing value in the header.</li><li><a class="el" href="set__pv_8f90-example.html">set_pv.f90</a> how to set the list of levels.</li><li><a class="el" href="samples_8f90-example.html">samples.f90</a> how to create a new message from a template.</li><li><a class="el" href="clone_8f90-example.html">clone.f90</a> how to clone a message.</li><li><a class="el" href="copy__message_8f90-example.html">copy_message.f90</a> how to copy a message in memory and create a new message.</li><li><a class="el" href="keys__iterator_8f90-example.html">keys_iterator.f90</a> how to get the names of all the keys defined in a message and how to iterate through them.</li><li><a class="el" href="precision_8f90-example.html">precision.f90</a> how to control precision when coding a grib field.</li><li><a class="el" href="multi__write_8f90-example.html">multi_write.f90</a> how to encode a grib message containing many fields.</li><li><a class="el" href="multi_8f90-example.html">multi.f90</a> how to decode a grib message containing many fields.</li><li><a class="el" href="print__data_8f90-example.html">print_data.f90</a> how to print all the data contained in a grib file.</li><li><a class="el" href="nearest_8f90-example.html">nearest.f90</a> how to find the nearest grid points.</li></ul>
<h2><a class="anchor" name="C">
C</a></h2>
<ul>
<li><a class="el" href="get_8c-example.html">get.c</a> is an example showing how to get values through the key names.</li><li><a class="el" href="set_8c-example.html">set.c</a> is an example illustrating how to set values through the key names.</li><li><a class="el" href="keys__iterator_8c-example.html">keys_iterator.c</a> explains how to get the names of all the keys defined in a message and how to iterate through them.</li><li><a class="el" href="iterator_8c-example.html">iterator.c</a> shows how to use an iterator on latitude, longitude, values.</li><li><a class="el" href="precision_8c-example.html">precision.c</a> illustrates how to control precision when coding a grib field.</li><li><a class="el" href="multi_8c-example.html">multi.c</a> is an example describing how to decode a grib message containing many fields.</li><li><a class="el" href="print__data_8c-example.html">print_data.c</a> is an example on how to print all the data contained in a grib file.</li><li><a class="el" href="nearest_8c-example.html">nearest.c</a> is an example on how to find the nearest grid points.</li><li><a class="el" href="multi__write_8c-example.html">multi_write.c</a> how to encode a grib message containing many fields.</li><li><a class="el" href="multi_8c-example.html">multi.c</a> how to decode a grib message containing many fields.</li></ul>
<h2><a class="anchor" name="fortran77">
Fortran 77</a></h2>
<ul>
<li><a class="el" href="get__fortran_8_f-example.html">get_fortran.F</a> is an example showing how to get values through the key names.</li><li><a class="el" href="set__fortran_8_f-example.html">set_fortran.F</a> is an example illustrating how to set values through the key names.</li><li><a class="el" href="keys__iterator__fortran_8_f-example.html">keys_iterator_fortran.F</a> explains how to get the names of all the keys defined in a message and how to iterate through them.</li><li><a class="el" href="iterator__fortran_8_f-example.html">iterator_fortran.F</a> shows how to use an iterator on latitude, longitude, values.</li><li><a class="el" href="precision__fortran_8_f-example.html">precision_fortran.F</a> illustrates how to control precision when coding a grib field.</li><li><a class="el" href="multi__fortran_8_f-example.html">multi_fortran.F</a> is an example describing how to decode a grib message containing many fields.</li><li><a class="el" href="print__data__fortran_8_f-example.html">print_data_fortran.F</a> is an example on how to print all the data contained in a grib file. </li></ul>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 22 15:18:22 2009 for grib_api by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
</html>