<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Opening binary file]]></title>
		<link>http://forums.approximatrix.com/viewtopic.php?id=789</link>
		<atom:link href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=789&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Opening binary file.]]></description>
		<lastBuildDate>Mon, 15 May 2023 20:17:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Opening binary file]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=4118#p4118</link>
			<description><![CDATA[<p>Basically, binary files can be read using the &quot;stream&quot; access keyword:</p><div class="codebox"><pre><code>open(100, file=&#039;binary.dat&#039;, status=&#039;old&#039;, action=&#039;read&#039;, access=&#039;stream&#039;, form=&#039;unformatted&#039;)</code></pre></div><p>It worked in this specific case.&nbsp; The &quot;stream&quot; access was designed to try to add some standard method of binary access that wasn&#039;t compiler-vendor-specific.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Mon, 15 May 2023 20:17:39 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=4118#p4118</guid>
		</item>
		<item>
			<title><![CDATA[Re: Opening binary file]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=4116#p4116</link>
			<description><![CDATA[<p>Can you share the &quot;solution&quot; for this specific problem?</p>]]></description>
			<author><![CDATA[null@example.com (baf1)]]></author>
			<pubDate>Mon, 15 May 2023 04:40:06 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=4116#p4116</guid>
		</item>
		<item>
			<title><![CDATA[Re: Opening binary file]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=4098#p4098</link>
			<description><![CDATA[<p>I really like it when a group of administrators answer questions right away. You guys are the best!</p>]]></description>
			<author><![CDATA[null@example.com (AlphonsoEstrada)]]></author>
			<pubDate>Tue, 18 Apr 2023 10:33:49 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=4098#p4098</guid>
		</item>
		<item>
			<title><![CDATA[Re: Opening binary file]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=4097#p4097</link>
			<description><![CDATA[<p>I sent the examples to Jeff and he found a solution.&nbsp; I appreciate the help.</p>]]></description>
			<author><![CDATA[null@example.com (billhutch)]]></author>
			<pubDate>Mon, 17 Apr 2023 16:03:53 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=4097#p4097</guid>
		</item>
		<item>
			<title><![CDATA[Re: Opening binary file]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=4096#p4096</link>
			<description><![CDATA[<p>If you could provide code and data samples, I might be able to help.&nbsp; Binary files tend to be extremely problematic, especially if the routines to read/write them relied on any language extensions implemented by a compiler.&nbsp; </p><p>If you need to send along some data files and code, you can email it directly to <a href="http://mailto:support@approximatrix.com">support@approximatrix.com</a>.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Thu, 13 Apr 2023 17:31:17 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=4096#p4096</guid>
		</item>
		<item>
			<title><![CDATA[Re: Opening binary file]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=4095#p4095</link>
			<description><![CDATA[<p>I am looking for a new compiler now that Lahey is out of business.&nbsp; I downloaded Simply Fortran to test it with this problem in mind.&nbsp; &nbsp; Using &#039;formatted&#039; as the form does not work as suggested by Jeff (tried it).</p><p>Binary and Unformatted files may not be standard, but are extensively used in the groundwater modeling world (USGS code MODFLOW).</p><p>Is there any way to open and read these binary files and (for older MODFLOW models) unformatted files?</p><p>I can provide examples if needed.</p>]]></description>
			<author><![CDATA[null@example.com (billhutch)]]></author>
			<pubDate>Wed, 12 Apr 2023 17:00:57 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=4095#p4095</guid>
		</item>
		<item>
			<title><![CDATA[Re: Opening binary file]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3644#p3644</link>
			<description><![CDATA[<p>Like the error says, <em>&#039;binary&#039;</em> is not a valid value for <em>FORM</em>.&nbsp; Some compilers may have implemented this in the past, but it definitely isn&#039;t standards-compliant.</p><p>If you have a Fortran binary file, you can instead use:<br /></p><div class="codebox"><pre><code>open(unit=9,file=&#039;data/Grid_3D.dat&#039;,form=&#039;formatted&#039;)</code></pre></div><p>and just read/write as you need.</p><p>More information might be helpful, though.&nbsp; Are you attempting to read or write the file?&nbsp; Do you happen to know what the file should contain?</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Wed, 04 Nov 2020 16:42:21 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3644#p3644</guid>
		</item>
		<item>
			<title><![CDATA[Opening binary file]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=3643#p3643</link>
			<description><![CDATA[<p>Dear friends,</p><p>I tried to open binary file with</p><p>open(unit=9,file=&#039;data/Grid_3D.dat&#039;,form=&#039;binary&#039;)</p><p>and got an Error message</p><p>&quot;Form specifier in OPEN statement has invalid value &#039;binary&#039;&quot;.</p><p>Why?</p>]]></description>
			<author><![CDATA[null@example.com (Mikhail)]]></author>
			<pubDate>Wed, 04 Nov 2020 08:13:08 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=3643#p3643</guid>
		</item>
	</channel>
</rss>
