Skip to content

Commit 8a3c8e6

Browse files
authored
Merge pull request #135 from akrherz/gh134_nawips_7_16_0
Merge NAWIPS 7.16.0
2 parents 73c2340 + c491ea5 commit 8a3c8e6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+410229
-411889
lines changed

CHANGELOG.md

+8

build/DEBIAN/control

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

build/Installer.gempak/extlibs.spec

+1-1
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.2
5+
%define version 7.16.0
66
Name: gempak-extlibs
77
Summary: Unidata Community GEMPAK
88
Version: %{version}

build/Installer.gempak/gempak.spec

+1-1
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.2
13+
%define version 7.16.0
1414
Name: gempak
1515
Summary: Unidata Community GEMPAK
1616
Version: %{version}

build/docker/Dockerfile.centos

+1-1
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.2-1.el7.centos.x86_64.rpm
13+
RUN rpm -ivh https://www.unidata.ucar.edu/downloads/gempak/latest/gempak-7.16.0-1.el7.centos.x86_64.rpm
1414

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

build/docker/Dockerfile.ubuntu

+2-2
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.2.deb
15-
RUN dpkg -i gempak-7.15.2.deb
14+
RUN wget https://www.unidata.ucar.edu/downloads/gempak/latest/gempak-7.16.0.deb
15+
RUN dpkg -i gempak-7.16.0.deb
1616

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

build/gempak-devel/Dockerfile.centos6

+1-1
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.2-1.el6.x86_64.rpm
29+
RUN rpm -ivh https://www.unidata.ucar.edu/downloads/gempak/latest/gempak-extlibs-7.16.0-1.el6.x86_64.rpm

build/gempak-devel/Dockerfile.centos7

+1-1
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.2-1.el7.centos.x86_64.rpm
29+
RUN rpm -ivh https://www.unidata.ucar.edu/downloads/gempak/latest/gempak-extlibs-7.16.0-1.el7.centos.x86_64.rpm

build/gempak-devel/Dockerfile.fedora

+1-1
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.2-1.fc26.x86_64.rpm
29+
RUN rpm -ivh https://www.unidata.ucar.edu/downloads/gempak/latest/gempak-extlibs-7.16.0-1.fc26.x86_64.rpm

gempak/maps/hicnus.nws

-25 KB
Binary file not shown.

gempak/maps/hicwa.nws

-18 KB
Binary file not shown.

gempak/maps/hifzus.nws

-3 KB
Binary file not shown.

gempak/maps/himouo.nws

0 Bytes
Binary file not shown.

gempak/maps/himzcn.nws

-16 KB
Binary file not shown.

gempak/maps/hiosuo.nws

-1 KB
Binary file not shown.

gempak/maps/hiznus.nws

-8 KB
Binary file not shown.

gempak/maps/locnus.nws

-4 KB
Binary file not shown.

gempak/maps/locwa.nws

-1 KB
Binary file not shown.

gempak/maps/lofzus.nws

-7 KB
Binary file not shown.

gempak/maps/lomouo.nws

0 Bytes
Binary file not shown.

gempak/maps/lomzcn.nws

-3 KB
Binary file not shown.

gempak/maps/loosuo.nws

1 KB
Binary file not shown.

gempak/maps/loznus.nws

-1 KB
Binary file not shown.

gempak/maps/mecnus.nws

-5 KB
Binary file not shown.

gempak/maps/mecwa.nws

-2 KB
Binary file not shown.

gempak/maps/mefzus.nws

-7 KB
Binary file not shown.

gempak/maps/memouo.nws

1 KB
Binary file not shown.

gempak/maps/memzcn.nws

2 KB
Binary file not shown.

gempak/maps/meosuo.nws

4 KB
Binary file not shown.

gempak/maps/meznus.nws

-1 KB
Binary file not shown.

gempak/maps/tpcnus.nws

-18 KB
Binary file not shown.

gempak/maps/tpcwa.nws

-14 KB
Binary file not shown.

gempak/maps/tpfzus.nws

-11 KB
Binary file not shown.

gempak/maps/tpmouo.nws

0 Bytes
Binary file not shown.

gempak/maps/tpmzcn.nws

-12 KB
Binary file not shown.

gempak/maps/tposuo.nws

3 KB
Binary file not shown.

gempak/maps/tpznus.nws

-22 KB
Binary file not shown.

gempak/source/gemlib/ss/ssvers.f

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,17 @@ SUBROUTINE SS_VERS ( vmsg, iret )
7575
C* B. Hebbard/NCEP 02/21 Updated to 7.13.0 *
7676
C* B. Hebbard/NCEP 03/21 Updated to 7.14.0 *
7777
C* B. Hebbard/NCEP 04/21 Updated to 7.15.0 *
78-
C* B. Hebbard/NCEP 10/20 Updated to 8.0.0 *
7978
C* B. Hebbard/NCEP 07/22 Updated to 7.15.1 *
8079
C* B. Hebbard/NCEP 12/22 Updated to 7.15.2 *
80+
C* B. Hebbard/NCEP 02/23 Updated to 7.16.0 *
8181
C************************************************************************
8282
CHARACTER*(*) vmsg
8383
C------------------------------------------------------------------------
8484
iret = 0
8585
C
8686
C* Set the version string and add a null to the end.
8787
C
88-
vmsg = 'Version 7.15.2'
88+
vmsg = 'Version 7.16.0'
8989
CALL ST_NULL ( vmsg, vmsg, lens, ier )
9090
C*
9191
RETURN

gempak/source/programs/gui/nmap2/nmap_dslw.c

+6-5
Original file line numberDiff line numberDiff line change
@@ -3728,6 +3728,7 @@ void dslw_setFirst (int mod, int mem, char *list1, char *list2 )
37283728
** *
37293729
* Log: *
37303730
* M. Li/SAIC 07/08 *
3731+
* S. Guan/NCEP 02/23 Fixed Nmap2 crashes. *
37313732
***********************************************************************/
37323733
{
37333734
int ii, iflag = -1, nn, ipos1, ipos2, ier;
@@ -3794,11 +3795,6 @@ void dslw_setFirst (int mod, int mem, char *list1, char *list2 )
37943795
strcat ( list2, "}" );
37953796
list2[strlen(list2)] = '\0';
37963797

3797-
for ( ii = 0; ii < 30; ii++) {
3798-
free(clist[ii]);
3799-
}
3800-
free(clist);
3801-
38023798
if ( strchr(clist[0], '/') ) {
38033799
cst_ilst ( _cycIdx, ',', -1, 20, intattr, &intnum, &ier );
38043800
itmp = intattr[0];
@@ -3817,6 +3813,11 @@ void dslw_setFirst (int mod, int mem, char *list1, char *list2 )
38173813
_cycIdx[strlen(_cycIdx)] = '\0';
38183814
}
38193815

3816+
for ( ii = 0; ii < 30; ii++) {
3817+
free(clist[ii]);
3818+
}
3819+
free(clist);
3820+
38203821
}
38213822

38223823
/*=====================================================================*/

gempak/source/programs/gui/nmap2/nmap_pgsigw.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -2735,10 +2735,12 @@ void pgsigw_phenllCb ( Widget wid, long clnt, XtPointer cbs )
27352735
* H. Zeng/EAI 11/00 Added more rigid check to the values *
27362736
* E. Safford/SAIC 12/01 correct array bound write, use NO_VAL *
27372737
* J. Lewis/AWC 09/07 Prepend N,S,E,W to phenom lat/lon values*
2738+
* S. Guan/NCEP 02/23 Concurred and accepted the code change *
2739+
* Larry Hinson/AWC did. *
27382740
***********************************************************************/
27392741
{
27402742
char *newlatlon, chlatlon[MAX_LONSTR], chnum[MAX_LONSTR];
2741-
char dirch[] = "N", chtmp[4];
2743+
char dirch[] = "N", chtmp[MAX_LONSTR];
27422744
int length, iret, nlatlon;
27432745
/*---------------------------------------------------------------------*/
27442746

gempak/source/programs/gui/nmap2/nmap_pgvolw.c

+21-17
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ Widget pgvolw_editCreate ( Widget parent )
10021002
XmNtopOffset, -2,
10031003
XmNleftAttachment, XmATTACH_WIDGET,
10041004
XmNleftWidget, obtime_rc,
1005-
XmNleftOffset, 30,
1005+
XmNleftOffset, 28,
10061006
NULL);
10071007

10081008
/*
@@ -1019,7 +1019,7 @@ Widget pgvolw_editCreate ( Widget parent )
10191019
NULL );
10201020

10211021
/*
1022-
* EST check box
1022+
* EST (estimated, or "Est'd"check box
10231023
*/
10241024
_estBtnW = XtVaCreateManagedWidget(" ",
10251025
xmToggleButtonWidgetClass, info_form,
@@ -1038,13 +1038,13 @@ Widget pgvolw_editCreate ( Widget parent )
10381038
XmNtopOffset, 16,
10391039
XmNleftAttachment, XmATTACH_WIDGET,
10401040
XmNleftWidget, obtime_rc,
1041-
XmNleftOffset, 30,
1041+
XmNleftOffset, 28,
10421042
NULL);
10431043

10441044
/*
1045-
* EST label
1045+
* ESTi (estimated, or "Est'd" label
10461046
*/
1047-
XtVaCreateManagedWidget ("EST",
1047+
XtVaCreateManagedWidget ("Est'd",
10481048
xmLabelWidgetClass, info_form,
10491049
XmNtopAttachment, XmATTACH_OPPOSITE_WIDGET,
10501050
XmNtopWidget, obtime_rc,
@@ -3765,8 +3765,9 @@ void pgvolw_createProd ( VG_DBStruct *vol, char **filter, char *text,
37653765
* J. Wu/SAIC 04/06 add parameter in cst_wrap *
37663766
* H. Zeng/SAIC 04/06 changed to use month index number *
37673767
* S. Jacobs/NCEP 10/12 Removed NNNN and preceding blank line *
3768-
* B. Hebbard/NCEP 11/19 If obsdate/time NIL, dflt OAC->NOT AVBL *i
3768+
* B. Hebbard/NCEP 11/19 If obsdate/time NIL, dflt OAC->NOT AVBL *
37693769
* B. Hebbard/NCEP 03/22 Choose OBS v. EST in prod text for init *
3770+
* B. Hebbard/NCEP 02/23 F06/F12/F18: Show generated times always*
37703771
***********************************************************************/
37713772
{
37723773
int vg_class, vg_type, adjust_min;
@@ -4078,10 +4079,11 @@ void pgvolw_createProd ( VG_DBStruct *vol, char **filter, char *text,
40784079
strcat ( text, vol->elem.vol.info.fcst_06 );
40794080
strcat ( text, "\n\n" );
40804081
}
4081-
else {
4082+
else {
40824083

4083-
strcat ( text, filter[10] );
4084-
strcat ( text, "\n\n" );
4084+
strcat ( text, vol->elem.vol.info.fcst_06 );
4085+
strcat ( text, filter[10] );
4086+
strcat ( text, "\n\n" );
40854087
}
40864088
}
40874089

@@ -4096,11 +4098,12 @@ void pgvolw_createProd ( VG_DBStruct *vol, char **filter, char *text,
40964098
strcat ( text, vol->elem.vol.info.fcst_12 );
40974099
strcat ( text, "\n\n" );
40984100
}
4099-
else {
4101+
else {
41004102

4101-
strcat ( text, filter[11] );
4102-
strcat ( text, "\n\n" );
4103-
}
4103+
strcat ( text, vol->elem.vol.info.fcst_12 );
4104+
strcat ( text, filter[11] );
4105+
strcat ( text, "\n\n" );
4106+
}
41044107
}
41054108

41064109
if ( filter[12] != NULL ) {
@@ -4114,11 +4117,12 @@ void pgvolw_createProd ( VG_DBStruct *vol, char **filter, char *text,
41144117
strcat ( text, vol->elem.vol.info.fcst_18 );
41154118
strcat ( text, "\n\n" );
41164119
}
4117-
else {
4120+
else {
41184121

4119-
strcat ( text, filter[12] );
4120-
strcat ( text, "\n\n" );
4121-
}
4122+
strcat ( text, vol->elem.vol.info.fcst_18 );
4123+
strcat ( text, filter[12] );
4124+
strcat ( text, "\n\n" );
4125+
}
41224126
}
41234127

41244128
if ( filter[13] != NULL ) {

0 commit comments

Comments
 (0)