<div class="gmail_quote">On Wed, Nov 5, 2008 at 2:17 PM, Meredith Croke <span dir="ltr"><<a href="mailto:mcroke@airdat.com">mcroke@airdat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
I am trying to use pygrads for the main purpose of using blue_marble for a<br>
background image. Once pygrads starts up, I am able to open a file and<br>
display a variable. However, exchanging data with python or any of the<br>
examples after this in the Pygrads Interactive Shell does not seem to be<br>
working, including plotting a variable on the blue_marble basemap. When I<br>
follow the example for exporting an expression and type dd speed, I get the<br>
following response:<br>
raise GrADSError, "IPC extension not available - cannot import!"<br>
GrADSError: 'IPC extension not available - cannot import!'<br>
<br>
Is there any known problems with using gradsv2.0? Any other suggestions as<br>
to how this can be addressed?<br></blockquote><div><br></div><div>You need pygrads v1.1.0 and grads v2.0.a3 --- it will not work with previous versions. With this you can only *export* a grads variable, but not *import* it. Therefore, you should be able to plot contours on top of a blue_marble just fine. Try this</div>
<div><br></div><div>% pygrads -x grads -b</div><div>...</div><div>[] ga-> oo model.ctl</div><div>[] ga-> ga.blue_marble('on')</div><div>[] ga-> ga.contour('ts')</div><div><br></div><div> Arlindo</div>
<div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Thank you in advance for your help.<br>
<br>
Sincerely,<br>
<font color="#888888">Meredith<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>