Skip to content

Commit ff6f527

Browse files
committed
read lon/lat from obs dataset
1 parent c707f83 commit ff6f527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/verification/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def verify(
155155
fcst_aligned, obs_aligned = xr.align(fcst, obs, join="inner", copy=False)
156156
region_polygons = ShapefileSpatialAggregationMasks(shp=regions)
157157
masks = region_polygons.get_masks(
158-
lon=fcst_aligned["longitude"], lat=fcst_aligned["latitude"]
158+
lon=obs_aligned["longitude"], lat=obs_aligned["latitude"]
159159
)
160160

161161
scores = []

0 commit comments

Comments
 (0)