Project

General

Profile

RE: shell script for using CDO codes ยป code_cdo.txt

nazanin tavakoli, 2021-02-18 10:28

 
#!/usr/bin/env bash
$cdo genbil,gridfile1.txt clay0_5.nc Tbil.nc
$cdo remap,gridfile1.txt,Tbil.nc clay0_5.nc clay0_5bil.nc

$cdo genbic,gridfile1.txt clay0_5.nc Tbic.nc
$cdo remap,gridfile1.txt,Tbic.nc clay0_5.nc clay0_5bic.nc

$cdo gennn,gridfile1.txt clay0_5.nc Tnn.nc
$cdo remap,gridfile1.txt,Tnn.nc clay0_5.nc clay0_5nn.nc

$cdo gendis,gridfile1.txt clay0_5.nc Tdis.nc
$cdo remap,gridfile1.txt,Tbdis.nc clay0_5.nc clay0_5dis.nc
    (1-1/1)