Skip to content

expected lon/lat axis order #268

@WHATTHEHELLOHMYGOD

Description

@WHATTHEHELLOHMYGOD

Traceback (most recent call last):
File "C:\Users/Admin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\plugin\ui\widget_domains.py", line 352, in on_set_canvas_extent_button_clicked
self.set_domain_to_extent(map_crs, extent)
File "C:\Users/Admin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\plugin\ui\widget_domains.py", line 385, in set_domain_to_extent
center_lonlat = domain_crs.to_lonlat(Coordinate2D(center_x, center_y))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/Admin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\core\crs.py", line 150, in to_lonlat
out = self.transform_point(srs_in=self.srs, srs_out=self.lonlat_srs, point=point)
^^^^^^^^^^^^^^^
File "C:\Users/Admin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\core\crs.py", line 185, in lonlat_srs
assert not srs_out.EPSGTreatsAsLatLong(), 'expected lon/lat axis order'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: expected lon/lat axis order

I have no idea how to reproduce the bug

When I try to set to domain, it bugs out.

Image

Latest verison of QGIS

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