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/localtime.F90

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