[gradsusr] SET error: Missing or invalid arguments

Dr. Muhammad Afzaal afzaalkarori at gmail.com
Thu Dec 28 00:53:03 EST 2017


Dear Andrew

​Thanks for your reply.

​I have no problem in opening or displaying file.​

​Following is what I get when I query dimensions;

ga-> q dim
Default file number is: 1
X is varying   Lon = 33 to 60   X = 1 to 55
Y is varying   Lat = 12 to 33   Y = 1 to 43
Z is fixed     Lev = 0  Z = 1
T is varying   Time = 00Z01JAN1981 to 00Z01DEC2010  T = 1 to 360
E is fixed     Ens = 1  E = 1
​
​Best Regards​

*Dr. MUHAMMAD AFZAAL *



On Thu, Dec 28, 2017 at 1:42 AM, Andrew Friedman <andfried at gmail.com> wrote:

> Hi Muhammad,
>
> Are you able to open the file and plot the data?
> What do you get when you type ‘q dims’?
>
> -Andrew
>
> > On Dec 26, 2017, at 11:47 PM, Dr. Muhammad Afzaal <
> afzaalkarori at gmail.com> wrote:
> >
> > Dear Fellows
> >
> > I am trying to calculate linear trend (Grads V2.0.1 on ubuntu 13);
> >
> > 'sdfopen Era_RH_1981.nc'
> > 'set t 1 last'
> > 'ltrend r rh slope error' ;*r is the input variable
> >
> > But got the error;
> >
> > SET error:  Missing or invalid arguments for X option
> > SET error:  Missing or invalid arguments for Y option
> > SET error:  Missing or invalid arguments for T option
> > Syntax Error:  Invalid dimension expression
> >   Dimension value missing or invalid
> > Error from SUM:  1st dimension expression invalid
> > Operation Error:  Error from sum function
> > Operation Error:  Error from tloop function
> >   Error ocurred at column 1
> > .............
> > .............
> >
> > Tried many options but could not resolve. Can anybody help me solve this
> problem
> >
> > Following is file info;
> >
> >    dimensions:
> >       longitude = 55
> >       latitude = 43
> >       time = 360  // unlimited
> >    variables:
> >       float longitude ( longitude )
> >          standard_name :        longitude
> >          long_name :    longitude
> >          units :        degrees_east
> >          axis : X
> >
> >       float latitude ( latitude )
> >          standard_name :        latitude
> >          long_name :    latitude
> >          units :        degrees_north
> >          axis : Y
> >
> >       double time ( time )
> >          standard_name :        time
> >          units :        hours since 1900-01-01 00:00:00
> >          calendar :     standard
> >
> >       float r ( time, latitude, longitude )
> >          standard_name :        relative_humidity
> >          long_name :    Relative humidity
> >          units :        %
> >          _FillValue :   -32767
> >
> >
> > Thanking in anticipation
> >
> > Dr. MUHAMMAD AFZAAL
> >
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20171228/c9ebafdb/attachment.html 


More information about the gradsusr mailing list