[gradsusr] regrid data

Yan Libin zjuyanlibin at 163.com
Fri Feb 10 11:36:44 EST 2012


Rob,

You can download OpenGrADS from this link
http://sourceforge.net/projects/opengrads/files/grads2/2.0.1.oga.1/Linux/ 
I guess this bundle has regrid function (re2) after you install it.
It is not a script under windows platform, so maybe the same under linux platform.
After installation, you can do like this:

define var1=re2(var,1,1)
d var1

You can have a try.
Good luck.

Libin



Yan Libin

From: Robert Seigel
Date: 2012-02-11 00:28
To: zjuyanlibin; GrADS Users Forum
Subject: Re: [gradsusr] regrid data
I am using a Linux platform with grads-2.0.a9. Is there a linux script?


Rob


On Feb 10, 2012, at 9:26 AM, Yan Libin wrote:


If you are working on a windows platform,  you can download OpenGrADS which has the regrid function already.




Yan Libin

From: Robert Seigel
Date: 2012-02-11 00:22
To: zjuyanlibin; GrADS Users Forum
Subject: Re: [gradsusr] regrid data
Thank you for the quick response, Yan. 


When I type that, I get the following response from grads: 


Syntax Error:  Invalid Operand 
  're2' not a variable or function name
  Error ocurred at column 1
DEFINE error:  Invalid expression. 


Do you have a copy of the re2() script? 


Thanks,
Rob


On Feb 10, 2012, at 9:17 AM, Yan Libin wrote:


define varnew=re2(varold,1,1)




Yan Libin

From: Robert Seigel
Date: 2012-02-11 00:15
To: gradsusr
Subject: [gradsusr] regrid data
Hi,

I am trying to regrid NAM data to match up with GFS resolution. I have seen numerous posts regarding regrid2() or re(), however I cannot seem to find any of these scripts. I have downloaded a bundle and found regrid2(), but could not get it to work. It gave me errors similar to previous posts ('regrid2' not a variable or function name). Does anyone have (or know where to find) a script that regrids data to a more coarse resolution? 

Thanks,
Rob
_______________________________________________
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



_______________________________________________
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/20120211/c2006939/attachment-0003.html 


More information about the gradsusr mailing list