Project

General

Profile

RE: Source cell masking in calculating remap weights. ยป remapCrap.sh

Ralf Mueller, 2021-01-12 09:55

 
#!/usr/bin/env bash
f=$1
echo $f
cdo infov $f
name=zos
set -x

cdo -L -setmisstoc,0 -gtc,-100 -selname,$name $f mask_$f
cdo reducegrid,mask_$f -selname,$name $f reduced_$f
cdo verifygrid reduced_$f
cdo -P 4 remapcon,global_1 reduced_$f global_1_$f

    (1-1/1)