Skip to content

Commit ef1ad4a

Browse files
committed
Fix
1 parent ef51b4f commit ef1ad4a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

sarsen/sentinel1.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ def coordinate_conversion(self) -> xr.Dataset | None:
130130
self.product_urlpath,
131131
group=f"{self.measurement_group}/coordinate_conversion",
132132
**self.kwargs,
133-
).compute()
133+
)
134+
ds = ds.compute()
134135
return ds
135136

136137
@functools.cached_property
@@ -141,7 +142,8 @@ def azimuth_fm_rate(self) -> xr.Dataset | None:
141142
self.product_urlpath,
142143
group=f"{self.measurement_group}/azimuth_fm_rate",
143144
**self.kwargs,
144-
).compute()
145+
)
146+
ds = ds.compute()
145147
return ds
146148

147149
@functools.cached_property
@@ -152,12 +154,13 @@ def dc_estimate(self) -> xr.Dataset | None:
152154
self.product_urlpath,
153155
group=f"{self.measurement_group}/dc_estimate",
154156
**self.kwargs,
155-
).compute()
157+
)
158+
ds = ds.compute()
156159
return ds
157160

158161
# make class hashable to allow caching methods calls
159162

160-
def __hash__(self):
163+
def __hash__(self) -> int:
161164
id = (
162165
self.product_urlpath,
163166
self.measurement_group,

0 commit comments

Comments
 (0)