Lewis John McGibbney created CLIMATE-535:
--------------------------------------------
Summary: Update mccsearch files.py to use current utility functions
Key: CLIMATE-535
URL: https://issues.apache.org/jira/browse/CLIMATE-535
Project: Apache Open Climate Workbench
Issue Type: Task
Components: mcc search
Affects Versions: 0.5
Reporter: Lewis John McGibbney
Priority: Critical
Fix For: 0.5
Currently files.py within the mccsearch module uses a legacy (incorrect)
process.py (0)... which hails from the now deprecated rcmet process.py (1)
We need to make a determination as to how this should be upgraded.
In particular, we use the following functions
* [process.getModelTimes(filename,
timeVarName)|https://github.com/apache/climate/blob/master/mccsearch/code/files.py#L197]
* [process.decode_model_timesK(ifile, timeVarName,
file_type)|https://github.com/apache/climate/blob/master/mccsearch/code/files.py#L309]
* [process.getModelTimes(ifile,
timeVarName)|https://github.com/apache/climate/blob/master/mccsearch/code/files.py#L483]
(0) https://github.com/apache/climate/blob/master/mccsearch/code/files.py#L31
(1)
https://github.com/apache/climate/blob/master/rcmet/src/main/python/rcmes/toolkit/process.py
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)