<div>Respected sir, </div>
<div>&nbsp;</div>
<div>actually data is at</div>
<div>0.5 x 0.5 degree resolution, so nx=193 and ny=52</div>
<div>&nbsp;</div>
<div>with regards</div>
<div>&nbsp;</div>
<div>anushri<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 2/4/09, <b class="gmail_sendername">Madhusoodanan M.S.</b> &lt;<a href="mailto:madhusoodanan@gmail.com">madhusoodanan@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Anushri,<br><br>your output (tauxobs.grd) should have 192*51*24*4 bytes (your grid size is 1degx1deg).<br>
<br>there could be errors in the .ctl file of tauxobs.grd.<br><br>cheers,<br>Madhu<br><br>
<div class="gmail_quote">2009/2/4 anushri dutta <span dir="ltr">&lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:anushridutta01@gmail.com" target="_blank">anushridutta01@gmail.com</a>&gt;</span> 
<div><span class="e" id="q_11f40b6a9b873c55_1"><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>Respected Sir,</div>
<div>the command which I am using is the</div>
<div>&nbsp;</div>
<div>&#39;reinit&#39;<br>&#39;sdfopen taux.cdf&#39;<br>&#39;set gxout fwrite&#39;<br>&#39;set fwrite tauxobs.grd&#39;<br>&#39;set x 129.5 320.5&#39;<br>&#39;set y 121.5 171.5&#39;<br>&#39;set z 1&#39;<br>&#39;set t 1 24&#39;<br>
&#39;d taux&#39;<br>&#39;disable fwrite&#39;</div>
<div>&nbsp;</div>
<div>and the data length in tauxobs.grd is 193*52*24*4, where nx=193, ny=52, and t=24,</div>
<div>so, where is the error in file i am not getting it, that is it display the variable for only time t=1, not for the other time,</div>
<div>please help me.</div>
<div>&nbsp;</div>
<div>with redgards</div>
<div>&nbsp;</div>
<div>anushri</div><br><br>
<div><span class="gmail_quote">On 2/4/09, <b class="gmail_sendername">Douglas Clark</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:dbcl@ceh.ac.uk" target="_blank">dbcl@ceh.ac.uk</a>&gt; wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Anushri,<br><br>It&#39;s difficult to know what the problem is unless you give more information about how you created the file!<br>
<br>There&#39;s potentially quite a lot of information that you need to provide, but the following at least would be useful:<br>* the script or commands that you used to perform the fwrite, and what GrADS output to the screen when you did this<br>
* the ctl file you created for the output<br>* the results of the command &quot;ncdump -h taux97-98.cdf&quot; (if you have the ncdump utility)<br><br>In the meantime, is it possible that you only wrote out 1 time of the netCDF file? How big is the file tauxobs.grd (e.g. ls -l in Unix)? If the grid is of size nx*ny points, one year of monthly data should give a file of size nx*ny*12*4 bytes. If your file is smaller, you haven&#39;t written all times, so repeat the fwrite stage after &#39;set t 1 12&#39; (or whatever is appropriate). Try this first!<br>
<br>Doug<br><br><br>&gt;&gt;&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:anushridutta01@GMAIL.COM" target="_blank">anushridutta01@GMAIL.COM</a> 04/02/2009 07:20 &gt;&gt;&gt;<br>Dear Grads User,<br>
Hi,<br>here I am facing a problem, that i want to write a binary data for<br>the 12 month by data taux97-98.cdf, through fwrite function,<br>but when I pot the data through ctl file,<br>it display for a single month, not for all the months,<br>
and the error which it showing is<br><br>ga-&gt; open taux.ctl<br>Scanning description file:&nbsp;&nbsp;taux.ctl<br>Data file tauxobs.grd is open as file 1<br>LON set to 64.5 160<br>LAT set to -15 10<br>LEV set to 1 1<br>Time values set: 1997:1:1:0 1997:1:1:0<br>
ga-&gt; set t 1<br>Time values set: 1997:1:1:0 1997:1:1:0<br>ga-&gt; d taux<br>Contouring: -0.08 to 0.08 interval 0.02<br>ga-&gt; set t 2<br>Time values set: 1997:2:1:0 1997:2:1:0<br>ga-&gt; d taux<br>Low Level I/O Error:&nbsp;&nbsp;Read error on data file<br>
Data file name = tauxobs.grd<br>Error reading 192 bytes at location 313344<br>Data Request Error:&nbsp;&nbsp;Error for variable &#39;taux&#39;<br>Error ocurred at column 1<br>DISPLAY error:&nbsp;&nbsp;Invalid expression<br>Expression = taux<br>
<br><br>same as for the 3 to 12 month,<br><br>I am not understanding why it is so,<br>Please tell me, how do I achieve this,<br><br>with regards<br><br>anushri<br><br><br>--<br>This message (and any attachments) is for the recipient only. NERC<br>
is subject to the Freedom of Information Act 2000 and the contents<br>of this email and any reply you make may be disclosed by NERC unless<br>it is exempt from release under the Act. Any material supplied to<br>NERC may be stored in an electronic records management system.<br>
</blockquote></div><br></blockquote></span></div></div><br></blockquote></div><br>