Skip to content

Commit

Permalink
Merge pull request #11 from cspencerjones/single-chunk
Browse files Browse the repository at this point in the history
Reshape data better in the numpy layer
  • Loading branch information
cspencerjones authored May 12, 2020
2 parents 1b2d36b + d4ddd70 commit 2ed10e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xlayers/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def layers_numpy(v_in, theta_in, thetalayers, mapfact, mapindex, cellindex, drf_
new_shape = list(original_shape)
new_shape[-1] = thetalayers.size
new_shape = tuple(new_shape)
v_lay = np.squeeze(np.array(_reshape_outputs(VH2, shape=new_shape)))
v_lay = np.squeeze(np.array(_reshape_outputs(VH2, shape=new_shape)),axis=0)

return v_lay

Expand Down

0 comments on commit 2ed10e8

Please sign in to comment.