Opened 10 years ago

Closed 9 years ago

Last modified 8 years ago

#185 closed task (fixed)

Call PMCDI metric package using an appropriate period

Reported by: sdipsl Owned by: sdipsl
Priority: major Milestone: libIGCM_v2.6 metrics
Component: PostProcessing Version:
Keywords: Cc:

Description


Change History (5)

comment:1 Changed 10 years ago by sdipsl

  • Owner changed from somebody to sdipsl
  • Status changed from new to assigned

typical call

/ccc/work/cont003/dsm/p86ipsl/PCMDI-MP/work_install/PCMDI_METRICS/bin/python /ccc/work/cont003/dsm/p86ipsl/PCMDI-MP/work_install/PCMDI_METRICS/bin/ipsl_pcmdi_metrics_driver.py -p /ccc/work/cont003/dsm/p86ipsl/PCMDI-MP/work_install/IPSL_PCMDI_MP/doc/input_parameters_sample_for_libIGCM_v0.py

  • will configure input_parameters_sample_for_libIGCM_v0.py before making the call
  • will add a flag in .card post section.
  • we don't want to compute metrics for each seasonal period. Need to work this out.
  • we want the offline version very easy to use.
  • first guess : results (and intermediate results) will be place along Analyse/SE Analyse/METRICS
  • create_se will make the PCMDI-MP call for now.

comment:2 Changed 9 years ago by sdipsl

Call now looks like this/

/ccc/work/cont003/dsm/p86ipsl/PCMDI-MP/work_install_v1/PCMDI_METRICS/bin/python /ccc/work/cont003/dsm/p86ipsl/PCMDI-MP/work_install_v1/PCMDI_METRICS/bin/pcmdi_metrics_driver.py -p input_parameters_sample_for_libIGCM_template_FILLED.py

And input_parameters_sample_for_libIGCM_template_FILLED.py has been filled from /ccc/work/cont003/dsm/p86ipsl/PCMDI-MP/work_install_v1/PCMDI_METRICS/doc/input_parameters_sample_for_libIGCM_template.py

comment:3 Changed 9 years ago by sdipsl

This is how it looks actually. Use the SE frequency to trigger submission. Submission currently commented in create_se.job Need to check if the current approach will be appropriate for several metrics collection (NEMO global, NEMO basin, LMDZ jet metrics ...)

#==================================
# Appropriate configuration
#==================================
IGCM_sys_Cp ${PCMDI_MP}/work_install_v2.11/PCMDI_METRICS/doc/parameter_files/input_parameters_LMDZ_PCMDI_template.py template.py

#==================================
# Configure template
#==================================
IGCM_comp_modifyFile template.py path_and_filename \'./${config_UserChoices_JobName}_SE_${YEARS}_1M_histmth.nc\'
IGCM_comp_modifyFile template.py filename \'${config_UserChoices_JobName}_SE_${YEARS}_1M_histmth.nc\'
IGCM_comp_modifyFile template.py attributes_provided \'IPSL_Extended\'
IGCM_comp_modifyFile template.py Login  \'${LOGIN}\'
IGCM_comp_modifyFile template.py model_versions \'\[${config_UserChoices_TagName}\]\'
IGCM_comp_modifyFile template.py experiment  \'${config_UserChoices_ExperimentName}\'
IGCM_comp_modifyFile template.py realization \'${config_UserChoices_JobName}\'
IGCM_comp_modifyFile template.py project_id \'IPSL-${config_UserChoices_SpaceName}\'
IGCM_comp_modifyFile template.py ModelFreeSpace \'${config_UserChoices_LongName}\'
IGCM_comp_modifyFile template.py case_id \'SE_${YEARS}\'
IGCM_comp_modifyFile template.py obs_data_path  \'${PCMDI_MP}/references-for-metrics/obs\'
IGCM_comp_modifyFile template.py metrics_output_path \'${RUN_DIR}/METRICS\'
IGCM_comp_modifyFile template.py model_clims_interpolated_output \'${RUN_DIR}\'

#==================================
# Compute metrics
#==================================
python ${PCMDI_MP}/work_install_v2.11/PCMDI_METRICS/bin/pcmdi_metrics_driver.py -p template.py

comment:4 Changed 9 years ago by sdipsl

  • Resolution set to fixed
  • Status changed from assigned to closed

Done see r1199 for configuration involving LMDz. NEMO and others will come later on (will issue new tickets for that).

comment:5 Changed 8 years ago by sdipsl

  • Milestone set to libIGCM_v2.6 metrics
Note: See TracTickets for help on using tickets.