Skip to content

ERA5 Download tool: INPUT_POINT parsed as lat,lon but QGIS point-picker returns lon,lat (X,Y) causes silent coordinate swap #871

Description

@ggrafb

When using the "Meteorological Data: Download data (ERA5)" tool (processing_umep), picking a point on the map canvas with the built-in point-selector widget returns coordinates in QGIS's standard X,Y order (i.e. longitude,latitude for EPSG:4326). However, copernicusera5_algorithm.py parses INPUT_POINT assuming the opposite order (latitude,longitude), which silently swaps lat/lon values without any warning or error so the tool executes "successfully" but retrieves data for the wrong location.

Step-by-step:

  1. Open the "Meteorological Data: Download data (ERA5)" tool from UMEP for Processing.
  2. Use the map point-picker to click a location on the canvas (CRS: EPSG:4326).
  3. Run the tool.
  4. Check the algorithm log and verify the parsed lat and lon values are swapped relative to the actual clicked location.

I could easily fix the issue just by swapping manually the text given by default when clicking the map for "Point of interest" input, but it would be great if fixed... would spare me some time.

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