Changes between Version 58 and Version 59 of DevelopmentActivities/ORCHIDEE-CNP/howtoFLUXNET


Ignore:
Timestamp:
2016-11-22T18:12:59+01:00 (7 years ago)
Author:
dgoll
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopmentActivities/ORCHIDEE-CNP/howtoFLUXNET

    v58 v59  
    496496 
    497497=== additional site specific parameters (other than NbPFTs) === 
    498 You need to modify Job_ENSEMBLE and ensemble.ksh. Here an example to read in SOIL_FRACTIONS which have 3 entries. 
    499 in ensemble.ksh add: 
    500  
     498You need to modify fluxnet.card, Job_ENSEMBLE, ensemble.ksh. Here an example to read in SOIL_FRACTIONS which have 3 entries. 
     499 
     500 
     501in fluxnet.card add: 
     502{{{ 
     503}}} 
     504 
     505tell ensemble.ksh to read the new variable by adding: 
    501506{{{ 
    502507    # - List of the sites/information to be treated : 
     
    512517DSGadded 
    513518}}} 
    514  
    515  
    516 Change this bit  
    517 {{{ 
    518         unset ValueSiteParams 
    519         ipft=0 
    520         while [ $ipft -lt ${NbPFTs} ] ; do 
    521             ValueSiteParams[${ipft}]=${group_site[$(( indext )) ]} 
    522             (( indext = indext + 1 )) 
    523             (( ipft = ipft + 1 )) 
    524         done 
    525 }}} 
    526 to 
     519tell ensemble.ksh to use the new variable by modifying: 
     520{{{ 
     521#DSGmod 
     522  if [ ${ensemble_CONFIG_NameSitesParam[${iphys}]} = "SOIL_FRACTIONS" ] ; then 
     523      echo 'nbSOILs:' $NbSOILs 
     524       DSGcunt=$NbSOILs 
     525    else 
     526      echo 'nbPFTs:' $NbPFTs 
     527       DSGcunt=$NbPFTs 
     528    fi 
     529 
     530    case ${SearchParam} in 
     531        undefined) 
     532        echo "ERROR : parameter ${ensemble_CONFIG_NameSitesParam[${iphys}]} doesn't exist in run.def parameter file !" 
     533        echo "You must correct NameSiteParam option in your card file or add new parameter in run.def file" 
     534        echo "We must STOP here." 
     535        exit 1 
     536        ;; 
     537        value) 
     538        (( NumInfosBySite = NumInfosBySite + 1 )) 
     539        ;; 
     540        line) 
     541        (( NumInfosBySite = NumInfosBySite + DSGcunt )) 
     542        ;; 
     543        vector) 
     544        (( NumInfosBySite = NumInfosBySite + DSGcunt )) 
     545        ;; 
     546    esac 
     547#DSGmod 
     548}}} 
     549 
     550Now, let Job_ENSEMBLE know that, too, by modifying: 
    527551{{{ 
    528552        if [ ${ensemble_CONFIG_NameSitesParam[${iphys}]} == "SOIL_FRACTIONS" ] ; then