diff --git a/bld/nco.spec b/bld/nco.spec index f29ba9cee..2c9a96e79 100644 --- a/bld/nco.spec +++ b/bld/nco.spec @@ -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 @@ -108,6 +108,9 @@ fi # %{_libdir}/libnco++.so %changelog +* Mon Apr 15 2024 Charlie Zender - 5.2.4-1 +- new upstream 5.2.4 + * Wed Apr 03 2024 Charlie Zender - 5.2.3-1 - new upstream 5.2.3 diff --git a/bld/nco_dst.pl b/bld/nco_dst.pl index cc00e7a26..c8da6b90c 100755 --- a/bld/nco_dst.pl +++ b/bld/nco_dst.pl @@ -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 @@ -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 diff --git a/configure b/configure index 76f5e3524..44ed0b634 100755 --- a/configure +++ b/configure @@ -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 . # @@ -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='' @@ -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]... @@ -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 @@ -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. @@ -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 @@ -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 @@ -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 @@ -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\\" diff --git a/configure.ac b/configure.ac index ea546c7ca..2ef730e04 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/debian/changelog b/debian/changelog index 26d56bf3d..3f90a8960 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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 diff --git a/doc/ANNOUNCE b/doc/ANNOUNCE index 10aea5d9a..e5881cce8 100644 --- a/doc/ANNOUNCE +++ b/doc/ANNOUNCE @@ -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 @@ -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 diff --git a/doc/ChangeLog b/doc/ChangeLog index 4cde2d935..14ee992d6 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,8 +1,8 @@ 2024-04-15 Charlie Zender - * 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 diff --git a/doc/VERSION b/doc/VERSION index 7989bf12e..73ce95023 100644 --- a/doc/VERSION +++ b/doc/VERSION @@ -1 +1 @@ -5.2.4-alpha03 +5.2.4 diff --git a/doc/index.shtml b/doc/index.shtml index f0b9a03ab..bc9aef72a 100644 --- a/doc/index.shtml +++ b/doc/index.shtml @@ -71,7 +71,7 @@ Try to disable Spammers' machines:

Bienvenue sur le netCDF Operator (NCO) site

-Current stable NCO version is 5.2.3 released +Current stable NCO version is 5.2.4 released

@@ -155,7 +155,8 @@ and

Recent Releases & Milestones

    -
  • 2024 May ??: 5.2.4 In Progress... +
  • 2024 May ??: 5.2.5 In Progress... +
  • 2024 Apr 15: 5.2.4 CF lossy metadata
  • 2024 Apr 03: 5.2.3 ncclimo --rgn_avg
  • 2024 Mar 22: 5.2.2 ncchecker
  • 2024 Feb 18: 5.2.1 Quick fix to 5.2.0 @@ -654,15 +655,18 @@ Identical copies of those tarballs are also stored here on SourceForge for historical continuity. You may retrieve the source of tagged versions directly with, e.g., -git clone -b 5.2.3 http://github.com/nco/nco.git nco-5.2.3. +git clone -b 5.2.4 http://github.com/nco/nco.git nco-5.2.4.
      -
    • NCO 5.2.5: (Future) +
    • NCO 5.2.6: (Future) netCDF4 user-defined types support; ncks --xtn better extensive variable treatment?; ncks --bsa Byte-swap algoritm; ncremap small-circle weights;
    • -
    • NCO 5.2.4: (In Progress, features in-progress or complete include) +
    • NCO 5.2.5: (In Progress, features in-progress or complete include) ncremap CF Convention for longitude vertices in map-files
    • +
    • NCO 5.2.4: (Current Stable Release) +all CF lossy metadata support for NCO algorithms; +ncclimo/ncremap add debug info
    • NCO 5.2.3: (Current Stable Release) ncclimo --rgn_avg fixes; ncremap documentation updates
    • @@ -818,7 +822,7 @@ Or, alternatively, permanently add conda-forge (which teems with goodies besides ‘conda config --add channels conda-forge’, then install NCO with ‘conda install nco’. The default NCO installed by conda is generally within a month of the latest release. -
    • nco-5.2.3 Executables Anaconda-compatible. Maintained by Filipe Fernandes.
    • +
    • nco-5.2.4 Executables Anaconda-compatible. Maintained by Filipe Fernandes.
    • Thanks to Rich Signell, Filipe Fernandes, Pedro Vicente, Xylar Asay-Davis and others for developing and maintaining the NCO package for conda.
    @@ -827,7 +831,7 @@ Thanks to Rich Signell, Filipe Fernandes, Pedro Vicente, Xylar Asay-Davis and ot

    Debian and Ubuntu GNU/Linux

      Debian NCO and Ubuntu NCO homepages. @@ -835,8 +839,8 @@ Thanks to Rich Signell, Filipe Fernandes, Pedro Vicente, Xylar Asay-Davis and ot NCO packages in the Debian/Ubuntu repositories (e.g., Sid and Raring) generally lag the packages distributed here by 6–12 months. Newer (beta- or pre-release) packages are often available for intrepid Debian/Ubuntu users as described here. -
      Debian package for most recent NCO release (install with, e.g., ‘dpkg --install nco_5.2.3-1_i386.deb’):
      -
    • nco_5.2.3-1_amd64.deb : Executables AMD64-compatible
    • +
      Debian package for most recent NCO release (install with, e.g., ‘dpkg --install nco_5.2.4-1_i386.deb’):
      +
    • nco_5.2.4-1_amd64.deb : Executables AMD64-compatible
    • Thanks to Daniel Baumann, Sebastian Couwenberg, Barry deFreese, Francesco Lovergine, Brian Mays, Rorik Peterson, and Matej Vela for their help packaging NCO for Debian over the years. @@ -880,10 +884,10 @@ Thanks to Gavin Burris and Kyle Wilcox for documenting build procedures for RHEL The most up-to-date executables are probably those in the tarball below. Those unfamiliar with installing executables from tarballs may try the (older) DMG files (you may need to add /opt/local/bin to your executable path to access those operators). -
    • nco-5.2.3.macos.14.4.tar.gz (): Executables MacOS 14.4-compatible (last updated ). Maintained by NCO Project.
    • +
    • nco-5.2.4.macos.14.4.tar.gz (): Executables MacOS 14.4-compatible (last updated ). Maintained by NCO Project.
    • Fink packages for NCO: Currently NCO 4.9.5. Maintained by Alexander Hansen.
    • Homebrew packages for NCO: Currently NCO 5.1.5. Install with ‘brew install nco’. Maintained by Carlo Cabrera, Ian Lancaster, Alejandro Soto, and others over the years.
    • MacPorts infrastructure for NCO: Portfile: Currently NCO 5.1.1. Install with ‘sudo port install nco’. Maintained by Takeshi Enomoto.
    • @@ -1086,12 +1090,12 @@ On the Bug Tickets site. The simplest way to acquire the source is to download the compressed tarball: @@ -1112,8 +1116,8 @@ To avoid the churn that comes with using the latest snapshot, potential contributors may wish to retrieve a recent tagged (i.e., stable and released) version, This command retrieves the entire NCO repository (< 20 MB) and -then checks out NCO version 5.2.3: -

      git clone https://github.com/nco/nco.git;cd nco;git checkout 5.2.3

      +then checks out NCO version 5.2.4: +

      git clone https://github.com/nco/nco.git;cd nco;git checkout 5.2.4

      However, the most efficient way to actively track and develop NCO is to retrieve the current (“bleeding edge”) NCO snapshot. This command retrieves the latest NCO master branch into a local @@ -1123,12 +1127,12 @@ directory named nco: Track changes to the development version using

      cd nco;git pull

      One difference between running a "tagged" release -(e.g., 5.2.3) and the development version is that the +(e.g., 5.2.4) and the development version is that the tagged release operators will print a valid version number (e.g., -5.2.3) when asked to do so with the -r flag +5.2.4) when asked to do so with the -r flag (e.g., ncks -r). Snapshots will include the sub-version and patch-level in the version -information (e.g., 5.2.3-alpha06). +information (e.g., 5.2.4-alpha06).