Changes between Version 5 and Version 6 of Developers


Ignore:
Timestamp:
2012-07-13T15:43:41+02:00 (12 years ago)
Author:
luyssaert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Developers

    v5 v6  
    3333CALL getin_p('STOMATE_FUNCTIONAL_ALLOCATION',control_flags%ok_functional_allocation) 
    3434WRITE(*,*) 'Allocation is based on plant structure: ',control_flags%ok_functional_allocation 
     35}}} 
     36 
     37[[BR]] 
     38[[BR]] 
     39= How to add a variable to history.nc = 
     40 
     41Define the variable in intersurf.f90, check whether the correct operators (i.e. ave) and history level i.e. (4) are defined more information on 'histdef' and 'histwrite' can be found on the documentation page of this wiki 
     42  
     43{{{  
     44! total living biomass 
     45    CALL histdef (hist_id_stom, & 
     46         &               TRIM("Fruit_M             "), & 
     47         &               TRIM("Fruit biomass                                       "), & 
     48         &               TRIM("gC/m^2/pft          "), iim,jjm, hist_hori_id, & 
     49         &               nvm,1,nvm, hist_PFTaxis_id,32, ave(4), dt, hist_dt) 
     50}}} 
     51 
     52When the variable has the value that need to written to the history file add a statement to the one below 
     53{{{  
     54CALL histwrite (hist_id_stomate, 'FRUIT_M', itime, & 
     55         biomass(:,:,ifruit), npts*nvm, horipft_index) 
    3556}}} 
    3657