<div>Hello GRADS' USERS!!</div>
<div> </div>
<div>When using fwrite command I have came across with the following error:</div>
<div> </div>
<div>The original file is in netcdf, with fwrite is converted to binary. Then when I open it again using a proper ctl file, I find that the current plot is a bit distorted or deformated; i.e. it seems the plot lines do not match in certain areas, over ones they are better, over others, worse. My question is:</div>
<div> </div>
<div>How does fwrite command save the binary data lat-lon order? Perhaps the problem is there.</div>
<div>There may be a problem with definition of missing data?</div>
<div> </div>
<div>Any ohter suggestive help?</div>
<div> </div>
<div>Bellow I am showing the ctl file I created so that plots from the direct nc.file and from the bin file match one another better.</div>
<div>The attachment will show you the 300 hPa air temperature from the netcdf file and from the binary-created file via the ctl file for a day, as an example.</div>
<div> </div>
<div>Thanks in advance</div>
<div> </div>
<div>Eduardo.</div>
<div> </div>
<div> </div>
<div>DSET c:/grads19/data/prueba4.bin<br>TITLE temperatura en 1000<br>UNDEF 9.36e36f<br>*OPTIONS sequential<br>*XDEF 12 levels -165 -135 -105 -75 -45 -15 15 45 75 105 135 165<br>*YDEF 6 levels -57.5 -52.5 -47.5 -42.5 -37.5 -32.5<br>
XDEF 144 LINEAR -60 2.5<br>YDEF 73 LINEAR -90 2.5<br>*YDEF 93 GAUST62 1<br>ZDEF 1 levels 50<br>TDEF 1 linear 1jan1950 1yr<br>VARS 1 <br>x 0 99 var<br>ENDVARS</div>
<div> </div>