Skip to content

Commit 15a70ff

Browse files
committed
fix grid_mapping_name
1 parent 111635f commit 15a70ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pysteps/xarray_helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def convert_input_to_xarray_dataset(
214214
"units": attrs["units"],
215215
"standard_name": attrs["standard_name"],
216216
"long_name": attrs["long_name"],
217-
"grid_mapping": "projection",
217+
grid_mapping_name: "projection",
218218
},
219219
)
220220
}
@@ -238,7 +238,7 @@ def convert_input_to_xarray_dataset(
238238
{
239239
"units": "1",
240240
"standard_name": "quality_flag",
241-
"grid_mapping": "projection",
241+
grid_mapping_name: "projection",
242242
},
243243
)
244244
coords = {

0 commit comments

Comments
 (0)