Overview

nccmp stands for NetCDF Compare. It compares two NetCDF files bitwise, semantically or with a user defined tolerance (absolute or relative percentage). Parallel comparisons are done in local memory without requiring temporary files. Highly recommended for regression testing scientific models or datasets in a test-driven development environment. Features include:



More information: https://gitlab.com/remikz/nccmp

Usage

You can check the versions installed in Gadi with a module query:

$ module avail nccmp

We normally recommend using the latest version available and always recommend to specify the version number with the module command:

$ module load nccmp/1.8.5.0


nccmp/1.8.5.0 is built using netcdf/4.7.1.

For more details on using modules see our modules help guide at https://opus.nci.org.au/display/Help/Environment+Modules.

Start an interactive PBS job with the following command on Gadi. It requests 1 CPU core, 2 GiB memory, and 8 GiB local disk on a compute node on Gadi from the normal queue for its exclusive access for 30 minutes against the project a00. It also requests the system to enter the working directory once the job is started. To change the number of CPU cores, memory, or jobfs required, simply modify the appropriate PBS resource requests in the qsub command below according to the information available at https://opus.nci.org.au/display/Help/Queue+Structure. Note that if your application does not work in parallel, setting the number of CPU cores to 1 and changing the memory and jobfs accordingly is required to prevent the compute resource waste.

Also note that you must include -l storage=scratch/ab12+gdata/yz98 to the qsub command below if the job needs access to /scratch/ab12/ and /g/data/yz98/. Details on https://opus.nci.org.au/display/Help/PBS+Directives+Explained.

$ qsub -I -P a00 -q normal -l ncpus=1,mem=2GB,jobfs=8GB,walltime=00:30:00,wd

When the interactive job starts on Gadi, execute the followings commands:

# Load module, always specify version number.
$ module load nccmp/1.8.5.0

# Run nccmp application
$ nccmp [Options] file1 [file2]

For more information about nccmp command's Options see nccmp's help information:

# Load module, always specify version number.
$ module load padb/3.2

$ nccmp --help