-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #1395 Change default value for missing layers for angle1 #1396
Issue #1395 Change default value for missing layers for angle1 #1396
Conversation
See my comment in the issue: entering a value for ANGLE will likely slow MF6 down. Better to apply the trigonometry yourself. |
imod/mf6/npf.py
Outdated
@@ -510,7 +510,7 @@ def from_imod5_data( | |||
angle1 = imod5_data["ani"]["angle"] | |||
angle1 = 90.0 - angle1 | |||
angle1 = xr.where(angle1 < 0, 360.0 + angle1, angle1) | |||
angle1 = fill_missing_layers(angle1, target_grid, 0) | |||
angle1 = fill_missing_layers(angle1, target_grid, 90) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be 90.0 to be consistent with the way other angles are written
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch, fixed!
|
Created a separate issue for this #1397 |
Fixes #1395
Description
Use proper value for missing layers in projectfile.
Checklist
Issue #nr
, e.g.Issue #737