-
Notifications
You must be signed in to change notification settings - Fork 15
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
Regular subgrid #160
Regular subgrid #160
Conversation
subgrid regular now also computes pwet etc. reads and writes to netcdf. sfincs may still need to be updated to account for this. subgrid quadtree added. still slow because no numba. both still need testing.
…t_sfincs into regular_subgrid
…ditions of subgrid netcdf and quadtree, so online subgrid v08 changes for regular grid remain
…o regular_subgrid
The new NETCDF subgrid for regular grids still needs some attention. I think that this branch https://github.com/Deltares/SFINCS/tree/netcdf_subgrid_reggrid is a step into the right direction, but we have to check whether those changes are needed. |
…o regular_subgrid
@DirkEilander Can you have a look at the changes? We updated the subgrid formulations, changed the format from binary to netcdf and changed the keyword into nlevels instead of nbins. I'll add this to the changelog and update tests accordingly afterwards as well |
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.
Generally the PR looks good to me! I've left a few small comments. I also have not yet tried actually building a new style subgrid table with the code. Will do so asap.
Co-authored-by: DirkEilander <[email protected]>
# TODO: check with Maarten whether this is meant to be different | ||
# difference comes from different discretization of volume bins |
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.
@DirkEilander this is still something I would like to discuss with Maarten
Issue addressed
Fixes #159
Explanation
Copy paste code from quadtree_subgrid, without the quadtree part.
Bugfix leftover issues
Checklist
main
Additional Notes (optional)
Add any additional notes or information that may be helpful.