-
Notifications
You must be signed in to change notification settings - Fork 15
animate_map fails on CCI Cloud CFC product #989
Description
Job: Executing operation "animate_map"
Message: cannot use subplot_kws with existing ax
Code: -32003
Method: set_workspace_resource
Exception: ValueError
Traceback (most recent call last):
File "/opt/conda/envs/cate-env/lib/python3.9/site-packages/cate-2.3.0.dev6-py3.9.egg/cate/util/web/jsonrpchandler.py", line 209, in send_service_method_result
result = future.result()
File "/opt/conda/envs/cate-env/lib/python3.9/concurrent/futures/_base.py", line 433, in result
return self.__get_result()
File "/opt/conda/envs/cate-env/lib/python3.9/concurrent/futures/_base.py", line 389, in __get_result
raise self._exception
File "/opt/conda/envs/cate-env/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/opt/conda/envs/cate-env/lib/python3.9/site-packages/cate-2.3.0.dev6-py3.9.egg/cate/util/web/jsonrpchandler.py", line 306, in call_service_method
result = method(*method_params, monitor=monitor)
File "/opt/conda/envs/cate-env/lib/python3.9/site-packages/cate-2.3.0.dev6-py3.9.egg/cate/webapi/websocket.py", line 362, in set_workspace_resource
self.workspace_manager.set_workspace_resource(base_dir,
File "/opt/conda/envs/cate-env/lib/python3.9/site-packages/cate-2.3.0.dev6-py3.9.egg/cate/core/wsmanag.py", line 465, in set_workspace_resource
workspace.execute_workflow(res_name=res_name, monitor=monitor)
File "/opt/conda/envs/cate-env/lib/python3.9/site-packages/cate-2.3.0.dev6-py3.9.egg/cate/core/workspace.py", line 668, in execute_workflow
self.workflow.invoke_steps(steps, context=self._new_context(), monitor=monitor)
File "/opt/conda/envs/cate-env/lib/python3.9/site-packages/cate-2.3.0.dev6-py3.9.egg/cate/core/workflow.py", line 632, in invoke_steps
step.invoke(context=context, monitor=monitor.child(work=1))
File "/opt/conda/envs/cate-env/lib/python3.9/site-packages/cate-2.3.0.dev6-py3.9.egg/cate/core/workflow.py", line 318, in invoke
self._invoke_impl(_new_context(context, step=self), monitor=monitor)
File "/opt/conda/envs/cate-env/lib/python3.9/site-packages/cate-2.3.0.dev6-py3.9.egg/cate/core/workflow.py", line 980, in _invoke_impl
return_value = self._op(monitor=monitor, **input_values)
File "/opt/conda/envs/cate-env/lib/python3.9/site-packages/cate-2.3.0.dev6-py3.9.egg/cate/core/op.py", line 216, in call
return_value = self._wrapped_op(**input_values)
File "/opt/conda/envs/cate-env/lib/python3.9/site-packages/cate-2.3.0.dev6-py3.9.egg/cate/ops/animate.py", line 233, in animate_map
var_data.plot.pcolormesh(ax=ax, transform=ccrs.PlateCarree(), subplot_kws={'projection': proj},
File "/opt/conda/envs/cate-env/lib/python3.9/site-packages/xarray/plot/plot.py", line 842, in plotmethod
return newplotfunc(**allargs)
File "/opt/conda/envs/cate-env/lib/python3.9/site-packages/xarray/plot/plot.py", line 744, in newplotfunc
ax = get_axis(figsize, size, aspect, ax, **subplot_kws)
File "/opt/conda/envs/cate-env/lib/python3.9/site-packages/xarray/plot/utils.py", line 440, in get_axis
raise ValueError("cannot use subplot_kws with existing ax")
ValueError: cannot use subplot_kws with existing ax