Commit e915e37
MNT: self-document pressure_ISA bounds and strengthen discretization test
Derive the pressure_ISA discretization bounds from the standard-atmosphere
layer table (geopotential_height[0]/[-1]) instead of hardcoding -2000/80000,
and document why the grid is split around sea level. Strengthen the
discretization test with physical-sanity assertions (strictly increasing
altitude, strictly decreasing pressure, sea level sampled). No change in
numeric output.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 04763df commit e915e37
2 files changed
Lines changed: 26 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2554 | 2554 | | |
2555 | 2555 | | |
2556 | 2556 | | |
2557 | | - | |
2558 | | - | |
2559 | | - | |
| 2557 | + | |
| 2558 | + | |
| 2559 | + | |
| 2560 | + | |
| 2561 | + | |
| 2562 | + | |
| 2563 | + | |
| 2564 | + | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
2560 | 2570 | | |
2561 | 2571 | | |
2562 | 2572 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
831 | 831 | | |
832 | 832 | | |
833 | 833 | | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
838 | 839 | | |
839 | 840 | | |
840 | 841 | | |
841 | 842 | | |
842 | 843 | | |
843 | 844 | | |
844 | 845 | | |
| 846 | + | |
845 | 847 | | |
846 | 848 | | |
847 | 849 | | |
848 | 850 | | |
849 | 851 | | |
850 | 852 | | |
851 | 853 | | |
| 854 | + | |
852 | 855 | | |
853 | 856 | | |
854 | | - | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
855 | 863 | | |
856 | 864 | | |
857 | 865 | | |
| |||
0 commit comments