<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
GrADS writes out floating point numbers with fwrite, 4 bytes each. The problem you’re seeing is more likely because of the undef value in your data set. Which version of GrADS are you using? If you have 2.0a6 or higher, you can specify the output undef value
 with ‘set undef’&nbsp;
<div><a href="http://cola.gmu.edu/grads/gadoc/gradcomdsetundef.html">http://cola.gmu.edu/grads/gadoc/gradcomdsetundef.html</a>.</div>
<div>—Jennifer<br>
<div><br>
<div>
<div>On Mar 3, 2017, at 3:55 AM, 姚凯 &lt;<a href="mailto:ken3yao@126.com">ken3yao@126.com</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="line-height: 1.7; font-size: 14px; font-family: Arial;">
<div>Dear all:</div>
<div>&nbsp; &nbsp; I used the 'set gxout fwrite' function to separate the large GRD data including the radar reflectivity (about 77G) into pieces and saved them as .grd file.Now, I want to do some calculation about the reflectivity using MATLAB. But, when I used the
 fopen and fread function in MATLAB to read the small grd data, I found that the value of the reflectivity was excessing 10E8 which is unreasonable. I thought that maybe caused by the different precision between the grads fwrite and the MATLAB fread. So I wonder
 what precision used by fwrite in grads.</div>
<div><br>
</div>
<div>Thanks in advance!&nbsp;</div>
</div>
<br>
<br>
<span title="neteasefooter">&nbsp;<br class="webkit-block-placeholder">
</span>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
http://gradsusr.org/mailman/listinfo/gradsusr<br>
</blockquote>
</div>
<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="font-size: 12px; orphans: 2; widows: 2;">--</div>
<div style="font-size: 12px; orphans: 2; widows: 2;">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
</body>
</html>