Commit bd01a8d
Fix pickup_to_init big-endian I/O and NaN/Inf handling
- Read pickup as big-endian (>f8) matching MITgcm's useSingleCPUIO output
- Write init files as big-endian (>f4) matching readBinaryPrec=32
- Replace NaN/Inf with zero after float64→float32 cast to prevent
INI_THETA crash from overflow at land points
- Add --start=N flag to repeat_year_chain.sh for resuming from a given run
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 0fac7b6 commit bd01a8d
2 files changed
Lines changed: 12 additions & 7 deletions
File tree
- simulations/glorysv12-curvilinear/workflows
- spectre_utils
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
41 | | - | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
| |||
0 commit comments