<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear MITgcm support,<div class=""><br class=""></div><div class=""><br class=""></div><div class="">I was going through the code and found that the diagnostics package only outputs the GM stream function when the user runs GM in advective form:</div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(200, 20, 201); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#ifdef GM_BOLUS_ADVEC</span></div><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(47, 255, 18); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #c1651c" class="">IF</span><span style="font-variant-ligatures: no-common-ligatures" class=""> ( </span><span style="font-variant-ligatures: no-common-ligatures; background-color: #e0e409" class="">GM_AdvForm</span><span style="font-variant-ligatures: no-common-ligatures" class=""> ) </span><span style="font-variant-ligatures: no-common-ligatures; color: #c1651c" class="">THEN</span></div><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(47, 255, 18); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #2eaebb" class="">CALL</span><span style="font-variant-ligatures: no-common-ligatures" class=""> DIAGNOSTICS_FILL(GM_PsiX,</span><span style="font-variant-ligatures: no-common-ligatures; color: #b42419" class="">'GM_PsiX '</span><span style="font-variant-ligatures: no-common-ligatures" class="">,</span><span style="font-variant-ligatures: no-common-ligatures; color: #b42419" class="">0</span><span style="font-variant-ligatures: no-common-ligatures" class="">,Nr,</span><span style="font-variant-ligatures: no-common-ligatures; color: #b42419" class="">1</span><span style="font-variant-ligatures: no-common-ligatures" class="">,bi,bj,myThid)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(47, 255, 18); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #2eaebb" class="">CALL</span><span style="font-variant-ligatures: no-common-ligatures" class=""> DIAGNOSTICS_FILL(GM_PsiY,</span><span style="font-variant-ligatures: no-common-ligatures; color: #b42419" class="">'GM_PsiY '</span><span style="font-variant-ligatures: no-common-ligatures" class="">,</span><span style="font-variant-ligatures: no-common-ligatures; color: #b42419" class="">0</span><span style="font-variant-ligatures: no-common-ligatures" class="">,Nr,</span><span style="font-variant-ligatures: no-common-ligatures; color: #b42419" class="">1</span><span style="font-variant-ligatures: no-common-ligatures" class="">,bi,bj,myThid)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Monaco; color: rgb(47, 255, 18); background-color: rgba(0, 0, 0, 0.901961);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #c1651c" class="">ENDIF</span></div>
<br class=""></div><div class="">Are there best practices to diagnose the GM stream function when I use the skew flux form for GM?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thank you,</div><div class="">Takaya Uchida</div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">———————</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">PhD Candidate</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Physical Oceanography</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Columbia University in the City of New York</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://roxyboy.github.io/" class="">https://roxyboy.github.io/</a></div></div></div>
</div>
<br class=""></body></html>