Jean Zay, pre- and post-processing: Ncview

Description

Ncview is a tool for rapidly visualizing NetCDF files.

Installed version

Ncview is only available in version 2.1.7 but can be used with various environments:

  • intel-compilers/19.0.5 and intel-mpi/19.0.5
  • intel-compilers/19.0.4 and intel-mpi/19.0.4
  • gcc/9.1.0 intel-mpi/19.0.5

Usage

You may access the different variants of ncview (depending on the pre-loaded environment) through the module command.

Note that only one version of ncview is available :

$ module avail ncview
ncview/2.1.7-mpi

To know which environments allow using ncview, you should use the display subcommand of module (in this example, 2 Intel environments and one environment mixing GCC and MPI Intel):

$ module display ncview
-------------------------------------------------------------------
/gpfslocalsup/pub/modules-idris-env4/modulefiles/linux-rhel7-x86_64/ncview/2.1.7-mpi:
 
module-whatis   {Simple viewer for NetCDF files.}
prereq          intel-compilers/19.0.5 intel-compilers/19.0.4 gcc/9.1.0
conflict        ncview
 
Available software environment(s):
- intel-compilers/19.0.5 intel-mpi/19.0.5
- intel-compilers/19.0.4 intel-mpi/19.0.4
- gcc/9.1.0 intel-mpi/19.0.5
 
If you want to use this module with another software environment,
please contact the support team.
-------------------------------------------------------------------

By default, the Intel 19.0.5 environment is used:

$ module load ncview
Loading ncview/2.1.7-mpi
  Loading requirement: intel-compilers/19.0.5 intel-mpi/19.0.5
 
$ module list
Currently Loaded Modulefiles:
 1) intel-compilers/19.0.5   2) intel-mpi/19.0.5   3) ncview/2.1.7-mpi

To use one of the other pre-defined environments, you must specify it on the command line.
For example, to use the Intel 19.0.4 environment, you just need to load the corresponding compiler before loading ncview:

$ module load intel-compilers/19.0.4 ncview
Loading ncview/2.1.7-mpi
  Loading requirement: intel-mpi/19.0.4
 
$ module list
Currently Loaded Modulefiles:
 1) intel-compilers/19.0.4   2) intel-mpi/19.0.4   3) ncview/2.1.7-mpi  

Similarly, to use the environment combining the GCC compiler with the Intel MPI library:

$ module load gcc/9.1.0 ncview
Loading ncview/2.1.7-mpi
  Loading requirement: intel-mpi/19.0.5
 
$ module list
Currently Loaded Modulefiles:
 1) gcc/9.1.0   2) intel-mpi/19.0.5   3) ncview/2.1.7-mpi

Documentation