climate-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLIMATE-826) ValueError in model_ensemble_to_rcmed.py
Date Tue, 16 Jan 2018 04:48:00 GMT

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

ASF GitHub Bot commented on CLIMATE-826:
----------------------------------------

Github user huikyole commented on a diff in the pull request:

    https://github.com/apache/climate/pull/477#discussion_r161660107
  
    --- Diff: examples/model_ensemble_to_rcmed.py ---
    @@ -125,6 +125,11 @@
         wrf311_dataset, temporal_resolution='annual')
     cru31_dataset = dsp.temporal_rebin(cru31_dataset, temporal_resolution='annual')
     
    +# Rebinning annual pushes the start date to the middle of the year
    --- End diff --
    
    This example has not been updated for a while, but start_time = end_time does not make
any sense. I will take a look at this example again.


> ValueError in model_ensemble_to_rcmed.py
> ----------------------------------------
>
>                 Key: CLIMATE-826
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-826
>             Project: Apache Open Climate Workbench
>          Issue Type: Bug
>            Reporter: Ibrahim Jarif
>            Assignee: Michael Anderson
>            Priority: Critical
>             Fix For: 1.3.0
>
>
> {code}Traceback (most recent call last):
>   File "/home/travis/build/jarifibrahim/climate/examples/model_ensemble_to_rcmed.py",
line 134, in <module>
>     knmi_dataset = dsp.subset(new_bounds, knmi_dataset)
>   File "build/bdist.linux-x86_64/egg/ocw/dataset_processor.py", line 388, in subset
>   File "build/bdist.linux-x86_64/egg/ocw/dataset_processor.py", line 1408, in _are_bounds_contained_by_dataset
> ValueError: bounds.start: 1989-01-01 00:00:00 is not between start: 1989-07-02 00:00:00
and end: 2008-07-02 00:00:00{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message