45 USE modi_init_io_surf_n
47 USE modi_end_io_surf_n
58 CHARACTER(LEN=*),
DIMENSION(:),
INTENT(IN) :: HSELECT
63 CHARACTER(LEN=6),
INTENT(IN) :: HPROGRAM
69 CHARACTER(LEN=12) :: YRECFM
70 CHARACTER(LEN=100):: YCOMMENT
71 CHARACTER(LEN=2) :: YNUM
74 REAL(KIND=JPRB) :: ZHOOK_HANDLE
80 IF (
lhook)
CALL dr_hook(
'WRITE_DIAG_MISC_SEAICE_N',0,zhook_handle)
82 CALL init_io_surf_n(dtco, u, hprogram,
'SEA ',
'SEAFLX',
'WRITE',
'SEAFLUX_DIAGNOSTICS.OUT.nc' 86 ycomment=
'Sea-ice temperature (K)' 87 CALL write_surf(hselect,hprogram,
'TSICE',s%XTICE(:),iresp,ycomment)
89 ycomment=
'Sea-ice albedo (-)' 90 CALL write_surf(hselect,hprogram,
'IALB',s%XICE_ALB(:),iresp,ycomment)
94 IF (
trim(s%CSEAICE_SCHEME) ==
'GELATO')
THEN 95 ycomment=
'Sea-ice thickness (m)' 96 CALL write_surf(hselect,hprogram,
'SIT',dgmsi%XSIT(:),iresp,ycomment)
98 ycomment=
'Sea-ice snow depth (m)' 99 CALL write_surf(hselect,hprogram,
'SND',dgmsi%XSND(:),iresp,ycomment)
101 ycomment=
'Sea mixed layer temp for Glt (K)' 102 CALL write_surf(hselect,hprogram,
'SIMLT',dgmsi%XMLT(:),iresp,ycomment
110 IF (
lhook)
CALL dr_hook(
'WRITE_DIAG_MISC_SEAICE_N',1,zhook_handle)
static const char * trim(const char *name, int *n)
subroutine write_diag_misc_seaice_n(DTCO, HSELECT, U, DGMSI, S, H
subroutine end_io_surf_n(HPROGRAM)
subroutine init_io_surf_n(DTCO, U, HPROGRAM, HMASK, HSCHEME, HACTION