Skip to content

Commit

Permalink
Fix grid query (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiannucci authored Jul 26, 2023
1 parent bf8a8fc commit 60db1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpublish_wms/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class GridType(Enum):

@classmethod
def from_ds(cls, ds: xr.Dataset):
if "grid" in ds.cf.cf_roles["grid_topology"]:
if "grid_topology" in ds.cf.cf_roles:
return cls.SGRID

try:
Expand Down

0 comments on commit 60db1bf

Please sign in to comment.