Skip to content

geomag.declination() not threadsafe #9

@proximous

Description

@proximous

My application uses threads, and I discovered that geomag.declination() is not threadsafe and resulted in me calculating incorrect declinations.

Perhaps this is 'by-design', but if so it should be documented.

As a work-around, I switched my call to:
geomag.geomag.GeoMag().GeoMag(latitude, longitude).dec

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions