File: implicit-fixes.patch

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 (21 lines) | stat: -rw-r--r-- 1,037 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Compilation fixes needed when CMIP6 is defined, to fix implicit warnings
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2026-02-14
Forwarded: no

Index: cdftools-4.0.0/src/modcdfnames_CMIP6.h90
===================================================================
--- cdftools-4.0.0.orig/src/modcdfnames_CMIP6.h90
+++ cdftools-4.0.0/src/modcdfnames_CMIP6.h90
@@ -45,6 +45,11 @@
   CHARACTER(LEN=256) :: cn_glamv='glamv', cn_gphiv='gphiv'   !:  glam gphi
   CHARACTER(LEN=256) :: cn_glamf='glamf', cn_gphif='gphif'   !:  glam gphi
 
+  ! Unused. Included for nambroken definition in modcdfnames
+  CHARACTER(LEN=256) :: cn_dept3d='gdept_0'                  !: initial dept 3D
+  CHARACTER(LEN=256) :: cn_ve3t0='e3t_0'                     !: e3. (3D). (at rest)
+  CHARACTER(LEN=256) :: cn_ve3u0='e3u_0', cn_ve3v0='e3v_0'   !: e3.
+
   ! Mask variables
   CHARACTER(LEN=256) :: cn_tmask='tmask', cn_umask='umask'   !:  tmask, umask
   CHARACTER(LEN=256) :: cn_vmask='vmask', cn_fmask='fmask'   !:  vmask, fmask