You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by "Kim Whitehall (JIRA)" <ji...@apache.org> on 2014/10/27 17:25:35 UTC

[jira] [Commented] (CLIMATE-537) Update mccsearch files.py to use current replacement of utils.misc function

    [ https://issues.apache.org/jira/browse/CLIMATE-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14185313#comment-14185313 ] 

Kim Whitehall commented on CLIMATE-537:
---------------------------------------

this issue is similar to CLIMATE-536. 
There is actually no dependency on files.py It must have ended up in the folder from sloppy work on my part on the earlier versions of mccsearch.py where I adapted the module readMergData(dirname, filelist = None) from a module that existed in file.py
So we can go ahead and remove file.py from mccsearch/code. 

> Update mccsearch files.py to use current replacement of utils.misc function
> ---------------------------------------------------------------------------
>
>                 Key: CLIMATE-537
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-537
>             Project: Apache Open Climate Workbench
>          Issue Type: Task
>          Components: mcc search
>    Affects Versions: 0.5
>            Reporter: Lewis John McGibbney
>            Assignee: Kim Whitehall
>            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 misc.py (1)
> We need to make a determination as to how this should be upgraded.
> In particular, we use the following functions
>  * [pmisc.askUserForVariableName(variableNameList, targetName ="Time")|https://github.com/apache/climate/blob/master/mccsearch/code/files.py#L343]
> (0) https://github.com/apache/climate/blob/master/mccsearch/code/files.py#L32
> (1) https://github.com/apache/climate/blob/master/rcmet/src/main/python/rcmes/utils/misc.py



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)