MSS
MSS copied to clipboard
gallery on rtfd shows a ValueError
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/mss/checkouts/rtfd_problems/docs/../mslib/mswms/wms.py", line 415, in generate_gallery
None if exists else plot_driver.plot(), plot_object, generate_code,
~~~~~~~~~~~~~~~~^^
File "/home/docs/checkouts/readthedocs.org/user_builds/mss/checkouts/rtfd_problems/docs/../mslib/mswms/mss_plot_driver.py", line 534, in plot
data = self._load_interpolate_timestep()
File "/home/docs/checkouts/readthedocs.org/user_builds/mss/checkouts/rtfd_problems/docs/../mslib/mswms/mss_plot_driver.py", line 489, in _load_interpolate_timestep
if jump:
^^^^
ValueError: The truth value of an empty array is ambiguous. Use `array.size > 0` to check that an array is not empty.
hey @ReimarBauer could you assign this issue to me?
Hi @sanyam-dev you have it. Please send a PR to stable branch.
the error sometimes happens also by moving waypoints. Then it shows
ERROR:
<class 'owslib.util.ServiceException'>
The data corresponding to your request is not available. Please check the times and/or path you have specified.
Error message: The truth value of an empty array is ambiguous. Use `array.size > 0` to check that an array is not empty..
Hint: Check used waypoints.