Email:  Password:  
  Forgot Password?  Register Now
UCAR > NCAR > CISL
Search:  
  
FAQs | Contact Us | For Staff
 USING DATA ON YOUR SYSTEM > SYSTEMS INFORMATION > DEC ALPHA SYSTEM INFORMATIONGo to Dataset: 
 
Word Size: 32 bit
GBYTES/SBYTES version(s): Generic Fortran
Byte Reversal: Yes, but can be handled with the "convert='big_endian'" option in the Fortran OPEN statement
Fortran Direct Access:
    File format:
plain binary
    RECL specification in OPEN:
32-bit words
    READ last record if short?
No, IOSTAT=39
Sequential binary file format:  
ASCII file format: Newline delimited
Comments:

SWAP4 using LOGICAL*1 does not seem to work. CHARACTER*1 replacing LOGICAL*1 seems to work, but the best choice for byte swapping is the "convert='big_endian'" option in the Fortran OPEN statement.

If input is a character variable holding binary data, the "convert='big_endian'" option will not work. Then the SWAP4 approach is necessary.

Updated 22 July 2005 

© 2009, UCAR  |  Privacy Policy  |  Terms of Use  |  Webmaster