/usr/share/doc/libgrib-api-doc/html/grib_copy.html is in libgrib-api-doc 1.25.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | <!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_copy</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 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 Pages</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<h1><a class="anchor" name="grib_copy">grib_copy</a></h1><h2><a class="anchor" name="DESCRIPTION">
DESCRIPTION</a></h2>
Copies the content of grib files printing values of some keys.<h2><a class="anchor" name="USAGE">
USAGE</a></h2>
grib_copy [options] grib_file grib_file ... output_grib_file<h2><a class="anchor" name="OPTIONS">
OPTIONS</a></h2>
-f <br>
Force. Force the execution not to fail on error. <br>
<br>
-r <br>
Repack data. Sometimes after setting some keys involving properties of the packing algorithm a repacking of data is needed. This repacking is performed setting this -r option. <br>
<br>
-p key[:{s/d/l}],key[:{s/d/l}],... <br>
Declaration of keys to print. For each key a string (key:s) or a double (key:d) or a long (key:l) type can be requested. Default type is string. <br>
<br>
-P key[:{s/d/l}],key[:{s/d/l}],... <br>
As -p adding the declared keys to the default list. <br>
<br>
-w key[:{s/d/l}]=value,key[:{s/d/l}]=value,... <br>
Where clause. Only grib messages matching the key/value constraints are copied to the output_grib_file. For each key a string (key:s) or a double (key:d) or a long (key:l) type can be defined. Default type is string. <br>
<br>
-B order by directive <br>
Order by. The output will be ordered according the order by directive. Order by example: "step asc, centre desc" (step ascending and centre discending) <br>
<br>
-V <br>
Version. <br>
<br>
-W width <br>
Minimum width of each column in output. Default is 10. <br>
<br>
-M <br>
Multi-grib support off. Turn off support for multiple fields in single grib message <br>
<br>
-g <br>
Copy GTS header. <br>
<br>
-G <br>
GRIBEX compatibility mode. <br>
<br>
-7 <br>
Does not fail when the message has wrong length <br>
<br>
-v <br>
Verbose. <br>
<br>
<h2><a class="anchor" name="grib_copy_examples">
grib_copy examples</a></h2>
<ol type=1>
<li>To copy only the pressure levels from a file<br>
<div class="fragment"><pre class="fragment">
> grib_copy -w levtype=pl ../data/tigge_pf_ecmwf.grib2 out.grib
</pre></div><br>
</li><li>To copy only the fields that are not on pressure levels from a file<br>
<div class="fragment"><pre class="fragment">
> grib_copy -w levtype!=pl ../data/tigge_pf_ecmwf.grib2 out.grib
</pre></div><br>
</li><li>A grib_file with multi field messages can be converted in single field messages with a simple grib_copy.<br>
<div class="fragment"><pre class="fragment">
> grib_copy multi.grib simple.grib
</pre></div><br>
</li></ol>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 22 15:18:22 2009 for grib_api by
<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>
|