-
Notifications
You must be signed in to change notification settings - Fork 21
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
Adding vgrid support for PySCHISM #87
Comments
Let's consider incorporating LSC2 vgrid generation in pyschism. @cuill Please provide us additional resources you have regarding that. |
@BahramKhazaei-NOAA pylib has a script to generate this type of vgrid: |
@BahramKhazaei-NOAA @cuill @SorooshMani-NOAA Would you test the script and suggest how we may implement this within the pyschim framework? Thanks, |
|
I tested the script provided and it works for cases where hsm and nv increase constantly by +1. However if I tried to use a custom nv (e.g., [2,4,6,8,11,14,17,20,20]) it would result in NaN sigma values, please see the vgrid.in below: To solve this I had to modify the script, you can see the jupyter notebook here. I also changed the way the file is written, so it matches the LSC2 format. I was able to run SCHISM with the vgrid I created. |
We here at OCS want to push for implementing a lsc2-based vgrid support for PySCHISM. What do you recommend? We want to make sure you guy are not already developing a solution so we don't duplicate work. @saeed-moghimi-noaa, feel free to add here if I am missing anything, |
We're not developing a LSC2 vgrid support under pyschism. Please go ahead. Thanks! |
@cuill @BahramKhazaei-NOAA
A place holder to follow up with Portugal team for their python implementation and more advanced methods
The text was updated successfully, but these errors were encountered: