You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
problem: imod.prepare.rasterize results in a crash if node_id is an integer and fill-value is the default np.nan.
solution: We could use a fill-value of 0 if node_id is integer but this does not work in combination with NodeBasinMapping logic. Best is to force node_id to float64 dtype.
The text was updated successfully, but these errors were encountered:
FYI, as it is related: In this PR #348 I had to force the dtype argument for imod.prepare.rasterize to float, otherwise problems arose.
I recently updated iMOD Python to take a dtype argument for its rasterize function, but haven't released this yet. The branch uses a dev install of iMOD Python now.
problem: imod.prepare.rasterize results in a crash if node_id is an integer and fill-value is the default np.nan.
solution: We could use a fill-value of 0 if node_id is integer but this does not work in combination with NodeBasinMapping logic. Best is to force node_id to float64 dtype.
The text was updated successfully, but these errors were encountered: