[ https://issues.apache.org/jira/browse/CLIMATE-826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15391097#comment-15391097 ]
Ibrahim Jarif commented on CLIMATE-826: --------------------------------------- Fixing the valueError (by changing the dates) produces the following new error. {code} examples[CLIMATE-826*] % python model_ensemble_to_rcmed.py Working with the rcmed interface to get CRU3.1 Daily-Max Temp Calculating the Maximum Overlap in Time for the datasets Time Range is: 1989-07-02 to 1990-06-02 Fetching data from RCMED... Temporally Rebinning the Datasets to an Annual Timestep Traceback (most recent call last): File "model_ensemble_to_rcmed.py", line 144, in <module> knmi_dataset = dsp.spatial_regrid(knmi_dataset, new_lats, new_lons) File "/home/ibrahim/Desktop/climate/ocw/dataset_processor.py", line 311, in spatial_regrid order=1).reshape(new_lats.shape) File "/home/ibrahim/miniconda2/lib/python2.7/site-packages/scipy/ndimage/interpolation.py", line 316, in map_coordinates raise RuntimeError('invalid shape for coordinate array') RuntimeError: invalid shape for coordinate array {code} The coordinate array is a list of two ndarray each with shape (29232, ). [~lewismc] and [~huikyole] any pointers on what might be wrong here? > 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 > Priority: Critical > Fix For: 1.2.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 (v6.3.4#6332)