[gradsusr] Is there a method where Grads can get system time/ date?

Ousmane Ndiaye ousmane at iri.columbia.edu
Sun Jul 1 20:10:04 EDT 2012


one way not the best maybe 
==
'@ !date "+%Y%m%d" >t1.txt'
d = read('t1.txt')
d0 = sublin(d,2) 
say 'Date est :='d0'='
ret=close('t1.txt') 
==

----- Original Message -----
From: "Howard Staines" <metris at clear.net.nz>
To: gradsusr at gradsusr.org
Sent: Sunday, July 1, 2012 11:54:07 PM
Subject: [gradsusr] Is there a method where Grads can get system time/ date?

Good morning Grads users

Is there a method where Grads can get system time/ date?

I was want to run scripts that could work out the latest GFS runs ... so
wanted to obtain
Time within grads


Regards

Howard Staines

     Metris Limited

phone 0800 372 433 - mobile 027 2785586 - P O Box 24 FEATHERSTON
email info at metris.co.nz - info at metscape.net.nz - website www.metris.co.nz -
www.metscape.net.nz




_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr



More information about the gradsusr mailing list