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,12 +28,16 @@ et prendre aussi | ||
28 | 28 | ||
29 | ## Future ? | 29 | ## Future ? |
30 | 30 | ||
31 | -- [ ] Layer : Auroral Emissions | ||
32 | - [ ] Set the log level to _error_ in production (see `web/run.py`) | 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 | - [ ] Optimize data aggregation (numpy vectorization?) | 33 | - [ ] Optimize data aggregation (numpy vectorization?) |
36 | - [ ] IE compat, if you can (I can't) | 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 | ## 1.6 | 43 | ## 1.6 |
config.yml
@@ -69,7 +69,6 @@ layers: | @@ -69,7 +69,6 @@ layers: | ||
69 | file: "ICME_WP4_V10.json" | 69 | file: "ICME_WP4_V10.json" |
70 | start: "ICME_START_TIME" | 70 | start: "ICME_START_TIME" |
71 | stop: "MO_END_TIME" | 71 | stop: "MO_END_TIME" |
72 | - format: "%Y-%m-%dT%H:%MZ" | ||
73 | l1: | 72 | l1: |
74 | venus: | 73 | venus: |
75 | constraints: [ { SC_INSITU: ["VEX"] } ] | 74 | constraints: [ { SC_INSITU: ["VEX"] } ] |
@@ -79,7 +78,6 @@ layers: | @@ -79,7 +78,6 @@ layers: | ||
79 | url: "https://www.helcats-fp7.eu/catalogues/data/HCME_WP4_V6.json" | 78 | url: "https://www.helcats-fp7.eu/catalogues/data/HCME_WP4_V6.json" |
80 | file: "HCME_WP4_V6.json" | 79 | file: "HCME_WP4_V6.json" |
81 | start: "TARGET_ARRIVAL" | 80 | start: "TARGET_ARRIVAL" |
82 | - format: "%Y-%m-%dT%H:%MZ" | ||
83 | l1: | 81 | l1: |
84 | mars: | 82 | mars: |
85 | constraints: [ { TARGET_NAME: ["MARS", "MAVEN", "MSC"] } ] | 83 | constraints: [ { TARGET_NAME: ["MARS", "MAVEN", "MSC"] } ] |
@@ -87,7 +85,6 @@ layers: | @@ -87,7 +85,6 @@ layers: | ||
87 | url: "https://cdaw.gsfc.nasa.gov/CME_list/UNIVERSAL/text_ver/univ_all.txt" | 85 | url: "https://cdaw.gsfc.nasa.gov/CME_list/UNIVERSAL/text_ver/univ_all.txt" |
88 | file: "univ_all.json" | 86 | file: "univ_all.json" |
89 | start: "DATETIME" | 87 | start: "DATETIME" |
90 | - format: "%Y-%m-%dT%H:%M:%S" | ||
91 | l1: | 88 | l1: |
92 | earth: ~ | 89 | earth: ~ |
93 | 90 | ||
@@ -140,8 +137,10 @@ targets: | @@ -140,8 +137,10 @@ targets: | ||
140 | - slug: 'tao_mercury_swrt' | 137 | - slug: 'tao_mercury_swrt' |
141 | sa: | 138 | sa: |
142 | - slug: 'tao_mercury_sw' | 139 | - slug: 'tao_mercury_sw' |
140 | +# - slug: 'tao_mercury_swrt' | ||
143 | sb: | 141 | sb: |
144 | - slug: 'tao_mercury_sw' | 142 | - slug: 'tao_mercury_sw' |
143 | +# - slug: 'tao_mercury_swrt' | ||
145 | locked: false | 144 | locked: false |
146 | default: true | 145 | default: true |
147 | - type: 'planet' | 146 | - type: 'planet' |
@@ -159,8 +158,10 @@ targets: | @@ -159,8 +158,10 @@ targets: | ||
159 | - slug: 'tao_venus_swrt' | 158 | - slug: 'tao_venus_swrt' |
160 | sa: | 159 | sa: |
161 | - slug: 'tao_venus_sw' | 160 | - slug: 'tao_venus_sw' |
161 | +# - slug: 'tao_venus_swrt' | ||
162 | sb: | 162 | sb: |
163 | - slug: 'tao_venus_sw' | 163 | - slug: 'tao_venus_sw' |
164 | +# - slug: 'tao_venus_swrt' | ||
164 | locked: false | 165 | locked: false |
165 | default: true | 166 | default: true |
166 | - type: 'planet' | 167 | - type: 'planet' |
@@ -256,10 +257,13 @@ targets: | @@ -256,10 +257,13 @@ targets: | ||
256 | models: | 257 | models: |
257 | l1: | 258 | l1: |
258 | - slug: 'tao_sat_sw' | 259 | - slug: 'tao_sat_sw' |
260 | +# - slug: 'tao_sat_swrt' | ||
259 | sa: | 261 | sa: |
260 | - slug: 'tao_sat_sw' | 262 | - slug: 'tao_sat_sw' |
263 | +# - slug: 'tao_sat_swrt' | ||
261 | sb: | 264 | sb: |
262 | - slug: 'tao_sat_sw' | 265 | - slug: 'tao_sat_sw' |
266 | +# - slug: 'tao_sat_swrt' | ||
263 | locked: false | 267 | locked: false |
264 | default: true | 268 | default: true |
265 | - type: 'planet' | 269 | - type: 'planet' |
web/run.py
@@ -242,7 +242,7 @@ tpl_global_vars = { | @@ -242,7 +242,7 @@ tpl_global_vars = { | ||
242 | # HELPERS ##################################################################### | 242 | # HELPERS ##################################################################### |
243 | 243 | ||
244 | def abort(code, message): | 244 | def abort(code, message): |
245 | - log.error(message) | 245 | + log.error("Abort: " + message) |
246 | abort_flask(code, message) | 246 | abort_flask(code, message) |
247 | 247 | ||
248 | 248 | ||
@@ -468,6 +468,7 @@ def retrieve_amda_netcdf(orbiter, what, started_at, stopped_at): | @@ -468,6 +468,7 @@ def retrieve_amda_netcdf(orbiter, what, started_at, stopped_at): | ||
468 | finally: | 468 | finally: |
469 | retries += 1 | 469 | retries += 1 |
470 | if not remote_gzip_files: | 470 | if not remote_gzip_files: |
471 | + log.error("Failed to retrieve data from AMDA.") | ||
471 | log.error("Failed to fetch gzip files list for %s at '%s' : %s" % | 472 | log.error("Failed to fetch gzip files list for %s at '%s' : %s" % |
472 | (orbiter, url, errors)) | 473 | (orbiter, url, errors)) |
473 | abort(400, "Failed to fetch gzip files list for %s at '%s' : %s" % | 474 | abort(400, "Failed to fetch gzip files list for %s at '%s' : %s" % |