Skip to content

Commit

Permalink
Compatible with v1.3.2 of cdp.
Browse files Browse the repository at this point in the history
  • Loading branch information
zshaheen committed Apr 19, 2018
1 parent ff94dde commit eb4d089
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion recipes/pcmdi_metrics/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ requirements:
- cdms2 >=2.10
- genutil >=2.10
- cdutil >=2.10
- cdp
- cdp >=1.3.2
- matplotlib
- numpy
- cia
Expand Down
2 changes: 1 addition & 1 deletion recipes/pcmdi_metrics/meta.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ requirements:
- cdms2 >=2.10
- genutil >=2.10
- cdutil >=2.10
- cdp
- cdp >=1.3.2
- matplotlib
- numpy
- cia
Expand Down
1 change: 1 addition & 0 deletions src/python/pcmdi/scripts/driver/pmp_parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def __init__(self):
self.custom_keys = {}

self.filename_template = ''
self.sftlf_filename_template = ''
self.surface_type_land_fraction_filename_template = ''
self.generate_surface_type_land_fraction = None

Expand Down
2 changes: 1 addition & 1 deletion src/python/pcmdi/scripts/pcmdi_metrics_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,6 @@ def determine_obs_or_model(self, is_obs, ref_or_test, data_path):
required=False)


parameter = parser.get_parameter()
parameter = parser.get_parameter(cmd_default_vars=False)
driver = PMPDriver(parameter)
driver.run_diags()

0 comments on commit eb4d089

Please sign in to comment.