Repository navigation
Update to jigsawpy - #301
Conversation
This merge: * explicitly adds versions for mpas_tools, geometric_features and jigsaw * clarifies replacing FULL_PATH_TO_MPAS_MODEL_REPO in 6 places (not just 1) * makes a link to README_ocean.md in the ocean subdirectory
This is the first draft at switching from the Matlab to the python 3 interface to jigsaw.
jigsawpy.lib.jigsaw -> jigsawpy.cmd.jigsaw
- Needed for inject_meshDensity - Also, add a print statement for the JIGSAW step and update subsequent step numbers
|
There's one thing I'd like other people's opinion on: Do we still want to save the It could be cleaner to pass the |
|
This isn't BFB with the meshes I had made previously. I guess I shouldn't expect them to be given that I'm now using the @xylar's conda package instead of my own conda installation and complied versions of jigsaw/mpas_tools executables. Having a standard conda package from here on out should fix this issue. |
It's okay to write these out to a file. But I really think a
I wouldn't count on this if the version of |
- Replaces .mat file
- Replaces .mat file
|
@xylar, writing it to netCDF is a good idea. I went ahead and did that in the commits above. |
| @@ -1,10 +1,10 @@ | |||
| <?xml version="1.0"?> | |||
| <config case="base_mesh"> | |||
| <get_file dest_path="work_case_dir" file_name="topo.msh"> | |||
There was a problem hiding this comment.
@xylar, I don't think topo.msh is actually being used in the workflow right now. It might be a good idea to keep it around for visualization purposes. Was that the intention?
There was a problem hiding this comment.
i couldn't tell why this was part of so many test cases...
mark-petersen
left a comment
There was a problem hiding this comment.
@sbrus89 and @xylar thanks for your work on this.
After the above bug fix, I ran the nightly test suite successfully on IC, which includes the base mesh generation with jigsaw. Everything passes, but results on global meshes are not bfb with previous due to mesh alterations, as expected. Also tested EC60to30 base mesh creation, and that works.
@xylar, this is a convenient time to merge in for an E3SM PR. Can you approve? If small details remain, I'd rather correct them on a later PR.
xylar
left a comment
There was a problem hiding this comment.
I don't have time to review this in detail. I'm on the London Tube home
|
@mark-petersen, let me know if you want me to squash this down before you merge. |
|
I removed those wget lines for topo.msh. It is not needed, and I don't want our COMPASS process to download a file every time we run an init case. |
|
Merged locally, tested nightly regression suite once more, and EC60to30. All looks fine. Thanks @dengwirda, @xylar, and @sbrus89! |
Replaces the jigsaw-geo-matlab library in the mesh generation workflow with jigsawpy which is now a part of a new conda package. This conda environment can be activated on IC with the commands: source /usr/projects/climate/SHARED_CLIMATE/anaconda_envs/base/etc/profile.d/conda.sh conda activate compass_jigsawpy_py3.7 This PR is mostly @xylar's work. I just made a few tweaks to get it working.
Replaces the jigsaw-geo-matlab library in the mesh generation workflow with jigsawpy which is now a part of a new conda package. This conda environment can be activated on IC with the commands: source /usr/projects/climate/SHARED_CLIMATE/anaconda_envs/base/etc/profile.d/conda.sh conda activate compass_jigsawpy_py3.7 This PR is mostly @xylar's work. I just made a few tweaks to get it working.
Replaces the jigsaw-geo-matlab library in the mesh generation workflow with jigsawpy which is now a part of a new conda package. This conda environment can be activated on IC with the commands: source /usr/projects/climate/SHARED_CLIMATE/anaconda_envs/base/etc/profile.d/conda.sh conda activate compass_jigsawpy_py3.7 This PR is mostly @xylar's work. I just made a few tweaks to get it working.
…-Dev#301) * update mpas init temperature extrapolation options * fix bugs and enhance code for init extrapolation updates * remove empty line * Update README.md --------- Co-authored-by: Jili Dong <[email protected]> Co-authored-by: Dustin Swales <[email protected]>
Replaces the jigsaw-geo-matlab library in the mesh generation workflow with jigsawpy which is now a part of a new conda package. This conda environment can be activated on IC with the commands:
This PR is mostly @xylar's work. I just made a few tweaks to get it working.