Changeset 258
- Timestamp:
- 2011-06-17T14:02:59+02:00 (13 years ago)
- Location:
- branches/ORCHIDEE_EXT/ORCHIDEE_OL
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ORCHIDEE_EXT/ORCHIDEE_OL/AA_make
r65 r258 1 1 #- 2 #- $Id: AA_make ,v 1.34 2009/11/10 12:57:07 ssipsl Exp $2 #- $Id: AA_make 92 2011-02-08 13:41:26Z martial.mancip $ 3 3 #- 4 4 MODS1 = dim2_driver.f90 \ … … 96 96 all_libs: 97 97 $(M_K) libioipsl 98 $(M_K) libparallel 98 99 $(M_K) libparameters 99 $(M_K) libparallel100 100 $(M_K) liborglob 101 101 $(M_K) libstomate -
branches/ORCHIDEE_EXT/ORCHIDEE_OL/AA_make.ldef
r65 r258 1 1 #- 2 #- $Id: AA_make.ldef ,v 1.15 2008/06/30 10:48:17 ssipsl Exp$2 #- $Id: AA_make.ldef 18 2010-11-29 11:12:17Z mmaipsl $ 3 3 #- 4 4 SHELL = /bin/sh -
branches/ORCHIDEE_EXT/ORCHIDEE_OL/dim2_driver.f90
r65 r258 1 1 PROGRAM driver 2 !- $Header: /home/ssipsl/CVSREP/ORCHIDEE_OL/dim2_driver.f90,v 1.26 2010/04/22 15:48:59 ssipsl Exp $ 2 !< $HeadURL: http://forge.ipsl.jussieu.fr/orchidee/svn/trunk/ORCHIDEE_OL/dim2_driver.f90 $ 3 !< $Date: 2011-06-01 10:03:53 +0200 (Wed, 01 Jun 2011) $ 4 !< $Author: martial.mancip $ 5 !< $Revision: 254 $ 3 6 !- IPSL (2006) 4 7 !- This software is governed by the CeCILL licence see ORCHIDEE/ORCHIDEE_CeCILL.LIC … … 337 340 itau_dep = 0 338 341 itau_dep_rest = 0 339 itau_fin = tm -1342 itau_fin = tm 340 343 !- 341 344 CALL gather2D(lon,lon_g) … … 358 361 IF (itau_dep /= itau_dep_rest) THEN 359 362 itau_dep = itau_dep_rest 360 itau_fin = itau_dep+tm -1363 itau_fin = itau_dep+tm 361 364 ENDIF 362 365 ENDIF … … 457 460 IF ( (dt_rest /= dt_force).AND.(itau_dep > 1) ) THEN 458 461 itau_dep = NINT((itau_dep*dt_rest )/dt_force) 459 itau_fin = itau_dep+tm -1462 itau_fin = itau_dep+tm 460 463 if (debug) WRITE(numout,*) & 461 464 & 'The time steping of the restart is different from the one ',& … … 1013 1016 ENDDO 1014 1017 ENDIF 1015 for_swdown(:,:) = swdown(:,:) 1018 DO ik=1,nbindex 1019 i=ilandindex(ik) 1020 j=jlandindex(ik) 1021 for_swdown(i,j) = swdown(i,j) 1022 ENDDO 1016 1023 !----- 1017 1024 !---- Computing the buffer zone ! -
branches/ORCHIDEE_EXT/ORCHIDEE_OL/forcesoil.f90
r65 r258 76 76 CALL Init_para(.FALSE.) 77 77 78 CALL getin('NVM',nvm) 79 78 CALL getin_p('NVM',nvm) 80 79 !- 81 80 ! Stomate's restart files … … 290 289 CALL Scatter(carbon,carbon_loc) 291 290 291 !!$ DS 16/06/2011 : calling the new_values of soilcarbon parameters before loop 292 ! 293 CALL getin_p('FRAC_CARB_AA',frac_carb_aa) 294 CALL getin_p('FRAC_CARB_AP',frac_carb_ap) 295 CALL getin_p('FRAC_CARB_SS',frac_carb_ss) 296 CALL getin_p('FRAC_CARB_SA',frac_carb_sa) 297 CALL getin_p('FRAC_CARB_SP',frac_carb_sp) 298 CALL getin_p('FRAC_CARB_PP',frac_carb_pp) 299 CALL getin_p('FRAC_CARB_PA',frac_carb_pa) 300 CALL getin_p('FRAC_CARB_PS',frac_carb_ps) 301 ! 302 CALL getin_p('ACTIVE_TO_PASS_CLAY_FRAC',active_to_pass_clay_frac) 303 CALL getin_p('CARBON_TAU_IACTIVE',carbon_tau_iactive) 304 CALL getin_p('CARBON_TAU_ISLOW',carbon_tau_islow) 305 CALL getin_p('CARBON_TAU_IPASSIVE',carbon_tau_ipassive) 306 CALL getin_p('FLUX_TOT_COEFF',flux_tot_coeff) 307 292 308 DO i=1,itau_len 293 309 iatt = iatt+1 294 310 IF (iatt > nparan) iatt = 1 295 296 !!$ DS : calling the new_values of soilcarbon parameters297 !298 CALL getin('FRAC_CARB_AA',frac_carb_aa)299 CALL getin('FRAC_CARB_AP',frac_carb_ap)300 CALL getin('FRAC_CARB_SS',frac_carb_ss)301 CALL getin('FRAC_CARB_SA',frac_carb_sa)302 CALL getin('FRAC_CARB_SP',frac_carb_sp)303 CALL getin('FRAC_CARB_PP',frac_carb_pp)304 CALL getin('FRAC_CARB_PA',frac_carb_pa)305 CALL getin('FRAC_CARB_PS',frac_carb_ps)306 !307 CALL getin('ACTIVE_TO_PASS_CLAY_FRAC',active_to_pass_clay_frac)308 CALL getin('CARBON_TAU_IACTIVE',carbon_tau_iactive)309 CALL getin('CARBON_TAU_ISLOW',carbon_tau_islow)310 CALL getin('CARBON_TAU_IPASSIVE',carbon_tau_ipassive)311 CALL getin('FLUX_TOT_COEFF',flux_tot_coeff)312 313 311 CALL soilcarbon & 314 312 & (nbp_loc, dt_forcesoil, clay_loc, & -
branches/ORCHIDEE_EXT/ORCHIDEE_OL/getprec.f90
r65 r258 1 ! $Header: /home/ssipsl/CVSREP/ORCHIDEE_OL/getprec.f90,v 1.3 2006/09/14 22:53:13 ssipsl Exp $ 1 !< $HeadURL: http://forge.ipsl.jussieu.fr/orchidee/svn/trunk/ORCHIDEE_OL/getprec.f90 $ 2 !< $Date: 2010-11-29 12:12:17 +0100 (Mon, 29 Nov 2010) $ 3 !< $Author: mmaipsl $ 4 !< $Revision: 18 $ 2 5 !- 3 6 PROGRAM getprec -
branches/ORCHIDEE_EXT/ORCHIDEE_OL/readdim2.f90
r65 r258 2 2 MODULE readdim2 3 3 !--------------------------------------------------------------------- 4 !- $Header: /home/ssipsl/CVSREP/ORCHIDEE_OL/readdim2.f90,v 1.23 2010/04/22 13:11:24 ssipsl Exp $ 4 !< $HeadURL: http://forge.ipsl.jussieu.fr/orchidee/svn/trunk/ORCHIDEE_OL/readdim2.f90 $ 5 !< $Date: 2011-01-01 21:42:53 +0100 (Sat, 01 Jan 2011) $ 6 !< $Author: mmaipsl $ 7 !< $Revision: 50 $ 5 8 !- IPSL (2006) 6 9 !- This software is governed by the CeCILL licence see ORCHIDEE/ORCHIDEE_CeCILL.LIC … … 96 99 ALLOCATE(lev_full(llm_full)) 97 100 ALLOCATE(fcontfrac(iim_full,jjm_full)) 98 ALLOCATE(i_index(iim_full), j_index(jjm_full),j_index_g(jjm_full))99 101 !- 100 102 lev_full(:) = zero … … 249 251 !- If we use temporal interpolation, then we cannot change the resolution (yet?) 250 252 !- 253 ALLOCATE(i_index(iim_full), j_index(jjm_full),j_index_g(jjm_full)) 251 254 IF (is_root_prc) THEN 252 255 … … 362 365 CALL weathgen_init & 363 366 & (filename,dt_force,force_id,iim_zoom,jjm_zoom, & 364 & zonal_res,merid_res,lon,lat,index_l,NbPoint,& 365 & i_index,j_index_g) 367 & zonal_res,merid_res,lon,lat,index_l,NbPoint) 368 !!$,& 369 !!$ & i_index,j_index_g) 366 370 ELSE 367 371 ALLOCATE(index_l(1)) … … 377 381 DEALLOCATE(index_l) 378 382 379 CALL bcast(i_index)380 CALL bcast(j_index_g)381 382 ind=0383 DO j=1,jjm_zoom384 IF ( (j >= jj_begin) .AND. (j <= jj_end) ) THEN385 ind=ind+1386 j_index(ind)=j_index_g(j)387 ENDIF388 ENDDO383 !!$ CALL bcast(i_index) 384 !!$ CALL bcast(j_index_g) 385 386 !!$ ind=0 387 !!$ DO j=1,jjm_zoom 388 !!$ IF ( (j >= jj_begin) .AND. (j <= jj_end) ) THEN 389 !!$ ind=ind+1 390 !!$ j_index(ind)=j_index_g(j) 391 !!$ ENDIF 392 !!$ ENDDO 389 393 390 394 jjm_zoom=jj_nb … … 492 496 REAL,DIMENSION(iim,jjm) :: & 493 497 & SWnet, Eair, petAcoef, peqAcoef, petBcoef, peqBcoef, cdrag, ccanopy 494 INTEGER,DIMENSION(iim*jjm), INTENT( OUT) :: kindex498 INTEGER,DIMENSION(iim*jjm), INTENT(INOUT) :: kindex 495 499 !- 496 500 INTEGER :: ik,i,j … … 688 692 ENDIF 689 693 !- 690 itau_read = itauin 694 !!$ itau_read = itauin 695 itau_read = MOD((itauin-1),ttm)+1 691 696 !- 692 697 !- This part initializes the reading of the forcing. As you can see -
branches/ORCHIDEE_EXT/ORCHIDEE_OL/teststomate.f90
r117 r258 466 466 hist_days_stom = 10. 467 467 CALL getin ('STOMATE_HIST_DT', hist_days_stom) 468 hist_dt_stom = NINT( hist_days_stom ) * one_day 469 WRITE(*,*) 'output frequency for STOMATE history file (d): ', & 468 IF ( hist_days_stom == -1. ) THEN 469 hist_dt_stom = -1. 470 WRITE(numout,*) 'output frequency for STOMATE history file (d): one month.' 471 ELSE 472 hist_dt_stom = NINT( hist_days_stom ) * one_day 473 WRITE(numout,*) 'output frequency for STOMATE history file (d): ', & 470 474 hist_dt_stom/one_day 475 ENDIF 471 476 !- 472 477 ! initialize -
branches/ORCHIDEE_EXT/ORCHIDEE_OL/weather.f90
r65 r258 1474 1474 SUBROUTINE weathgen_init & 1475 1475 & (filename,dt_force,force_id,iim,jjm, & 1476 & zonal_res,merid_res,lon,lat,kindex,nbindex,iind,jind) 1476 & zonal_res,merid_res,lon,lat,kindex,nbindex) 1477 !!$,iind,jind) 1477 1478 !--------------------------------------------------------------------- 1478 1479 IMPLICIT NONE … … 1480 1481 CHARACTER(LEN=*),INTENT(IN) :: filename 1481 1482 REAL,INTENT(IN) :: dt_force 1482 INTEGER,INTENT(IN ) :: force_id1483 INTEGER,INTENT(INOUT) :: force_id 1483 1484 INTEGER,INTENT(IN) :: iim, jjm 1484 1485 REAL,INTENT(IN) :: zonal_res,merid_res … … 1487 1488 INTEGER,DIMENSION(iim*jjm),INTENT(OUT) :: kindex 1488 1489 INTEGER,INTENT(OUT) :: nbindex 1489 INTEGER,DIMENSION(iim),INTENT(OUT) :: iind1490 INTEGER,DIMENSION(jjm),INTENT(OUT) :: jind1490 !!$ INTEGER,DIMENSION(iim),INTENT(OUT) :: iind 1491 !!$ INTEGER,DIMENSION(jjm),INTENT(OUT) :: jind 1491 1492 !- 1492 1493 REAL,PARAMETER :: fcrit = .5
Note: See TracChangeset
for help on using the changeset viewer.