From 7613d714acf89f9c7e5e31c49667c74fd69eb819 Mon Sep 17 00:00:00 2001 From: Trond Kristiansen Date: Sun, 16 Jan 2022 14:58:16 -0800 Subject: [PATCH] Added file for setting halo (wrap globally) --- add_halo.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 add_halo.sh diff --git a/add_halo.sh b/add_halo.sh new file mode 100644 index 0000000..d847110 --- /dev/null +++ b/add_halo.sh @@ -0,0 +1,7 @@ +for file in era5*.nc +do + name=${file##*/} + base=${name%.nc} + echo "$file" new file "${base}_halo.nc" + cdo sethalo,0,1 "$file" "${base}_halo.nc" +done \ No newline at end of file