63 USE modd_data_cover_par
, ONLY : jpcover
69 USE modi_writesurf_pgd_isba_par_n
70 USE modi_writesurf_pgd_tsz0_par_n
81 CHARACTER(LEN=*),
DIMENSION(:),
INTENT(IN) :: HSELECT
82 CHARACTER(LEN=*),
INTENT(IN) :: HNATURE
86 TYPE(
grid_t),
INTENT(INOUT) :: G
87 TYPE(
sso_t),
INTENT(INOUT) :: ISS
92 CHARACTER(LEN=6),
INTENT(IN) :: HPROGRAM
98 CHARACTER(LEN=12) :: YRECFM
99 CHARACTER(LEN=100):: YCOMMENT
100 CHARACTER(LEN=4 ) :: YLVL
102 INTEGER :: JJ, JLAYER
103 INTEGER :: ISIZE_LMEB_PATCH
105 REAL(KIND=JPRB) :: ZHOOK_HANDLE
113 IF (
lhook)
CALL dr_hook(
'WRITESURF_PGD_ISBA_N',0,zhook_handle)
116 CALL write_surf(hselect, hprogram,yrecfm,io%CISBA,iresp,hcomment=ycomment
122 CALL write_surf(hselect, hprogram,yrecfm,io%CPEDOTF,iresp,hcomment=ycomment
128 CALL write_surf(hselect, hprogram,yrecfm,io%CPHOTO,iresp,hcomment=ycomment
134 CALL write_surf(hselect, hprogram,yrecfm,io%LTR_ML,iresp,hcomment=ycomment
140 CALL write_surf(hselect, hprogram,yrecfm,io%CALBEDO,iresp,hcomment=ycomment
146 CALL write_surf(hselect, hprogram,yrecfm,io%XRM_PATCH,iresp,hcomment=ycomment
150 yrecfm=
'GROUND_LAYER' 152 CALL write_surf(hselect, hprogram,yrecfm,io%NGROUND_LAYER,iresp,hcomment
156 IF(io%CISBA==
'DIF')
THEN 157 DO jlayer=1,io%NGROUND_LAYER
158 WRITE(ylvl,
'(I4)') jlayer
159 yrecfm=
'SOILGRID'//adjustl(ylvl(:len_trim(ylvl)))
160 ycomment=
'Depth of ISBA soilgrid layer '//adjustl(ylvl(:len_trim(ylvl
161 CALL write_surf(hselect, hprogram,yrecfm,io%XSOILGRID(jlayer),iresp,hcomment
169 CALL write_surf(hselect, hprogram,yrecfm,io%NNBIOMASS,iresp,hcomment=ycomment
173 yrecfm=
'PATCH_NUMBER' 175 CALL write_surf(hselect, hprogram,yrecfm,io%NPATCH,iresp,hcomment=ycomment
181 CALL write_surf(hselect, hprogram,yrecfm,io%LECOCLIMAP,iresp,hcomment=ycomment
186 ycomment=
'(LOGICAL LIST)' 187 CALL write_surf(hselect, hprogram,yrecfm,io%LMEB_PATCH(:),iresp,hcomment
'-' 189 isize_lmeb_patch =
count(io%LMEB_PATCH(:))
191 IF (isize_lmeb_patch>0)
THEN 195 yrecfm=
'FORC_MEASURE' 197 CALL write_surf(hselect, hprogram,yrecfm,io%LFORC_MEASURE,iresp,hcomment
203 CALL write_surf(hselect, hprogram,yrecfm,io%LMEB_LITTER,iresp,hcomment
209 CALL write_surf(hselect, hprogram,yrecfm,io%LMEB_GNDRES,iresp,hcomment
223 ycomment=
'(X_Y_VEGTYPE)' 224 CALL write_surf(hselect, hprogram,yrecfm,k%XVEGTYPE,iresp,hcomment=ycomment
232 CALL write_surf(hselect, hprogram,yrecfm,s%XZS(:),iresp,hcomment=ycomment
236 CALL write_grid(hselect, hprogram,g%CGRID,g%XGRID_PAR,g%XLAT,g%XLON,g%XMESH_SIZE
244 CALL write_surf(hselect, hprogram,yrecfm,k%XCLAY(:,1),iresp,hcomment=ycomment
250 CALL write_surf(hselect, hprogram,yrecfm,k%XSAND(:,1),iresp,hcomment=ycomment
256 CALL write_surf(hselect, hprogram,yrecfm,io%LSOCP,iresp,hcomment=ycomment
262 CALL write_surf(hselect, hprogram,yrecfm,s%XSOC(:,1),iresp,hcomment=ycomment
264 CALL write_surf(hselect, hprogram,yrecfm,s%XSOC(:,2),iresp,hcomment=ycomment
272 CALL write_surf(hselect, hprogram,yrecfm,io%LPERM,iresp,hcomment=ycomment
277 CALL write_surf(hselect, hprogram,yrecfm,k%XPERM(:),iresp,hcomment=ycomment
284 CALL write_surf(hselect, hprogram,yrecfm,io%LNOF,iresp,hcomment=ycomment
290 CALL write_surf(hselect, hprogram,yrecfm,s%XPH(:),iresp,hcomment=ycomment
294 CALL write_surf(hselect, hprogram,yrecfm,s%XFERT(:),iresp,hcomment=ycomment
302 CALL write_surf(hselect, hprogram,yrecfm,iss%XAOSIP,iresp,hcomment=ycomment
306 CALL write_surf(hselect, hprogram,yrecfm,iss%XAOSIM,iresp,hcomment=ycomment
310 CALL write_surf(hselect, hprogram,yrecfm,iss%XAOSJP,iresp,hcomment=ycomment
314 CALL write_surf(hselect, hprogram,yrecfm,iss%XAOSJM,iresp,hcomment=ycomment
318 CALL write_surf(hselect, hprogram,yrecfm,iss%XHO2IP,iresp,hcomment=ycomment
322 CALL write_surf(hselect, hprogram,yrecfm,iss%XHO2IM,iresp,hcomment=ycomment
326 CALL write_surf(hselect, hprogram,yrecfm,iss%XHO2JP,iresp,hcomment=ycomment
330 CALL write_surf(hselect, hprogram,yrecfm,iss%XHO2JM,iresp,hcomment=ycomment
333 ycomment=
'X_Y_SSO_SLOPE (-)' 334 CALL write_surf(hselect, hprogram,yrecfm,iss%XSSO_SLOPE,iresp,hcomment=ycomment
339 ycomment=
'X_Y_RUNOFFB' 340 CALL write_surf(hselect, hprogram,yrecfm,k%XRUNOFFB,iresp,hcomment=ycomment
345 ycomment=
'X_Y_WDRAIN' 346 CALL write_surf(hselect, hprogram,yrecfm,k%XWDRAIN,iresp,hcomment=ycomment
352 CALL write_surf(hselect, hprogram,yrecfm,io%LCTI,iresp,hcomment=ycomment
357 ycomment=
'X_Y_TI_MIN' 358 CALL write_surf(hselect, hprogram,yrecfm,s%XTI_MIN,iresp,hcomment=ycomment
361 ycomment=
'X_Y_TI_MAX' 362 CALL write_surf(hselect, hprogram,yrecfm,s%XTI_MAX,iresp,hcomment=ycomment
365 ycomment=
'X_Y_TI_MEAN' 366 CALL write_surf(hselect, hprogram,yrecfm,s%XTI_MEAN,iresp,hcomment=ycomment
369 ycomment=
'X_Y_TI_STD' 370 CALL write_surf(hselect, hprogram,yrecfm,s%XTI_STD,iresp,hcomment=ycomment
373 ycomment=
'X_Y_TI_SKEW' 374 CALL write_surf(hselect, hprogram,yrecfm,s%XTI_SKEW,iresp,hcomment=ycomment
382 IF (
lhook)
CALL dr_hook(
'WRITESURF_PGD_ISBA_N',1,zhook_handle)
subroutine writesurf_pgd_isba_n(HSELECT, HNATURE, DTV, DTZ, G, IS
subroutine write_grid(HSELECT, HPROGRAM, HGRID, PGRID_PAR, PLAT, PLON,
subroutine writesurf_pgd_isba_par_n(HSELECT, DTV, HPROGRAM)
subroutine write_lcover(HSELECT, HPROGRAM, OCOVER)
subroutine writesurf_pgd_tsz0_par_n(HSELECT, DTZ, HPROGRAM)