-
Notifications
You must be signed in to change notification settings - Fork 338
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
Update ISOMIP+ test case visualization and instructions #275
Update ISOMIP+ test case visualization and instructions #275
Conversation
TestingI have tested the new viz on a 2-year Ocean0 run on both my laptop and Grizzly. I have worked through the instructions myself but will wait until @cbegeman had also done so before merging, in case there are errors or sources of confusion. |
Also add pixel decoding for Mac compatibility
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.
Since this is all visualization of ISOMIP+, I'll let you and @cbegeman test it to your satisfaction. Let me know when it is ready, and I'll find a time to merge it in that fits with E3SM PRs.
@xylar how do you render markdown files? I tried to use a few chrome extensions and didn't get them to work. |
Thanks @mark-petersen. My instructions are a bit of a work in progress because of #274. I think the viz is ready to merge (though it could get some future updates, of course). I view Markdown files on GitHub itself: I also edit them on GitHub. |
Great! The instructions are very nice. There are a few extra back-quote characters (`) on that page you just linked to. |
Thanks, fixed. |
@xylar I'll merge this later this week, as E3SM repo will likely be open next week. You said it's "ready to merge". Did you mean to take off the "Don't merge" tag? |
As I said, my instructions are waiting on #274 to be merged. Right now, they refer to a fix that doesn't work and would not be needed with that merge. So this is not ready to merge until that update happens, unless I make a separate PR for the instructions. |
Thanks @xylar . I have this one and a few python LIGHT scripts. My plan is to have one E3SM PR for that bunch, followed by the one E3SM PR with just the BGC version update (in case of problems). Could you change these instructions as if the BGC version update is already committed? I'll merge one immediately after the other, but that ordering is easier for me. |
@mark-petersen, I have done so. |
This merge updates the ISOMIP+ viz to make it a python 3 package. It also adds detailed instructions for how to setup and run the test case on LANL IC. I added ffmpeg as a new package to be included in the COMPASS conda environment. ISOMIP+ viz uses this to make movies.
Update mpas-source, COMPASS testing only This PR does not change any E3SM model code. Only changes python scripts for internal ocean testing: * Add new ISOMIP+ viz package and test case improvements (MPAS-Dev/MPAS-Model#275) * LIGHT test case IC/analysis improvements (MPAS-Dev/MPAS-Model#260) [BFB]
Update mpas-source, COMPASS testing only This PR does not change any E3SM model code. Only changes python scripts for internal ocean testing: * Add new ISOMIP+ viz package and test case improvements (MPAS-Dev/MPAS-Model#275) * LIGHT test case IC/analysis improvements (MPAS-Dev/MPAS-Model#260) [BFB]
…/develop This merge adds time-varying land-ice forcing via the following fields: landIceDraft landIcePressure landIceFraction A test case isomip_plus/2km/time_varying_Ocean0 is added as a (relatively trivial) test of this forcing. In this test case, landIcePressure and landIceDraft are initially 10% of their "correct" values and increase linearly over 1 year to their full values, then remain constant for an additional year. However, the test case crashes sometime during the second year because layers become too thin and/or tilted, or velocities become too large. This is an intentional feature of the test case, showing why further work is needed to handle coupled ice dynamics. Modifications are made to the ISOMIP+ viz (#275) to correctly handle repeated running of the viz while the simulation is in progress. A few other tweaks (e.g. the format of dates in the figure titles) are also included. Modifications were made to how sea-level is maintained in ISOMIP+ test cases despite freshwater fluxes and changes in land-ice pressure. A fictitious evaporation was already used at the northern boundary, but this has been modified to adjust to sea-level itself rather than melt fluxes to accommodate changing land-ice pressure. Finally, a division-by-zero error in timeSeriesStatsGlobal was fixed. If melt fluxes are turned on but there are no locations where the melt mask nonzero (which happened in my testing), global stats was trying to compute mean fluxes and other stats with zero area in the denominator. This has been fixed.
…/develop This merge updates the ISOMIP+ viz to make it a python 3 package. It also adds detailed instructions for how to setup and run the test case on LANL IC. I added ffmpeg as a new package to be included in the COMPASS conda environment. ISOMIP+ viz uses this to make movies.
…to ocean/develop This merge adds time-varying land-ice forcing via the following fields: landIceDraft landIcePressure landIceFraction A test case isomip_plus/2km/time_varying_Ocean0 is added as a (relatively trivial) test of this forcing. In this test case, landIcePressure and landIceDraft are initially 10% of their "correct" values and increase linearly over 1 year to their full values, then remain constant for an additional year. However, the test case crashes sometime during the second year because layers become too thin and/or tilted, or velocities become too large. This is an intentional feature of the test case, showing why further work is needed to handle coupled ice dynamics. Modifications are made to the ISOMIP+ viz (MPAS-Dev#275) to correctly handle repeated running of the viz while the simulation is in progress. A few other tweaks (e.g. the format of dates in the figure titles) are also included. Modifications were made to how sea-level is maintained in ISOMIP+ test cases despite freshwater fluxes and changes in land-ice pressure. A fictitious evaporation was already used at the northern boundary, but this has been modified to adjust to sea-level itself rather than melt fluxes to accommodate changing land-ice pressure. Finally, a division-by-zero error in timeSeriesStatsGlobal was fixed. If melt fluxes are turned on but there are no locations where the melt mask nonzero (which happened in my testing), global stats was trying to compute mean fluxes and other stats with zero area in the denominator. This has been fixed.
…to ocean/develop This merge adds time-varying land-ice forcing via the following fields: landIceDraft landIcePressure landIceFraction A test case isomip_plus/2km/time_varying_Ocean0 is added as a (relatively trivial) test of this forcing. In this test case, landIcePressure and landIceDraft are initially 10% of their "correct" values and increase linearly over 1 year to their full values, then remain constant for an additional year. However, the test case crashes sometime during the second year because layers become too thin and/or tilted, or velocities become too large. This is an intentional feature of the test case, showing why further work is needed to handle coupled ice dynamics. Modifications are made to the ISOMIP+ viz (MPAS-Dev#275) to correctly handle repeated running of the viz while the simulation is in progress. A few other tweaks (e.g. the format of dates in the figure titles) are also included. Modifications were made to how sea-level is maintained in ISOMIP+ test cases despite freshwater fluxes and changes in land-ice pressure. A fictitious evaporation was already used at the northern boundary, but this has been modified to adjust to sea-level itself rather than melt fluxes to accommodate changing land-ice pressure. Finally, a division-by-zero error in timeSeriesStatsGlobal was fixed. If melt fluxes are turned on but there are no locations where the melt mask nonzero (which happened in my testing), global stats was trying to compute mean fluxes and other stats with zero area in the denominator. This has been fixed.
…/develop This merge updates the ISOMIP+ viz to make it a python 3 package. It also adds detailed instructions for how to setup and run the test case on LANL IC. I added ffmpeg as a new package to be included in the COMPASS conda environment. ISOMIP+ viz uses this to make movies.
…to ocean/develop This merge adds time-varying land-ice forcing via the following fields: landIceDraft landIcePressure landIceFraction A test case isomip_plus/2km/time_varying_Ocean0 is added as a (relatively trivial) test of this forcing. In this test case, landIcePressure and landIceDraft are initially 10% of their "correct" values and increase linearly over 1 year to their full values, then remain constant for an additional year. However, the test case crashes sometime during the second year because layers become too thin and/or tilted, or velocities become too large. This is an intentional feature of the test case, showing why further work is needed to handle coupled ice dynamics. Modifications are made to the ISOMIP+ viz (MPAS-Dev#275) to correctly handle repeated running of the viz while the simulation is in progress. A few other tweaks (e.g. the format of dates in the figure titles) are also included. Modifications were made to how sea-level is maintained in ISOMIP+ test cases despite freshwater fluxes and changes in land-ice pressure. A fictitious evaporation was already used at the northern boundary, but this has been modified to adjust to sea-level itself rather than melt fluxes to accommodate changing land-ice pressure. Finally, a division-by-zero error in timeSeriesStatsGlobal was fixed. If melt fluxes are turned on but there are no locations where the melt mask nonzero (which happened in my testing), global stats was trying to compute mean fluxes and other stats with zero area in the denominator. This has been fixed.
This merge updates the ISOMIP+ viz to make it a python 3 package. It also adds detailed instructions for how to setup and run the test case on LANL IC.
I added ffmpeg as a new package to be included in the COMPASS conda environment. ISOMIP+ viz uses this to make movies.