obs index to index

This commit is contained in:
Colin Megill
2018-10-15 11:20:52 -07:00
parent 8aa75458ed
commit 73f55cb9f8
+1 -1
View File
@@ -301,7 +301,7 @@ export function createVarDimension(
const worldIndex = worldObsIndex ? idx => worldObsIndex[idx] : idx => idx; const worldIndex = worldObsIndex ? idx => worldObsIndex[idx] : idx => idx;
return crossfilter.dimension(r => { return crossfilter.dimension(r => {
return varData[worldIndex(r.__obsIndex__)]; return varData[worldIndex(r.__index__)];
}, Float32Array); }, Float32Array);
} }