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:
- Open the "Meteorological Data: Download data (ERA5)" tool from UMEP for Processing.
- Use the map point-picker to click a location on the canvas (CRS: EPSG:4326).
- Run the tool.
- 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.
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.pyparsesINPUT_POINTassuming 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:
latandlonvalues 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.