snowplow / scala-weather

High-performance Scala library for looking up the weather
https://snowplow.github.io/scala-weather/
45 stars 13 forks source link

How to use coordinats from csv #101

Closed DenisOgr closed 5 years ago

DenisOgr commented 5 years ago

I spent a lot of time to resolve this issue I get coordinates from CSV file I convert the string to float, but I got the error:

//work fine
client.currentByCoords(31.2f,21.03f)

//not working
client.currentByCoords("21.45".toFloat, "30.45".toFloat)

//not working
client.currentByCoords(0.0f+"21.45".toFloat, 0.0f+"30.45".toFloat)

I using: scala_2_12_8, scala-weather 0.4.0

chuwy commented 5 years ago

Hi @DenisOgr, we use github for bugreports and feature requests only. Could you please proceed to our gitter room with support questions: https://gitter.im/snowplow/scala-weather (feel free to ping me there). Closing this.