File: tagnc4.tpl

package info (click to toggle)
cdftools 4.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,980 kB
  • sloc: f90: 43,175; makefile: 446; sh: 96; ada: 22
file content (13 lines) | stat: -rw-r--r-- 751 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
  LOGICAL                                    :: lnc4      = .FALSE.     ! Use nc4 with chunking and deflation

     PRINT *,' usage : cdfvita U-file V_file T-file [-w W-file] [-geo ] [-cubic] [-nc4] ...'

     PRINT *,'       [ -nc4 ]     : Use netcdf4 output with chunking and deflation level 1'
     PRINT *,'                 This option is effective only if cdftools are compiled with'
     PRINT *,'                 a netcdf library supporting chunking and deflation.'

     CASE ( '-nc4' ) ; lnc4 = .TRUE.
  
  stypvar(ivar)%ichunk            = (/npiglo,MAX(1,npjglo/30),1,1 /)
  ncout = create      (cf_out,   cf_tfil,  npiglo, npjglo, nlev     , ld_nc4=lnc4 )
  ierr  = createvar   (ncout ,   stypvar,  nvar,   ipk,    id_varout, ld_nc4=lnc4 )