debian/0000775000000000000000000000000012302745247007176 5ustar debian/rules0000775000000000000000000000151212302745164010253 0ustar #!/usr/bin/make -f export CFLAGS += -fPIC export AUTOMAKE = automake-1.11 export ACLOCAL = aclocal-1.11 %: dh $@ --with autoreconf override_dh_auto_configure: # Disable python modules until we figure out how to build them properly F77=gfortran dh_auto_configure -- --with-png-support --disable-python override_dh_auto_install: dh_auto_install mv debian/tmp/usr/bin/parser debian/tmp/usr/bin/grib_parser override_dh_auto_clean: dh_auto_clean -# Things that upstream leaves behind rm -f tests/bitmap.rules tests/out.grib1 tests/out.grib2 tests/out.gribidx \ tests/rules tests/simple_ieee_test.grib1.txt tests/statistics.filter \ tests/statistics.out tests/x.grib \ data/change_scanning_rotated_ll.filter examples/F90/index.idx override_dh_fixperms: dh_fixperms test -e /usr/bin/dh_buildinfo && dh_buildinfo debian/libgrib-api-tools.dirs0000664000000000000000000000001012176141321013357 0ustar usr/bin debian/copyright0000664000000000000000000000151412202372376011130 0ustar Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 Upstream-Name: grib_api Upstream-Source: http://www.ecmwf.int/products/data/software/grib_api.html Files: * Copyright: Copyright (C) 2005-2013, ECMWF (The European Centre for Medium-Range Weather Forecasts) License: Apache This software is licensed under the terms of the Apache Licence Version 2.0 which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. In applying this licence, ECMWF does not waive the privileges and immunities granted to it by virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction. The texts of this license can be found in /usr/share/common-licenses/Apache-2.0 Files: debian/* Copyright: Copyright (C) 2007--2013, Enrico Zini License: Apache debian/libgrib-api-tools.manpages0000664000000000000000000000030712176141321014222 0ustar debian/grib_compare.1 debian/grib_convert.1 debian/grib_copy.1 debian/grib_debug.1 debian/grib_dump.1 debian/grib_filter.1 debian/grib_get.1 debian/grib_get_data.1 debian/grib_ls.1 debian/grib_set.1 debian/make-manpages0000775000000000000000000000037112176141321011623 0ustar #!/bin/sh # Autogenerate manpages from grib_api tools # Where are the executables (default, use the path) PREFIX=${PREFIX:-""} for cmd in `cat libgribapi-tools.install` do cmd=`basename $cmd` $cmd --help | ./postprocess-help $cmd > $cmd.1 done debian/postprocess-help0000775000000000000000000000130012176141321012420 0ustar #!/usr/bin/perl -w # Postprocess grib_api's help messages, which are almost man pages my $name = shift @ARGV; sub escapeslashes($) { my $str = shift; $str =~ s/-/\\-/g; return $str; } print ".TH ".uc($name)." \"1\" \"April 2009\" \"".lc($name)."\" \"User Commands\"\n"; while (<>) { if (/^[A-Z]/) { # Sections s/\s+(.+)$/\n$1/; s/^/.SH /; print; } elsif (/^\t-/) { # Options print ".TP\n"; s/^\s*//; s/(\S+)/"\\fB".escapeslashes($1)."\\fR"/e ; print; } elsif (/^\t/) { s/^\s*//; print; } else { print; } } print ".SH AUTHOR\n"; print "This manpage has been autogenerated by Enrico Zini "; print "from the command line help of $name.\n"; debian/libgrib-api-dev.dirs0000664000000000000000000000003612176141321013005 0ustar usr/lib usr/include usr/share debian/source/0000775000000000000000000000000012176141321010466 5ustar debian/source/format0000664000000000000000000000001412176141321011674 0ustar 3.0 (quilt) debian/libgrib-api-1.10.4.install0000664000000000000000000000027312176231561013466 0ustar usr/share/grib_api/samples usr/share/grib_api/ifs_samples usr/share/grib_api/definitions usr/lib/libgrib_api_f90-1.10.4.so usr/lib/libgrib_api-1.10.4.so usr/lib/libgrib_api_f77-1.10.4.so debian/grib_convert.10000664000000000000000000000175312176141321011741 0ustar .TH GRIB_CONVERT "1" "April 2009" "grib_convert" "User Commands" .SH NAME grib_convert - converts grib messages applying the rules from a conversion_rules file. .SH DESCRIPTION It converts grib messages applying the rules from a conversion_rules file. The rules are of the type "keyname = value;" and if blocks are allowed as if ( keyname1 == value1 || keyname2 != value2 && keyname3 == value3 ) { keyname4 = value4; } .SH USAGE grib_convert [options] conversion_rules grib_file grib_file ... output_grib_file .SH OPTIONS .TP \fB\-f\fR Force. Force the execution not to fail on error. .TP \fB\-M\fR Multi-grib support off. Turn off support for multiple fields in single grib message .TP \fB\-g\fR Copy GTS header. .TP \fB\-G\fR GRIBEX compatibility mode. .TP \fB\-V\fR Version. .TP \fB\-7\fR Does not fail when the message has wrong length .TP \fB\-v\fR Verbose. .SH AUTHOR This manpage has been autogenerated by Enrico Zini from the command line help of grib_convert. debian/grib_get_data.10000664000000000000000000000310512176141321012022 0ustar .TH GRIB_GET_DATA "1" "April 2009" "grib_get_data" "User Commands" .SH NAME grib_get_data - Print a latitude, longitude, data values list .SH DESCRIPTION Print a latitude, longitude, data values list .SH USAGE grib_get_data [options] grib_file grib_file ... .SH OPTIONS .TP \fB\-M\fR Multi-grib support off. Turn off support for multiple fields in single grib message .TP \fB\-m\fR missingValue The missing value is given through this option. Any string is allowed and it is printed in place of the missing values. Default is to skip the missing values. .TP \fB\-p\fR key[:{s/d/l}],key[:{s/d/l}],... 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. .TP \fB\-R\fR out_file_name Redirect the standard output to "out_file_name". Faster than the shell redirect (>) because buffered. .TP \fB\-F\fR format C style format for values. Default is "%.10e" .TP \fB\-w\fR key[:{s/d/l}]{=/!=}value,key[:{s/d/l}]{=/!=}value,... Where clause. Grib messages are processed only if they match all the key/value constraints. A valid constraint is of type key=value or key!=value. For each key a string (key:s) or a double (key:d) or a long (key:l) type can be specified. Default type is string. .TP \fB\-f\fR Force. Force the execution not to fail on error. .TP \fB\-G\fR GRIBEX compatibility mode. .TP \fB\-7\fR Does not fail when the message has wrong length .TP \fB\-V\fR Version. .SH AUTHOR This manpage has been autogenerated by Enrico Zini from the command line help of grib_get_data. debian/libgrib-api-tools.docs0000664000000000000000000000000712176141321013354 0ustar README debian/libgrib-api-dev.docs0000664000000000000000000000001412176141321012770 0ustar README html debian/grib_ls.10000664000000000000000000000366012176141321010676 0ustar .TH GRIB_LS "1" "April 2009" "grib_ls" "User Commands" .SH NAME grib_ls - List content of grib files printing values of some keys. .SH DESCRIPTION List content of grib files printing values of some keys. It does not fail when a key is not found. .SH USAGE grib_ls [options] grib_file grib_file ... .SH OPTIONS .TP \fB\-p\fR key[:{s/d/l}],key[:{s/d/l}],... 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. .TP \fB\-P\fR key[:{s/d/l}],key[:{s/d/l}],... As -p adding the declared keys to the default list. .TP \fB\-w\fR key[:{s/d/l}]{=/!=}value,key[:{s/d/l}]{=/!=}value,... Where clause. Grib messages are processed only if they match all the key/value constraints. A valid constraint is of type key=value or key!=value. For each key a string (key:s) or a double (key:d) or a long (key:l) type can be specified. Default type is string. .TP \fB\-B\fR order by directive Order by. The output will be ordered according the order by directive. Order by example: "step asc, centre desc" (step ascending and centre discending) .TP \fB\-l\fR Latitude,Longitude[,MODE,file] Value close to the point of a Latitude/Longitude. Allowed values for MODE are: 4 (4 values in the nearest points are printed) Default 1 (the value at the nearest point is printed) file (file is used as mask. The closer point with mask value>=0.5 is printed) .TP \fB\-i\fR index Data value corresponding to the given index is printed. .TP \fB\-m\fR Mars keys are printed. .TP \fB\-V\fR Version. .TP \fB\-W\fR width Minimum width of each column in output. Default is 10. .TP \fB\-M\fR Multi-grib support off. Turn off support for multiple fields in single grib message .TP \fB\-G\fR GRIBEX compatibility mode. .TP \fB\-7\fR Does not fail when the message has wrong length .SH AUTHOR This manpage has been autogenerated by Enrico Zini from the command line help of grib_ls. debian/compat0000664000000000000000000000000212176141321010364 0ustar 7 debian/libgrib-api-tools.install0000664000000000000000000000123512176141321014076 0ustar usr/bin/grib_add usr/bin/grib_debug usr/bin/grib_filter usr/bin/grib_repair usr/bin/grib_packing usr/bin/grib_get usr/bin/grib_get_data usr/bin/grib_parser usr/bin/big2gribex usr/bin/grib_keys usr/bin/grib_cmp usr/bin/grib_copy usr/bin/tigge_split usr/bin/grib_distance usr/bin/tigge_check usr/bin/grib_count usr/bin/grib_index_build usr/bin/grib_histogram usr/bin/tigge_accumulations usr/bin/grib_ls usr/bin/grib1to2 usr/bin/gg_sub_area_check usr/bin/tigge_name usr/bin/grib_compare usr/bin/grib_corruption_check usr/bin/grib_list_keys usr/bin/grib_error usr/bin/grib_convert usr/bin/grib_info usr/bin/grib_dump usr/bin/grib2ppm usr/bin/grib_set usr/bin/grib_moments debian/grib_dump.10000664000000000000000000000260612176141321011224 0ustar .TH GRIB_DUMP "1" "April 2009" "grib_dump" "User Commands" .SH NAME grib_dump - Dump the content of a grib file in different formats. .SH DESCRIPTION Dump the content of a grib file in different formats. .SH USAGE grib_dump [options] grib_file grib_file ... .SH OPTIONS .TP \fB\-O\fR Octet mode. WMO documentation style dump. .TP \fB\-D\fR Debug mode. .TP \fB\-P\fR key[:{s/d/l}],key[:{s/d/l}],... As -p adding the declared keys to the default list. .TP \fB\-d\fR Print all data values. Available only in C mode .TP \fB\-C\fR C code mode. A C code program generating the grib message is dumped. .TP \fB\-t\fR Print type information. .TP \fB\-H\fR Print octet content in hexadecimal format. .TP \fB\-a\fR Dump aliases. .TP \fB\-w\fR key[:{s/d/l}]{=/!=}value,key[:{s/d/l}]{=/!=}value,... Where clause. Grib messages are processed only if they match all the key/value constraints. A valid constraint is of type key=value or key!=value. For each key a string (key:s) or a double (key:d) or a long (key:l) type can be specified. Default type is string. .TP \fB\-M\fR Multi-grib support off. Turn off support for multiple fields in single grib message .TP \fB\-7\fR Does not fail when the message has wrong length .TP \fB\-V\fR Version. .TP \fB\-G\fR GRIBEX compatibility mode. .SH AUTHOR This manpage has been autogenerated by Enrico Zini from the command line help of grib_dump. debian/changelog0000664000000000000000000001423112302745241011043 0ustar grib-api (1.10.4-3ubuntu1) trusty; urgency=medium * Build using dh-autoreconf. -- Matthias Klose Mon, 24 Feb 2014 23:41:15 +0100 grib-api (1.10.4-3) unstable; urgency=low * Back to Arch: any after successful testing on mips and sparc. Closes: #529995. -- Enrico Zini Sun, 25 Aug 2013 01:27:15 +0200 grib-api (1.10.4-2) unstable; urgency=low * Conflicts with libgrib-api-1.9.16. Closes: #720010, #720374. -- Enrico Zini Fri, 23 Aug 2013 12:03:42 +0200 grib-api (1.10.4-1) unstable; urgency=low * New upstream version. Closes: #713400. * Updated standards-version, no changes required. No point introducing a symbols file since upstream sets the soname to the full library version * Updated debian/copyright to follow upstream's license change to Apache 2.0 -- Enrico Zini Tue, 13 Aug 2013 11:07:55 +0200 grib-api (1.10.0-1) UNRELEASED; urgency=low * Removed patch no-padding-test.diff, fixed upastream. * Removed patch fortran.diff, replaced with a different configure invocation * Stop using dh-autoreconf, since we do not patch the build system anymore. -- Enrico Zini Fri, 25 Jan 2013 14:52:30 +0100 grib-api (1.9.18-1) UNRELEASED; urgency=low * New Upstream Version. * Removed patch paths.diff, accepted upstream. * Removed patch grib1to2.diff, accepted upstream. * Removed patch second_order.sh.diff, accepted upstream. -- Enrico Zini Fri, 25 Jan 2013 14:52:30 +0100 grib-api (1.9.16-2) unstable; urgency=low * Conflicts with libgrib-api-1.9.9. Closes: #668697. -- Enrico Zini Mon, 16 Apr 2012 11:25:42 +0200 grib-api (1.9.16-1) unstable; urgency=low * New upstream version * Dropped amconditional patch, no longer needed * Build-Depend on libpng-dev instead of libpng12-dev. Closes: #662363. * Updated standards-version (no changes required) -- Enrico Zini Fri, 13 Apr 2012 14:26:20 +0200 grib-api (1.9.9-3) unstable; urgency=low * Build-depend on libjpeg-dev. Closes: #642832 * padding.sh test only fails when run by a buildd, cannot reproduce otherwise or figure out why it fails. Disabling it for now. Closes: #642253 * Removed ksh-isms on grib1to2 * Removed ksh-ism on tests/second_order.sh -- Enrico Zini Sun, 02 Oct 2011 09:02:17 +0200 grib-api (1.9.9-2) unstable; urgency=low * amconditional.patch: fixed SUBDIRS order so that everything tests need is built before tests are run. -- Enrico Zini Tue, 20 Sep 2011 20:18:04 +0200 grib-api (1.9.9-1) unstable; urgency=low * New upstream version. Closes: #620243 -- Enrico Zini Mon, 19 Sep 2011 16:59:34 +0200 grib-api (1.9.5-1) unstable; urgency=low * New upstream version. Closes: #607671. * Build on armhf. Closes: #604659. * Updated standards-version (no changes required) * Updated soname since this release breaks ABI (see #607671) * libgrib-api-0d-1 Conflicts with libgrib-api-0d-0 since there is no way to make them coinstallable. Even splitting GRIB definitions in a separate package would not work, because definitions tend to be strongly tied to specific runtime versions, and two different definition packages cannot be installed at the same time. -- Enrico Zini Fri, 11 Feb 2011 16:57:43 +0000 grib-api (1.9.0-2) unstable; urgency=low * Enable libpng support. Closes: #593216. * Don't use autotools-dev hooks together with dh-autoreconf -- Enrico Zini Mon, 16 Aug 2010 13:32:12 +0100 grib-api (1.9.0-1) unstable; urgency=low * New upstream version. Closes: #581015 * Added patch to fix samples and definitions install paths * Switch to source format 3.0 (quilt) * Package definitions together with the shared library like in 1.7.x, following upstream * Switch to debhelper 7 -- Enrico Zini Tue, 27 Jul 2010 11:37:44 +0100 grib-api (1.8.0-3) unstable; urgency=low * Added patch to fix an uninitialised memory access that makes iterator test fail. Closes: #570679 * Updated standards-version (no changes required) -- Enrico Zini Tue, 09 Mar 2010 14:43:46 +0100 grib-api (1.8.0-2) unstable; urgency=low * Install tools/parser as grib_parser Note: Fedora renames in the same way. * Do not install definitions: depend on libgrib-api-data instead. -- Enrico Zini Wed, 14 Oct 2009 14:27:55 +0100 grib-api (1.8.0-1) unstable; urgency=low * libgrib-api-tools: changed to section utils. * New Upstream Version. Closes: #540801. * Ported patches to new upstream version * Added Vcs-Git: and Vcs-Browser: -- Enrico Zini Tue, 18 Aug 2009 12:44:03 +0100 grib-api (1.7.0-3) unstable; urgency=low * Limit Architecture: field to only those that work. * Updated Standards-Version. No changes needed. -- Enrico Zini Sat, 04 Jul 2009 16:21:42 +0200 grib-api (1.7.0-2) unstable; urgency=low * Point README.source to the version provided by quilt * Update debian/copyright to reflect that the perl bindings follow perl's license -- Enrico Zini Sun, 17 May 2009 18:58:01 +0100 grib-api (1.7.0-1) unstable; urgency=low * New Upstream Version. Closes: #519184 * Ported patches to new upstream version * Rebuild the build system in debian/rules * debian/rules clean: delete files modified by autotools * Added debian-specific release to the library name, so we will not conflict with upstream once they will start shipping shared libraries. * Updated Standards-Version - Renamed libgribapi-bin to libgribapi-tools as suggested by policy * Use debhelper 7 * Added manpages for those commands that have any documentation -- Enrico Zini Wed, 22 Apr 2009 15:47:53 +0100 grib-api (1.6.4-1) unstable; urgency=low * Initial Debian release * Patches: - amconditional: Use automake conditionals to exclude subdirectories - libtool: Create a shared library - fortran: Fixes for fortran packaging -- Enrico Zini Tue, 18 Nov 2008 11:15:52 +0000 debian/control0000664000000000000000000000373512302745210010577 0ustar Source: grib-api Section: libdevel Priority: optional Maintainer: Enrico Zini Build-Depends: debhelper (>= 7.0.50~), dh-buildinfo, libjasper-dev, libjpeg-dev, libpng-dev, gfortran, flex, bison, quilt, automake, autoconf, libtool, dh-autoreconf, automake1.11 Standards-Version: 3.9.4.0 Homepage: http://www.ecmwf.int/products/data/software/grib_api.html Vcs-Git: git://git.debian.org/git/collab-maint/gribapi.git Vcs-Browser: http://git.debian.org/?p=collab-maint/gribapi.git Package: libgrib-api-1.10.4 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: libgrib-api-data (<< 1.9.0~) Breaks: libgrib-api-data (<< 1.9.0~) Conflicts: libgrib-api-0d-0, libgrib-api-0d-1, libgrib-api-1.9.9, libgrib-api-1.9.16 Description: GRIB decoding/encoding software library The ECMWF GRIB API is an application program interface accessible from C and FORTRAN programs developed for encoding and decoding WMO FM-92 GRIB edition 1 and edition 2 messages. . ECMWF is the European Centre for Medium-Range Weather Forecasts. Package: libgrib-api-dev Section: libdevel Architecture: any Depends: libgrib-api-1.10.4 (= ${binary:Version}), ${misc:Depends} Description: GRIB decoding/encoding software library (development) The ECMWF GRIB API is an application program interface accessible from C and FORTRAN programs developed for encoding and decoding WMO FM-92 GRIB edition 1 and edition 2 messages. . ECMWF is the European Centre for Medium-Range Weather Forecasts. Package: libgrib-api-tools Section: utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: GRIB decoding/encoding software (utilities) The ECMWF GRIB API is an application program interface accessible from C and FORTRAN programs developed for encoding and decoding WMO FM-92 GRIB edition 1 and edition 2 messages. . This is a useful set of command line tools to give quick access to grib messages. . ECMWF is the European Centre for Medium-Range Weather Forecasts. debian/libgrib-api-1.10.4.shlibs0000664000000000000000000000023612176215020013273 0ustar libgrib_api 1.10.4 libgrib-api-1.10.4 (>= 1.10.4) libgrib_api_f77 1.10.4 libgrib-api-1.10.4 (>= 1.10.4) libgrib_api_f90 1.10.4 libgrib-api-1.10.4 (>= 1.10.4) debian/grib_copy.10000664000000000000000000000341312176141321011226 0ustar .TH GRIB_COPY "1" "April 2009" "grib_copy" "User Commands" .SH NAME grib_copy - Copies the content of grib files printing values of some keys. .SH DESCRIPTION Copies the content of grib files printing values of some keys. .SH USAGE grib_copy [options] grib_file grib_file ... output_grib_file .SH OPTIONS .TP \fB\-f\fR Force. Force the execution not to fail on error. .TP \fB\-r\fR 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. .TP \fB\-p\fR key[:{s/d/l}],key[:{s/d/l}],... 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. .TP \fB\-P\fR key[:{s/d/l}],key[:{s/d/l}],... As -p adding the declared keys to the default list. .TP \fB\-w\fR key[:{s/d/l}]=value,key[:{s/d/l}]=value,... 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. .TP \fB\-B\fR order by directive Order by. The output will be ordered according the order by directive. Order by example: "step asc, centre desc" (step ascending and centre discending) .TP \fB\-V\fR Version. .TP \fB\-W\fR width Minimum width of each column in output. Default is 10. .TP \fB\-M\fR Multi-grib support off. Turn off support for multiple fields in single grib message .TP \fB\-g\fR Copy GTS header. .TP \fB\-G\fR GRIBEX compatibility mode. .TP \fB\-7\fR Does not fail when the message has wrong length .TP \fB\-v\fR Verbose. .SH AUTHOR This manpage has been autogenerated by Enrico Zini from the command line help of grib_copy. debian/grib_set.10000664000000000000000000000404412176141321011050 0ustar .TH GRIB_SET "1" "April 2009" "grib_set" "User Commands" .SH NAME grib_set - Sets key/value pairs in gribs. .SH DESCRIPTION Sets key/value pairs in the input grib file and writes each message to the output_grib_file. It fails when an error occurs (e.g. key not found). .SH USAGE grib_set [options] grib_file grib_file ... output_grib_file .SH OPTIONS .TP \fB\-s\fR key[:{s/d/l}]=value,key[:{s/d/l}]=value,... Key/values to set. For each key a string (key:s) or a double (key:d) or a long (key:l) type can be defined. By default the native type is set. .TP \fB\-r\fR 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. .TP \fB\-d\fR value Set all the data values to "value". .TP \fB\-p\fR key[:{s/d/l}],key[:{s/d/l}],... 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. .TP \fB\-P\fR key[:{s/d/l}],key[:{s/d/l}],... As -p adding the declared keys to the default list. .TP \fB\-w\fR key[:{s/d/l}]=value,key[:{s/d/l}]=value,... Where clause. Set is only executed for grib messages matching all the key/value constraints. If a grib message does not match the constraints it is copied unchanged to the output_grib_file. This behaviour can be changed setting the option -S. 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. .TP \fB\-7\fR Does not fail when the message has wrong length .TP \fB\-S\fR Strict. Only grib messages matching all the constraints are copied to the output file .TP \fB\-V\fR Version. .TP \fB\-M\fR Multi-grib support off. Turn off support for multiple fields in single grib message .TP \fB\-g\fR Copy GTS header. .TP \fB\-G\fR GRIBEX compatibility mode. .TP \fB\-f\fR Force. Force the execution not to fail on error. .TP \fB\-v\fR Verbose. .SH AUTHOR This manpage has been autogenerated by Enrico Zini from the command line help of grib_set. debian/grib_compare.10000664000000000000000000000316012176141321011701 0ustar .TH GRIB_COMPARE "1" "April 2009" "grib_compare" "User Commands" .SH NAME grib_compare - Compares the grib messages contained in two files. .SH DESCRIPTION Compares the grib messages contained in two files one by one in the same order. If some differences are found it fails returning an error code. All the keys are compared except those listed with the -b option and those that are specific of a different grib edition. Also data values are compared and are considered as different if their maximum absolute difference is greater than the absolute error, that by default is 0.000001. The value used by the absolute error can be set with te -e option. .SH USAGE grib_compare [options] grib_file grib_file .SH OPTIONS .TP \fB\-b\fR key,key,... Black list. All the keys in this list are skipped when comparing the two files. .TP \fB\-c\fR key,key,... Keys to compare. Only the listed keys are compared. .TP \fB\-e\fR tolerance Only values whose difference is more than tolerance are considered different. .TP \fB\-w\fR key[:{s/d/l}]{=/!=}value,key[:{s/d/l}]{=/!=}value,... Where clause. Grib messages are processed only if they match all the key/value constraints. A valid constraint is of type key=value or key!=value. For each key a string (key:s) or a double (key:d) or a long (key:l) type can be specified. Default type is string. .TP \fB\-f\fR Force. Force the execution not to fail on error. .TP \fB\-V\fR Version. .TP \fB\-7\fR Does not fail when the message has wrong length .TP \fB\-v\fR Verbose. .SH AUTHOR This manpage has been autogenerated by Enrico Zini from the command line help of grib_compare. debian/grib_get.10000664000000000000000000000267012176141321011037 0ustar .TH GRIB_GET "1" "April 2009" "grib_get" "User Commands" .SH NAME grib_get - Get values of some keys from a grib file. .SH DESCRIPTION Get values of some keys from a grib file. It is similar to grib_ls, but fails returning an error code when an error occurs (e.g. key not found). .SH USAGE grib_get [options] grib_file grib_file ... .SH OPTIONS .TP \fB\-f\fR Force. Force the execution not to fail on error. .TP \fB\-p\fR key[:{s/d/l}],key[:{s/d/l}],... 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. .TP \fB\-P\fR key[:{s/d/l}],key[:{s/d/l}],... As -p adding the declared keys to the default list. .TP \fB\-w\fR key[:{s/d/l}]{=/!=}value,key[:{s/d/l}]{=/!=}value,... Where clause. Grib messages are processed only if they match all the key/value constraints. A valid constraint is of type key=value or key!=value. For each key a string (key:s) or a double (key:d) or a long (key:l) type can be specified. Default type is string. .TP \fB\-V\fR Version. .TP \fB\-W\fR width Minimum width of each column in output. Default is 10. .TP \fB\-M\fR Multi-grib support off. Turn off support for multiple fields in single grib message .TP \fB\-G\fR GRIBEX compatibility mode. .TP \fB\-7\fR Does not fail when the message has wrong length .SH AUTHOR This manpage has been autogenerated by Enrico Zini from the command line help of grib_get. debian/libgrib-api-dev.install0000664000000000000000000000017312201410126013503 0ustar usr/include/*.h usr/include/*.mod usr/lib/*.a usr/lib/libgrib_api_f77.so usr/lib/libgrib_api.so usr/lib/libgrib_api_f90.so debian/grib_debug.10000664000000000000000000000115212176141321011340 0ustar .TH GRIB_DEBUG "1" "April 2009" "grib_debug" "User Commands" .SH NAME grib_debug - Dump the content of a grib file in debug mode. .SH DESCRIPTION Dump the content of a grib file in debug mode. .SH USAGE grib_debug [options] grib_file grib_file ... .SH OPTIONS .TP \fB\-M\fR Multi-grib support off. Turn off support for multiple fields in single grib message .TP \fB\-V\fR Version. .TP \fB\-7\fR Does not fail when the message has wrong length .TP \fB\-G\fR GRIBEX compatibility mode. .SH AUTHOR This manpage has been autogenerated by Enrico Zini from the command line help of grib_debug. debian/grib_filter.10000664000000000000000000000173612176141321011547 0ustar .TH GRIB_FILTER "1" "April 2009" "grib_filter" "User Commands" .SH NAME grib_filter - Apply the rules defined in rules_file to each grib message .SH DESCRIPTION Apply the rules defined in rules_file to each grib message in the grib files provided as arguments. .SH USAGE grib_filter [options] rules_file grib_file grib_file ... .SH OPTIONS .TP \fB\-f\fR Force. Force the execution not to fail on error. .TP \fB\-o\fR output_grib_file Output grib is written to ouput_grib_file. If an ouput grib file is required and -o is not used, theouput grib is written to filtered.out .TP \fB\-M\fR Multi-grib support off. Turn off support for multiple fields in single grib message .TP \fB\-V\fR Version. .TP \fB\-g\fR Copy GTS header. .TP \fB\-G\fR GRIBEX compatibility mode. .TP \fB\-7\fR Does not fail when the message has wrong length .TP \fB\-v\fR Verbose. .SH AUTHOR This manpage has been autogenerated by Enrico Zini from the command line help of grib_filter.