Commit 36c7a66
authored
Fix bad xgrid along zero longitude when LND grid not same as ATM (#379)
- Address issue #366
- When LND grid is not the same as ATM the xgrid is wrong along the Prime Meridian,
E.g., if ATM is c96 and LND is c48, the xgrid cell areas are small by almost a factor of 2 along longitude=0
and the land mask has a spurious line along longitude=0
- The root cause is the Ocean grid is shifted right by 360 degree assuming that the land and atmos grids are the same
which cause the atmXlnd exchange grid cells that are just to the left of the longitude=0 to be ignored.
- The fix is to (re)apply the fixlon to shift Ocean grid based on the atmxlnd_x[l][0] rather than the atm_avg.1 parent 5aae555 commit 36c7a66
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1662 | 1662 | | |
1663 | 1663 | | |
1664 | 1664 | | |
1665 | | - | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
1666 | 1674 | | |
1667 | 1675 | | |
1668 | 1676 | | |
| |||
0 commit comments