#!/bin/bash
#SBATCH --account=mh0731
#SBATCH --job-name=cdo_5
#SBATCH --partition=prepost
#SBATCH --chdir=/work/mh0731/m300932/data
#SBATCH --ntasks=8             # Specify max. number of tasks to be invoked
#SBATCH --cpus-per-task=4      # Specify number of CPUs per task
#SBATCH --time=2:00:00
#SBATCH --output=/work/mh0731/m300932/data/LOG.batch.%j.o
#SBATCH --error=/work/mh0731/m300932/data/LOG.batch.%j.o

#water content in soil layers
# Bind your OpenMP threads
export OMP_NUM_THREADS=8
export KMP_AFFINITY=verbose,granularity=thread,compact,1
export KMP_STACKSIZE=64m


cdo remapbil,/work/mh0731/m300932/grid_info.txt '/mnt/lustre01/pool/data/ICDC/land/gleam_evaporation/DATA/2020/GLEAM_v3.5a__EvaporationParameters__0.25deg__DAILY__UHAM-ICDC__*__fv0.01.nc' obs_sm2_2020_1x1.nc
