SEGYWRITE - write an SEG-Y tape segywrite Warning: may return the error message "efclose: fclose failed" intermittently when segyreading/segywriting to 8mm EXABYTE tape, even if actual segyread/segywrite is successful. However, this may indicate that your tape drive has been set to a fixed block size. Tape drives should be set to variable block size before reading or writing tapes in the SEG-Y format. Credits: SEP: Einar Kjartansson CWP: Jack, Brian, Chris : John Stockwell (added EXABYTE functionality) Notes: Brian's subroutine, float_to_ibm, for converting IEEE floating point to IBM floating point is NOT portable and must be altered for non-IEEE machines. See the subroutine notes below. On machines where shorts are not 2 bytes and/or ints are not 4 bytes, routines to convert SEGY 16 bit and 32 bit integers will be required. The program, segyhdrs, can be used to make the ascii and binary files required by this code.