Skip to content

Minor bug fixes for make_bcs (init do_schmidt, fix dateline argument) - #1494

Open
weiyuan-jiang wants to merge 5 commits into
developfrom
hotfix/wjiang/bug_fixes
Open

Minor bug fixes for make_bcs (init do_schmidt, fix dateline argument)#1494
weiyuan-jiang wants to merge 5 commits into
developfrom
hotfix/wjiang/bug_fixes

Conversation

@weiyuan-jiang

@weiyuan-jiang weiyuan-jiang commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Fix bugs in make bcs, see details below. Dateline bug fix has no impact on bcs for GMAO use cases (lat/long atm grid has not been used in a long time, and only DC lat/long was used).

Trivially 0-diff for running the GCM and GEOSldas.

Zero-diff for make_bcs. Tested by @biljanaorescanin on 10 August 2026.

  1. Init do_schmidt variable.
  2. Fix dateline. In the python code, the dateline is never passed into mkCatchParam(). So it is theoretically possible that 'DC' is used when it should be 'DE':

if ( {SKIPLAND} != True ) bin/mkCatchParam.x -x {NX} -y {NY} -g DE{IMO}xPE{JMO}_DE{IMO}xPE{JMO}-Pfafstetter -v {lbcsv}

The -b argument for mkCatchParam() was documented here

@weiyuan-jiang weiyuan-jiang added the bug Something isn't working label Aug 7, 2026
@weiyuan-jiang
weiyuan-jiang requested a review from a team as a code owner August 7, 2026 18:32
@weiyuan-jiang weiyuan-jiang added the 0 diff The changes in this pull request have verified to be zero-diff with the target branch. label Aug 7, 2026
@weiyuan-jiang

Copy link
Copy Markdown
Contributor Author

This bug about dateline may only impacts the lat-lon TRIOL_OCEAN here

@gmao-rreichle gmao-rreichle added the 0 diff trivial The changes in this pull request are trivially zero-diff (documentation, build failure, &c.) label Aug 11, 2026
@gmao-rreichle gmao-rreichle changed the title Hotfix/wjiang/bug fixes Minor bug fixes for make_bcs (init do_schmidt, fix dateline argument) Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0 diff trivial The changes in this pull request are trivially zero-diff (documentation, build failure, &c.) 0 diff The changes in this pull request have verified to be zero-diff with the target branch. bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants