You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class MyNode(NumpyArray):
source = np.arange(10000.).reshape(100, 100)
def get_native_coordinates(self):
return Coordinate(lat=(-25, 25, 100), lon=(-25, 25, 100), order=['lat', 'lon'])
n = MyNode()
coords = Coordinate(lat_lon=[(-20, 20), (0, 5), 100])
out = n.execute(coords)
Expected Behavior out should contain data interpolated from MyNode.source.
Observed Behavior
Traceback (most recent call last):
File "jxm.py", line 29, in <module>
a_out = n.execute(coords)
File "/home/jmilloy/Pipeline/podpac/podpac/core/data/data.py", line 108, in execute
self.interpolate_data(data_subset, coords_subset, coordinates)
File "/home/jmilloy/Pipeline/podpac/podpac/core/data/data.py", line 292, in interpolate_data
grid=False)
File "/home/jmilloy/Pipeline/podpac/podpac/core/data/data.py", line 472, in interpolate_irregular_grid
x, y = coords_i_dst['lon']
TypeError: list indices must be integers, not unicode
jmilloy
changed the title
Exeption requesting stacked coordinates from a DataSource with unstacked native coordinates
Exception requesting stacked coordinates from a DataSource with unstacked native coordinates
May 16, 2018
Steps to Reproduce
Expected Behavior
out
should contain data interpolated fromMyNode.source
.Observed Behavior
Additional Notes
See also #28
The text was updated successfully, but these errors were encountered: