Commit b52b494b0ca7922cda332ace51bb970fc3d5eadc
1 parent
9f57dceb
Exists in
master
and in
2 other branches
Add even more logs.
Showing
3 changed files
with
16 additions
and
7 deletions
Show diff stats
CHANGELOG.md
... | ... | @@ -28,12 +28,16 @@ et prendre aussi |
28 | 28 | |
29 | 29 | ## Future ? |
30 | 30 | |
31 | -- [ ] Layer : Auroral Emissions | |
32 | 31 | - [ ] Set the log level to _error_ in production (see `web/run.py`) |
33 | -- [ ] Add a README to the download tarball (no tarball anymore) | |
34 | -- [ ] Rework the icons of Rosetta and Juno | |
32 | +- [ ] Rework the images of Rosetta and Juno | |
35 | 33 | - [ ] Optimize data aggregation (numpy vectorization?) |
36 | 34 | - [ ] IE compat, if you can (I can't) |
35 | +- [ ] Add a README to the download tarball (no tarball anymore) | |
36 | +- [ ] Bump D3JS to v5 | |
37 | +- [ ] Enable p67 | |
38 | +- [ ] Layer : Auroral Emissions | |
39 | +- [ ] Layer : Inputs (disabled) | |
40 | +- [ ] Solve the ticks' month issue | |
37 | 41 | |
38 | 42 | |
39 | 43 | ## 1.6 | ... | ... |
config.yml
... | ... | @@ -69,7 +69,6 @@ layers: |
69 | 69 | file: "ICME_WP4_V10.json" |
70 | 70 | start: "ICME_START_TIME" |
71 | 71 | stop: "MO_END_TIME" |
72 | - format: "%Y-%m-%dT%H:%MZ" | |
73 | 72 | l1: |
74 | 73 | venus: |
75 | 74 | constraints: [ { SC_INSITU: ["VEX"] } ] |
... | ... | @@ -79,7 +78,6 @@ layers: |
79 | 78 | url: "https://www.helcats-fp7.eu/catalogues/data/HCME_WP4_V6.json" |
80 | 79 | file: "HCME_WP4_V6.json" |
81 | 80 | start: "TARGET_ARRIVAL" |
82 | - format: "%Y-%m-%dT%H:%MZ" | |
83 | 81 | l1: |
84 | 82 | mars: |
85 | 83 | constraints: [ { TARGET_NAME: ["MARS", "MAVEN", "MSC"] } ] |
... | ... | @@ -87,7 +85,6 @@ layers: |
87 | 85 | url: "https://cdaw.gsfc.nasa.gov/CME_list/UNIVERSAL/text_ver/univ_all.txt" |
88 | 86 | file: "univ_all.json" |
89 | 87 | start: "DATETIME" |
90 | - format: "%Y-%m-%dT%H:%M:%S" | |
91 | 88 | l1: |
92 | 89 | earth: ~ |
93 | 90 | |
... | ... | @@ -140,8 +137,10 @@ targets: |
140 | 137 | - slug: 'tao_mercury_swrt' |
141 | 138 | sa: |
142 | 139 | - slug: 'tao_mercury_sw' |
140 | +# - slug: 'tao_mercury_swrt' | |
143 | 141 | sb: |
144 | 142 | - slug: 'tao_mercury_sw' |
143 | +# - slug: 'tao_mercury_swrt' | |
145 | 144 | locked: false |
146 | 145 | default: true |
147 | 146 | - type: 'planet' |
... | ... | @@ -159,8 +158,10 @@ targets: |
159 | 158 | - slug: 'tao_venus_swrt' |
160 | 159 | sa: |
161 | 160 | - slug: 'tao_venus_sw' |
161 | +# - slug: 'tao_venus_swrt' | |
162 | 162 | sb: |
163 | 163 | - slug: 'tao_venus_sw' |
164 | +# - slug: 'tao_venus_swrt' | |
164 | 165 | locked: false |
165 | 166 | default: true |
166 | 167 | - type: 'planet' |
... | ... | @@ -256,10 +257,13 @@ targets: |
256 | 257 | models: |
257 | 258 | l1: |
258 | 259 | - slug: 'tao_sat_sw' |
260 | +# - slug: 'tao_sat_swrt' | |
259 | 261 | sa: |
260 | 262 | - slug: 'tao_sat_sw' |
263 | +# - slug: 'tao_sat_swrt' | |
261 | 264 | sb: |
262 | 265 | - slug: 'tao_sat_sw' |
266 | +# - slug: 'tao_sat_swrt' | |
263 | 267 | locked: false |
264 | 268 | default: true |
265 | 269 | - type: 'planet' | ... | ... |
web/run.py
... | ... | @@ -242,7 +242,7 @@ tpl_global_vars = { |
242 | 242 | # HELPERS ##################################################################### |
243 | 243 | |
244 | 244 | def abort(code, message): |
245 | - log.error(message) | |
245 | + log.error("Abort: " + message) | |
246 | 246 | abort_flask(code, message) |
247 | 247 | |
248 | 248 | |
... | ... | @@ -468,6 +468,7 @@ def retrieve_amda_netcdf(orbiter, what, started_at, stopped_at): |
468 | 468 | finally: |
469 | 469 | retries += 1 |
470 | 470 | if not remote_gzip_files: |
471 | + log.error("Failed to retrieve data from AMDA.") | |
471 | 472 | log.error("Failed to fetch gzip files list for %s at '%s' : %s" % |
472 | 473 | (orbiter, url, errors)) |
473 | 474 | abort(400, "Failed to fetch gzip files list for %s at '%s' : %s" % | ... | ... |