Skip to content

Commit 73c2340

Browse files
authored
Merge pull request #131 from akrherz/nawips7_15_2
Nawips 7.15.2
2 parents 9a73a71 + d145ea9 commit 73c2340

File tree

12 files changed

+42
-16
lines changed

12 files changed

+42
-16
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<!-- markdownlint-configure-file {"MD024": { "siblings_only": true } } -->
22
# Unidata Community GEMPAK Change Log
33

4+
## 7.15.2 (15 Feb 2023)
5+
6+
This release merges upstream NCEP NAWIPS 7.15.2, whose CHANGELOG includes:
7+
8+
- fix to gempak/source/bridge/ru/ruwhgt.f
9+
10+
This release also includes the following GEMPAK Community changes:
11+
12+
- Some fixes and cleanups to CI/build infrastructure.
13+
414
## 7.15.1 (8 Oct 2022)
515

616
This release merges upstream NCEP NAWIPS 7.15.1, whose CHANGELOG includes:

build/DEBIAN/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: gempak
2-
Version: 7.15.1
2+
Version: 7.15.2
33
Maintainer: Daryl Herzmann
44
Architecture: all
55
Description: Unidata GEMPAK Distribution

build/Installer.gempak/extlibs.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
%define __prelink_undo_cmd %{nil}
33
%define gem_home /home/gempak/GEMPAK7
44
%define prefix /home/gempak
5-
%define version 7.15.1
5+
%define version 7.15.2
66
Name: gempak-extlibs
77
Summary: Unidata Community GEMPAK
88
Version: %{version}

build/Installer.gempak/gempak.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
%define __prelink_undo_cmd %{nil}
1111
%define gem_home /home/gempak/GEMPAK7
1212
%define prefix /home/gempak
13-
%define version 7.15.1
13+
%define version 7.15.2
1414
Name: gempak
1515
Summary: Unidata Community GEMPAK
1616
Version: %{version}

build/docker/Dockerfile.centos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN yum clean all
1010
RUN yum install openmotif libX11 libXt libXext libXp libXft libXtst xorg-x11-xbitmaps csh libgfortran which python-pip git -y
1111

1212
# Latest RPM for CentOS 7
13-
RUN rpm -ivh https://www.unidata.ucar.edu/downloads/gempak/latest/gempak-7.15.1-1.el7.centos.x86_64.rpm
13+
RUN rpm -ivh https://www.unidata.ucar.edu/downloads/gempak/latest/gempak-7.15.2-1.el7.centos.x86_64.rpm
1414

1515
# Python AWIPS Data Acess Framework
1616
RUN pip install six shapely numpy

build/docker/Dockerfile.ubuntu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ RUN apt-get install wget python-pip python-dev build-essential -y
1111
RUN pip install --upgrade pip
1212

1313
# Latest source code
14-
RUN wget https://www.unidata.ucar.edu/downloads/gempak/latest/gempak-7.15.1.deb
15-
RUN dpkg -i gempak-7.15.1.deb
14+
RUN wget https://www.unidata.ucar.edu/downloads/gempak/latest/gempak-7.15.2.deb
15+
RUN dpkg -i gempak-7.15.2.deb
1616

1717
# Python AWIPS Data Acess Framework
1818
RUN pip install six shapely numpy

build/gempak-devel/Dockerfile.centos6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ RUN yum install -y \
2626
python-devel
2727

2828
# Bootstrap install extlibs...
29-
RUN rpm -ivh https://www.unidata.ucar.edu/downloads/gempak/latest/gempak-extlibs-7.15.1-1.el6.x86_64.rpm
29+
RUN rpm -ivh https://www.unidata.ucar.edu/downloads/gempak/latest/gempak-extlibs-7.15.2-1.el6.x86_64.rpm

build/gempak-devel/Dockerfile.centos7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ RUN yum install -y \
2626
python-devel
2727

2828
# Bootstrap install extlibs...
29-
RUN rpm -ivh https://www.unidata.ucar.edu/downloads/gempak/latest/gempak-extlibs-7.15.1-1.el7.centos.x86_64.rpm
29+
RUN rpm -ivh https://www.unidata.ucar.edu/downloads/gempak/latest/gempak-extlibs-7.15.2-1.el7.centos.x86_64.rpm

build/gempak-devel/Dockerfile.fedora

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ RUN yum install -y \
2626
python-devel
2727

2828
# Bootstrap install extlibs...
29-
RUN rpm -ivh https://www.unidata.ucar.edu/downloads/gempak/latest/gempak-extlibs-7.15.1-1.fc26.x86_64.rpm
29+
RUN rpm -ivh https://www.unidata.ucar.edu/downloads/gempak/latest/gempak-extlibs-7.15.2-1.fc26.x86_64.rpm

gempak/source/bridge/ru/ruwhgt.f

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ SUBROUTINE RU_WHGT ( field, nwnd, hght, iret )
2121
C** *
2222
C* Log: *
2323
C* M. desJardins/GSFC 8/86 *
24+
C* S. Guan NCEP/NCO 11/22 Improve to handle all missing *
25+
C* data case. *
2426
C************************************************************************
2527
INCLUDE 'GEMPRM.PRM'
2628
C*
@@ -51,15 +53,28 @@ SUBROUTINE RU_WHGT ( field, nwnd, hght, iret )
5153
C
5254
C* Convert the unit digits to integers and compute height.
5355
C
54-
DO WHILE ( ( ier .eq. 0 ) .and. ( nwnd .lt. 3 ) )
56+
DO WHILE ( ( nwnd .lt. 3 ) )
5557
i = nwnd + 3
5658
CALL ST_INTG ( field (i:i), iunit, ier )
59+
nwnd = nwnd + 1
5760
IF ( ier .eq. 0 ) THEN
58-
nwnd = nwnd + 1
59-
z = ( (iten + iunit) * 1000 + iadd )
60-
hght ( nwnd ) = PR_HGFM ( z )
61+
z = ( (iten + iunit) * 1000 + iadd )
62+
hght ( nwnd ) = PR_HGFM ( z )
63+
ELSE
64+
hght ( nwnd ) = RMISSD
6165
END IF
6266
END DO
63-
C*
67+
C
68+
C* Determine nwnd.
69+
C
70+
DO i = 5, 3, -1
71+
CALL ST_INTG ( field (i:i), iunit, ier )
72+
IF ( ier .eq. 0 ) THEN
73+
nwnd = i - 2
74+
RETURN
75+
END IF
76+
END DO
77+
nwnd = 0
78+
6479
RETURN
6580
END

0 commit comments

Comments
 (0)