[
https://issues.apache.org/jira/browse/CLIMATE-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14349064#comment-14349064
]
ASF GitHub Bot commented on CLIMATE-590:
----------------------------------------
Github user MJJoyce commented on a diff in the pull request:
https://github.com/apache/climate/pull/167#discussion_r25879332
--- Diff: ocw/data_source/local.py ---
@@ -182,6 +186,9 @@ def load_file(file_path,
times = utils.decode_time_values(netcdf, time_name)
times = numpy.array(times)
values = ma.array(netcdf.variables[variable_name][:])
+ print "variable_name ", variable_name
--- End diff --
Drop this print statement
> update data_source/local.py to store units from datasets
> --------------------------------------------------------
>
> Key: CLIMATE-590
> URL: https://issues.apache.org/jira/browse/CLIMATE-590
> Project: Apache Open Climate Workbench
> Issue Type: Task
> Reporter: Kim Whitehall
> Assignee: Kim Whitehall
>
> in data_source/local.py edited load_file to read in the units for the
> variable (one liner along the lines of variable_unit =
> netcdf.variables[variable_name].units)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)