-
Notifications
You must be signed in to change notification settings - Fork 1
PCMDI Metrics Package
Ana Ordonez edited this page Apr 19, 2022
·
5 revisions
Several metrics from the PCMDI Metrics Package (PMP) now have a cmec-driver interface. A list of the available metrics can be found in the PMP CMEC README, along with guidance for setting the parameter file.
The CMEC Module Manager has a script to install and register the PMP. Alternatively, follow the steps below to set up the PMP for CMEC driver.
- Install cmec-driver. Name your conda environment "_CMEC_pcmdi_metrics".
- Clone the PMP code repository. CMEC interface files are needed which are not included with the conda installation.
- Register PMP with cmec-driver:
cmec-driver register <path to PMP repository>
.
After registration, the PMP default settings will be populated in config/cmec.json. - Obtain the PMP observations database (TBD).
- Create a model input folder containing your model files.
- Create an output folder if one does not already exist.
- Make any needed changes to the configuration file ~/.cmec/cmec.json.
- From the cmec-driver directory, run your desired PMP configuration. For example, if the observations are in the PCMDIobs2 folder and models are in the my_models folder:
cmec-driver run --obs PCMDIobs2/ my_models/ output/ PMP/mean_climate