- Timestamp:
- 2010-11-09T16:38:45+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/nemo_v3_3_beta/NEMOGCM/EXTERNAL/IOIPSL/src/histcom.f90
r2364 r2368 7 7 !- 8 8 USE netcdf 9 USE nc4 dummy! needed to allow compilation with netcdf3 libraries9 USE nc4interface ! needed to allow compilation with netcdf3 libraries 10 10 !- 11 11 USE stringop, ONLY : nocomma,cmpblank,findpos,find_str,strlowercase … … 36 36 !- to describe the grid, just two vectors. 37 37 !--------------------------------------------------------------------- 38 !-39 TYPE, PUBLIC :: snc4_ctl !: netcdf4 chunking control structure40 !: (optional on histbeg and histend calls)41 SEQUENCE42 INTEGER :: ni43 INTEGER :: nj44 INTEGER :: nk45 LOGICAL :: luse46 END TYPE snc4_ctl47 38 !- 48 39 INTERFACE histbeg … … 428 419 !- 429 420 IF (PRESENT(snc4chunks)) THEN 430 IF (snc4chunks%luse) m_c = NF90_HDF5 ! will conflict if compiling with netcdf4 libraries without "key_netcdf4"421 IF (snc4chunks%luse) CALL get_nf90_symbol("NF90_HDF5", m_c) 431 422 ENDIF 432 423 !- … … 1564 1555 ichunksz(3) = MIN(ichunksz(3), MAX((ichunksz(3)-1)/snc4chunks%nk + 1, 1)) 1565 1556 ! Always use a chunk size of 1 for the unlimited dimension 1566 iret = NF90_DEF_VAR_CHUNKING(nfid, nvid, ichunkalg, ichunksz) ! will conflict if compiling with netcdf4 libraries without "key_netcdf4" 1567 1568 iret = NF90_DEF_VAR_DEFLATE(nfid, nvid, ishuffle, ideflate, ideflate_level) ! will conflict if compiling with netcdf4 libraries without "key_netcdf4" 1569 1557 iret = SET_NF90_DEF_VAR_CHUNKING(nfid, nvid, ichunkalg, ichunksz) 1558 iret = SET_NF90_DEF_VAR_DEFLATE(nfid, nvid, ishuffle, ideflate, ideflate_level) 1570 1559 ENDIF 1571 1560 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.