Well, the error in this case seems pretty clear. OpenWeatherMap is providing a % for that Channel instead of length. You can’t just convert 87 % into km.
As for why it’s returning a percent I can’t say. Seems like it shouldn’t. I spot checked a few visibility Channels for OWM and they are all defined as Number:Length. Maybe it’s a bug?