[
https://issues.apache.org/jira/browse/CLIMATE-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14654436#comment-14654436
]
ASF GitHub Bot commented on CLIMATE-649:
----------------------------------------
Github user MBoustani commented on a diff in the pull request:
https://github.com/apache/climate/pull/220#discussion_r36248396
--- Diff: ocw-cli/cli_app.py ---
@@ -35,7 +36,10 @@
from ocw.data_source.local import load_file
import ocw.utils as utils
import ocw.data_source.esgf as esgf
-from ocw_config_runner.configuration_writer import
export_evaluation_to_config
+from example_package import *
+
+#from ocw_config_runner.configuration_writer import
export_evaluation_to_config
+from configuration_writer import export_evaluation_to_config
--- End diff --
how come the cli_app.py knows where is configuration_write function without
calling "ocw_config_runner.configuration_writer" ?
Yes we need to fix the name of folder from ocw-config-runner to
ocw_config_runner, but you should have the folder name (ocw_config_runner) in
import
> Update CLI
> ----------
>
> Key: CLIMATE-649
> URL: https://issues.apache.org/jira/browse/CLIMATE-649
> Project: Apache Open Climate Workbench
> Issue Type: Improvement
> Components: command line interface
> Affects Versions: 1.0.0
> Reporter: Huikyo Lee
> Assignee: Huikyo Lee
> Priority: Critical
> Fix For: 0.5
>
>
> Updates include following changes.
> - It is assumed that there is only one observation data
> - time period does not have to be a multiple of 12.
> - regridding process needs to be corrected. Only two regridding options
> ('Observation' and 'User specified') are available in this new version.
> - For calculation of metrics and drawing a plot use external package, CLI
> calls example_package.py
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)