[gradsusr] regrid data

Jackie Yip zheng.yip at mcgill.ca
Tue Apr 12 15:22:58 EDT 2011


Hi Subash,

I also got the error
"Syntax Error:  Invalid Operand 're' not a variable or function name"
even though I used GrADs 2.0.a9.oga.1.

Is the re function an extra thing one must install like a user define
extension? Or is the re function built-in for GrADs 2.0.a9.oga.1.?

Thanks

Zheng
On 12 April 2011 14:32, Subash Yeggina <subash.yeggina at gmail.com> wrote:

> Hi! Ismaila,
>
> You are correct... The regridding seems to be working if it is done just
> after the openning of the file.
>
> I tried doing the regridding after a few operations, and it failed. Not
> sure of the logic behind it..
>
> have you been able to resolve this issue at ur end.
>
> My version of GrADS is *2.0.a9.oga.1.*
>
>
> Thanks,
> Subash
>
>
> 'open rfpt5.ctl'
> 'define newgrid = re(pr,0.25)
>
> On Fri, Apr 8, 2011 at 12:23 AM, Ismaila Diallo <ismailadiallo64 at yahoo.fr>wrote:
>
>> Hi subash,
>> i've used the re commend and i get this error :
>>
>> d re(pr,0.5)
>> Syntax Error:  Invalid Operand
>>   're' not a variable or function name
>>   Error ocurred at column 1
>> DISPLAY error:  Invalid expression
>>   Expression = re(pr,0.5)
>>
>> I am using grads1.9
>> Thank in advance
>> ------------------------------
>> *From:* Subash Yeggina <subash.yeggina at gmail.com>
>> *To:* Ismaila Diallo <ismailadiallo64 at yahoo.fr>; GrADS Users Forum <
>> gradsusr at gradsusr.org>
>> *Sent:* Thursday, April 7, 2011 8:10 PM
>> *Subject:* Re: [gradsusr] regrid data
>>
>> Dear Ismaila,
>>
>>
>> I think you can do it by using the *re *command.
>>
>> Ex:
>>
>> define newg=re(<variable>,<resolution>).
>>
>> For more details you can check
>> http://opengrads.org/doc/udxt/re/re.html#required_parameters
>>
>> <http://opengrads.org/doc/udxt/re/re.html#required_parameters>Subash
>>
>> On Thu, Apr 7, 2011 at 10:57 PM, Ismaila Diallo <ismailadiallo64 at yahoo.fr
>> > wrote:
>>
>> dear grads User,
>> i've to netcdf files with different resolution. I use grads1.9 and i went
>> to regrids these data at a same resolution with my grads thus how should i
>> do??
>>
>> Sincerely
>> ismaila
>>
>> _______________________________________________
>> 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/20110412/1074ff38/attachment-0003.html 


More information about the gradsusr mailing list