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

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

Github user cgoodale commented on the pull request:

    https://github.com/apache/climate/pull/87#issuecomment-48939080
  
    @MJJoyce merged this PR already, so I am closing it out now.  Thanks Mike.


> Improve dataset_processor.subset()'s ValueError Message
> -------------------------------------------------------
>
>                 Key: CLIMATE-489
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-489
>             Project: Apache Open Climate Workbench
>          Issue Type: Improvement
>          Components: regridding/data processing
>    Affects Versions: 0.3-incubating
>         Environment: *nix
>            Reporter: Cameron Goodale
>            Assignee: Cameron Goodale
>            Priority: Minor
>             Fix For: 0.4
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> While developing the Model Ensemble example I encountered two datasets that 
> don't align perfectly.  So when I tried to use the extent of one dataset to 
> subset the other I was greeted with this error message:
> {code}
> ValueError: dataset_processor.subset received a subregion that is not 
> completely within the bounds of the target dataset.
> {code}
> The trouble I then ran into is how to track down which of the 6 subsetting 
> attributes did not align.
> Plan of attack:
> ----
> Update _are_bounds_contained_by_dataset to raise an error when any of the 6 
> comparisons are found to be invalid, and include a message relaying what 
> attribute(s) are in error.
> Use this new error message to finally raise the error to the end user so they 
> can adjust the bounds accordingly.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to