7 GDO, GRO, GRS, GRK, TIR, TOP, HPROGRAM)
53 USE modi_write_bld_description_n
54 USE modi_writesurf_pgd_teb_irrig_n
71 CHARACTER(LEN=*),
DIMENSION(:),
INTENT(IN) :: HSELECT
79 CHARACTER(LEN=6),
INTENT(IN) :: HPROGRAM
85 CHARACTER(LEN=12) :: YRECFM
86 CHARACTER(LEN=100):: YCOMMENT
89 REAL,
DIMENSION(:),
ALLOCATABLE :: ZWORK
90 REAL(KIND=JPRB) :: ZHOOK_HANDLE
94 IF (
lhook)
CALL dr_hook(
'WRITESURF_PGD_TEB_PAR_N',0,zhook_handle)
98 hprogram,yrecfm,dtt%LDATA_BLDTYPE,iresp,hcomment=ycomment
99 IF (dtt%LDATA_BLDTYPE)
THEN 101 ycomment=
'X_Y_'//yrecfm//
' (m)' 102 ALLOCATE(zwork(
SIZE(dtt%NPAR_BLDTYPE)))
103 zwork=float(dtt%NPAR_BLDTYPE(:))
105 hprogram,yrecfm,zwork,iresp,ycomment)
112 hprogram,yrecfm,dtt%LDATA_BLD_AGE,iresp,hcomment=ycomment
113 IF (dtt%LDATA_BLD_AGE)
THEN 115 ycomment=
'X_Y_'//yrecfm//
' (m)' 116 ALLOCATE(zwork(
SIZE(dtt%NPAR_BLD_AGE)))
117 zwork=float(dtt%NPAR_BLD_AGE(:))
119 hprogram,yrecfm,zwork,iresp,ycomment)
126 hprogram,yrecfm,dtt%LDATA_USETYPE,iresp,hcomment=ycomment
127 IF (dtt%LDATA_USETYPE)
THEN 129 ycomment=
'X_Y_'//yrecfm//
' (m)' 130 ALLOCATE(zwork(
SIZE(dtt%NPAR_USETYPE)))
131 zwork=float(dtt%NPAR_USETYPE(:))
133 hprogram,yrecfm,zwork,iresp,ycomment)
137 IF (dtt%LDATA_BLDTYPE .OR. dtt%LDATA_BLD_AGE .OR. dtt%LDATA_USETYPE) &
143 hprogram,yrecfm,dtt%LDATA_Z0_TOWN,iresp,hcomment=ycomment
144 IF (dtt%LDATA_Z0_TOWN)
THEN 146 ycomment=
'X_Y_'//yrecfm//
' (m)' 148 hprogram,yrecfm,dtt%XPAR_Z0_TOWN,iresp,ycomment)
154 hprogram,yrecfm,dtt%LDATA_BLD,iresp,hcomment=ycomment)
155 IF (dtt%LDATA_BLD)
THEN 157 ycomment=
'X_Y_'//yrecfm//
' (-)' 159 hprogram,yrecfm,dtt%XPAR_BLD,iresp,ycomment)
165 hprogram,yrecfm,dtt%LDATA_GARDEN,iresp,hcomment=ycomment
166 IF (dtt%LDATA_GARDEN)
THEN 168 ycomment=
'X_Y_'//yrecfm//
' (-)' 170 hprogram,yrecfm,dtt%XPAR_GARDEN,iresp,ycomment)
176 hprogram,yrecfm,dtt%LDATA_GREENROOF,iresp,hcomment=ycomment
177 IF (dtt%LDATA_GREENROOF)
THEN 179 ycomment=
'X_Y_'//yrecfm//
' (-)' 181 hprogram,yrecfm,dtt%XPAR_GREENROOF,iresp,ycomment)
187 hprogram,yrecfm,dtt%LDATA_ROAD_DIR,iresp,hcomment=ycomment
188 IF (dtt%LDATA_ROAD_DIR)
THEN 190 ycomment=
'X_Y_'//yrecfm//
' (-)' 192 hprogram,yrecfm,dtt%XPAR_ROAD_DIR,iresp,ycomment)
198 hprogram,yrecfm,dtt%LDATA_ALB_ROOF,iresp,hcomment=ycomment
199 IF (dtt%LDATA_ALB_ROOF)
THEN 201 ycomment=
'X_Y_'//yrecfm//
' (-)' 203 hprogram,yrecfm,dtt%XPAR_ALB_ROOF,iresp,ycomment)
209 hprogram,yrecfm,dtt%LDATA_EMIS_ROOF,iresp,hcomment=ycomment
210 IF (dtt%LDATA_EMIS_ROOF)
THEN 212 ycomment=
'X_Y_'//yrecfm//
' (-)' 214 hprogram,yrecfm,dtt%XPAR_EMIS_ROOF,iresp,ycomment)
217 IF (dtt%LDATA_HC_ROOF)
THEN 218 ycomment=
'Number of specified Roof thermal layers' 220 hprogram,
'PAR_RF_LAYER',dtt%NPAR_ROOF_LAYER,iresp,ycomment
226 hprogram,yrecfm,dtt%LDATA_HC_ROOF,iresp,hcomment=ycomment
227 IF (dtt%LDATA_HC_ROOF)
THEN 228 DO jl=1,dtt%NPAR_ROOF_LAYER
229 WRITE(yrecfm,fmt=
'(A9,I1.1)')
'D_HC_ROOF',jl
230 ycomment=
'X_Y_'//yrecfm//
' (J/K/m3)' 232 hprogram,yrecfm,dtt%XPAR_HC_ROOF(:,jl),iresp,ycomment)
239 hprogram,yrecfm,dtt%LDATA_TC_ROOF,iresp,hcomment=ycomment
240 IF (dtt%LDATA_TC_ROOF)
THEN 241 DO jl=1,dtt%NPAR_ROOF_LAYER
242 WRITE(yrecfm,fmt=
'(A9,I1.1)')
'D_TC_ROOF',jl
243 ycomment=
'X_Y_'//yrecfm//
' (W/K/m)' 245 hprogram,yrecfm,dtt%XPAR_TC_ROOF(:,jl),iresp,ycomment)
252 hprogram,yrecfm,dtt%LDATA_D_ROOF,iresp,hcomment=ycomment
253 IF (dtt%LDATA_D_ROOF)
THEN 254 DO jl=1,dtt%NPAR_ROOF_LAYER
255 WRITE(yrecfm,fmt=
'(A8,I1.1)')
'D_D_ROOF',jl
256 ycomment=
'X_Y_'//yrecfm//
' (m)' 258 hprogram,yrecfm,dtt%XPAR_D_ROOF(:,jl),iresp,ycomment)
265 hprogram,yrecfm,dtt%LDATA_ALB_ROAD,iresp,hcomment=ycomment
266 IF (dtt%LDATA_ALB_ROAD)
THEN 268 ycomment=
'X_Y_'//yrecfm//
' (-)' 270 hprogram,yrecfm,dtt%XPAR_ALB_ROAD,iresp,ycomment)
276 hprogram,yrecfm,dtt%LDATA_EMIS_ROAD,iresp,hcomment=ycomment
277 IF (dtt%LDATA_EMIS_ROAD)
THEN 279 ycomment=
'X_Y_'//yrecfm//
' (-)' 281 hprogram,yrecfm,dtt%XPAR_EMIS_ROAD,iresp,ycomment)
284 IF (dtt%LDATA_HC_ROAD)
THEN 285 ycomment=
'Number of specified Road thermal layers' 287 hprogram,
'PAR_RD_LAYER',dtt%NPAR_ROAD_LAYER,iresp,ycomment
293 hprogram,yrecfm,dtt%LDATA_HC_ROAD,iresp,hcomment=ycomment
294 IF (dtt%LDATA_HC_ROAD)
THEN 295 DO jl=1,dtt%NPAR_ROAD_LAYER
296 WRITE(yrecfm,fmt=
'(A9,I1.1)')
'D_HC_ROAD',jl
297 ycomment=
'X_Y_'//yrecfm//
' (J/K/m3)' 299 hprogram,yrecfm,dtt%XPAR_HC_ROAD(:,jl),iresp,ycomment)
306 hprogram,yrecfm,dtt%LDATA_TC_ROAD,iresp,hcomment=ycomment
307 IF (dtt%LDATA_TC_ROAD)
THEN 308 DO jl=1,dtt%NPAR_ROAD_LAYER
309 WRITE(yrecfm,fmt=
'(A9,I1.1)')
'D_TC_ROAD',jl
310 ycomment=
'X_Y_'//yrecfm//
' (W/K/m)' 312 hprogram,yrecfm,dtt%XPAR_TC_ROAD(:,jl),iresp,ycomment)
319 hprogram,yrecfm,dtt%LDATA_D_ROAD,iresp,hcomment=ycomment
320 IF (dtt%LDATA_D_ROAD)
THEN 321 DO jl=1,dtt%NPAR_ROAD_LAYER
322 WRITE(yrecfm,fmt=
'(A8,I1.1)')
'D_D_ROAD',jl
323 ycomment=
'X_Y_'//yrecfm//
' (m)' 325 hprogram,yrecfm,dtt%XPAR_D_ROAD(:,jl),iresp,ycomment)
332 hprogram,yrecfm,dtt%LDATA_ALB_WALL,iresp,hcomment=ycomment
333 IF (dtt%LDATA_ALB_WALL)
THEN 335 ycomment=
'X_Y_'//yrecfm//
' (-)' 337 hprogram,yrecfm,dtt%XPAR_ALB_WALL,iresp,ycomment)
343 hprogram,yrecfm,dtt%LDATA_EMIS_WALL,iresp,hcomment=ycomment
344 IF (dtt%LDATA_EMIS_WALL)
THEN 346 ycomment=
'X_Y_'//yrecfm//
' (-)' 348 hprogram,yrecfm,dtt%XPAR_EMIS_WALL,iresp,ycomment)
352 IF (dtt%LDATA_HC_WALL)
THEN 353 ycomment=
'Number of specified Wall thermal layers' 355 hprogram,
'PAR_WL_LAYER',dtt%NPAR_WALL_LAYER,iresp,ycomment
361 hprogram,yrecfm,dtt%LDATA_HC_WALL,iresp,hcomment=ycomment
362 IF (dtt%LDATA_HC_WALL)
THEN 363 DO jl=1,dtt%NPAR_WALL_LAYER
364 WRITE(yrecfm,fmt=
'(A9,I1.1)')
'D_HC_WALL',jl
365 ycomment=
'X_Y_'//yrecfm//
' (J/K/m3)' 367 hprogram,yrecfm,dtt%XPAR_HC_WALL(:,jl),iresp,ycomment)
374 hprogram,yrecfm,dtt%LDATA_TC_WALL,iresp,hcomment=ycomment
375 IF (dtt%LDATA_TC_WALL)
THEN 376 DO jl=1,dtt%NPAR_WALL_LAYER
377 WRITE(yrecfm,fmt=
'(A9,I1.1)')
'D_TC_WALL',jl
378 ycomment=
'X_Y_'//yrecfm//
' (W/K/m)' 380 hprogram,yrecfm,dtt%XPAR_TC_WALL(:,jl),iresp,ycomment)
387 hprogram,yrecfm,dtt%LDATA_D_WALL,iresp,hcomment=ycomment
388 IF (dtt%LDATA_D_WALL)
THEN 389 DO jl=1,dtt%NPAR_WALL_LAYER
390 WRITE(yrecfm,fmt=
'(A8,I1.1)')
'D_D_WALL',jl
391 ycomment=
'X_Y_'//yrecfm//
' (m)' 393 hprogram,yrecfm,dtt%XPAR_D_WALL(:,jl),iresp,ycomment)
397 yrecfm=
'L_BLD_HEIGHT' 400 hprogram,yrecfm,dtt%LDATA_BLD_HEIGHT,iresp,hcomment=ycomment
401 IF (dtt%LDATA_BLD_HEIGHT)
THEN 403 ycomment=
'X_Y_'//yrecfm//
' (m)' 405 hprogram,yrecfm,dtt%XPAR_BLD_HEIGHT,iresp,ycomment)
408 yrecfm=
'L_WALL_O_HOR' 411 hprogram,yrecfm,dtt%LDATA_WALL_O_HOR,iresp,hcomment=ycomment
412 IF (dtt%LDATA_WALL_O_HOR)
THEN 414 ycomment=
'X_Y_'//yrecfm//
' (-)' 416 hprogram,yrecfm,dtt%XPAR_WALL_O_HOR,iresp,ycomment)
422 hprogram,yrecfm,dtt%LDATA_H_TRAFFIC,iresp,hcomment=ycomment
423 IF (dtt%LDATA_H_TRAFFIC)
THEN 425 ycomment=
'X_Y_'//yrecfm//
' (W/m2)' 427 hprogram,yrecfm,dtt%XPAR_H_TRAFFIC,iresp,ycomment)
433 hprogram,yrecfm,dtt%LDATA_LE_TRAFFIC,iresp,hcomment=ycomment
434 IF (dtt%LDATA_LE_TRAFFIC)
THEN 436 ycomment=
'X_Y_'//yrecfm//
' (W/m2)' 438 hprogram,yrecfm,dtt%XPAR_LE_TRAFFIC,iresp,ycomment)
444 hprogram,yrecfm,dtt%LDATA_H_INDUSTRY,iresp,hcomment=ycomment
445 IF (dtt%LDATA_H_INDUSTRY)
THEN 447 ycomment=
'X_Y_'//yrecfm//
' (W/m2)' 449 hprogram,yrecfm,dtt%XPAR_H_INDUSTRY,iresp,ycomment)
455 hprogram,yrecfm,dtt%LDATA_LE_INDUSTRY,iresp,hcomment=ycomment
456 IF (dtt%LDATA_LE_INDUSTRY)
THEN 458 ycomment=
'X_Y_'//yrecfm//
' (W/m2)' 460 hprogram,yrecfm,dtt%XPAR_LE_INDUSTRY,iresp,ycomment)
463 yrecfm=
'L_ROUGH_ROOF' 466 hprogram,yrecfm,dtt%LDATA_ROUGH_ROOF,iresp,hcomment=ycomment
467 IF (dtt%LDATA_ROUGH_ROOF)
THEN 468 yrecfm=
'D_ROUGH_ROOF' 469 ycomment=
'X_Y_'//yrecfm//
' (-)' 471 hprogram,yrecfm,dtt%XPAR_ROUGH_ROOF,iresp,ycomment)
474 yrecfm=
'L_ROUGH_WALL' 477 hprogram,yrecfm,dtt%LDATA_ROUGH_WALL,iresp,hcomment=ycomment
478 IF (dtt%LDATA_ROUGH_WALL)
THEN 479 yrecfm=
'D_ROUGH_WALL' 480 ycomment=
'X_Y_'//yrecfm//
' (-)' 482 hprogram,yrecfm,dtt%XPAR_ROUGH_WALL,iresp,ycomment)
485 yrecfm=
'L_F_RESIDENT' 488 hprogram,yrecfm,dtt%LDATA_RESIDENTIAL,iresp,hcomment=ycomment
489 IF (dtt%LDATA_RESIDENTIAL)
THEN 490 yrecfm=
'D_F_RESIDENT' 491 ycomment=
'X_Y_'//yrecfm//
' (-)' 493 hprogram,yrecfm,dtt%XPAR_RESIDENTIAL,iresp,ycomment)
498 yrecfm=
'L_EMIS_PANEL' 501 hprogram,yrecfm,dtt%LDATA_EMIS_PANEL,iresp,hcomment=ycomment
502 IF (dtt%LDATA_EMIS_PANEL)
THEN 503 yrecfm=
'D_EMIS_PANEL' 504 ycomment=
'X_Y_'//yrecfm//
' (-)' 506 hprogram,yrecfm,dtt%XPAR_EMIS_PANEL,iresp,ycomment)
512 hprogram,yrecfm,dtt%LDATA_ALB_PANEL,iresp,hcomment=ycomment
513 IF (dtt%LDATA_ALB_PANEL)
THEN 515 ycomment=
'X_Y_'//yrecfm//
' (-)' 517 hprogram,yrecfm,dtt%XPAR_ALB_PANEL,iresp,ycomment)
523 hprogram,yrecfm,dtt%LDATA_EFF_PANEL,iresp,hcomment=ycomment
524 IF (dtt%LDATA_EFF_PANEL)
THEN 526 ycomment=
'X_Y_'//yrecfm//
' (-)' 528 hprogram,yrecfm,dtt%XPAR_EFF_PANEL,iresp,ycomment)
531 yrecfm=
'L_FRAC_PANEL' 534 hprogram,yrecfm,dtt%LDATA_FRAC_PANEL,iresp,hcomment=ycomment
535 IF (dtt%LDATA_FRAC_PANEL)
THEN 536 yrecfm=
'D_FRAC_PANEL' 537 ycomment=
'X_Y_'//yrecfm//
' (-)' 539 hprogram,yrecfm,dtt%XPAR_FRAC_PANEL,iresp,ycomment)
544 IF (top%CBEM .EQ.
'BEM')
THEN 546 IF (dtb%LDATA_HC_FLOOR)
THEN 547 ycomment=
'Number of specified Floor thermal layers' 549 hprogram,
'PAR_FL_LAYER',dtb%NPAR_FLOOR_LAYER,iresp,ycomment
555 hprogram,yrecfm,dtb%LDATA_HC_FLOOR,iresp,hcomment=ycomment
556 IF (dtb%LDATA_HC_FLOOR)
THEN 557 DO jl=1,dtb%NPAR_FLOOR_LAYER
558 WRITE(yrecfm,fmt=
'(A10,I1.1)')
'D_HC_FLOOR',jl
559 ycomment=
'X_Y_'//yrecfm//
' (J/K/m3)' 561 hprogram,yrecfm,dtb%XPAR_HC_FLOOR(:,jl),iresp,ycomment)
568 hprogram,yrecfm,dtb%LDATA_TC_FLOOR,iresp,hcomment=ycomment
569 IF (dtb%LDATA_TC_FLOOR)
THEN 570 DO jl=1,dtb%NPAR_FLOOR_LAYER
571 WRITE(yrecfm,fmt=
'(A10,I1.1)')
'D_TC_FLOOR',jl
572 ycomment=
'X_Y_'//yrecfm//
' (W/K/m)' 574 hprogram,yrecfm,dtb%XPAR_TC_FLOOR(:,jl),iresp,ycomment)
581 hprogram,yrecfm,dtb%LDATA_D_FLOOR,iresp,hcomment=ycomment
582 IF (dtb%LDATA_D_FLOOR)
THEN 583 DO jl=1,dtb%NPAR_FLOOR_LAYER
584 WRITE(yrecfm,fmt=
'(A9,I1.1)')
'D_D_FLOOR',jl
585 ycomment=
'X_Y_'//yrecfm//
' (m)' 587 hprogram,yrecfm,dtb%XPAR_D_FLOOR(:,jl),iresp,ycomment)
591 yrecfm=
'L_TCOOL_TARG' 594 hprogram,yrecfm,dtb%LDATA_TCOOL_TARGET,iresp,hcomment=ycomment
595 IF (dtb%LDATA_TCOOL_TARGET)
THEN 596 yrecfm=
'D_TCOOL_TARG' 597 ycomment=
'X_Y_'//yrecfm//
' (K)' 599 hprogram,yrecfm,dtb%XPAR_TCOOL_TARGET,iresp,ycomment)
602 yrecfm=
'L_THEAT_TARG' 605 hprogram,yrecfm,dtb%LDATA_THEAT_TARGET,iresp,hcomment=ycomment
606 IF (dtb%LDATA_THEAT_TARGET)
THEN 607 yrecfm=
'D_THEAT_TARG' 608 ycomment=
'X_Y_'//yrecfm//
' (K)' 610 hprogram,yrecfm,dtb%XPAR_THEAT_TARGET,iresp,ycomment)
613 yrecfm=
'L_F_WAST_CAN' 616 hprogram,yrecfm,dtb%LDATA_F_WASTE_CAN,iresp,hcomment=ycomment
617 IF (dtb%LDATA_F_WASTE_CAN)
THEN 618 yrecfm=
'D_F_WAST_CAN' 619 ycomment=
'X_Y_'//yrecfm//
' (-)' 621 hprogram,yrecfm,dtb%XPAR_F_WASTE_CAN,iresp,ycomment)
627 hprogram,yrecfm,dtb%LDATA_EFF_HEAT,iresp,hcomment=ycomment
628 IF (dtb%LDATA_EFF_HEAT)
THEN 630 ycomment=
'X_Y_'//yrecfm//
' (-)' 632 hprogram,yrecfm,dtb%XPAR_EFF_HEAT,iresp,ycomment)
638 hprogram,yrecfm,dtb%LDATA_QIN,iresp,hcomment=ycomment)
639 IF (dtb%LDATA_QIN)
THEN 641 ycomment=
'X_Y_'//yrecfm//
' (K)' 643 hprogram,yrecfm,dtb%XPAR_QIN,iresp,ycomment)
649 hprogram,yrecfm,dtb%LDATA_QIN_FRAD,iresp,hcomment=ycomment
650 IF (dtb%LDATA_QIN_FRAD)
THEN 652 ycomment=
'X_Y_'//yrecfm//
' (K)' 654 hprogram,yrecfm,dtb%XPAR_QIN_FRAD,iresp,ycomment)
660 hprogram,yrecfm,dtb%LDATA_SHGC,iresp,hcomment=ycomment)
661 IF (dtb%LDATA_SHGC)
THEN 663 ycomment=
'X_Y_'//yrecfm//
' (-)' 665 hprogram,yrecfm,dtb%XPAR_SHGC,iresp,ycomment)
671 hprogram,yrecfm,dtb%LDATA_U_WIN,iresp,hcomment=ycomment
672 IF (dtb%LDATA_U_WIN)
THEN 674 ycomment=
'X_Y_'//yrecfm//
' (W m-2 K-1)' 676 hprogram,yrecfm,dtb%XPAR_U_WIN,iresp,ycomment)
682 hprogram,yrecfm,dtb%LDATA_GR,iresp,hcomment=ycomment)
683 IF (dtb%LDATA_GR)
THEN 685 ycomment=
'X_Y_'//yrecfm//
' (-)' 687 hprogram,yrecfm,dtb%XPAR_GR,iresp,ycomment)
693 hprogram,yrecfm,dtb%LDATA_SHGC_SH,iresp,hcomment=ycomment
694 IF (dtb%LDATA_SHGC_SH)
THEN 696 ycomment=
'X_Y_'//yrecfm//
' (-)' 698 hprogram,yrecfm,dtb%XPAR_SHGC_SH,iresp,ycomment)
701 yrecfm=
'L_FLOOR_HEIG' 704 hprogram,yrecfm,dtb%LDATA_FLOOR_HEIGHT,iresp,hcomment=ycomment
705 IF (dtb%LDATA_FLOOR_HEIGHT)
THEN 706 yrecfm=
'D_FLOOR_HEIG' 707 ycomment=
'X_Y_'//yrecfm//
' (m)' 709 hprogram,yrecfm,dtb%XPAR_FLOOR_HEIGHT,iresp,ycomment)
715 hprogram,yrecfm,dtb%LDATA_INF,iresp,hcomment=ycomment)
716 IF (dtb%LDATA_INF)
THEN 718 ycomment=
'X_Y_'//yrecfm//
' (ACH)' 720 hprogram,yrecfm,dtb%XPAR_INF,iresp,ycomment)
726 hprogram,yrecfm,dtb%LDATA_QIN_FLAT,iresp,hcomment=ycomment
727 IF (dtb%LDATA_QIN_FLAT)
THEN 729 ycomment=
'X_Y_'//yrecfm//
' (-)' 731 hprogram,yrecfm,dtb%XPAR_QIN_FLAT,iresp,ycomment)
737 hprogram,yrecfm,dtb%LDATA_HR_TARGET,iresp,hcomment=ycomment
738 IF (dtb%LDATA_HR_TARGET)
THEN 740 ycomment=
'X_Y_'//yrecfm//
' (-)' 742 hprogram,yrecfm,dtb%XPAR_HR_TARGET,iresp,ycomment)
748 hprogram,yrecfm,dtb%LDATA_V_VENT,iresp,hcomment=ycomment
749 IF (dtb%LDATA_V_VENT)
THEN 751 ycomment=
'X_Y_'//yrecfm//
' (ACH)' 753 hprogram,yrecfm,dtb%XPAR_V_VENT,iresp,ycomment)
756 yrecfm=
'L_CAP_SYS_HE' 759 hprogram,yrecfm,dtb%LDATA_CAP_SYS_HEAT,iresp,hcomment=ycomment
760 IF (dtb%LDATA_CAP_SYS_HEAT)
THEN 761 yrecfm=
'D_CAP_SYS_HE' 762 ycomment=
'X_Y_'//yrecfm//
' (W m-2)' 764 hprogram,yrecfm,dtb%XPAR_CAP_SYS_HEAT,iresp,ycomment)
767 yrecfm=
'L_CAP_SYS_RA' 770 hprogram,yrecfm,dtb%LDATA_CAP_SYS_RAT,iresp,hcomment=ycomment
771 IF (dtb%LDATA_CAP_SYS_RAT)
THEN 772 yrecfm=
'D_CAP_SYS_RA' 773 ycomment=
'X_Y_'//yrecfm//
' (W m-2)' 775 hprogram,yrecfm,dtb%XPAR_CAP_SYS_RAT,iresp,ycomment)
781 hprogram,yrecfm,dtb%LDATA_T_ADP,iresp,hcomment=ycomment
782 IF (dtb%LDATA_T_ADP)
THEN 784 ycomment=
'X_Y_'//yrecfm//
' (K)' 786 hprogram,yrecfm,dtb%XPAR_T_ADP,iresp,ycomment)
792 hprogram,yrecfm,dtb%LDATA_M_SYS_RAT,iresp,hcomment=ycomment
793 IF (dtb%LDATA_M_SYS_RAT)
THEN 795 ycomment=
'X_Y_'//yrecfm//
' (kg s-1 m-)' 797 hprogram,yrecfm,dtb%XPAR_M_SYS_RAT,iresp,ycomment)
803 hprogram,yrecfm,dtb%LDATA_COP_RAT,iresp,hcomment=ycomment
804 IF (dtb%LDATA_COP_RAT)
THEN 806 ycomment=
'X_Y_'//yrecfm//
' (-)' 808 hprogram,yrecfm,dtb%XPAR_COP_RAT,iresp,ycomment)
811 yrecfm=
'L_T_SIZE_MAX' 814 hprogram,yrecfm,dtb%LDATA_T_SIZE_MAX,iresp,hcomment=ycomment
815 IF (dtb%LDATA_T_SIZE_MAX)
THEN 816 yrecfm=
'D_T_SIZE_MAX' 817 ycomment=
'X_Y_'//yrecfm//
' (K)' 819 hprogram,yrecfm,dtb%XPAR_T_SIZE_MAX,iresp,ycomment)
822 yrecfm=
'L_T_SIZE_MIN' 825 hprogram,yrecfm,dtb%LDATA_T_SIZE_MIN,iresp,hcomment=ycomment
826 IF (dtb%LDATA_T_SIZE_MIN)
THEN 827 yrecfm=
'D_T_SIZE_MIN' 828 ycomment=
'X_Y_'//yrecfm//
' (K)' 830 hprogram,yrecfm,dtb%XPAR_T_SIZE_MIN,iresp,ycomment)
836 hprogram,yrecfm,dtb%LDATA_F_WATER_COND,iresp,hcomment=ycomment
837 IF (dtb%LDATA_F_WATER_COND)
THEN 839 ycomment=
'X_Y_'//yrecfm//
' (-)' 841 hprogram,yrecfm,dtb%XPAR_F_WATER_COND,iresp,ycomment)
847 hprogram,yrecfm,dtb%LDATA_SHADE,iresp,hcomment=ycomment
848 IF (dtb%LDATA_SHADE)
THEN 850 ycomment=
'X_Y_'//yrecfm//
' (-)' 852 hprogram,yrecfm,dtb%XPAR_SHADE,iresp,ycomment)
858 hprogram,yrecfm,dtb%LDATA_NATVENT,iresp,hcomment=ycomment
859 IF (dtb%LDATA_NATVENT)
THEN 861 ycomment=
'X_Y_'//yrecfm//
' (-)' 863 hprogram,yrecfm,dtb%XPAR_NATVENT,iresp,ycomment)
870 ycomment=
'FLAG FOR SPECIFIED GARDEN PARAMETERS' 872 hprogram,yrecfm,gdo%LPAR,iresp,hcomment=ycomment)
874 IF (top%LGARDEN .AND. gdo%LPAR)
THEN 879 hprogram,yrecfm,dtgd%NTIME,iresp,hcomment=ycomment)
883 ycomment=
'X_Y_TYPE_HVEG' 885 hprogram,yrecfm,gdo%CTYPE_HVEG,iresp,hcomment=ycomment)
889 ycomment=
'X_Y_TYPE_LVEG' 891 hprogram,yrecfm,gdo%CTYPE_LVEG,iresp,hcomment=ycomment)
895 ycomment=
'X_Y_TYPE_NVEG' 897 hprogram,yrecfm,gdo%CTYPE_NVEG,iresp,hcomment=ycomment)
901 ycomment=
'X_Y_D_FRAC_HVEG' 903 hprogram,yrecfm,dtgd%XPAR_FRAC_HVEG(:),iresp,hcomment=ycomment
907 ycomment=
'X_Y_D_FRAC_LVEG' 909 hprogram,yrecfm,dtgd%XPAR_FRAC_LVEG(:),iresp,hcomment=ycomment
913 ycomment=
'X_Y_D_FRAC_NVEG' 915 hprogram,yrecfm,dtgd%XPAR_FRAC_NVEG(:),iresp,hcomment=ycomment
918 DO jtime=1,dtgd%NTIME
919 WRITE(yrecfm,fmt=
'(A10,I2.2)')
'D_LAI_HVEG',jtime
920 ycomment=
'X_Y_D_LAI_HVEG' 922 hprogram,yrecfm,dtgd%XPAR_LAI_HVEG(:,jtime),iresp,hcomment
926 DO jtime=1,dtgd%NTIME
927 WRITE(yrecfm,fmt=
'(A10,I2.2)')
'D_LAI_LVEG',jtime
928 ycomment=
'X_Y_D_LAI_LVEG' 930 hprogram,yrecfm,dtgd%XPAR_LAI_LVEG(:,jtime),iresp,hcomment
935 ycomment=
'X_Y_DATA_H_HVEG' 937 hprogram,yrecfm,dtgd%XPAR_H_HVEG(:),iresp,hcomment=ycomment
941 IF (top%LGREENROOF .AND. gro%LPAR)
THEN 945 ycomment=
'X_Y_TYPE_GR' 947 hprogram,yrecfm,gro%CTYP_COV,iresp,hcomment=ycomment)
950 DO jl=1,gro%NGROUND_LAYER
951 WRITE(yrecfm,fmt=
'(A7,I2.2)')
'D_OM_GR',jl
952 ycomment=
'X_Y_D_OM_GR' 954 hprogram,yrecfm,grs%XSOC(:,jl),iresp,hcomment=ycomment)
958 DO jl=1,gro%NGROUND_LAYER
959 WRITE(yrecfm,fmt=
'(A9,I2.2)')
'D_CLAY_GR',jl
960 ycomment=
'X_Y_D_CLAY_GR' 962 hprogram,yrecfm,grk%XCLAY(:,jl),iresp,hcomment=ycomment
966 DO jl=1,gro%NGROUND_LAYER
967 WRITE(yrecfm,fmt=
'(A9,I2.2)')
'D_SAND_GR',jl
968 ycomment=
'X_Y_D_SAND_GR' 970 hprogram,yrecfm,grk%XSAND(:,jl),iresp,hcomment=ycomment
974 DO jtime=1,dtgr%NTIME
975 WRITE(yrecfm,fmt=
'(A8,I2.2)')
'D_LAI_GR',jtime
976 ycomment=
'X_Y_D_LAI_GR' 978 hprogram,yrecfm,dtgr%XPAR_LAI(:,jtime,1),iresp,hcomment
989 IF (
lhook)
CALL dr_hook(
'WRITESURF_PGD_TEB_PAR_N',1,zhook_handle)
subroutine writesurf_pgd_teb_par_n(BDD, DTB, DTGD, DTGR, DTT, HSE
subroutine write_bld_description_n(HSELECT, BDD, HPROGRAM)
subroutine writesurf_pgd_teb_irrig_n(HSELECT, TIR, HPROGRAM)