Ignore:
Timestamp:
Nov 22, 2011, 5:07:44 PM (13 years ago)
Author:
acolaitis
Message:

Modified NCDF norm of our files from classic to 64bit offset to support variables indices of more than integer*4 maximum length. This is a priori retrocompatible with classic format. I have tested it, it works for all file outputs, newstart (on classic or 64-bit offset files). One can check the format of his .nc with ncdump -k file.nc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/util/lslin.F90

    r137 r410  
    615615!==============================================================================
    616616write(*,*) "creating "//trim(adjustl(filename))//'...'
    617 ierr = NF_CREATE(filename,NF_CLOBBER,nout)
     617ierr = NF_CREATE(filename,IOR(NF_CLOBBER,NF_64BIT_OFFSET),nout)
    618618! NB: setting NF_CLOBBER mode means that it's OK to overwrite an existing file
    619619if (ierr.NE.NF_NOERR) then
Note: See TracChangeset for help on using the changeset viewer.