-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add wave mesh generation for global_ocean mesh test cases #818
base: main
Are you sure you want to change the base?
Conversation
- Avoids end of file error in namelist read
@sbrus89, I had the impression you would ping me when this is ready to review. Just wanted to check that I hadn't missed that ping. |
- This means Antarctic coastline is between ocean and ice instead of ocean and grounding line
- Also add the ability to (optionally) specify paths to existing base and culled ocean meshes in the config file
b725704
to
acc78b6
Compare
data = np.loadtxt('angled.d') | ||
angled = data[:, 2] | ||
|
||
filename_local_in = 'obstructions_local.waves_mesh_culled.in' |
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.
file can't be found. The file is placed in output directory ... suggest changing the file name to be 'output/obstructions_local.waves_mesh_culled.in'
self.write_alpha_beta(filename_local_out, header, nodes, lon_local, lat_local, sizes, alpha_interp, beta_interp) | ||
self.plot_alpha_beta_spectra(Theta, Freq, alpha_spec, beta_spec, alpha_interp, beta_interp, angled, nodes, 'local') | ||
|
||
filename_shadow_in = 'obstructions_shadow.waves_mesh_culled.in' |
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.
again, file can't be found. The file is placed in output directory ... suggest changing the file name to be 'output/obstructions_shadow.waves_mesh_culled.in'
This PR is a collaboration with @erinethomas that adds the workflow used to create coastal-refined wave mesh that conforms to the coastlines for a given ocean mesh. It includes several steps to:
This work depends on the MPAS-Tools PR: MPAS-Dev/MPAS-Tools#579
Checklist
api.rst
) has any new or modified class, method and/or functions listedTesting
in this PR) any testing that was used to verify the changes