New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 2364 for branches/nemo_v3_3_beta/NEMOGCM/NEMO/TOP_SRC/trcdia.F90 – NEMO

Ignore:
Timestamp:
2010-11-05T16:22:12+01:00 (13 years ago)
Author:
acc
Message:

Added basic NetCDF4 chunking and compression support (key_netcdf4). See ticket #754

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/nemo_v3_3_beta/NEMOGCM/NEMO/TOP_SRC/trcdia.F90

    r2287 r2364  
    176176         CALL histbeg( clhstnam, jpi, glamt, jpj, gphit,     & 
    177177            &          iimi, iima-iimi+1, ijmi, ijma-ijmi+1,         &  
    178             &          iiter, zjulian, zdt, nhorit5, nit5 , domain_id=nidom) 
     178            &          iiter, zjulian, zdt, nhorit5, nit5 , domain_id=nidom, snc4chunks=snc4set) 
    179179 
    180180         ! Vertical grid for tracer : gdept 
     
    197197 
    198198         ! end netcdf files header 
    199          CALL histend( nit5 ) 
     199         CALL histend( nit5, snc4set ) 
    200200         IF(lwp) WRITE(numout,*) 
    201201         IF(lwp) WRITE(numout,*) 'End of NetCDF Initialization in trcdit_wr' 
     
    303303         CALL histbeg( clhstnam, jpi, glamt, jpj, gphit,             & 
    304304            &          iimi, iima-iimi+1, ijmi, ijma-ijmi+1,         & 
    305             &          iiter, zjulian, zdt, nhoritd, nitd , domain_id=nidom ) 
     305            &          iiter, zjulian, zdt, nhoritd, nitd , domain_id=nidom, snc4chunks=snc4set ) 
    306306 
    307307         ! Vertical grid for 2d and 3d arrays 
     
    332332 
    333333         ! CLOSE netcdf Files 
    334          CALL histend( nitd ) 
     334         CALL histend( nitd, snc4set ) 
    335335 
    336336         IF(lwp) WRITE(numout,*) 
     
    449449         CALL histbeg( clhstnam, jpi, glamt, jpj, gphit,      & 
    450450            &    iimi, iima-iimi+1, ijmi, ijma-ijmi+1,          & 
    451             &    iiter, zjulian, zdt, nhoritb, nitb , domain_id=nidom ) 
     451            &    iiter, zjulian, zdt, nhoritb, nitb , domain_id=nidom, snc4chunks=snc4set ) 
    452452         ! Vertical grid for biological trends 
    453453         CALL histvert(nitb, 'deptht', 'Vertical T levels', 'm', ipk, gdept_0, ndepitb) 
     
    464464 
    465465         ! CLOSE netcdf Files 
    466           CALL histend( nitb ) 
     466          CALL histend( nitb, snc4set ) 
    467467 
    468468         IF(lwp) WRITE(numout,*) 
Note: See TracChangeset for help on using the changeset viewer.