On Mon, Nov 28, 2011 at 7:08 AM, Francesco Benincasa <span dir="ltr"><<a href="mailto:francesco.benincasa@bsc.es">francesco.benincasa@bsc.es</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
* venerd́ 25 novembre 2011, alle 12:20, Arlindo da Silva scrive:<br>
[...]<br>
<div class="im">> Can you give us some more details here? Is this a global or regional dataset?<br>
<br>
</div>It's a regional dataset.<br>
<div class="im"><br>
> Also, which version of pygrasd is this? Platform?<br>
<br>
</div>pygrads 1.1.4<br></blockquote><div><br></div><div>Just in case try the latest release:</div><div><br></div><div> <a href="http://sourceforge.net/projects/opengrads/files/python-grads/1.1.b5/">http://sourceforge.net/projects/opengrads/files/python-grads/1.1.b5/</a></div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
python 2.6.5<br>
OS OpenSuSE 11.3<br>
<div class="im"><br></div>I attach two images, one with the map correctly drawn (with the "transf"<br>
optino set to True) and one with the wrong one. You can download a test<br>
dataset from here:<br>
<a href="http://sds-was.aemet.es/archive/files/testfile.nc" target="_blank">http://sds-was.aemet.es/archive/files/testfile.nc</a><br>
<br>
I use some different dataset from various models (both global and regional)<br>
and I only have to set the transf option with this model.<br>
<br></blockquote><div><br></div><div>Strange, I am able to plot this file with no problems, without setting "transf". Here is what I did:</div><div><br></div><div> from grads import gacm</div><div> ga.open('<a href="http://testfile.nc">testfile.nc</a>')</div>
<div> ga.imshow('1e6*sconc_dust',cmap=gacm.jet_l)</div><div><br></div><div>The image is attached. For the record, I am running python 2.7 from EPD 7.1-2 on Mac OS X.</div><div><br></div><div> Arlindo</div><div>
<br></div></div>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>