Skip to content

Commit 158932d

Browse files
authored
ensure filepath is set for GRIB coverage requests (#450)
1 parent dc75b84 commit 158932d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

msc_pygeoapi/provider/cansips_products_rasterio.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ def query(
462462
return cj
463463

464464
else:
465+
self.filename = self.data.name
465466
with MemoryFile() as memfile:
466467
with memfile.open(**out_meta, nbits=30) as dest:
467468
dest.write(out_image)

0 commit comments

Comments
 (0)