Skip to content
Commits on Source (7)
......@@ -28,17 +28,16 @@ install:
# Add path, activate `conda` and update conda.
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
- cmd: conda.exe config --set always_yes yes --set changeps1 no --set show_channel_urls true
- cmd: conda.exe update conda
- cmd: conda.exe config --remove channels defaults --force
- cmd: conda.exe config --add channels conda-forge --force
- cmd: conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
- cmd: conda update conda
- cmd: conda config --remove channels defaults --force
- cmd: conda config --add channels conda-forge --force
- cmd: set PYTHONUNBUFFERED=1
- cmd: conda.exe create --name TEST python=%PY% cmake antlr=2.7.7 curl expat gsl hdf5 libnetcdf udunits2 zlib
- cmd: conda activate TEST
- cmd: conda info --all
- cmd: conda.exe info --all
- cmd: conda.exe list
- cmd: conda create --name TEST python=%PY% cmake antlr=2.7.7 curl expat gsl hdf5 libnetcdf udunits2 zlib
- cmd: conda activate TEST
# Skip .NET project specific build phase.
build: off
......
......@@ -204,7 +204,7 @@ if (has_nc_open_mem AND path_netcdf_mem_h)
add_definitions(-DHAVE_NETCDF_MEM_H)
message("-- NetCDF diskless functionaliy enabled")
else()
message("-- NetCDF diskless functionaliy not available, netcdf_mem.h or nc_open_mem not found")
message("-- NetCDF diskless functionaliy not available, netcdf_mem.h or nc_open_mem() not found")
endif()
#if nc_def_var_filter() is available, nc_inq_path(), nc_inq_format() and has_nc_open_mem() are too
......@@ -789,12 +789,17 @@ if (HAVE_STRINGS_H)
add_definitions(-DHAVE_STRINGS_H)
endif()
check_include_file(netcdf_meta.h NC_HAVE_META_H)
if (NC_HAVE_META_H)
check_include_file(netcdf_meta.h HAVE_NC_META_H)
if (HAVE_NC_META_H)
message("-- Found header netcdf_meta.h")
add_definitions(-DNC_HAVE_META_H)
add_definitions(-DHAVE_NC_META_H)
endif()
check_include_file(netcdf_mem.h HAVE_NC_MEM_H)
if (HAVE_NC_MEM_H)
message("-- Found header netcdf_mem.h")
add_definitions(-DHAVE_NC_MEM_H)
endif()
#//////////////////////////
# regex
......@@ -947,6 +952,10 @@ if (PATH_TO_NCGEN)
add_custom_target(data
COMMENT "${color_green}Creating sample netCDF data files for self-tests in ${PATH_DATA}${color_reset}"
COMMAND ${PATH_TO_NCGEN} -b -o ${PATH_DATA}/in.nc ${PATH_DATA}/in.cdl
COMMAND ${PATH_TO_NCGEN} -b -o ${PATH_DATA}/split.nc ${PATH_DATA}/split.cdl
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/cmip5.nc ${PATH_DATA}/cmip5.cdl
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/in_1.nc ${PATH_DATA}/in_1.cdl
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/in_2.nc ${PATH_DATA}/in_2.cdl
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/in_grp.nc ${PATH_DATA}/in_grp.cdl
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/in_grp_1.nc ${PATH_DATA}/in_grp_1.cdl
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/in_grp_2.nc ${PATH_DATA}/in_grp_2.cdl
......@@ -955,13 +964,9 @@ if (PATH_TO_NCGEN)
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/in_grp_5.nc ${PATH_DATA}/in_grp_5.cdl
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/in_grp_6.nc ${PATH_DATA}/in_grp_6.cdl
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/in_grp_7.nc ${PATH_DATA}/in_grp_7.cdl
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/in_1.nc ${PATH_DATA}/in_1.cdl
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/in_2.nc ${PATH_DATA}/in_2.cdl
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/mdl_1.nc ${PATH_DATA}/mdl_1.cdl
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/mdl_2.nc ${PATH_DATA}/mdl_2.cdl
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/mdl_3.nc ${PATH_DATA}/mdl_3.cdl
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/cmip5.nc ${PATH_DATA}/cmip5.cdl
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/split.nc ${PATH_DATA}/split.cdl
COMMAND ${PATH_TO_NCGEN} -k netCDF-4 -b -o ${PATH_DATA}/obs.nc ${PATH_DATA}/obs.cdl)
#//////////////////////////
......
......@@ -3,7 +3,7 @@
# Purpose: GNU Makefile for NCO module nco
# Requires GNU Make---AT&T Make chokes on GNU syntax
# Copyright (C) 1994--2018 Charlie Zender
# Copyright (C) 1994--present Charlie Zender
# License: GNU General Public License (GPL) Version 3
# See http://www.gnu.org/copyleft/gpl.html for full license text
......@@ -1871,6 +1871,8 @@ ${MY_DAT_DIR}/snc.nc: ${MY_DAT_DIR}/snc.cdl
-ncgen -k netCDF-4 -b -o $@ $<
${MY_DAT_DIR}/snd.nc: ${MY_DAT_DIR}/snd.cdl
-ncgen -k netCDF-4 -b -o $@ $<
${MY_DAT_DIR}/split.nc: ${MY_DAT_DIR}/split.cdl
-ncgen -b -o $@ $<
dataclean: dat_cln
dat_cln:
rm -f ${MDL_DAT}
......
......@@ -2,17 +2,17 @@
# http://cvs.fedoraproject.org/viewvc/devel/nco/nco.spec?view=co
Name: nco
Version: 4.7.8
Version: 4.7.9
Release: 1%{?dist}
Summary: Programs that manipulate netCDF files
Group: Applications/Engineering
License: GPL3
URL: http://nco.sf.net/
# Obtain NCO version 4.7.8-1 tar.gz from Sourceforge using CVS:
# Obtain NCO version 4.7.9-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-4.7.8-1 -d nco-%{version} nco
# tar czf nco-%{version}.tar.gz --exclude='nco-4.7.8/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-4.7.9-1 -d nco-%{version} nco
# tar czf nco-%{version}.tar.gz --exclude='nco-4.7.9/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
* Thu Feb 20 2019 Charlie Zender <zender@uci.edu> - 4.7.9-1
- new upstream 4.7.9
* Fri Nov 16 2018 Charlie Zender <zender@uci.edu> - 4.7.8-1
- new upstream 4.7.8
......
......@@ -5,20 +5,20 @@
# Usage:
# Export tagged, public versions
# /usr/bin/scp ${DATA}/nco-4.7.8.tar.gz zender,nco@web.sf.net:/home/project-web/nco/htdocs/src
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --bld --cln nco-4.7.8 # Build, do not release on SF
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --bld --cln --sf nco-4.7.8 # Build, release on SF
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --nst_all nco-4.7.8 # Install, do not build
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --bld --cln --nst_all nco-4.7.8 # Build and install
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --acd_cnt nco-4.7.8
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --acd_prs nco-4.7.8
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --cgd_cnt nco-4.7.8
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --cray_prs nco-4.7.8
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --bbl_cnt nco-4.7.8
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --blk_cnt nco-4.7.8
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --dat_cnt nco-4.7.8
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --ute_prs nco-4.7.8
# /usr/bin/scp ${DATA}/nco-4.7.9.tar.gz zender,nco@web.sf.net:/home/project-web/nco/htdocs/src
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --bld --cln nco-4.7.9 # Build, do not release on SF
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --bld --cln --sf nco-4.7.9 # Build, release on SF
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --nst_all nco-4.7.9 # Install, do not build
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --bld --cln --nst_all nco-4.7.9 # Build and install
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --acd_cnt nco-4.7.9
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --acd_prs nco-4.7.9
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --cgd_cnt nco-4.7.9
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --cray_prs nco-4.7.9
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --bbl_cnt nco-4.7.9
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --blk_cnt nco-4.7.9
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --dat_cnt nco-4.7.9
# ${HOME}/nco/bld/nco_dst.pl --dbg=2 --cln --ute_prs nco-4.7.9
# Export daily snapshot
# ${HOME}/nco/bld/nco_dst.pl --dbg=2
......@@ -256,7 +256,7 @@ if($bld){
# 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-4.7.8/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-4.7.9/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
......
......@@ -136,7 +136,7 @@ appending history to file.
This script is part of the netCDF Operators package:
http://nco.sf.net
Copyright 1995--2018 Charlie Zender
Copyright 1995--present Charlie Zender
USAGE
exit(0);
......
......@@ -4035,7 +4035,6 @@ if($RUN_NETCDF4_TESTS_VERSION_GE_431){
NCO_bm::tst_run(\@tst_cmd);
$#tst_cmd=0; # Reset array
#ncrcat #22
$tst_cmd[0]="ncap2 -h -O $fl_fmt $nco_D_flg -v -s 'time\@units=\"hours since 1970-01-01\"' $in_pth_arg in.nc %tmp_fl_00%";
......@@ -4697,6 +4696,18 @@ if(0){
NCO_bm::tst_run(\@tst_cmd);
$#tst_cmd=0; # Reset array
# ncra #40
# Test SSC MRO running averages
# ncra -O -C --mro -v one_dmn_rec_var_flt -d time,0,,2,2 ~/nco/data/in.nc ~/foo.nc
# ncks -C -H --trd -s '%g, ' -v one_dmn_rec_var_flt ~/foo.nc
$dsc_sng="Test SSC MRO running average";
$tst_cmd[0]="ncra -h -O $fl_fmt $nco_D_flg -C --mro -d time,0,,2,2 -v one_dmn_rec_var_flt $in_pth_arg in.nc %tmp_fl_00%";
$tst_cmd[1]="ncks -C -H --trd -s '%g, ' -v one_dmn_rec_var_flt %tmp_fl_00%";
$tst_cmd[2]="1.5, 3.5, 5.5, 7.5, 9.5,";
$tst_cmd[3]="SS_OK";
NCO_bm::tst_run(\@tst_cmd);
$#tst_cmd=0; # Reset array
####################
#### ncwa tests #### OK!
####################
......
......@@ -41,7 +41,7 @@ NCO should detect the ZLIB dependency in HDF5 as
-- ZLIB library is needed...
```
the netcdf function detection should be
the netCDF function detection should be
```
-- Found netcdf library at: I:/nco/cmake/build/netcdf-c/build/liblib/Debug/netcdf.lib
......
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for NCO netCDF Operators 4.7.8.
# Generated by GNU Autoconf 2.69 for NCO netCDF Operators 4.7.9.
#
# Report bugs to <nco-bugs@lists.sourceforge.net>.
#
......@@ -592,8 +592,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='NCO netCDF Operators'
PACKAGE_TARNAME='nco'
PACKAGE_VERSION='4.7.8'
PACKAGE_STRING='NCO netCDF Operators 4.7.8'
PACKAGE_VERSION='4.7.9'
PACKAGE_STRING='NCO netCDF Operators 4.7.9'
PACKAGE_BUGREPORT='nco-bugs@lists.sourceforge.net'
PACKAGE_URL=''
 
......@@ -1388,7 +1388,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 4.7.8 to adapt to many kinds of systems.
\`configure' configures NCO netCDF Operators 4.7.9 to adapt to many kinds of systems.
 
Usage: $0 [OPTION]... [VAR=VALUE]...
 
......@@ -1459,7 +1459,7 @@ fi
 
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of NCO netCDF Operators 4.7.8:";;
short | recursive ) echo "Configuration of NCO netCDF Operators 4.7.9:";;
esac
cat <<\_ACEOF
 
......@@ -1625,7 +1625,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
NCO netCDF Operators configure 4.7.8
NCO netCDF Operators configure 4.7.9
generated by GNU Autoconf 2.69
 
Copyright (C) 2012 Free Software Foundation, Inc.
......@@ -2491,7 +2491,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 4.7.8, which was
It was created by NCO netCDF Operators $as_me 4.7.9, which was
generated by GNU Autoconf 2.69. Invocation command line was
 
$ $0 $@
......@@ -3746,7 +3746,7 @@ fi
 
# Define the identity of the package.
PACKAGE='nco'
VERSION='4.7.8'
VERSION='4.7.9'
 
 
cat >>confdefs.h <<_ACEOF
......@@ -20074,10 +20074,10 @@ fi
CPPFLAGS="${CPPFLAGS} -I${UDUNITS2_PATH}/include"
else
echo "WARNING: UDUNITS2_PATH location \"${UDUNITS2_PATH}\" does not exist!"
fi
fi # !UDUNITS2_PATH
elif test "${NETCDF_INC}"; then
nco_udunits2_xml="${NETCDF_INC}/../share/udunits/udunits2.xml"
fi
fi # !UDUNITS2_PATH
if test "${UDUNITS2_PATH}" = ''; then
# NO UDUNITS2_PATH section
# Fedora 1.7 has /usr/include/udunits2/udunits2.h
......@@ -21575,7 +21575,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 4.7.8, which was
This file was extended by NCO netCDF Operators $as_me 4.7.9, which was
generated by GNU Autoconf 2.69. Invocation command line was
 
CONFIG_FILES = $CONFIG_FILES
......@@ -21641,7 +21641,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
NCO netCDF Operators config.status 4.7.8
NCO netCDF Operators config.status 4.7.9
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
 
......
......@@ -3,7 +3,7 @@
# Purpose: Template autoconf uses to generate NCO configure script
# Newer convention names this file configure.ac, rather than configure.in
# Copyright (C) 2003--2018 Charlie Zender
# Copyright (C) 2003--present Charlie Zender
# License: GNU General Public License (GPL) Version 3
# See http://www.gnu.org/copyleft/gpl.html for full license text
......@@ -54,7 +54,7 @@
# 20170808: Choose between traditional version and Git-based version
# If Git, consider that Linux dynamic libraries will have full messy name, MacOSX will not
# https://stackoverflow.com/questions/43526939/how-to-insert-git-based-version-in-autoconf-managed-project
AC_INIT([NCO netCDF Operators],[4.7.8],[nco-bugs@lists.sourceforge.net],[nco])
AC_INIT([NCO netCDF Operators],[4.7.9],[nco-bugs@lists.sourceforge.net],[nco])
# Print GNU copyright in configure script
AC_COPYRIGHT
......@@ -754,10 +754,10 @@ if test "${enable_udunits2}" != 'no'; then
CPPFLAGS="${CPPFLAGS} -I${UDUNITS2_PATH}/include"
else
echo "WARNING: UDUNITS2_PATH location \"${UDUNITS2_PATH}\" does not exist!"
fi
fi # !UDUNITS2_PATH
elif test "${NETCDF_INC}"; then
nco_udunits2_xml="${NETCDF_INC}/../share/udunits/udunits2.xml"
fi
fi # !UDUNITS2_PATH
if test "${UDUNITS2_PATH}" = ''; then
# NO UDUNITS2_PATH section
# Fedora 1.7 has /usr/include/udunits2/udunits2.h
......
......@@ -271,6 +271,8 @@ scp nco.configure.${GNU_TRP}.foo nco.config.log.${GNU_TRP}.foo nco.libtool.${GNU
# gcc/g++ Zender uses this to develop/install/update netCDF4-enabled NCO in personal directories with CMake:
# Generic when netCDF is in /usr (Ubuntu glace, Fedora skyglow)
# Personal recipe last modified: 20170814
# Personal recipe last used successfully: 20171218
export GNU_TRP=`~/nco/autobld/config.guess`
cd ~/nco;/bin/rm -f *.${GNU_TRP}.foo;make distclean
cd ~/nco;cmake/clean.sh
......@@ -290,12 +292,14 @@ make install
# gcc/g++ Zender uses this to develop/install/update netCDF4-enabled NCO in system directories with CMake:
# Generic when netCDF is in /usr (Ubuntu glace, Fedora skyglow)
# Personal recipe last modified: 20170814
# Personal recipe last used successfully: 20171218
cd ~/nco/cmake
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
make
sudo make install
# gcc/g++ Zender uses this to develop/install/update netCDF4-enabled NCO in system directories with CMake, when build requirements are in unusual directories:
# gcc/g++ Zender uses this to develop/install/update netCDF4-enabled NCO in personal directories with CMake, when build requirements are in unusual directories:
# netCDF4/HDF5 in /usr/local
cd ~/nco/cmake
cmake .. -DCMAKE_INSTALL_PREFIX=${HOME} -DNETCDF_INCLUDE:PATH=${NETCDF_INC} -DNETCDF_LIBRARY:FILE=${NETCDF_LIB}/libnetcdf.a -DHDF5_LIBRARY:FILE=${NETCDF_LIB}/libhdf5.a -DHDF5_HL_LIBRARY:FILE=${NETCDF_LIB}/libhdf5.a # Skyglow (Fedora does not supply szip packages)
......@@ -310,7 +314,7 @@ make install
# Sysadmin upgrade request:
# Latest sysadmin-compiled module usage:
# Personal recipe last modified: 20180912
# Personal recipe last used successfully: 20180925
# Personal recipe last used successfully: 20190216
# NB: aims4 and acme1 only accept connections from whitelisted domains (e.g., uci.edu)
export GNU_TRP=`~/nco/autobld/config.guess`
cd ~/nco;/bin/rm -f *.${GNU_TRP}.foo;make distclean
......@@ -329,7 +333,7 @@ scp nco.configure.${GNU_TRP}.foo nco.config.log.${GNU_TRP}.foo nco.libtool.${GNU
# Sysadmin upgrade request:
# Latest sysadmin-compiled module usage:
# Personal recipe last modified: 2016??
# Personal recipe last used successfully: 20180925
# Personal recipe last used successfully: 20190216
# NB: aims4 and acme1 only accept connections from whitelisted domains (e.g., uci.edu)
export GNU_TRP=`~/nco/autobld/config.guess`
cd ~/nco;/bin/rm -f *.${GNU_TRP}.foo;make distclean
......@@ -349,7 +353,7 @@ scp nco.configure.${GNU_TRP}.foo nco.config.log.${GNU_TRP}.foo nco.libtool.${GNU
# Latest ticket: AREQ0215917 on 20180413
# Latest sysadmin-compiled module usage: soft add +netcdf-4.6.1 soft add +nco-4.7.4 # 20180417
# Personal recipe last modified: 20180729
# Personal recipe last used successfully: 20180921 (up to ncap2 linking with antlr)
# Personal recipe last used successfully: 20190216 (up to ncap2 linking with antlr)
# Fails to link to system-installed udunits...why?
# nm -a /soft/udunits/2.1.21/lib/libudunits2.a | grep ut_read_xml
# soft add +antlr-2.7.7 # 20161223 this ANTLR appears to be stock and not NCO-compatible
......@@ -408,7 +412,7 @@ scp nco.configure.${GNU_TRP}.foo nco.config.log.${GNU_TRP}.foo nco.libtool.${GNU
# Latest ticket: INC0118469 on 20180413
# Latest sysadmin-compiled module usage: module load nco/4.7.4 # 20180430 (without ncap2)
# Personal recipe last modified: 20180125
# Personal recipe last used successfully: 20180925
# Personal recipe last used successfully: 20190216
module load szip
module load gsl
module load udunits
......@@ -423,13 +427,13 @@ make check >> nco.make.${GNU_TRP}.foo 2>&1
make install >> nco.make.${GNU_TRP}.foo 2>&1
scp nco.configure.${GNU_TRP}.foo nco.config.log.${GNU_TRP}.foo nco.libtool.${GNU_TRP}.foo nco.make.${GNU_TRP}.foo dust.ess.uci.edu:Sites/nco/rgr
# acme: http://www.gnu.org/software/automake/manual/automake.html search for "shared by two hosts" use
# e3sm: http://www.gnu.org/software/automake/manual/automake.html search for "shared by two hosts" use
# gcc/g++ Zender uses this to develop/install/update netCDF4-enabled NCO in personal directories on edison:
# Sysadmin upgrade request: https://nersc.service-now.com/navpage.do
# Latest ticket: INC0118469 on 20180413
# Latest sysadmin-compiled module usage: module load nco/4.7.4 # 20180430 (without ncap2)
# Personal recipe last modified: 20170807
# Personal recipe last used successfully: 20180921 (but must manually link to -L${HOME}/lib_edison to find antlr)
# Personal recipe last used successfully: 20190216 (but must manually link to -L${HOME}/lib_edison to find antlr)
module load szip
module load gsl
module load udunits2
......@@ -464,7 +468,7 @@ scp nco.configure.${GNU_TRP}.foo nco.config.log.${GNU_TRP}.foo nco.libtool.${GNU
# Latest ticket: 381695 on 20180413
# Latest sysadmin-compiled module usage: module load netcdf/4.6.1 nco/4.7.4 # 20180423
# Personal recipe last modified: 20170814
# Personal recipe last used successfully: 20180921
# Personal recipe last used successfully: 20190216
export LINUX_CC='gcc -std=c99 -pedantic -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE'
export LINUX_CXX='g++ -std=c++11'
export LINUX_FC='gfortran'
......@@ -760,16 +764,16 @@ Linux sand.ess.uci.edu 2.6.8.1-4-amd64-generic #1 Thu Dec 16 11:44:05 UTC 2004 x
x86_64-unknown-linux-gnu
# gcc/g++ Regular (non-root) users build NCO with system-supplied netCDF and install in your own directories
# Zender uses this on MACOSX aerosol/firn as well
# Zender uses this on MACOSX sastrugi/firn as well
export GNU_TRP=`~/nco/autobld/config.guess`
cd ~/nco;/bin/rm -f *.${GNU_TRP}.foo;make distclean
# Pre-20180729 (antlr from macports seems to have stopped linking, so build it from scratch)
CC='gcc' CFLAGS='' CXX='g++' CXXFLAGS='' ./configure --prefix=${HOME} --bindir=${MY_BIN_DIR} --datadir=${HOME}/nco/data --libdir=${MY_LIB_DIR} --mandir=${HOME}/nco/man > nco.configure.${GNU_TRP}.foo 2>&1
# Firn 20180729 (works)
ANTLR_ROOT=${HOME} CC='gcc' CFLAGS='' CXX='g++' CXXFLAGS='' ./configure --prefix=${HOME} --bindir=${MY_BIN_DIR} --datadir=${HOME}/nco/data --libdir=${MY_LIB_DIR} --mandir=${HOME}/nco/man > nco.configure.${GNU_TRP}.foo 2>&1
# Aerosol 20180729 (works)
# Sastrugi 20180729 (works)
ANTLR_ROOT=${HOME} CC=${LINUX_CC} CFLAGS='' CXX=${LINUX_CXX} CXXFLAGS='' ./configure --prefix=${HOME} --bindir=${MY_BIN_DIR} --datadir=${HOME}/nco/data --libdir=${MY_LIB_DIR} --mandir=${HOME}/nco/man > nco.configure.${GNU_TRP}.foo 2>&1
# Aerosol 20180917 Build with libraries/headers from Anaconda (borken: compiles and links but run-time linker fails)
# Sastrugi 20180917 Build with libraries/headers from Anaconda (borken: compiles and links but run-time linker fails)
export PATH=${HOME}/anaconda/bin:${PATH}
export LD_LIBRARY_PATH=${HOME}/anaconda/lib:${LD_LIBRARY_PATH}
ANTLR_ROOT=${HOME} CC=${LINUX_CC} CFLAGS='' CXX=${LINUX_CXX} CXXFLAGS='' NETCDF_ROOT=${HOME}/anaconda ./configure --disable-openmp --prefix=${HOME} --bindir=${MY_BIN_DIR} --datadir=${HOME}/nco/data --libdir=${MY_LIB_DIR} --mandir=${HOME}/nco/man > nco.configure.${GNU_TRP}.foo 2>&1
......
// -*-C++-*-
// Purpose: Test netCDF filters with BZIP2 compression
// Generate netCDF file with:
// ncgen -k netCDF-4 -b -o ~/nco/data/bzip2.nc ~/nco/data/bzip2.cdl
netcdf bzip2 {
dimensions:
dim0 = 4 ;
dim1 = 4 ;
dim2 = 4 ;
dim3 = 4 ;
variables:
float var(dim0, dim1, dim2, dim3) ;
var:_Storage = "chunked" ;
var:_ChunkSizes = 4, 4, 4, 4 ;
var:_Filter = "307,9" ;
var:_NoFill = "true" ;
data:
// ncap2 -O -v -s 'defdim("dmn",256);val=array(0,1,$dmn);print(val)' ~/nco/data/in.nc ~/foo.nc;ncks -s "%d, " ~/foo.nc
var = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255;
}
......@@ -215,6 +215,10 @@ variables:
float climatology_bounds(time,vrt_nbr);
climatology_bounds:purpose = "Variable containing CF-compliant climatology bounds for time dimension";
double time_rpt(time);
time_rpt:long_name = "A repeating sequence to check compliance of MRO";
time_rpt:purpose = "Sequence is 1,2,3,1,2,3,1,2,3,1. Average of every third element should be the same as the element, e.g., ncra -O --mro -d time,,,3,3 ~/nco/data/in.nc ~/foo.nc;ncks -C -v time_rpt ~/foo.nc";
double lon_cal(lon_cal);
lon_cal:long_name = "lon_cal";
lon_cal:units = "days since 1964-2-28";
......@@ -829,6 +833,16 @@ variables:
three_dmn_var_crd:long_name = "three dimensional variable with COORDS coordinate convention C=[lev,lat,lon], Fortran=(lon,lat,lev)";
three_dmn_var_crd:units = "fraction";
float three_dmn_var_cf(lev,lat,lon);
three_dmn_var_cf:long_name = "three dimensional variable with CF \"coordinates\" convention";
three_dmn_var_cf:coordinates = "lat lev lon";
three_dmn_var_cf:units = "fraction";
float three_dmn_var_cf2(lev,lat,lon);
three_dmn_var_cf2:long_name = "three dimensional variable with CF \"coordinates\" convention for wrong coordinates";
three_dmn_var_cf2:coordinates = "x y z";
three_dmn_var_cf2:units = "fraction";
float prs_sfc(time,lat,lon);
prs_sfc:long_name = "Surface pressure";
prs_sfc:units = "pascal";
......@@ -1696,7 +1710,10 @@ data:
three=3.;
three_dmn_var=0.,1.,2.,3.,4.,5.,6.,7.,8.,9.,10.,11.,12.,13.,14.,15.,16.,17.,18.,19.,20.,21.,22.,23.;
three_dmn_var_crd=0.,1.,2.,3.,12.,13.,14.,15.,4.,5.,6.,7.,16.,17.,18.,19.,8.,9.,10.,11.,20.,21.,22.,23.;
three_dmn_var_cf=0.,1.,2.,3.,12.,13.,14.,15.,4.,5.,6.,7.,16.,17.,18.,19.,8.,9.,10.,11.,20.,21.,22.,23.;
three_dmn_var_cf2=0.,1.,2.,3.,12.,13.,14.,15.,4.,5.,6.,7.,16.,17.,18.,19.,8.,9.,10.,11.,20.,21.,22.,23.;
time=1.,2.,3.,4.,5.,6.,7.,8.,9.,10.;
time_rpt=1.,2.,3.,1.,2.,3.,1.,2.,3.,1.;
time_bnds=0.5,1.5,1.5,2.5,2.5,3.5,3.5,4.5,4.5,5.5,5.5,6.5,6.5,7.5,7.5,8.5,8.5,9.5,9.5,10.5;
climatology_bounds=0.5,1.5,1.5,2.5,2.5,3.5,3.5,4.5,4.5,5.5,5.5,6.5,6.5,7.5,7.5,8.5,8.5,9.5,9.5,10.5;
tm_scn=59;
......
This diff is collapsed.
// test the function gsl_multifit_linear
// usage: ncap2 -v -O -S nco_gsl_multifit_tst.nco in.nc out.nc
defdim("cols",3);
defdim("rows",4);
matrix_x[$cols,$rows]={3.1, 4.2, 5.1, 6.2,
8.1, 9.2, 10.1, 11.4,
20.1, 22.3, 24.6, 26.8};
vector_y[$rows]={0.5, 0.51, 0.52,0.53};
status=gsl_multifit_linear(matrix_x,vector_y, &vector_c, &cov, &chisq);
print(status);
if(status == 0 )
{
// shape of this variable is [cols]
print(vector_c);
/* shape of this variable is [cols, cols] */
print(cov);
// scalar variable
print(chisq);
}
else
{
print("Call to gsl_multifit_linear status returned witht the error ");
print(status,"%d\n");
}
This diff is collapsed.
nco (4.7.9-1~bpo9+1) stretch-backports; urgency=medium
* Rebuild for stretch-backports.
-- Bas Couwenberg <sebastic@debian.org> Sun, 03 Mar 2019 08:31:28 +0100
nco (4.7.9-1) unstable; urgency=medium
* New upstream release.
* Bump Standards-Version to 4.3.0, no changes.
-- Bas Couwenberg <sebastic@debian.org> Thu, 21 Feb 2019 06:59:59 +0100
nco (4.7.8-1~bpo9+1) stretch-backports; urgency=medium
* Rebuild for stretch-backports.
......
......@@ -18,7 +18,7 @@ Build-Depends: debhelper (>= 9),
libudunits2-dev,
libdap-dev,
texinfo
Standards-Version: 4.2.1
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/debian-gis-team/nco
Vcs-Git: https://salsa.debian.org/debian-gis-team/nco.git -b stretch-backports
Homepage: http://nco.sourceforge.net/
......
$Header$ -*-text-*-
The netCDF Operators NCO version 4.7.8 have hatched.
The netCDF Operators NCO version 4.7.9 art b'rn
http://nco.sf.net (Homepage, Mailing lists, Help)
http://github.com/nco (Source Code, Issues, Releases, Developers)
What's new? Version 4.7.8 contains many improvements to help convert
ESM output into CMIP6 timeseries format. In particular, ncclimo
coordinates better with ncremap when processing MPAS data and
regridding. ncpdq has a new feature to convert doubles to floats,
and raw binary output can now be byte-swapped to ease creation of
offline datasets for some models like WRF and CICE.
What's new?
Producing data for submission to CMIP6 has led to many improvemnts to
the two workflow tools ncclimo and ncremap. Dozens of changes have
made both tools more robust, clearer, and better documented. Notable
changes include include improved sub-gridscale remapping, adding depth
coordinates, CDL updates for hidden attributes, and support for GCC9
and OpenMP 5.0.0.
Work on NCO 5.0.0 has commenced "under the hood". The key leap in that
release will be support for netCDF4 user-defined types. Printing of
......@@ -23,42 +25,99 @@ Charlie
NEW FEATURES (full details always in ChangeLog):
A. ncclimo and ncremap accept the --d2f flag to turn-on the dbl_flt
packing map that converts double-precision to single-precision.
ncclimo --d2f ...
ncremap --d2f ...
http://nco.sf.net/nco.html#dbl_flt
http://nco.sf.net/nco.html#ncpdq
A. ncremap now names the SGS map as per the -m map_fl option.
Previously there was no way to name SGS maps for archival.
This capability eases the generation of SGS maps for CMIP6,
since models (like ELM, CTSM) with time-invariant land units can
regrid all variables with the same SGS map.
http://nco.sf.net/nco.html#sgs
B. ncremap and ncclimo support MPAS files with a 'depth' dimension,
and also adding a depth coordinate to raw MPAS output files.
Both add 'depth' to MPAS files with the new option --dpt_fl:
ncremap -P mpas --dpt_fl=refBottomDepth_60lyr.nc ...
ncremap -m mpaso --dpt_fl=refBottomDepth_60lyr.nc ...
To work, the Python code add_depth.py must be on the $PATH, and
dpt_fl must contain the MPAS-Ocean field refBottomDepth.
Thanks to Xylar Asay-Davis of LANL for creating a robust
add_depth.py.
http://nco.sf.net/nco.html#dpt
http://nco.sf.net/nco.html#dpt_fl
C. The regridder utilizes the lat_dmn_nm and lon_dmn_nm options, when
specified, to name the dimensions for regridded logically
rectangular files. Previously these options were only used to
specify horizontal dimension names in input file. Consistent
with this, lat_nm_out and lon_nm_out now specify only the
horizontal variable names, not the dimension names as before.
The indepdendent configurability of dimension and variable names
allows ncremap to regrid files with map projections as expected
by Panoply and other software. Thanks to Xylar Asay-Davis of LANL
for suggesting this feature.
ncremap --rgr_opt='--rgr lat_dmn_nm=x#lon_dmn_nm=y'
We realize this API is ugly and will create more aesthetic options
like ncremap --lat_dmn=x --lon_dmn=y if enough users lovingly
petition our representatives now standing-by at call centers.
http://nco.sf.net/nco.html#rgr_opt
D. ncclimo writes more explicit information about parallelism,
including job_nbr, var_nbr, and nd_nbr. This will help users
tune throughput for large climatology and splitting jobs.
http://nco.sf.net/nco.html#ncclimo
E. The splitter in ncclimo now outputs progress more clearly,
and shows the elapsed time to split each timeseries.
http://nco.sf.net/nco.html#split
F. ncra/ncrcat now perform time-rebasing in rec_apn mode using
calendar units from the destination not the source file.
This makes more sense when you think about it.
Thanks to Ian McHugh of Monash University for prompting this.
http://nco.sf.net/nco.html#rbs
G. NCO now writes more intelligible error messages with HINTS for
likely causes of and responses to NC_EHDFERR and NC_EBADCHUNK
errors.
http://nco.sf.net/nco.html#hdf
http://nco.sf.net/nco.html#cnk
H. ncks emulates ncdump more closely and prints hidden attribute
_NoFill (not _NOFILL) values as "true" or "false" not 1 or 0.
ncks --hidden -m in.nc
http://nco.sf.net/nco.html#cdl
I. ncks prints CDL for hidden _Filters attribute, if any, with
all filter values.
ncks --hidden -m in.nc
http://nco.sf.net/nco.html#cdl
J. ncks prints hidden _Endianness attribute for floating point types
not just multi-byte integers as before.
ncks --hidden -m in.nc
http://nco.sf.net/nco.html#cdl
B. ncremap adds missing values to single-precision MPAS variables as
well as double. Previously it only added _FillValue to doubles.
http://nco.sf.net/nco.html#ncremap
BUG FIXES:
C. NCO takes advantage of faster stride access in netCDF 4.6.2.
Previously NCO used its own workaround to accelerate strides.
It will continue to do so with older version of netCDF.
A. Fix a bug exposed in NCO 4.7.1 that could attempt to dereference
a NULL pointer, resulting in a core dump. The solution is to
install 4.7.9. The workaround to that is to run a version of NCO
prior to 4.7.1.
D. ncremap improves metadata annotation for Tempest monotr maps.
B. ncremap used an inappropriate area to weight SGS variables.
Thanks to Min Xu of ORNL for reporting and providing the fix.
SGS regridding is once again BFB with global means.
E. ncks provides the --bsa flag to invoke a byte-swap algorithm.
Setting this option causes unformatted binary output (with --bnr)
to be output in byte-swapped order relative to the host machine:
ncks -O -v uint32_var.? --bsa=1 -b foo.bnr in_grp.nc foo.nc
http://nco.sf.net/nco.html#bnr
C. ncremap orders Tempest remap commands in execution-order in the
history attribute. Previously they were recorded in an ad hoc
order. Thanks to Ben Hilman of SNL for suggesting this.
BUG FIXES:
D. Cause ncclimo in MPI mode to exit when no nodes are available.
A. ncatted would exit when the -t option yielded no matches.
This has been fixed.
E. Ensure ncclimo writes nd_fl to writable directory
B. NCO could fail to build with netCDF 4.6.2 snapshots due to a
new way of handling the log_lvl option.
This has been fixed.
F. ncap2 exits gracefully when no output file is specified
C ncremap could fail to execute ERWG commands when started in
a directory in which it had no write access. Now ncremap
invokes ERWG with --no_log to prevent ERWG write attempts
to a (possibly write-protected) working directory.
G. ncap2 exits gracefully when no -s or -S argument given
Full release statement at http://nco.sf.net/ANNOUNCE
......@@ -66,7 +125,7 @@ KNOWN PROBLEMS DUE TO NCO:
This section of ANNOUNCE reports and reminds users of the
existence and severity of known, not yet fixed, problems.
These problems occur with NCO 4.7.8 built/tested under
These problems occur with NCO 4.7.9 built/tested under
MacOS 10.14.1 with netCDF 4.6.1 on HDF5 1.10.2 and with
Linux with netCDF 4.6.2-development (20180515) on HDF5 1.8.19.
......@@ -106,15 +165,17 @@ A. NOT YET FIXED (netCDF4 or HDF5 problem?)
20140718: Problem reported by Parker Norton
20140826: Verified problem still exists
20140930: Finish NCO workaround for problem
20190201: Possibly this problem was fixed in netCDF 4.6.2 by https://github.com/Unidata/netcdf-c/pull/1001
Cause: Slow algorithm in nc_var_gets()?
Workaround #1: Use NCO 4.4.6 or later (avoids nc_var_gets())
Workaround #2: Convert file to netCDF3 first, then use stride
Workaround #3: Compile NCO with netCDF >= 4.6.2
B. NOT YET FIXED (netCDF4 library bug)
Simultaneously renaming multiple dimensions in netCDF4 file can corrupt output
Demonstration:
ncrename -O -d lev,z -d lat,y -d lon,x ~/nco/data/in_grp.nc ~/foo.nc # Completes but file is unreadable
ncrename -O -d lev,z -d lat,y -d lon,x ~/nco/data/in_grp.nc ~/foo.nc # Completes but produces unreadable file foo.nc
ncks -v one ~/foo.nc
20150922: Confirmed problem reported by Isabelle Dast, reported to Unidata
......@@ -126,7 +187,7 @@ B. NOT YET FIXED (netCDF4 library bug)
20170323: https://github.com/Unidata/netcdf-c/issues/381
20171102: Verified problem still exists with netCDF 4.5.1-development
20171107: https://github.com/Unidata/netcdf-c/issues/597
Bug tracking: https://www.unidata.ucar.edu/jira/browse/fxm
20190202: Progress has recently been made in netCDF 4.6.3-development
More details: http://nco.sf.net/nco.html#ncrename_crd
C. NOT YET FIXED (would require DAP protocol change?)
......
2019-02-20 Charlie Zender <zender@uci.edu>
* NCO 4.7.9 release procedure:
cd ~/nco;git commit -a -m 'Version 4.7.9: Guru Benji';git push
git tag -a 4.7.9 -m 'ncremap sgs fix, sgs --map, lat/lon_dmn_nm, whitespace ok, mpas depth, add_depth.py;ncclimo nd_fl, nd_nbr fix;ncrcat rec_apn rbs;ncatted --hdn';git push --tags
* Update release metadata
* NCO 4.7.9-beta01 release procedure:
cd ~/nco;git commit -a -m 'Version 4.7.9-beta01: Waterfalls';git push
git tag -a 4.7.9-beta01 -m 'CDL _NoFill, _Filter, _Endianness fixes;ncremap/ncclimo die+report linker errors';git push --tags
2019-02-18 Charlie Zender <zender@uci.edu>
* Always build split.nc so ncks regression test #120 can pass
* ncremap/ncclimo die sooner when NCO is found but cannot run due to, e.g., dynamic linking errors
* Replace $? by "$?" since $? can be undefined, e.g., when command failed due to link error
Then conditions like "if[ $? -eq 0 ];" cause syntax error that obscures initial error
2019-02-17 Charlie Zender <zender@uci.edu>
* Print _Endianness for floating point types not just integers as before
* Print _Filter values not number of values
* Print _Filter filter ID
* Emulate changes to netCDF and print _NoFill (not _NOFILL) values as true or false not 1 or 0
* Add bzip2.cdl for filter testing
* ncclimo exit with error if --dpt_fl invoked without regridder
2019-02-16 Charlie Zender <zender@uci.edu>
* NCO 4.7.9-alpha07 release procedure:
cd ~/nco;git commit -a -m 'Version 4.7.9-alpha07: Ed';git push
git tag -a 4.7.9-alpha07 -m 'ncremap lat/lon_dmn_nm, clm_flg, alg_opt';git push --tags
* Update ncremap documentation accordingly
* ncremap use lat_dmn_nm/lon_dmn_nm for lat_dmn_nm_out/lon_dmn_nm_out
2019-02-15 Charlie Zender <zender@uci.edu>
* ncremap make --clm_flg a true flag with same meaning as -C
* ncremap refactor to always define algorithm diagnostic alg_opt for six Tempest-types
2019-02-14 Charlie Zender <zender@uci.edu>
* NCO 4.7.9-alpha06 release procedure:
cd ~/nco;git commit -a -m 'Version 4.7.9-alpha06: Trash bags';git push
git tag -a 4.7.9-alpha06 -m 'ncclimo nd_fl, nd_nbr fix;ncremap sgs --map, whitespace ok;GCC9 default(none) removal;clarify NC_EHDFERR, NC_EBADCHUNK errors;DGR, BG2 progress';git push --tags
* ncremap double-quote all filenames used in command strings and verify whitespace works
* ncremap double-quote input, output, and map-file names to allow white-space in filepaths
2019-02-12 Charlie Zender <zender@uci.edu>
* Merge patch by Orion Poplawski to eliminate default(none) pragma for GCC9 OpenMP 5.0
2019-02-07 Charlie Zender <zender@uci.edu>
* Correct some (of many) compiler warnings for GCC 4.8.2 (rhea)
* Add netcdf.h error codes to nco_netcdf.c
2019-02-06 Charlie Zender <zender@uci.edu>
* in.cdl add time_rpt to test sub-cycle hyperslabs
* ncremap prevent spurious exit when computing named SGS maps when vrb_lvl >= 3
2019-02-05 Charlie Zender <zender@uci.edu>
* Cause ncclimo MPI-mode to exit when nd_nbr=0
* Ensure ncclimo writes nd_fl to writable directory
* ncclimo print cmd_sbs not cmd_rgr for generated files
* ncclimo output more explicit information about parallelism job_nbr, var_nbr, nd_nbr
2019-02-03 Charlie Zender <zender@uci.edu>
* Differentiate Digit Rounding (DGR, baa=3) from Bit Grooming 2 (BG2, baa=4)
* Remove default(none) clause to prevent GCC9 errors on missing declaration for fp_stderr
2019-02-02 Charlie Zender <zender@uci.edu>
* Add more verbose information for NC_EHDFERR errors
2019-02-01 Charlie Zender <zender@uci.edu>
* Add more verbose information for NC_EBADCHUNK errors
2019-01-31 Charlie Zender <zender@uci.edu>
* NCO 4.7.9-alpha05 release procedure:
cd ~/nco;git commit -a -m 'Version 4.7.9-alpha05: Kubasek';git push
git tag -a 4.7.9-alpha05 -m 'd2f doc, ncremap SGS ELM fix';git push --tags
2019-01-30 Charlie Zender <zender@uci.edu>
* ncremap implement and verify that Min Xu's modification conserves fields not land area
Previous ncremap SGS implementation conserved land area not fields
Conserving fields (slightly) more important so changing to that
Expect most non-conservation of area will disappear once ELM archives area/landfrac in DP
My original conservation diagnostic for raw files used an unreliable identity remap
Dianostic conservation tests should be turned into regression tests
2019-01-28 Charlie Zender <zender@uci.edu>
* Investigate _FillValue behavior described by John Wilkin
* Add stubs for PPC Digit Rounding algorithm of DCG19 and/or Bit Grooming 2 (BG2)
2019-01-25 Charlie Zender <zender@uci.edu>
* ncremap rename internal variables as with 'sgs' instead of 'lnd'
* Add E3SM material on Manual Grid Generation to ncremap documentation
* Add E3SM material on SGS and RRG options to ncremap documentation
2019-01-23 Charlie Zender <zender@uci.edu>
* Add ncra SSC MRO regression test to NCO_rgr.pm
* ncremap SGS mode fails conservation tests at 10^-4 level
Min Xu warns that conv_remap conserves values while ncremap SGS conserves area
2019-01-22 Charlie Zender <zender@uci.edu>
* Add stubs for PPC BG2, Bit Grooming version 2 which features dynamic masks
* Document --d2f in manual and man pages
2019-01-21 Charlie Zender <zender@uci.edu>
* ncremap add SGS procedures for mpascice, change prc_typ='mpas' to prc_mpas='Yes'
* ncremap advertise PPC in usage
2019-01-20 Charlie Zender <zender@uci.edu>
* Audit ncremap and add comments on treatment of land vs. sea-ice data
2019-01-19 Charlie Zender <zender@uci.edu>
* NCO 4.7.9-alpha04 release procedure:
cd ~/nco;git commit -a -m 'Version 4.7.9-alpha04: Shutdown';git push
git tag -a 4.7.9-alpha04 -m 'ncremap add_depth.py';git push --tags
* ncclimo add synonyms, update climo tests to use CMIP6 PI files
* ncclimo add --dpt_fl option and pass to ncremap
2019-01-15 Charlie Zender <zender@uci.edu>
* Fix ncremap flg_grd_only definition to work in SGS mode
2019-01-12 Charlie Zender <zender@uci.edu>
* Finish infrastructure for add_depth.py. ncremap --add_depth appears to work.
2019-01-11 Charlie Zender <zender@uci.edu>
* Add stubs for MPAS depth coordinate option
2019-01-06 Charlie Zender <zender@uci.edu>
* NCO 4.7.9-alpha03 release procedure:
cd ~/nco;git commit -a -m 'Version 4.7.9-alpha03: AOC';git push
git tag -a 4.7.9-alpha03 -m 'MPAS depth';git push --tags
* ncremap allow for MPAS depth coordinate after processing by add_depth.py
2019-01-02 Charlie Zender <zender@uci.edu>
* End binary source code copyright notice with "--present" to nearly eliminate annual updates
2018-12-12 Charlie Zender <zender@uci.edu>
* NCO 4.7.9-alpha02 release procedure:
cd ~/nco;git commit -a -m 'Version 4.7.9-alpha02: Unconventional Diner';git push
git tag -a 4.7.9-alpha02 -m 'splitter timestamps;mpas no_stg_grd;ncap2 exit_gracefully;get/put_var1 fix;ncrcat rec_apn rbs';git push --tags
* ncra/ncrcat: Rebase in rec_apn mode using calendar units from destination not source file
2018-12-06 Charlie Zender <zender@uci.edu>
* Prevent redefinition of struct NC_memio on Windows
* Add --msa to man pages, reformat long-options after first in nco_usg_prn()
2018-12-04 Charlie Zender <zender@uci.edu>
* ncclimo: Add timestamped notices after each timeseries segment completes
* ncclimo: Add timestamped notices after completing all full batches and partial batch if any
2018-11-30 Charlie Zender <zender@uci.edu>
* Synchronize ncremap and ncclimo host-specific blocks
2018-11-29 Charlie Zender <zender@uci.edu>
* Always use --no_stg_grd for prc_typ='mpas'
2018-11-24 Charlie Zender <zender@uci.edu>
* ncap2 exit gracefully when no output file specified with netCDF4 input file
* ncap2 exit gracefully when no -s or -S argument given
2018-11-20 Charlie Zender <zender@uci.edu>
* Correctly dereference pointer zero (i.e., NULL) passed as value of srt argument to nco_get/put_var1()
2018-11-19 Charlie Zender <zender@uci.edu>
* ncremap order shell commands in tempest history attribute cmd_msh, cmd_map not cmd_map, cmd_msh
2018-11-16 Charlie Zender <zender@uci.edu>
 
* NCO 4.7.9-alpha01 release procedure:
cd ~/nco;git commit -a -m 'Version 4.7.9-alpha01: Palm Desert';git push
git tag -a 4.7.9-alpha01 -m 'Functionally identical to 4.7.8';git push --tags
* NCO 4.7.8 release procedure:
cd ~/nco;git commit -a -m 'Version 4.7.8: Paradise Lost';git push
git tag -a 4.7.8 -m 'ncremap/ncclimo CMIP6 features, d2f, no frac_b, deprecate USE_NC4_SRD_WORKAROUND; ERWG no_log; ncks byte-swap; ncatted typ_mch fix';git push --tags
......