Changeset 1279 for LMDZ4/trunk/libf/phylmd/surf_land_orchidee_mod.F90
- Timestamp:
- Dec 10, 2009, 10:02:56 AM (14 years ago)
- Location:
- LMDZ4/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk
- Property svn:mergeinfo changed
/LMDZ4/branches/LMDZ4-dev merged: 1150-1162,1164-1193,1195-1231,1234-1235,1237-1240,1242-1274,1276
- Property svn:mergeinfo changed
-
LMDZ4/trunk/libf/phylmd/surf_land_orchidee_mod.F90
r1146 r1279 40 40 tsol_rad, tsurf_new, alb1_new, alb2_new, & 41 41 emis_new, z0_new, qsurf) 42 USE mod_surf_para 43 USE mod_synchro_omp 42 43 USE mod_surf_para 44 USE mod_synchro_omp 44 45 46 USE carbon_cycle_mod, ONLY : carbon_cycle_cpl, fco2_land_inst, fco2_lu_inst 47 45 48 ! 46 49 ! Cette routine sert d'interface entre le modele atmospherique et le … … 67 70 ! spechum humidite specifique 1ere couche 68 71 ! epot_air temp pot de l'air 69 ! ccanopy concentration CO2 canopee 72 ! ccanopy concentration CO2 canopee, correspond au co2_send de 73 ! carbon_cycle_mod ou valeur constant co2_ppm 70 74 ! tq_cdrag cdrag 71 75 ! petAcoef coeff. A de la resolution de la CL pour t … … 134 138 INTEGER :: error 135 139 REAL, DIMENSION(klon) :: swdown_vrai 140 REAL, DIMENSION(klon) :: fco2_land_comp ! sur grille compresse 141 REAL, DIMENSION(klon) :: fco2_lu_comp ! sur grille compresse 136 142 CHARACTER (len = 20) :: modname = 'surf_land_orchidee' 137 143 CHARACTER (len = 80) :: abort_message … … 341 347 CALL abort_gcm(modname,abort_message,1) 342 348 ENDIF 343 349 ! 350 ! Allocate variables needed for carbon_cycle_mod 351 ! 352 IF (carbon_cycle_cpl) THEN 353 IF (.NOT. ALLOCATED(fco2_land_inst)) THEN 354 ALLOCATE(fco2_land_inst(klon),stat=error) 355 IF (error /= 0) CALL abort_gcm(modname,'Pb in allocation fco2_land_inst',1) 356 357 ALLOCATE(fco2_lu_inst(klon),stat=error) 358 IF(error /=0) CALL abort_gcm(modname,'Pb in allocation fco2_lu_inst',1) 359 END IF 360 END IF 361 344 362 ENDIF ! (fin debut) 363 345 364 346 365 ! … … 443 462 444 463 IF (debut) CALL Finalize_surf_para 445 464 465 466 ! JG : TEMPORAIRE!!!! Les variables fco2_land_comp et fco2_lu_comp seront plus tard en sortie d'ORCHIDEE 467 ! ici mis a valeur quelquonque pour test. Ces variables sont sur la grille compresse avec uniquement des points de terres 468 469 fco2_land_comp(:) = 1. 470 fco2_lu_comp(:) = 10. 471 472 ! Decompress variables for the module carbon_cycle_mod 473 IF (carbon_cycle_cpl) THEN 474 fco2_land_inst(:)=0. 475 fco2_lu_inst(:)=0. 476 477 DO igrid = 1, knon 478 ireal = knindex(igrid) 479 fco2_land_inst(ireal) = fco2_land_comp(igrid) 480 fco2_lu_inst(ireal) = fco2_lu_comp(igrid) 481 END DO 482 END IF 483 446 484 END SUBROUTINE surf_land_orchidee 447 485 !
Note: See TracChangeset
for help on using the changeset viewer.