From 42a11bef2dc78e18ea02dba7071c4a55ef84fa0b Mon Sep 17 00:00:00 2001 From: yizhang Date: Sat, 9 Jun 2018 18:00:35 -0700 Subject: [PATCH] update files --- gmtsph-regional.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gmtsph-regional.sh b/gmtsph-regional.sh index f100310..8f993e3 100755 --- a/gmtsph-regional.sh +++ b/gmtsph-regional.sh @@ -135,7 +135,7 @@ else fi if [[ $plotgrad == 1 ]]; then - gradfile=usergradient.nc + gradfile=${data%.*}Grad.nc gmt grdgradient ${data} -G${gradfile} -Nt -A0/45 gmt grdimage ${data} -R${range} -C${cptfile} -I${gradfile} -Bx${axistick[0]}g+l"${labels[0]}" -By${axistick[1]}g+l"${labels[1]}" -JL${plot_para[0]}/${plot_para[1]}/${plot_para[2]}/${plot_para[3]}/${pagePara[0]} -K -P > $psfile else