Github user MJJoyce commented on the pull request:
https://github.com/apache/climate/pull/195#issuecomment-98264812
Here's what happens when I try to run one of the end-to-end example scripts
after checking out this PR. Looks like the same problem that the tests are
running into.
```
_______________________________________________________________________
17:08:48
| ~/Coding/Climate/ocw-asf/examples
| -> python simple_model_to_model_bias.py
Loading /tmp/AFRICA_KNMI-RACMO2.2b_CTL_ERAINT_MM_50km_1989-2008_tasmax.nc
into an OCW Dataset Object
Traceback (most recent call last):
File "simple_model_to_model_bias.py", line 48, in <module>
knmi_dataset = local.load_file(FILE_1_PATH, "tasmax")
File "/Users/mjjoyce/Coding/Climate/ocw-asf/ocw/data_source/local.py",
line 270, in load_file
units=variable_unit, name=name, origin=origin)
File "/Users/mjjoyce/Coding/Climate/ocw-asf/ocw/dataset.py", line 72, in
__init__
lats, lons, values = utils.normalize_lat_lon_values(lats, lons, values)
File "/Users/mjjoyce/Coding/Climate/ocw-asf/ocw/utils.py", line 182, in
normalize_lat_lon_values
if lats.ndim ==1 and lons.dim ==1:
AttributeError: 'numpy.ndarray' object has no attribute 'dim'
(ocw-asf)
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---