ERROR: Binary/unformatted file does not have the correct sizeERROR: Binary/unformatted file does not have the correct sizehttps://oss.deltares.nl/c/message_boards/find_thread?p_l_id=1806746&threadId=24013672024-03-19T02:49:49Z2024-03-19T02:49:49ZRE: ERROR: Binary/unformatted file does not have the correct sizeArjen Markushttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=1806746&messageId=24025212019-06-20T08:58:36Z2019-06-20T08:58:36Z<p>Let me first explain the messages in block 7: they are simply
comments. Indeed the first two constants are used only in case of a
z-layer model. I am not sure why they do appear in the input file. The
last one has to do with certain integration options. Apparently you
are using one that does not use an iterations.</p>
<p>Now the message about the file size. The preprocessor checks that the
size of the file containing the parameters is of the expected size. If
it is not, then the computational program would either fail - if the
file is too small - or it would read the wrong values - if it was
larger than expected because it was meant for another model, for
instance. That would mean your calculation uses wrong data. Due to the
structure of these files, it is the only check we can make.</p>
<p>However, we have noticed that in a number of situations, simply
issuing an error message is not the appropriate way. This is notably
the case if you use the "DELWAQ-G" or layered sediment
module. More recent versions of the preprocessor (newer than february
this year) issue a warning instead, leaving it to the user to check this.</p>
<p>Could you post the exact size of the file Q1.par (and whether you use
the layered sediment module)? There is a chance the error message is correct.</p>
<p> </p>Arjen Markus2019-06-20T08:58:36ZRE: ERROR: Binary/unformatted file does not have the correct sizeErnesto Molinashttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=1806746&messageId=24016292019-06-19T20:10:22Z2019-06-19T20:10:22Z<p>I've just tried in another computer who has an older version of
delft3d and it worked just fine. Any ideas about how to fix this problem?</p>Ernesto Molinas2019-06-19T20:10:22ZERROR: Binary/unformatted file does not have the correct sizeErnesto Molinashttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=1806746&messageId=24013662019-06-19T17:19:11Z2019-06-19T17:19:11Z<p>Hi,</p>
<p>I finding the following error while runing the preprocessor for delwaq:</p>
<p> </p>
<p>Input comes from binary file: Q1.par
<br /> ERROR: Binary/unformatted file does not have the
correct size: Q1.par
<br />
The size should not be zero and it should be a whole multiple of
982764 (= 4*(1+2*122845))<br /> ERROR reading the data block !<br />
ERROR encountered in processing this input item !</p>
<p> ERROR. Reading block 7 !! Check input file !!</p>
<p>
<br /> ERROR. Too many and/or invalid data in block 7 !! Check
input file !!</p>
<p> </p>
<p> </p>
<p>The only strange issues i found in block 7 are this mesages:</p>
<p>; 'ACTIVE_EMERSION' - has missing value or model not suited<br /> ;
'Zthreshold' - has missing value or model not suited<br /> ;
'MaxIterations' - has missing value or model not suited</p>
<p> </p>
<p>In the manual it says these commands are related do z-model
conversion, but i'm usig regular sigma layers. I'm not sure how to fix it.</p>
<p> </p>
<p>if anyone has a clue I would be grateful.</p>
<p>Thanks</p>Ernesto Molinas2019-06-19T17:19:11Z