<P>
Hello,<BR>
For transferring data files from one plateform to another platform you can use byteswapped at the starting (first line) of the control file.<BR>
<BR>
bye<BR>
&nbsp; <BR>
<BR>
<BR>
On Wed, 01 Feb 2006 N Jyothi wrote :<BR>
&gt;While creating and transferring data files from one platform to another, I<BR>
&gt;was not sure about the right option to be specified in the grads control<BR>
&gt;file.<BR>
&gt;<BR>
&gt;Thanks Douglas for the explanation.<BR>
&gt;<BR>
&gt;Regards - Jyothi<BR>
&gt;<BR>
&gt;----- Original Message -----<BR>
&gt; From: &quot;Douglas Clark&quot; &lt;dbcl@CEH.AC.UK&gt;<BR>
&gt;To: &lt;GRADSUSR@LIST.CINECA.IT&gt;<BR>
&gt;Sent: Wednesday, February 01, 2006 4:14 PM<BR>
&gt;Subject: Re: byteswapped and yrev<BR>
&gt;<BR>
&gt;<BR>
&gt; &gt; I'm not sure I can give you much detail, beyond what's in the web<BR>
&gt; &gt; documentation, but here are the basics:<BR>
&gt; &gt;<BR>
&gt; &gt; 'yrev' means that the data are stored in your file in &quot;north to south&quot;<BR>
&gt; &gt; order.<BR>
&gt; &gt; Without yrev, GrADS expects the data to be stored in &quot;south to north&quot;<BR>
&gt; &gt; order, that is, the southernmost row of data first, then the next<BR>
&gt; &gt; row...,ending with the northernmost row (eg 90S, 80S, 70S,...,80N,<BR>
&gt; &gt; 90N).<BR>
&gt; &gt; With yrev, the northernmost row is stored first (eg 90N, 80N,...).<BR>
&gt; &gt; GrADS uses yrev when it reads data from the file, so that it knows to<BR>
&gt; &gt; reverse the row order before plotting.<BR>
&gt; &gt;<BR>
&gt; &gt; 'byteswapped' means that the order of the bytes in the data file is not<BR>
&gt; &gt; the default for your computer. Again, GrADS uses this when it reads data<BR>
&gt; &gt; in. If you only ever use GrADS on the same computer that you use to<BR>
&gt; &gt; write the data files, chances are you won't ever need byteswapped. (The<BR>
&gt; &gt; little_endian and big_endian options are argueably more useful, as the<BR>
&gt; &gt; ctl files can then be used on any machine, regardless of byte order).<BR>
&gt; &gt;<BR>
&gt; &gt; Often you don't need either of the yrev or byteswapped options - it<BR>
&gt; &gt; just depends on your data files.<BR>
&gt; &gt;<BR>
&gt; &gt; Doug<BR>
&gt; &gt;<BR>
&gt; &gt;<BR>
&gt; &gt; &gt;&gt;&gt; njyothi@CDAC.IN 01/02/2006 10:03:24 &gt;&gt;&gt;<BR>
&gt; &gt; Hello Grads Users<BR>
&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  I haven't entirely understood the 'yrev' and 'byteswapped'<BR>
&gt; &gt; options<BR>
&gt; &gt; in grads. Can someone pls explain these options in detail?<BR>
&gt; &gt;<BR>
&gt; &gt; Jyothi<BR>
&gt; &gt;<BR>
&gt; &gt; --<BR>
&gt; &gt; This message (and any attachments) is for the recipient only. NERC<BR>
&gt; &gt; is subject to the Freedom of Information Act 2000 and the contents<BR>
&gt; &gt; of this email and any reply you make may be disclosed by NERC unless<BR>
&gt; &gt; it is exempt from release under the Act. Any material supplied to<BR>
&gt; &gt; NERC may be stored in an electronic records management system.<BR>
&gt; &gt;<BR>

</P>


************************************************* <br>
Shailendra Rai&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br>
K. Banerjee&nbsp;Centre of&nbsp;Atmospheric and&nbsp;Ocean Studies&nbsp; <br>
University of&nbsp;Allahabad <br>
INDIA <br>
Phone 09415649617 <br>
Telefax +915322460974&nbsp; <br>
Mail ID&nbsp;r_shail1977@yahoo.co.in  <br>
************************************************* <br>
<br>
<br><br>
<a href="http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3"><IMG SRC="http://adworks.rediff.com/cgi-bin/AdWorks/sigimpress.cgi/www.rediff.com/signature-home.htm/1963059423@Middle5?OAS_query=null&PARTNER=3" BORDER=0 VSPACE=0 HSPACE=0></a>