-
Notifications
You must be signed in to change notification settings - Fork 0
/
plotting_temperature.html
executable file
·85 lines (51 loc) · 8.41 KB
/
plotting_temperature.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bokeh Plot</title>
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-2.3.3.min.js" integrity="sha384-dM3QQsP+wXdHg42wTqW85BjZQdLNNIXqlPw/BgKoExPmTG7ZLML4EGqLMfqHT6ON" crossorigin="anonymous"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
</head>
<body>
<div class="bk-root" id="d391dc55-a26a-4ab4-bddf-ce1fa55af55f" data-root-id="1003"></div>
<script type="application/json" id="1264">
{"e028e208-ff19-4ae4-bc95-e01dc9c6201f":{"defs":[],"roots":{"references":[{"attributes":{"source":{"id":"1002"}},"id":"1038","type":"CDSView"},{"attributes":{"overlay":{"id":"1026"}},"id":"1022","type":"BoxZoomTool"},{"attributes":{},"id":"1052","type":"Selection"},{"attributes":{"text":"Temperature to prescribe to the heater (computed from HIRLAM forecasts)"},"id":"1039","type":"Title"},{"attributes":{},"id":"1020","type":"PanTool"},{"attributes":{"bottom_units":"screen","fill_alpha":0.5,"fill_color":"lightgrey","left_units":"screen","level":"overlay","line_alpha":1.0,"line_color":"black","line_dash":[4,4],"line_width":2,"right_units":"screen","syncable":false,"top_units":"screen"},"id":"1026","type":"BoxAnnotation"},{"attributes":{"axis_label":"Date","formatter":{"id":"1040"},"major_label_policy":{"id":"1046"},"ticker":{"id":"1013"}},"id":"1012","type":"DatetimeAxis"},{"attributes":{"axis":{"id":"1012"},"ticker":null},"id":"1015","type":"Grid"},{"attributes":{},"id":"1023","type":"SaveTool"},{"attributes":{"axis":{"id":"1016"},"dimension":1,"ticker":null},"id":"1019","type":"Grid"},{"attributes":{"mantissas":[1,2,5],"max_interval":500.0,"num_minor_ticks":0},"id":"1054","type":"AdaptiveTicker"},{"attributes":{},"id":"1017","type":"BasicTicker"},{"attributes":{"active_multi":null,"tools":[{"id":"1020"},{"id":"1021"},{"id":"1022"},{"id":"1023"},{"id":"1024"},{"id":"1025"},{"id":"1042"}]},"id":"1027","type":"Toolbar"},{"attributes":{"base":60,"mantissas":[1,2,5,10,15,20,30],"max_interval":1800000.0,"min_interval":1000.0,"num_minor_ticks":0},"id":"1055","type":"AdaptiveTicker"},{"attributes":{"num_minor_ticks":5,"tickers":[{"id":"1054"},{"id":"1055"},{"id":"1056"},{"id":"1057"},{"id":"1058"},{"id":"1059"},{"id":"1060"},{"id":"1061"},{"id":"1062"},{"id":"1063"},{"id":"1064"},{"id":"1065"}]},"id":"1013","type":"DatetimeTicker"},{"attributes":{},"id":"1065","type":"YearsTicker"},{"attributes":{"base":24,"mantissas":[1,2,4,6,8,12],"max_interval":43200000.0,"min_interval":3600000.0,"num_minor_ticks":0},"id":"1056","type":"AdaptiveTicker"},{"attributes":{"months":[0,1,2,3,4,5,6,7,8,9,10,11]},"id":"1061","type":"MonthsTicker"},{"attributes":{"days":[1,15]},"id":"1060","type":"DaysTicker"},{"attributes":{"days":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]},"id":"1057","type":"DaysTicker"},{"attributes":{"days":[1,4,7,10,13,16,19,22,25,28]},"id":"1058","type":"DaysTicker"},{"attributes":{"days":[1,8,15,22]},"id":"1059","type":"DaysTicker"},{"attributes":{},"id":"1021","type":"WheelZoomTool"},{"attributes":{"months":[0,6]},"id":"1064","type":"MonthsTicker"},{"attributes":{},"id":"1024","type":"ResetTool"},{"attributes":{},"id":"1046","type":"AllLabels"},{"attributes":{"months":[0,2,4,6,8,10]},"id":"1062","type":"MonthsTicker"},{"attributes":{},"id":"1025","type":"HelpTool"},{"attributes":{"axis_label":"Temperature in the tank (degrees)","formatter":{"id":"1050"},"major_label_policy":{"id":"1048"},"ticker":{"id":"1017"}},"id":"1016","type":"LinearAxis"},{"attributes":{"months":[0,4,8]},"id":"1063","type":"MonthsTicker"},{"attributes":{},"id":"1010","type":"LinearScale"},{"attributes":{"line_color":"darkblue","line_width":3,"x":{"field":"time"},"y":{"field":"temperature_heating"}},"id":"1035","type":"Line"},{"attributes":{"callback":null,"formatters":{"@time":"datetime"},"tooltips":[["Date","@time{%d %B %Y %H:%M:%S}"],["Temperature","@temperature_heating"]]},"id":"1042","type":"HoverTool"},{"attributes":{},"id":"1008","type":"LinearScale"},{"attributes":{},"id":"1048","type":"AllLabels"},{"attributes":{},"id":"1050","type":"BasicTickFormatter"},{"attributes":{},"id":"1006","type":"DataRange1d"},{"attributes":{"below":[{"id":"1012"}],"center":[{"id":"1015"},{"id":"1019"}],"height":400,"left":[{"id":"1016"}],"renderers":[{"id":"1037"}],"title":{"id":"1039"},"toolbar":{"id":"1027"},"width":800,"x_range":{"id":"1004"},"x_scale":{"id":"1008"},"y_range":{"id":"1006"},"y_scale":{"id":"1010"}},"id":"1003","subtype":"Figure","type":"Plot"},{"attributes":{"data_source":{"id":"1002"},"glyph":{"id":"1035"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1036"},"view":{"id":"1038"}},"id":"1037","type":"GlyphRenderer"},{"attributes":{"line_alpha":0.1,"line_color":"darkblue","line_width":3,"x":{"field":"time"},"y":{"field":"temperature_heating"}},"id":"1036","type":"Line"},{"attributes":{},"id":"1004","type":"DataRange1d"},{"attributes":{},"id":"1051","type":"UnionRenderers"},{"attributes":{"days":["%d %B %Y (%H h)"],"hours":["%d %B %Y (%H h)"],"months":["%d %B %Y (%H h)"],"years":["%d %B %Y (%H h)"]},"id":"1040","type":"DatetimeTickFormatter"},{"attributes":{"data":{"temperature_heating":{"__ndarray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CAABgPp0keEIAAEitoCR4QgAAMBykJHhCAAAYi6ckeEIAAAD6qiR4QgAA6GiuJHhCAADQ17EkeEIAALhGtSR4QgAAoLW4JHhCAACIJLwkeEIAAHCTvyR4QgAAWALDJHhCAABAccYkeEI=","dtype":"float64","order":"little","shape":[55]}},"selected":{"id":"1052"},"selection_policy":{"id":"1051"}},"id":"1002","type":"ColumnDataSource"}],"root_ids":["1003"]},"title":"Bokeh Application","version":"2.3.3"}}
</script>
<script type="text/javascript">
(function() {
var fn = function() {
Bokeh.safely(function() {
(function(root) {
function embed_document(root) {
var docs_json = document.getElementById('1264').textContent;
var render_items = [{"docid":"e028e208-ff19-4ae4-bc95-e01dc9c6201f","root_ids":["1003"],"roots":{"1003":"d391dc55-a26a-4ab4-bddf-ce1fa55af55f"}}];
root.Bokeh.embed.embed_items(docs_json, render_items);
}
if (root.Bokeh !== undefined) {
embed_document(root);
} else {
var attempts = 0;
var timer = setInterval(function(root) {
if (root.Bokeh !== undefined) {
clearInterval(timer);
embed_document(root);
} else {
attempts++;
if (attempts > 100) {
clearInterval(timer);
console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
}
}
}, 10, root)
}
})(window);
});
};
if (document.readyState != "loading") fn();
else document.addEventListener("DOMContentLoaded", fn);
})();
</script>
</body>
</html>