[wgrib] Update to 1.8.1.2b
Orion Poplawski
orion at fedoraproject.org
Wed Oct 16 15:45:02 UTC 2013
commit 448236845ca64bb209989fcca2d1aace335a9106
Author: Orion Poplawski <orion at nwra.com>
Date: Wed Oct 16 09:45:01 2013 -0600
Update to 1.8.1.2b
.gitignore | 1 +
Changes | 8 ++++++++
sources | 2 +-
tricks.wgrib | 20 ++++++++++++++++++++
wgrib.spec | 8 +++++---
5 files changed, 35 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index dae51a7..1bb2448 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ wgrib.c.v1.8.1.0b
/wgrib.c.v1.8.1.0d
/wgrib.c.v1.8.1.0h
/wgrib.c.v1.8.1.2a
+/wgrib.c.v1.8.1.2b
diff --git a/Changes b/Changes
index 638b7df..bd92662 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,11 @@
+v1.8.1.2b 9/13 added JMA table 200 for JRA-55
+ 10/11 added fflush(dump_file) and fflush(stdout), enhancement for potential apps
+v1.8.1.1 6/11 changes from Jeffery S Smith for Albers equal area projection
+v1.8.1.0h 5/11 seekgrib: scan entire file for grib data because ECMWF files have grib1+grib2 data
+v1.8.1.0g 5/11 Paul Schou: fixed #define GDS_Lambert_LonSP(gds) INT3(gds[37],gds[38],gds[39])
+v1.8.1.0f 3/11 update ncep table 129, 130, 133
+v1.8.1.0e 10/10 moved int ec_large and len_ec_bds to seek_grib.c
+ helped people who just call subroutines, suggested by P. Tran
v1.8.1.0d 9/10 changed add_time: old: 1month + Jan31 returns Feb31, now returns Feb 28/29
v1.8.1.0c 7/10 Updated ncep table 130
v1.8.1.0b 5/10 PDStimes .. decided to remove normalize minutes to hours, make time units consistent in inv
diff --git a/sources b/sources
index 34dd2f9..b1aed8b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3fe868fcd8bef14fa21cb702027d8489 wgrib.c.v1.8.1.2a
+aa04ac7cd9e85e10951d45df2aedc624 wgrib.c.v1.8.1.2b
diff --git a/tricks.wgrib b/tricks.wgrib
index 88d7013..46ab932 100644
--- a/tricks.wgrib
+++ b/tricks.wgrib
@@ -385,3 +385,23 @@ while (<IN>) {
"max data" value (the one I want).
The "sed '$!N;s/\n/ /'" combines pairs of lines.
The last sed puts the line into a inventory format.
+
+(21) How do I remove duplicate records (same PDS)
+
+ wgrib IN.grb -PDS | unique.pl | wgrib IN.grb -i -grib -o OUT.grb
+
+where unique.pl is
+---------------------------------------------------------------
+#!/usr/bin/perl -w
+# print only lines where fields 3..N are different
+#
+while (<STDIN>) {
+ chomp;
+ $line = $_;
+ $_ =~ s/^[0-9.]*:[0-9]*://;
+ if (! defined $inv{$_}) {
+ $inv{$_} = 1;
+ print "$line\n";
+ }
+}
+---------------------------------------------------------------
diff --git a/wgrib.spec b/wgrib.spec
index 9660d44..ea2c429 100644
--- a/wgrib.spec
+++ b/wgrib.spec
@@ -1,6 +1,6 @@
Name: wgrib
-Version: 1.8.1.2a
-Release: 5%{?dist}
+Version: 1.8.1.2b
+Release: 1%{?dist}
Summary: Manipulate, inventory and decode GRIB files
Group: Applications/Engineering
@@ -69,12 +69,14 @@ rm -rf $RPM_BUILD_ROOT
%files
-%defattr(-,root,root,-)
%doc Changes *.txt tricks.wgrib testbin.[cf] land.grb
%{_bindir}/wgrib
%changelog
+* Wed Oct 16 2013 - Orion Poplawski <orion at cora.nwra.com> - 1.8.1.2b-1
+- Update to 1.8.1.2b
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.8.1.2a-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list