Changeset 289


Ignore:
Timestamp:
2011-07-04T08:19:42+02:00 (13 years ago)
Author:
didier.solyga
Message:

Externalized PFT_name. The user can give names to the PFTs he/she will use. The data could be read in the standard output of ORCHIDEE (out_orchidee_ol files)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ORCHIDEE_EXT/ORCHIDEE/src_parameters/pft_parameters.f90

    r282 r289  
    412412      ! 3.2 Reading of the conrrespondance table in the .def file 
    413413      CALL getin_p('PFT_TO_MTC',pft_to_mtc) 
    414  
     414       
    415415      ! 3.3 If the user want to use the standard configuration, he needn't to fill the correspondance array 
    416416      !     If the configuration is wrong, send a error message to the user. 
     
    454454      CALL pft_parameters_init 
    455455 
    456       ! 5. A useful message to the user: correspondance between the number of the pft 
     456      ! 5. Useful data 
     457 
     458      ! 5.1 Read the name of the PFTs given by the user 
     459      CALL getin('PFT_NAME',pft_name) 
     460 
     461      ! 5.2 A useful message to the user: correspondance between the number of the pft 
    457462      ! and the name of the associated mtc  
    458463      DO i = 1,nvm 
    459          WRITE(numout,*) 'the PFT',i,'corresponds to the MTC : ',PFT_name(i)  
     464         WRITE(numout,*) 'the PFT',i, 'called  ', PFT_name(i),'corresponds to the MTC : ',MTC_name(pft_to_mtc(i))  
    460465      ENDDO 
    461466 
     
    796801      lowgpp_time(j) = lowgpp_time_mtc(pft_to_mtc(j)) 
    797802      hum_min_time(j) = hum_min_time_mtc(pft_to_mtc(j)) 
    798       tau_sap(j) =tau_sap_mtc(pft_to_mtc(j)) 
    799       tau_fruit(j) =tau_fruit_mtc(pft_to_mtc(j)) 
     803      tau_sap(j) = tau_sap_mtc(pft_to_mtc(j)) 
     804      tau_fruit(j) = tau_fruit_mtc(pft_to_mtc(j)) 
    800805      ecureuil(j) = ecureuil_mtc(pft_to_mtc(j)) 
    801806      alloc_min(j) = alloc_min_mtc(pft_to_mtc(j)) 
     
    822827      residence_time(j) = residence_time_mtc(pft_to_mtc(j)) 
    823828      tmin_crit(j) = tmin_crit_mtc(pft_to_mtc(j)) 
    824       tcm_crit(j) =  tcm_crit_mtc(pft_to_mtc(j)) 
     829      tcm_crit(j) = tcm_crit_mtc(pft_to_mtc(j)) 
    825830       
    826831   ENDDO ! end loop over nvm  
Note: See TracChangeset for help on using the changeset viewer.