Skip to content

Commit

Permalink
Also replace set_crs by write_crs in regis.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rubencalje committed Sep 19, 2024
1 parent a5801e9 commit ff087a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nlmod/read/regis.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def get_regis(
ds[datavar].attrs["units"] = "m/day"

# set the crs to dutch rd-coordinates
ds.rio.set_crs(28992)
ds.rio.write_crs(28992, inplace=True)

return ds

Expand Down

0 comments on commit ff087a9

Please sign in to comment.