<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
The “Low level I/O error” message usually means your flat binary file is the wrong size. GrADS makes a calculation of where to offset the pointer — i.e. how many bytes deep into the file it needs to go to read the desired grid. If the file read command returns
an error, you get the message that tells you how many bytes it was trying to read from the file (in this case 1144) and the offset it was using (in this case -2129859208, which isn’t right and looks like some kind of precision error).
<div><br>
</div>
<div>The first thing you should do is make a calculation of what the file size should be:</div>
<div>xsize * ysize * zsize * tsize * esize * number-of-variables * 4 (bytes) </div>
<div>If your file has some z-varying variables and some non-z-varying variables of if your data is sequential this calculation is a little trickier, but you get the idea. If your file size doesn’t match, then figure out where you went wrong in describing the
grid or in creating your file. If it does match, then the file may be corrputed somewhere. Try displaying one time step at a time and figure out which T index causes it to fail — if that T value is where the file size crosses the 2GB mark, then you probably
have a precision issue. GrADS 2.0.2 should easily be able to read a big binary file, but it may depend on the system you’re using to read it.</div>
<div>—Jennifer</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<div>
<div>On Feb 1, 2016, at 7:50 AM, Anna Lukianova <<a href="mailto:romashe4ka04@rambler.ru">romashe4ka04@rambler.ru</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<p>Hi, everyone!</p>
<p>I have 2-D data file with a lot of records in time.</p>
<p>When I want to plot variables for the last records of time, I obtain such an error :</p>
<div><br class="webkit-block-placeholder">
</div>
<p>Low level I/O error: read error on data file. Error reading 1144 bytes at location -2129859208/</p>
<div><br class="webkit-block-placeholder">
</div>
<p>Is this error linked to some file limits in GrADS (I have 2.0.2 version) ?</p>
<div><br class="webkit-block-placeholder">
</div>
<div id="editor_compose_signature">
<p>Thanks in advance, Lukianova Ann.</p>
</div>
_______________________________________________<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>