Loading the ufs-weather modules, and then adding nco/5.0.6 or nco/4.9.3 results in 'command not found' for ncap2 but other nco commands (e.g. ncrcat) do work. If I switch nco/4.9.1 ncap2 works as expected.
To Reproduce
module use ufs-weather-model/modulefiles
module load ufs_hera.intel
module avail nco (shows 4.9.1, 4.9.3, 5.0.6)
module load nco/4.9.1
Expected behavior
ncrcat sfcf*nc sfc.nc --> concatenates the files
ncap2 -s 'time=array(0,1,$time)' sfcf000.nc tmp.nc --> edits the time variable
Switch to nco/4.9.3 or nco/5.0.6
ncrcat sfcf*nc sfc.nc --> concatenates the files
ncap2 -s 'time=array(0,1,$time)' sfcf000.nc tmp.nc --> ncap2: command not found
System:
hera
Additional context
Add any other context about the problem here.
Describe the bug
Loading the ufs-weather modules, and then adding nco/5.0.6 or nco/4.9.3 results in 'command not found' for
ncap2
but other nco commands (e.g. ncrcat) do work. If I switch nco/4.9.1 ncap2 works as expected.To Reproduce module use ufs-weather-model/modulefiles module load ufs_hera.intel module avail nco (shows 4.9.1, 4.9.3, 5.0.6) module load nco/4.9.1
Expected behavior
ncrcat sfcf*nc sfc.nc --> concatenates the files ncap2 -s 'time=array(0,1,$time)' sfcf000.nc tmp.nc --> edits the time variable
Switch to nco/4.9.3 or nco/5.0.6
ncrcat sfcf*nc sfc.nc --> concatenates the files ncap2 -s 'time=array(0,1,$time)' sfcf000.nc tmp.nc --> ncap2: command not found
System: hera
Additional context Add any other context about the problem here.