Skip to content

Commit 2ed10e8

Browse files
Merge pull request #11 from cspencerjones/single-chunk
Reshape data better in the numpy layer
2 parents 1b2d36b + d4ddd70 commit 2ed10e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xlayers/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def layers_numpy(v_in, theta_in, thetalayers, mapfact, mapindex, cellindex, drf_
166166
new_shape = list(original_shape)
167167
new_shape[-1] = thetalayers.size
168168
new_shape = tuple(new_shape)
169-
v_lay = np.squeeze(np.array(_reshape_outputs(VH2, shape=new_shape)))
169+
v_lay = np.squeeze(np.array(_reshape_outputs(VH2, shape=new_shape)),axis=0)
170170

171171
return v_lay
172172

0 commit comments

Comments
 (0)