[gradsusr] Any suggestions with my "cat plotgrads" script?

Becker, Bernd bernd.becker at metoffice.gov.uk
Fri Nov 20 04:11:22 EST 2015


http://gradsaddict.blogspot.co.uk/2013/05/some-tips-on-running-grads-from-windows.html

fwiw

From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of giacomo tricarico
Sent: 19 November 2015 20:20
To: gradsusr at gradsusr.org
Subject: [gradsusr] Any suggestions with my "cat plotgrads" script?

Hi, I have this script:

cat > plotgrads << EOF
my grads code
....
...
EOF

included in my run_unipostandgrads_12 file
It works great, but the problem is that if I have to modify part of my grads code, I have to do that with all of my 4 run_unipostandgrads_XX files!

So is there a way to avoid putting all my grads code every time in every file?
I've tried putting directly my code in plotgrads file, without using "cat" then, but the problem is that
grads -blc "run plotgrads"
,which is run in loop for 48h,
does then not processes correctly the variables for {hh} and {domain}.

How could I do this?

Thanks,
Giacomo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20151120/779fb4f9/attachment.html 


More information about the gradsusr mailing list