[gradsusr] Your Grads problem

Mary Ndlovu maryndlovu2 at gmail.com
Sun May 19 12:59:13 EDT 2013


Yeah, but those seem to work for xdfopen files. Maybe i am not using them
properly because i open mu netcdf files with sdfopen


On Sun, May 19, 2013 at 6:51 PM, inderpreet kaur <ikaur1985 at gmail.com>wrote:

> Did you try using DFILE option ? "TDEF" is not a command. It is defined in
> the .ctl file to define the tiime parameter.
>
> Inderpreet Kaur
> Junior Research Fellow
> ASD/AOSG/EPSA
> Space Applications Centre
> Indian Space Research Organisation
> Ahmedabad
> Gujarat, India
> ikaur at sac.isro.gov.in
>
>
> On Sun, May 19, 2013 at 10:09 PM, Mary Ndlovu <maryndlovu2 at gmail.com>wrote:
>
>> Hi,
>>
>> Thank you. I am plotting T2M annual cycles for the three models, (
>> 1951-2010; 1860-2005;1901-2009)... and if i succeed with this I will do the
>> same for precipitation and SLP. so i tried the methods above earlier  and
>> nothing works... so the question is how else can i do it. I cannot get the
>> TDEF from my GRADS, it says
>> *Unknown command: TDEF*
>>
>>
>>
>> On Sun, May 19, 2013 at 6:17 PM, inderpreet kaur <ikaur1985 at gmail.com>wrote:
>>
>>> Dear Mary ,
>>>
>>> Yes your error " World coordinates convert to non-integer  grid
>>> coordinates" pertains to the time dimension. If your three input files have
>>> different TDEF values (I mean even the date ) you will get this problem.
>>> You have :
>>> { T is fixed     *Time = 00Z15SEP1957  T = 1* ,
>>> T is fixed     *Time = 00Z15JAN1851*  T = 1 ,
>>> T is fixed     *Time = 00Z15JAN1901  T = 1*. }
>>> These all values are  different.
>>> Best way to sort it out is using var.1(t=1) , var.2(t=1). Which I guess
>>> you did so. Another way is to use same TDEF values for each file ( if you
>>> ca do so!) then you would not require to specify t at each computation
>>>
>>> Regarding your other query about getting a constant. You are area
>>> averaging your variable which does not vary both in time and level. So what
>>> time series you want actually? You will get 3 values for each file.
>>>
>>> Thanks and regards,
>>> Inderpreet Kaur
>>> Junior Research Fellow
>>> ASD/AOSG/EPSA
>>> Space Applications Centre
>>> Indian Space Research Organisation
>>> Ahmedabad
>>> Gujarat, India
>>> ikaur at sac.isro.gov.in
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130519/536b6f1f/attachment-0003.html 


More information about the gradsusr mailing list