Skip to content

[Feature]: Refactor PMP CDP usage to remove ESGF output viewer package #1339

@kristinchang3

Description

@kristinchang3

Is your feature request related to a problem?

CDP depends on ESGF output viewer package that is no longer maintained. CDP is a framework for creating new climate diagnostic packages in a generalized manner – can be considered as a precursor of CMEC. It is a lightweight interface built on top of Python argparse allowing for a python script to serve as a parameter input at the command line.

Describe the solution you'd like

Several PMP metrics' drivers depend on CDP to use a parameter file in combination with overwriting some parameters from the command line parser. E.g.: mean_climate_driver.py -p basic_param.py --case_id 'Ex2' --regrid_tool 'xesmf’

The drivers are using parts of CDP that do not depend on ESGF output viewer. I propose copying only necessary scripts that do not depend on ESGF output viewer from CDP to PMP and then reference these in the drivers.

Describe alternatives you've considered

Research the functionality of ESGF output viewer/CDP to see if modern argparse or optparse can handle.

Additional context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions