#!/bin/bash
#SBATCH --qos debug
#SBATCH --constraint=highmem
#SBATCH -n 2
#SBATCH -J ncks
#SBATCH -o out_ncks_%J.out
#SBATCH -e err_ncks_%J.err
#SBATCH -t 01:59:00


lev=1



#ncks -F -d nav_lev,${lev} mesh_mask_eNATL60_merge2017.nc -o mm_lev${lev}.nc


ncks -F -d z,${lev} votemper_GLORYS2V4-eNATL60_2010_eNATL60.nc -o T_l${lev}.tmp &
ncks -F -d z,${lev} vosaline_GLORYS2V4-eNATL60_2010_eNATL60.nc -o S_l${lev}.tmp &

wait
wait
