Skip to content

Commit

Permalink
Version 5.2.4: Kamehameha I
Browse files Browse the repository at this point in the history
  • Loading branch information
czender committed Apr 15, 2024
1 parent 916f71c commit c84c8de
Show file tree
Hide file tree
Showing 11 changed files with 107 additions and 66 deletions.
11 changes: 7 additions & 4 deletions bld/nco.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
# http://cvs.fedoraproject.org/viewvc/devel/nco/nco.spec?view=co

Name: nco
Version: 5.2.3
Version: 5.2.4
Release: 1%{?dist}
Summary: Programs that manipulate netCDF files
Group: Applications/Engineering
License: BSD
URL: http://nco.sf.net/

# Obtain NCO version 5.2.3-1 tar.gz from Sourceforge using CVS:
# Obtain NCO version 5.2.4-1 tar.gz from Sourceforge using CVS:
# cvs -d:pserver:anonymous@nco.cvs.sf.net:/cvsroot/nco login
# cvs -z3 -d:pserver:anonymous@nco.cvs.sf.net:/cvsroot/nco co -r nco-5.2.3-1 -d nco-%{version} nco
# tar czf nco-%{version}.tar.gz --exclude='nco-5.2.3/debian*' --exclude='.cvsignore' --exclude=ncap_lex.c --exclude='ncap_yacc.[ch]' ./nco-%{version}
# cvs -z3 -d:pserver:anonymous@nco.cvs.sf.net:/cvsroot/nco co -r nco-5.2.4-1 -d nco-%{version} nco
# tar czf nco-%{version}.tar.gz --exclude='nco-5.2.4/debian*' --exclude='.cvsignore' --exclude=ncap_lex.c --exclude='ncap_yacc.[ch]' ./nco-%{version}
Source0: nco-%{version}.tar.gz
#Patch0: nco_install_C_headers.patch
#Patch1: nco_find_udunits-dat.patch
Expand Down Expand Up @@ -108,6 +108,9 @@ fi
# %{_libdir}/libnco++.so

%changelog
* Mon Apr 15 2024 Charlie Zender <zender@uci.edu> - 5.2.4-1
- new upstream 5.2.4

* Wed Apr 03 2024 Charlie Zender <zender@uci.edu> - 5.2.3-1
- new upstream 5.2.3

Expand Down
30 changes: 15 additions & 15 deletions bld/nco_dst.pl
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@

# Usage:
# Export tagged, public versions
# /usr/bin/scp ${DATA}/nco-5.2.3.tar.gz zender,nco@web.sf.net:/home/project-web/nco/htdocs/src

# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --bld --cln nco-5.2.3 # Build, do not release on SF
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --bld --cln --sf nco-5.2.3 # Build, release on SF
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --nst_all nco-5.2.3 # Install, do not build
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --bld --cln --nst_all nco-5.2.3 # Build and install
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --acd_cnt nco-5.2.3
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --acd_prs nco-5.2.3
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --cgd_cnt nco-5.2.3
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --cray_prs nco-5.2.3
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --bbl_cnt nco-5.2.3
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --blk_cnt nco-5.2.3
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --dat_cnt nco-5.2.3
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --ute_prs nco-5.2.3
# /usr/bin/scp ${DATA}/nco-5.2.4.tar.gz zender,nco@web.sf.net:/home/project-web/nco/htdocs/src

# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --bld --cln nco-5.2.4 # Build, do not release on SF
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --bld --cln --sf nco-5.2.4 # Build, release on SF
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --nst_all nco-5.2.4 # Install, do not build
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --bld --cln --nst_all nco-5.2.4 # Build and install
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --acd_cnt nco-5.2.4
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --acd_prs nco-5.2.4
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --cgd_cnt nco-5.2.4
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --cray_prs nco-5.2.4
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --bbl_cnt nco-5.2.4
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --blk_cnt nco-5.2.4
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --dat_cnt nco-5.2.4
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --ute_prs nco-5.2.4

# Export daily snapshot
# ${HOME}/nco/bld/nco_dst.pl --dbg=2
Expand Down Expand Up @@ -256,7 +256,7 @@ BEGIN
# Set up FTP server
chdir $dst_pth_pfx or die "$prg_nm: ERROR unable to chdir to $dst_pth_pfx: $!\n"; # $! is system error string
cmd_prc("$cp_cmd $doc_fl ./$dst_vrs/doc"); # Copy derived documentation to source directory
cmd_prc("$tar_cmd cvzf $dst_fl --exclude='nco-5.2.3/debian*' --exclude='.cvsignore' --exclude=ncap_lex.c --exclude=ncap_yacc.[ch] ./$dst_vrs"); # Create gzipped tarfile
cmd_prc("$tar_cmd cvzf $dst_fl --exclude='nco-5.2.4/debian*' --exclude='.cvsignore' --exclude=ncap_lex.c --exclude=ncap_yacc.[ch] ./$dst_vrs"); # Create gzipped tarfile
cmd_prc("$rsh_cmd $www_mch $rm_cmd $www_drc/src/$dst_fl"); # Remove any distribution with same name
if($dly_snp){cmd_prc("$rsh_cmd $www_mch $rm_cmd -r $www_drc/src/nco-????????.tar.gz");} # Remove previous daily snapshots from WWW server
cmd_prc("$rcp_cmd $dst_fl $www_mch:$www_drc/src"); # Copy local tarfile to WWW server
Expand Down
20 changes: 10 additions & 10 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.72 for NCO netCDF Operators 5.2.4-alpha03.
# Generated by GNU Autoconf 2.72 for NCO netCDF Operators 5.2.4.
#
# Report bugs to <nco-bugs@lists.sourceforge.net>.
#
Expand Down Expand Up @@ -616,8 +616,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='NCO netCDF Operators'
PACKAGE_TARNAME='nco'
PACKAGE_VERSION='5.2.4-alpha03'
PACKAGE_STRING='NCO netCDF Operators 5.2.4-alpha03'
PACKAGE_VERSION='5.2.4'
PACKAGE_STRING='NCO netCDF Operators 5.2.4'
PACKAGE_BUGREPORT='nco-bugs@lists.sourceforge.net'
PACKAGE_URL=''

Expand Down Expand Up @@ -1424,7 +1424,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
'configure' configures NCO netCDF Operators 5.2.4-alpha03 to adapt to many kinds of systems.
'configure' configures NCO netCDF Operators 5.2.4 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1496,7 +1496,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of NCO netCDF Operators 5.2.4-alpha03:";;
short | recursive ) echo "Configuration of NCO netCDF Operators 5.2.4:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1668,7 +1668,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
NCO netCDF Operators configure 5.2.4-alpha03
NCO netCDF Operators configure 5.2.4
generated by GNU Autoconf 2.72

Copyright (C) 2023 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2447,7 +2447,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by NCO netCDF Operators $as_me 5.2.4-alpha03, which was
It was created by NCO netCDF Operators $as_me 5.2.4, which was
generated by GNU Autoconf 2.72. Invocation command line was

$ $0$ac_configure_args_raw
Expand Down Expand Up @@ -4366,7 +4366,7 @@ fi

# Define the identity of the package.
PACKAGE='nco'
VERSION='5.2.4-alpha03'
VERSION='5.2.4'


printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
Expand Down Expand Up @@ -22890,7 +22890,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by NCO netCDF Operators $as_me 5.2.4-alpha03, which was
This file was extended by NCO netCDF Operators $as_me 5.2.4, which was
generated by GNU Autoconf 2.72. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -22958,7 +22958,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
NCO netCDF Operators config.status 5.2.4-alpha03
NCO netCDF Operators config.status 5.2.4
configured by $0, generated by GNU Autoconf 2.72,
with options \\"\$ac_cs_config\\"

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
# 20170808: Choose between traditional version and Git-based version
# If Git, consider that Linux dynamic libraries will have full messy name, MacOS will not
# https://stackoverflow.com/questions/43526939/how-to-insert-git-based-version-in-autoconf-managed-project
AC_INIT([NCO netCDF Operators],[5.2.4-alpha03],[nco-bugs@lists.sourceforge.net],[nco])
AC_INIT([NCO netCDF Operators],[5.2.4],[nco-bugs@lists.sourceforge.net],[nco])

# Print GNU copyright in configure script
AC_COPYRIGHT
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
nco (5.2.4-1) unstable; urgency=low

* new upstream version Kamehameha I: all: --qnt, NCO client nco_qnt_mtd(); ncclimo/ncremap: dbg; ncclimo: ncap2 cxl rgn_avg hst

-- Charlie Zender <zender@uci.edu> Mon, 15 Apr 2024 12:26:11 -0700

nco (5.2.3-1) unstable; urgency=low

* new upstream version Cowboy Carter: all: mss_val wrn; ncclimo: rgn_avg fix elm, hrz_dmn, hrz_arg, area_wgt, ppn_opt; ncremap: upd doc
Expand Down
32 changes: 30 additions & 2 deletions doc/ANNOUNCE
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ No major new features are implemented.
Skip this release if these changes are not important to you.

Work on NCO 5.2.5 has commenced and will add support for Zarr S3
stores, and to enhance the vertical regridder.
stores, and will enhance the vertical regridder.

Enjoy,
Charlie
Expand All @@ -31,9 +31,37 @@ http://nco.sf.net/nco.html#qnt
http://nco.sf.net/nco.html#ppc
http://nco.sf.net/nco.html#quantize

B. All numeric operators now write CF-compliant metadata for quantization
algorithms through the NCO internal algorithms. (Previously NCO wrote CF
metadata only for quanitzation performed by the netCDF library.)
NCO no longer writes the really long quantization metadata attributes
such as QuantizeBitGroomNumberOfSignificantDigits. Note that libnetcdf
still does write these attributes (prepended by an underscore) when
its quantization functions are invoked.
% ncks -O -7 --baa=8 --qnt prs_sfc=6 --cmp='shf|zst' in.nc out.nc
% ncks -m -v prs_sfc,compression_info out.nc
netcdf foo2 {
dimensions:
lat = 2 ;
lon = 4 ;
time = UNLIMITED ; // (10 currently)

variables:
char compression_info ;
compression_info:family = "quantize" ;
compression_info:algorithm = "BitRound" ;
compression_info:implementation = "NCO version 5.2.4" ;

float prs_sfc(time,lat,lon) ;
prs_sfc:long_name = "Surface pressure" ;
prs_sfc:units = "pascal" ;
prs_sfc:lossy_compression = "compression_info" ;
prs_sfc:lossy_compression_nsb = 6 ;
} // group /

BUG FIXES:

A. Hi
A. None

Full release statement at http://nco.sf.net/ANNOUNCE

Expand Down
6 changes: 3 additions & 3 deletions doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
2024-04-15 Charlie Zender <zender@uci.edu>

* NCO 5.2.4-beta01 release procedure:
cd ~/nco;git commit -a -m 'Version 5.2.4-beta01: Kamehameha I';git push
git tag -a 5.2.4-beta01 -m 'all: --qnt, NCO client nco_qnt_mtd(); ncclimo/ncremap: dbg';git push --tags
* NCO 5.2.4 release procedure:
cd ~/nco;git commit -a -m 'Version 5.2.4: Kamehameha I';git push
git tag -a 5.2.4 -m 'all: --qnt, NCO client nco_qnt_mtd(); ncclimo/ncremap: dbg; ncclimo: ncap2 cxl rgn_avg hst';git push --tags

2024-04-11 Charlie Zender <zender@uci.edu>

Expand Down
2 changes: 1 addition & 1 deletion doc/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.2.4-alpha03
5.2.4

0 comments on commit c84c8de

Please sign in to comment.