<div dir="ltr">Hi,<div><br></div><div>I am facing problem in getting output values through gs file. I am getting all values like -9.99e+08 this. </div><div><br></div><div>My gs file for selected area is to extract temperature value for averaged pressure levels is as follow</div><div><br></div><div><div>*<a href="http://tpp.gs">tpp.gs</a></div><div>*monthly air temperature for 1949-2013</div><div>*for NPH region</div><div>********************************************</div><div>*for averaged levels from 200 to 1000 hPa</div><div>*----------------------------</div><div>'reinit'</div><div>'c'</div><div>'open d:/GPH/Binary/tem/tep.ctl'</div><div>tt=1</div><div>while (tt<=780)</div><div>'set t 'tt</div><div>'define temp=(t(z=1)+t(z=2)+t(z=3)+t(z=4)+t(z=5)+t(z=6)+t(z=7)+t(z=8)+t(z=9)+t(z=10))/10.0'</div><div>'define tem=aave(temp,lon=-150.0,lon=-130.0,lat=10.0,lat=40.0)'</div><div>'d tem'</div><div>val=subwrd(result,4)</div><div>hj=write(Ntt.dat,val)</div><div>tt=tt+1</div><div>endwhile</div><div>*pull x</div><div>'clear'</div></div><div><br></div><div>one more thing i noticed that i used same gs file for different lat long than it is giving output. Means when i am using -sign for longitude then this is the outcome.</div><div><br></div><div>Kindly give any suggestions for same!!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 8, 2015 at 9:49 AM, Jayakrishnan P.R <span dir="ltr"><<a href="mailto:prjayakrishnan@gmail.com" target="_blank">prjayakrishnan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">One more suggestion. If the ctl file of your friend and you differ in xdims and y dims then also this problem occurs. <div><br></div><div>Suppose the ctl look as if </div><div><br></div><div>XDEF 121 LINEAR 50.0 0.5<br></div><div><div>YDEF 141 LINEAR -30.0 0.5</div><div>ZDEF 1 linear 1 1 </div><div>TDEF 31 LINEAR 1may2014 1DY</div></div><div><br></div><div><br></div><div>In the first graph it is from 0 90 N and in the second graph it is different. The definition of XDEF and YDEF and the points may be different. Just check this. </div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Sincerely<br>***********************************************<br>Jayakrishnan.P.R<br><div>Project Scientist-C<br>National Centre for Medium Range Weather Forecasting<br>Earth System Science Organisation<br>Ministry of Earth Sciences<br>A-50, Sector 62, NOIDA -201 309, INDIA<br>Mob: 09496026547</div><div>Alternate Email: <a href="mailto:jkrishna@ncmrwf.gov.in" target="_blank">jkrishna@ncmrwf.gov.in</a><br><br>***********************************************</div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Jan 8, 2015 at 3:50 AM, Marjahn Finlayson <span dir="ltr"><<a href="mailto:mfinlayson@wesleyan.edu" target="_blank">mfinlayson@wesleyan.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks you both! But it turns out that the endianness doesn't seem to be the problem.<div>Changing the endianness on my laptop only seems to create funkier graphs. I'm not sure why. </div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 6, 2015 at 12:16 AM, Rick Danielson <span dir="ltr"><<a href="mailto:onto.limbo@gmail.com" target="_blank">onto.limbo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi Marjahn,<br>
<br>
It's more likely that the two machines have different
endianness (the bits of each<br>
byte are ordered oppositely; see
<a href="http://docstore.mik.ua/orelly/unix3/mac/ch04_03.htm" target="_blank">http://docstore.mik.ua/orelly/unix3/mac/ch04_03.htm</a>)<br>
or perhaps byte size (one machine is 32-bit and the other 64-bit).
Such differences helped<br>
motivate the creation of formats like netCDF. (One can share netCDF
data via "sdfwrite".)<br>
<br>
Cheers,<br>
Rick<div><div><br>
<br>
<br>
<div>On 01/05/2015 10:09 PM, Marjahn
Finlayson wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>I'm having trouble with a dataset that was created on a
Linux machine and was downloaded on a Mac laptop. My colleague
and I are using the same data: she is using a Linux and I am
on a Mac laptop. I've attached the same graph of this dataset
from both computers. </div>
<div><br>
</div>
<div>Can anyone explain the issue here? </div>
<div><br>
</div>
<div>Thanks.</div>
<div><br>
</div>
<div>Marjahn</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><span><pre>_______________________________________________
gradsusr mailing list
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</span></blockquote>
<br>
</div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>