Skip to content

Confidence mode location dropdown shows raw PSMSL IDs instead of coordinates #29

Description

@Ttheegela

Describe the bug
When running in confidence mode with no location.lst file present, the location dropdown shows raw PSMSL station IDs (ID 1, ID 2, etc.) instead of any meaningful location information.

Root cause
load_confidence_files() fell back to f"ID {loc_id}" when no location.lst was available. The lat/lon coordinates were already embedded in the .nc file metadata but were not being read.

Fix
Fallback now reads lat/lon from .nc file metadata and displays geographic coordinates (e.g. 48.38°N, -4.49°E) instead of the raw PSMSL ID.

Fixed in
Commit d3a08d1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions