vbet mask size error
Closed this issue · 0 comments
KellyMWhitehead commented
Huc: 1501000801
Error Message (note its a little garbled, I think the raster operation is processing faster than it can log the message):
2024-02-13 23:53:32:: [error] [VBET] Mask and data not compatible: data size is 0, mask size is 3984.
2024-02-13 23:53:32:: Traceback (most recent call last):
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: File "/usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py", line 1176, in main
2024-02-13 23:53:32:: vbet(
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: File "/usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py", line 628, in vbet
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: transformed[name] = np.ma.MaskedArray(
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: File "/usr/local/lib/python3.8/dist-packages/numpy/ma/core.py", line 2906, in __new__
2024-02-13 23:53:32:: /usr/local/src/riverscapes-tools/packages/vbet/vbet/vbet.py:643: RuntimeWarning: invalid value encountered in sqrt
2024-02-13 23:53:32:: raise MaskError(msg % (nd, nm))
2024-02-13 23:53:32:: (np.sqrt(masked_prox) / np.sqrt(max_prox))
2024-02-13 23:53:32:: numpy.ma.core.MaskError: Mask and data not compatible: data size is 0, mask size is 3984.
2024-02-13 23:53:32:: 100 - done.
2024-02-13 23:53:34:: <<RS CONTEXT PROCESS ENDED WITH AN ERROR>>