From 0c216ce510d8294069b3cd9809447f79277be5f6 Mon Sep 17 00:00:00 2001 From: akrherz Date: Tue, 6 Aug 2024 13:11:14 -0500 Subject: [PATCH] fix typo --- src/pyiem/iemre.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyiem/iemre.py b/src/pyiem/iemre.py index 4dfad82f..82fedf28 100644 --- a/src/pyiem/iemre.py +++ b/src/pyiem/iemre.py @@ -192,7 +192,7 @@ def get_grids(valid, varnames=None, cursor=None, table=None, domain: str = ""): cursor.execute( f"SELECT (gid / %s)::int as y, gid %% %s as x, {colsql} " f"from {table} WHERE valid = %s", - (dom["nx"], dom["ny"], valid), + (dom["ny"], dom["nx"], valid), ) data = { key: np.full((dom["ny"], dom["nx"]), np.nan) for key in use_columns