webhook for model data
netCDF file with COSMO1 model will arrive every 3 hrs
there will a dedicated webhook i.e. /api/webhooks/model_map/
the webhook will trigger an asynchronous task that will extract JPEG images suitable for the PAGE_MODEL_MAPS in tinia-website:
- 48 images for 48 h, 1 image / hour = "INSTANT" = 1 h
- additionally for aggregated data:
- 6 h x 43
- 12 h x 37
- 24 h x 25
TOTAL = 153 images
as in this scheme:
INSTANT | 6h | 12h | 24h |
---|---|---|---|
1 | |||
2 | |||
3 | |||
4 | |||
5 | |||
6 | 1 | ||
7 | 2 | ||
8 | 3 | ||
9 | 4 | ||
10 | 5 | ||
11 | 6 | ||
12 | 7 | 1 | |
13 | 8 | 2 | |
14 | 9 | 3 | |
15 | 10 | 4 | |
16 | 11 | 5 | |
17 | 12 | 6 | |
18 | 13 | 7 | |
19 | 14 | 8 | |
20 | 15 | 9 | |
21 | 16 | 10 | |
22 | 17 | 11 | |
23 | 18 | 12 | |
24 | 19 | 13 | 1 |
25 | 20 | 14 | 2 |
26 | 21 | 15 | 3 |
27 | 22 | 16 | 4 |
28 | 23 | 17 | 5 |
29 | 24 | 18 | 6 |
30 | 25 | 19 | 7 |
31 | 26 | 20 | 8 |
32 | 27 | 21 | 9 |
33 | 28 | 22 | 10 |
34 | 29 | 23 | 11 |
35 | 30 | 24 | 12 |
36 | 31 | 25 | 13 |
37 | 32 | 26 | 14 |
38 | 33 | 27 | 15 |
39 | 34 | 28 | 16 |
40 | 35 | 29 | 17 |
41 | 36 | 30 | 18 |
42 | 37 | 31 | 19 |
43 | 38 | 32 | 20 |
44 | 39 | 33 | 21 |
45 | 40 | 34 | 22 |
46 | 41 | 35 | 23 |
47 | 42 | 36 | 24 |
48 | 43 | 37 | 25 |
we can name the images according to the time layouts
Edited by simevo