<div><br></div><div>   Hello,</div><div><br></div><div>     Thank you Eric for your reply. I don't remember any particular error message when I used the WRTDISK procedure to export all my files. At that time, I was exporting a lot of files, so I might have missed something in the long report I had obtained. But, for sure, the task ended successfully each time and created an output file.</div>
<div><br></div><div>   Best regards</div><div><br></div><div>Pierre</div><div><br></div><div><br></div><br><br><div class="gmail_quote">2013/1/27 Eric Greisen <span dir="ltr"><<a href="mailto:egreisen@nrao.edu" target="_blank">egreisen@nrao.edu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Belles Pierre-Emmanuel wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  Hello,<br>
<br>
     While using the READISK procedure to load AIPS-format files onto my new laptop (running on Leopard), I've got the following error message:<br>
LOCALH> FITLD1: TAPIO: RECORD LENGTH   2688 INCONSISTENT WITH BLOCK SIZE  2880<br>
LOCALH> FITLD1: UVFDAT: ERROR READING TAPE. IERR=    10<br>
LOCALH> FITLD1: ERROR     10 RETURNED FROM UVFDAT<br>
LOCALH> FITLD1: Destroyed  1 extension files of type HI<br>
<br>
The files were written with the WRTDISK procedure, while I was working on a Linux machine. For some reason, WRTDISK wrote data blocks with only 2688 bytes, making the files unreadable by READISK (which seems to expect to receive fits-format files, with blocks having n*2880 bytes). Strangely, this only affects only some of my files, not all of them.<br>

<br>
   I tried to change the "corrupted" input files and add extra bytes until reaching 2880, using the task TCOPY. According to the help file, "TCOPY may be used to insert missing end-of-file marks between FITS-format data sets". But I got the same kind of error message:<br>

LOCALH> TCOPY1: Task TCOPY  (release of 31DEC11) begins<br>
LOCALH> TCOPY1: DISK OUTPUT VALID ONLY FOR FITS FORMAT, NOT RECORDS OF  2688 BYT<br>
LOCALH>         ES<br>
LOCALH> TCOPY1: WARNING: NO files copied<br>
<br>
    I tried to load the files on another laptop, with a former version of AIPS. Same pb.<br>
<br>
    If you have any suggestions on how to solve this pb, please, they are welcome !<br>
</blockquote>
<br></div></div>
AIPS FITS writing tasks FITTP and FITAB will write n*2880- byte files at all times except when they encounter a serious error.  That must have happened in the WRTDISK procedure which should have brought it to a jarring halt.  Do you have any idea what happened there?<span class="HOEnZb"><font color="#888888"><br>

<br>
Eric Greisen<br>
</font></span></blockquote></div><br>