Commit 6449256
Fix D3D data fetching: unify localhost and remote parameter handling (#1024)
* Fix D3D data fetching: unify localhost and remote parameter handling
This commit fixes inconsistencies between localhost and remote execution
paths for D3D experimental data fetching that caused remote users to lose
access to configuration options available to localhost users.
Issues fixed:
1. Remote path hardcoded EFIT02/ZIPFIT01, ignoring user parameters
- Now respects EFIT_tree, PROFILES_tree parameters
- Now respects CER_analysis_type parameter
- Now respects EFIT_run_id and PROFILES_run_id parameters
2. Dead code reference to omas_data_fetch.py
- File was removed in commit 2351652 but still referenced in upsync
- Removed from upsync command to prevent rsync failures
3. Undocumented module version difference
- Added comment explaining omfit vs omfit/unstable usage
Implementation:
- Created unified omas_command template with OUTPUT_FILE placeholder
- Both localhost and remote paths now use identical OMAS command construction
- Ensures DRY principle and prevents future divergence
Related PRs: #929 (localhost enhancements that weren't propagated to remote)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* Unify omfit module
---------
Co-authored-by: Claude <[email protected]>1 parent 208e5fa commit 6449256
1 file changed
+16
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
81 | 91 | | |
82 | 92 | | |
83 | 93 | | |
| |||
88 | 98 | | |
89 | 99 | | |
90 | 100 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 101 | + | |
| 102 | + | |
99 | 103 | | |
100 | 104 | | |
101 | 105 | | |
| |||
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
125 | | - | |
| 129 | + | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
| |||
134 | 138 | | |
135 | 139 | | |
136 | 140 | | |
137 | | - | |
| 141 | + | |
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
| |||
149 | 153 | | |
150 | 154 | | |
151 | 155 | | |
152 | | - | |
| 156 | + | |
153 | 157 | | |
154 | 158 | | |
155 | 159 | | |
156 | 160 | | |
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
160 | | - | |
| 164 | + | |
161 | 165 | | |
162 | 166 | | |
163 | 167 | | |
| |||
0 commit comments