Ignore:
Timestamp:
Jan 18, 2021, 8:02:21 PM (4 years ago)
Author:
Ehouarn Millour
Message:

Make dynamics restart.nc file be in "64-bit offset" mode to enable generating large files. While at it also enforce this for limit.nc, guide_ins.nc and grilles_gcm.nc generated by the model.
EM

Location:
LMDZ6/trunk/libf/dyn3d
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dyn3d/dynredem.F90

    r2622 r3803  
    99  USE infotrac
    1010  USE netcdf, ONLY: NF90_CREATE, NF90_DEF_DIM, NF90_INQ_VARID, NF90_GLOBAL,    &
    11                     NF90_CLOSE,  NF90_PUT_ATT, NF90_UNLIMITED, NF90_CLOBBER
     11                    NF90_CLOSE,  NF90_PUT_ATT, NF90_UNLIMITED, NF90_CLOBBER,   &
     12                    NF90_64BIT_OFFSET
    1213  USE dynredem_mod, ONLY: cre_var, put_var1, put_var2, err, modname, fil
    1314  USE comvert_mod, ONLY: ap,bp,aps,bps,presnivs,pseudoalt,pa,preff, &
     
    104105
    105106!--- File creation
    106   CALL err(NF90_CREATE(fichnom,NF90_CLOBBER,nid))
     107  CALL err(NF90_CREATE(fichnom,IOR(NF90_CLOBBER,NF90_64BIT_OFFSET),nid))
    107108
    108109!--- Some global attributes
  • LMDZ6/trunk/libf/dyn3d/guide_mod.F90

    r3103 r3803  
    15501550! ----------------------------------------------
    15511551! Ouverture du fichier
    1552         ierr=NF_CREATE("guide_ins.nc",NF_CLOBBER,nid)
     1552        ierr=NF_CREATE("guide_ins.nc",IOR(NF_CLOBBER,NF_64BIT_OFFSET),nid)
    15531553! Definition des dimensions
    15541554        ierr=NF_DEF_DIM(nid,"LONU",iip1,id_lonu)
Note: See TracChangeset for help on using the changeset viewer.