Commit 8eb47b5fc8f1be0f970c98358497ca19ce886b89
1 parent
e85a57a3
Exists in
rhitier-dev
Set all mercury amda parameters
Showing
2 changed files
with
51 additions
and
8 deletions
Show diff stats
config.yml
... | ... | @@ -148,22 +148,64 @@ targets: |
148 | 148 | title: 'Mercury' |
149 | 149 | orbit: |
150 | 150 | models: |
151 | - - slug: 'mercury_orb_all' | |
151 | + - slug: 'mercury-orb-all' | |
152 | + parameters: | |
153 | + xy_hee: 'xyz_mercury_hee' | |
152 | 154 | semimajor: 0 |
153 | 155 | semiminor: 0 |
154 | 156 | models: |
155 | 157 | om: |
156 | - - slug: 'tao_mercury_sw' | |
158 | + - slug: 'tao-mercury-sw' | |
159 | + parameters: | |
160 | + dens: 'mercury_sw_n' | |
161 | + xy_v: 'mercury_sw_v' | |
162 | + temp: 'mercury_sw_t' | |
163 | + pdyn: 'mercury_sw_pdyn' | |
164 | + btan: 'mercury_sw_b' | |
165 | + brad: 'mercury_sw_bx' | |
166 | + atse: 'mercury_sw_da' | |
157 | 167 | art: |
158 | - - slug: 'tao_mercury_swrt' | |
168 | + - slug: 'tao-mercury-swrt' | |
169 | + parameters: | |
170 | + dens: 'mercury_swrt_n' | |
171 | + xy_v: 'mercury_swrt_v' | |
172 | + temp: 'mercury_swrt_t' | |
173 | + pdyn: 'mercury_swrt_pdyn' | |
174 | + btan: 'mercury_swrt_b' | |
175 | + brad: 'mercury_swrt_bx' | |
176 | + atse: 'mercury_swrt_da' | |
159 | 177 | dsc: |
160 | - - slug: 'tao_mercury_dsc' | |
178 | + - slug: 'tao-mercury-dsc' | |
179 | + parameters: | |
180 | + dens: 'mercury_dsc_n' | |
181 | + xy_v: 'mercury_dsc_v' | |
182 | + temp: 'mercury_dsc_t' | |
183 | + pdyn: 'mercury_dsc_pdyn' | |
184 | + btan: 'mercury_dsc_b' | |
185 | + brad: 'mercury_dsc_bx' | |
186 | + atse: 'mercury_dsc_da' | |
161 | 187 | solo: |
162 | - - slug: 'tao_mercury_solo' | |
188 | + - slug: 'tao-mercury-solo' | |
163 | 189 | sa: |
164 | - - slug: 'tao_mercury_sta' | |
190 | + - slug: 'tao-mercury-sta' | |
191 | + parameters: | |
192 | + dens: 'mercury_sta_n' | |
193 | + xy_v: 'mercury_sta_v' | |
194 | + temp: 'mercury_sta_t' | |
195 | + pdyn: 'mercury_sta_pdyn' | |
196 | + btan: 'mercury_sta_b' | |
197 | + brad: 'mercury_sta_bx' | |
198 | + atse: 'mercury_sta_da' | |
165 | 199 | sb: |
166 | - - slug: 'tao_mercury_stb' | |
200 | + - slug: 'tao-mercury-stb' | |
201 | + parameters: | |
202 | + dens: 'mercury_stb_n' | |
203 | + xy_v: 'mercury_stb_v' | |
204 | + temp: 'mercury_stb_t' | |
205 | + pdyn: 'mercury_stb_pdyn' | |
206 | + btan: 'mercury_stb_b' | |
207 | + brad: 'mercury_stb_bx' | |
208 | + atse: 'mercury_stb_da' | |
167 | 209 | locked: false |
168 | 210 | default: false |
169 | 211 | - type: 'planet' | ... | ... |
web/run.py
... | ... | @@ -945,7 +945,8 @@ def generate_csv_file_if_needed(target_slug, input_slug, |
945 | 945 | generate = False |
946 | 946 | break |
947 | 947 | |
948 | - if target_slug == 'mars': | |
948 | + # temporary switch while migrating each target to spz | |
949 | + if target_slug in ['mercury', 'mars']: | |
949 | 950 | csv_generator = generate_csv_contents_spz |
950 | 951 | else: |
951 | 952 | csv_generator = generate_csv_contents | ... | ... |