Sorry for the late reply.
If you use the plugin, you have to follow these steps:
1 - Deactivate the filters:
echo '{"jsonrpc": "2.0", "method": "SetParam", "params": {"machine":"world", "object":"wind/wind", "parameter":"direction_time_for_rise", "value":"0"}, "id": 1}' | curl -d @- http://127.0.0.1:8383 | python -m json.tool
echo '{"jsonrpc": "2.0", "method": "SetParam", "params": {"machine":"world", "object":"wind/wind", "parameter":"elevation_time_for_rise", "value":"0"}, "id": 1}' | curl -d @- http://127.0.0.1:8383 | python -m json.tool
echo '{"jsonrpc": "2.0", "method": "SetParam", "params": {"machine":"world", "object":"wind/wind", "parameter":"magnitude_time_for_rise", "value":"0"}, "id": 1}' | curl -d @- http://127.0.0.1:8383 | python -m json.tool
2 - Reset the expressions:
echo '{"jsonrpc": "2.0", "method": "SetParam", "params": {"machine":"world", "object":"wind/wind", "parameter":"direction_expr", "value":"val"}, "id": 1}' | curl -d @- http://127.0.0.1:8383 | python -m json.tool
echo '{"jsonrpc": "2.0", "method": "SetParam", "params": {"machine":"world", "object":"wind/wind", "parameter":"elevation_expr", "value":"val"}, "id": 1}' | curl -d @- http://127.0.0.1:8383 | python -m json.tool
echo '{"jsonrpc": "2.0", "method": "SetParam", "params": {"machine":"world", "object":"wind/wind", "parameter":"magnitude_expr", "value":"val"}, "id": 1}' | curl -d @- http://127.0.0.1:8383 | python -m json.tool
3 - Set the magnitude value:
echo '{"jsonrpc": "2.0", "method": "SetParam", "params": {"machine":"world", "object":"wind/wind", "parameter":"magnitude_mean", "value":"5"}, "id": 1}' | curl -d @- http://127.0.0.1:8383 | python -m json.tool
4 - Set the elevation value:
echo '{"jsonrpc": "2.0", "method": "SetParam", "params": {"machine":"world", "object":"wind/wind", "parameter":"elevation_mean", "value":"90"}, "id": 1}' | curl -d @- http://127.0.0.1:8383 | python -m json.tool
There is an issue that prevents from changing the elevation_mean
value if the magnitude_mean
is 0. So the magnitude_mean
value must be greater than zero BEFORE setting the elevation_mean
value.