<div dir="ltr"><div><div>Were the data records written by fortran or<br>        See: <a href="http://www.atmos.washington.edu/~salathe/osx_unix/endian.html">http://www.atmos.washington.edu/~salathe/osx_unix/endian.html</a><br><br></div><div>or ?????<br></div><div><br>[0]<br></div><div>The problem with binary is that someone must describe how the data was written. Fortran&#39;s default (sequential) binary has **hidden record separators**. The user could also open a binary with &quot;access=direct&quot;. This means &#39;flat&#39; binary files (no record separators.<br><br></div><div>[1] <br>Were the binary files created on a big- or little-endian system? See: <a href="https://en.wikipedia.org/wiki/Endianness">https://en.wikipedia.org/wiki/Endianness</a><br></div><div><br>[2]<br></div>Likely, fbindirread *or* fbinrecread would work. However, without more knowledge not much more can be said.<br><br>[3]<br></div>One major reason for the creation of HDF and netCDF to allow the files to be &#39;blindly&#39; examined via a suite of standard function functions.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 4, 2017 at 1:30 PM, Hughlett, Taylor M <span dir="ltr">&lt;<a href="mailto:taylor.hughlett@uta.edu" target="_blank">taylor.hughlett@uta.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:12px;font-family:Helvetica,sans-serif">
<div>
<div>
<div>
<div>Good afternoon everyone,</div>
<div><br>
</div>
<div>I am attempting to read in a .ieeer8 file using NCL so that it can be plotted. </div>
<div><br>
</div>
<div>I am completely new with binary files, so bear with me.</div>
<div><br>
</div>
<div>I understand that this is a binary file, so visualization and reading it is much more complicated than it would be with netCDF’s. </div>
<div><br>
</div>
<div>After having looked over the instructions on the NCL site, I am still having some confusion with how to get started.</div>
<div><br>
</div>
<div>Specifically, I have these questions:</div>
<ol>
<li>Will the fbindirread work to read in a .ieeer8 file (I am assuming the file is fortran as it is a restart file for CESM1’s POP2)?</li><li>How do I know what data is stored on the file prior to reading it in (i.e. Variables)? Or is this even possible?</li></ol>
<div>Any help would be greatly appreciated with this, and I am happy to provide more information if it is required.</div>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Taylor M Hughlett, Ph.D.<br>
UTA Earth and Environmental Sciences<br>
500 Yates St.<br>
Geoscience Bldg Rm 117<br>
Arlington, TX 76013-0049</div>
</div>
</div>
</div>

<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>