[gradsusr] Moving from one grads version to another
Martin Cuma
martin.cuma at utah.edu
Mon Feb 27 11:56:54 EST 2017
Hello,
We are trying to move from older grads (2.0.a1) to newer, and have some issues.
When plotting variables from the same .ctl files with grads 2.0.2.oga.2 that
plot successfully with grads 2.0.a1. For example, we can successfully plot a
variable, ugrdprs with grads 2.0.a1, but get the following error with grads
2.0.2.oga.2:
ga-> d ugrdprs
Syntax Error: Invalid Operand
'ugrdprs' not a variable or function name
Error ocurred at column 1
DISPLAY error: Invalid expression
Expression = ugrdprs
The variables affected have long strings in the .ctl file, for example:
UGRDprs 31,100 0,2,2 ** (1000 975 950 925 900 850 800 750 700 650 600 550
500 450 400 350 300 250 200 150 100 70 50 30 20 10 7 5 3 2 1) none U-Component
of Wind [m/s]
When we query the file in grads 2.0.a1, the first part of the string is
provided:
ugrdprs 31 0 ** (1000 975 950 925 900 850 800 750 700 650 600 550 500 450 400
350 300 250 200 150 100 70 50 30 20 10 7 5 3 2 1) none U-Compo
However, when we query the file in grads 2.0.2.oga.2, the latter part of the
string is provided:
ent of Wind 31 0,2,3 ** (1000 975 950 925 900 850 800 750 700 650 600 550
500 450 400 350 300 250 200 150 100 70 50 30 20 10 7 5 3 2 1) none V-Component
of Wind
It looks like the long string truncation happens from the left in 2.0.a1 and
from the right in 2.0.2.oga.2.
Any thoughts on why can this be?
Thanks,
Martin
More information about the gradsusr
mailing list