We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_section_voxels()
exp = pynoddy.experiment.Experiment("history.his") exp.get_section_voxels()
Throws:
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-310-fdb1209cdcb8> in <module> ----> 2 exp.get_section_voxels() /pynoddy/pynoddy/output.py in get_section_voxels(self, direction, position, **kwds) 455 """ 456 --> 457 data = kwds.get('data',self.block) 458 459 if direction == 'x': AttributeError: 'Experiment' object has no attribute 'block'
Expected behavior Get a np.ndarray containing the section lithology ids.
np.ndarray
Current workaround
tmp_out = exp.get_section() section, _ = tmp_out.get_section_voxels()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Throws:
Expected behavior
Get a
np.ndarray
containing the section lithology ids.Current workaround
The text was updated successfully, but these errors were encountered: