Ignore:
Timestamp:
Oct 21, 2010, 4:25:20 PM (14 years ago)
Author:
jghattas
Message:

Modifications for carbon tracers :

  • add possibility to read source at different frequency
  • add dynamic varaiable to send fluxes in interface between ORCHIDEE and LMDZ : this is still under developpment under cpp key ORCH_NEW. No compatible official ORCHIDEE version does yet exist.
  • add variable co2_send in restart file.
  • clean up and bug fixes.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/LMDZ5V1.0-dev/libf/phylmd/phyetat0.F

    r1403 r1444  
    2121      USE infotrac
    2222      USE traclmdz_mod,    ONLY : traclmdz_from_restart
    23       USE carbon_cycle_mod,ONLY : carbon_cycle_tr, carbon_cycle_cpl
     23      USE carbon_cycle_mod,ONLY :
     24     &     carbon_cycle_tr, carbon_cycle_cpl, co2_send
    2425
    2526      IMPLICIT none
     
    10781079
    10791080         END DO
    1080          
    10811081         CALL traclmdz_from_restart(trs)
     1082
     1083         IF (carbon_cycle_cpl) THEN
     1084            ALLOCATE(co2_send(klon), stat=ierr)
     1085            IF (ierr /= 0) CALL abort_gcm
     1086     &           ('phyetat0','pb allocation co2_send',1)
     1087            CALL get_field("co2_send",co2_send,found)
     1088            IF (.NOT. found) THEN
     1089               PRINT*,"phyetat0: Le champ <co2_send> est absent"
     1090               PRINT*,"Initialisation uniforme a co2_ppm=",co2_ppm
     1091               co2_send(:) = co2_ppm
     1092            END IF
     1093         END IF
    10821094      END IF
    10831095
Note: See TracChangeset for help on using the changeset viewer.