NCAR / icar

The Intermediate Complexity Atmospheric Research model (ICAR)
MIT License
72 stars 53 forks source link

Bugfix: wind boundary #144

Closed scrasmussen closed 1 year ago

scrasmussen commented 1 year ago

TYPE: bug fix

KEYWORDS: wind field, boundary conditions

SOURCE: Soren Rasmussen, NCAR

DESCRIPTION OF CHANGES: Boundary conditions of the wind fields causes significant answer changes. The calculation of the the halo region bounds was slightly off for the wind fields.

ISSUE: The GitHub Issue that this PR addresses. For issue number 123, it would be Fixes #123

Checklist

scrasmussen commented 1 year ago

Ok, I think what happened was my “upstream base case” directory was accidentally overwritten with “wind_fix base case” so I thought it was working. Here are current results

Ran a test and the difference in upstream 1 image vs wind_fix 1 image is due to the corr_factor changes. The PR looks good to go, these runs were done with a single wind iteration, rather than the default 100. Will run tests again with 50 and 100 wind iterations to see the results

gutmann commented 1 year ago

download-50 change map = (old-new) / old

Fractional change in precipitation over a ~6month period changes are <5%, mostly <1%, with the "biggest" changes being a decrease on top of mountains, and an increase in valleys (that is a good thing). Other changes seem randomly distributed.