Changeset 1221


Ignore:
Timestamp:
08/25/15 17:47:27 (9 years ago)
Author:
sdipsl
Message:
  • compute some more metrics groups for LMDz
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_metrics_LMDZ

    r1209 r1221  
    138138#================================== 
    139139IGCM_sys_Get ${R_OUT_ATM}/Analyse/${DIR_OUT}/${config_UserChoices_JobName}_SE_${YEARS}_1M_histmth.nc ${RUN_DIR} 
     140IGCM_sys_Get ${R_OUT_ATM}/Analyse/${DIR_OUT}/${config_UserChoices_JobName}_SE_${YEARS}_1M_histmthNMC.nc ${RUN_DIR} 
    140141 
    141142#================================== 
     
    147148# Group of metrics we will compute 
    148149#================================== 
    149 #GroupsOfMetrics='LMDZ_PCMDI LMDZ_JetLat'  
    150 GroupsOfMetrics='LMDZ_PCMDI'  
     150GroupsOfMetrics='LMDZ_PCMDI LMDZ_JetLat LMDZ_OverOceanRegions' 
    151151 
    152152for metricsGroupName in ${GroupsOfMetrics} ; do 
    153153 
    154154  #================================== 
    155   # Appropriate configuration 
    156   #================================== 
    157   IGCM_sys_Cp ${PCMDI_MP}/work_install_v2.11/PCMDI_METRICS/doc/parameter_files/input_parameters_${metricsGroupName}_template.py template.py 
    158  
    159   #================================== 
    160   # Configure template 
     155  # Appropriate configuration template 
     156  #================================== 
     157  IGCM_sys_Cp ${PCMDI_MP}/work_install_v2.12/PCMDI_METRICS/doc/parameter_files/input_parameters_${metricsGroupName}_template.py template.py 
     158 
     159  #================================== 
     160  # Configure template for histmth.nc 
    161161  #================================== 
    162162  IGCM_comp_modifyFile template.py path_and_filename \'./${config_UserChoices_JobName}_SE_${YEARS}_1M_histmth.nc\' 
     
    179179  python ${PCMDI_MP}/work_install_v2.11/PCMDI_METRICS/bin/pcmdi_metrics_driver.py -p template.py 
    180180 
     181  if [ ${metricsGroupName} != "LMDZ_OverOceanRegions" ] ; then 
     182    #================================== 
     183    # (Re)Configure template for histmthNMC.nc 
     184    #================================== 
     185    IGCM_comp_modifyFile template.py path_and_filename \'./${config_UserChoices_JobName}_SE_${YEARS}_1M_histmthNMC.nc\' 
     186    IGCM_comp_modifyFile template.py filename \'${config_UserChoices_JobName}_SE_${YEARS}_1M_histmthNMC.nc\' 
     187 
     188    #================================== 
     189    # Compute metrics for histmthNMC.nc 
     190    #================================== 
     191    python ${PCMDI_MP}/work_install_v2.11/PCMDI_METRICS/bin/pcmdi_metrics_driver.py -p template.py 
     192  fi 
     193 
    181194  #================================== 
    182195  # Export metrics to mongoDB system 
Note: See TracChangeset for help on using the changeset viewer.