Skip to content

Wind degrees precision / DarkSky compatibility #36

Closed
@oisact

Description

@oisact

Minor issue here which did cause me issues in my iOS app. DarkSky API reported current wind direction (windDegrees) in whole integers. However your PirateWeather API is reporting windDegrees as a float with tenth of a degree precision. Tenth of a degree is surely far more precise than the actual accuracy of the data. I'm working around this server-side in my data processing to round it to an integer before my iOS app consumes it. This kind of issue can be common in very type-strict languages like Swift.

Just pointing this out if you are interested in the highest level compatibility with DarkSky.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions