##// END OF EJS Templates
Fixing plots
jespinoza -
r7:4e0b343b0c61
parent child
Show More

The requested changes are too big and content was truncated. Show full diff

@@ -1,68 +1,68
1 {% extends "base.html" %}
1 {% extends "base.html" %}
2
2
3 {% comment %}
3 {% comment %}
4 Written by Bill Rideout brideout@haystack.mit.edu
4 Written by Bill Rideout brideout@haystack.mit.edu
5
5
6 Base template for Madrigal show experiment web interface
6 Base template for Madrigal show experiment web interface
7
7
8 $Id: show_experiment.html 7310 2021-03-02 14:31:06Z brideout $
8 $Id: show_experiment.html 7310 2021-03-02 14:31:06Z brideout $
9 {% endcomment %}
9 {% endcomment %}
10
10
11 {% block title %}Show Madrigal experiment{% endblock %}
11 {% block title %}Show Madrigal experiment{% endblock %}
12
12
13 {% block extra_head %}
13 {% block extra_head %}
14 <script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
14 <script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
15 <script>
15 <script>
16
16
17 function changeFile (select) {
17 function changeFile (select) {
18 var basename = select.options[select.selectedIndex].value;
18 var basename = select.options[select.selectedIndex].value;
19 {% if form.exp_id %}
19 {% if form.exp_id %}
20 var url = '{% url 'change_files' %}' + '?experiment_list={{ form.exp_id.label }}&file_list=' + basename;
20 var url = '{% url 'change_files' %}' + '?experiment_list={{ form.exp_id.label }}&file_list=' + basename;
21 {% else %}
21 {% else %}
22 var exp_id = $("#id_experiment_list")[0].options[$("#id_experiment_list")[0].selectedIndex].value;
22 var exp_id = $("#id_experiment_list")[0].options[$("#id_experiment_list")[0].selectedIndex].value;
23 var url = '{% url 'change_files' %}' + '?experiment_list=' + exp_id + '&file_list=' + basename;
23 var url = '{% url 'change_files' %}' + '?experiment_list=' + exp_id + '&file_list=' + basename;
24 {% endif %}
24 {% endif %}
25 // first delete all forms that are now out of date
25 // first delete all forms that are now out of date
26 divIndex = $(".single_form").index($( "#file_buttons" ))
26 divIndex = $(".single_form").index($( "#file_buttons" ))
27 $(".single_form").slice(divIndex).empty()
27 $(".single_form").slice(divIndex).empty()
28 // second populate the file_list html if '0' not selected
28 // second populate the file_list html if '0' not selected
29 if (basename != '0') {
29 if (basename != '0') {
30 $(".single_form").slice(divIndex,divIndex+1).load(url);
30 $(".single_form").slice(divIndex,divIndex+1).load(url);
31 }
31 }
32 }
32 }
33
33
34 {% include "madweb/fileDownload.js" %}
34 {% include "madweb/fileDownload.js" %}
35
35
36 </script>
36 </script>
37 {% endblock %}
37 {% endblock %}
38
38
39 {% block content %}
39 {% block content %}
40 <center><h4> {{ form.exp_desc.label }} </h4></center>
40 <center><h4> {{ form.exp_desc.label }} </h4></center>
41
41
42 {% include "madweb/file_list.html" %}
42 {% include "madweb/file_list.html" %}
43
43
44 <!-- file select div -->
44 <!-- file select div -->
45 <div class="col-md-12 single_form" id="file_buttons">
45 <div class="col-md-12 single_form" id="file_buttons">
46 {% if form.file_buttons %}
46 {% if form.file_buttons %}
47 {% include "madweb/file_buttons.html" %}
47 {% include "madweb/file_buttons.html" %}
48 {% endif %}
48 {% endif %}
49 </div> <!-- end subdivide -->
49 </div> <!-- end subdivide -->
50 <div>&nbsp;</div>
50 <div>&nbsp;</div>
51
51
52 <!-- file select div -->
52 <!-- file select div -->
53 <div class="col-md-12 single_form" id="file_data">
53 <div class="col-md-12 single_form" id="file_data">
54 {% if form.show_plots %}
54 {% if form.show_plots %}
55 {% include "madweb/show_plots.html" %}
55 {% include "madweb/show_plots.html" %}
56 {% elif form.plot_list %}
56 {% elif form.plot_list %}
57 {% include "madweb/show_plots.html" %}
57 {% include "madweb/show_plots.html" %}
58 {% endif %}
58 {% endif %}
59 </div> <!-- end subdivide -->
59 </div> <!-- end subdivide -->
60
60
61 <!-- file select div -->
61 <!-- file select div -->
62 <div class="col-md-12 single_form" id="file_plot">
62 <div class="col-md-9 single_form" id="file_plot">
63 {% if form.show_plots %}
63 {% if form.show_plots %}
64 {% include "madweb/parameter_selection.html" %}
64 {% include "madweb/parameter_selection.html" %}
65 {% endif %}
65 {% endif %}
66 </div> <!-- end subdivide -->
66 </div> <!-- end subdivide -->
67
67
68 {% endblock %} No newline at end of file
68 {% endblock %}
@@ -1,268 +1,268
1 {% extends "base_single.html" %}
1 {% extends "base_single.html" %}
2
2
3 {% comment %}
3 {% comment %}
4 Written by Bill Rideout brideout@haystack.mit.edu
4 Written by Bill Rideout brideout@haystack.mit.edu
5
5
6 Final template for Madrigal single experiment web interface
6 Final template for Madrigal single experiment web interface
7
7
8 $Id: single.html 7290 2021-01-13 21:07:21Z brideout $
8 $Id: single.html 7290 2021-01-13 21:07:21Z brideout $
9 {% endcomment %}
9 {% endcomment %}
10
10
11
11
12 {% block ajax_js %}
12 {% block ajax_js %}
13 <script type="text/javascript">
13 <script type="text/javascript">
14
14
15
15
16 {% if years %}
16 {% if years %}
17 $( document ).ready(function() {
17 $( document ).ready(function() {
18 createCalendar();
18 createCalendar();
19 });
19 });
20 {% endif %}
20 {% endif %}
21
21
22 var redirectLookup = {
22 var redirectLookup = {
23 "0": function() { return ""; },
23 "0": function() { return ""; },
24 {% for redirect in redirect_list %}
24 {% for redirect in redirect_list %}
25 "{{ redirect.0 }}": function() { return "{{ redirect.1|safe }}"; },
25 "{{ redirect.0 }}": function() { return "{{ redirect.1|safe }}"; },
26 {% endfor %}
26 {% endfor %}
27 };
27 };
28
28
29 function populateCat (checkbox) {
29 function populateCat (checkbox) {
30 var is_global = 0;
30 var is_global = 0;
31 if (checkbox.checked) {
31 if (checkbox.checked) {
32 is_global = 1;
32 is_global = 1;
33 }
33 }
34 var url = '{% url 'get_categories' %}' + '?isGlobal=' + is_global;
34 var url = '{% url 'get_categories' %}' + '?isGlobal=' + is_global;
35 // first delete all forms that are now out of date
35 // first delete all forms that are now out of date
36 divIndex = $(".single_form").index($( "#categories" ))
36 divIndex = $(".single_form").index($( "#categories" ))
37 $(".single_form").slice(divIndex).empty()
37 $(".single_form").slice(divIndex).empty()
38 // second populate the categories html
38 // second populate the categories html
39 $(".single_form").slice(divIndex,divIndex+1).load(url);
39 $(".single_form").slice(divIndex,divIndex+1).load(url);
40 }
40 }
41
41
42 function populateInst (select) {
42 function populateInst (select) {
43 var is_global = 0;
43 var is_global = 0;
44 if ($("#id_isGlobal")[0].checked) {
44 if ($("#id_isGlobal")[0].checked) {
45 is_global = 1;
45 is_global = 1;
46 }
46 }
47 var category = select.options[select.selectedIndex].value;
47 var category = select.options[select.selectedIndex].value;
48 var url = '{% url 'get_instruments' %}' + '?isGlobal=' + is_global + '&categories=' + category;
48 var url = '{% url 'get_instruments' %}' + '?isGlobal=' + is_global + '&categories=' + category;
49 // first delete all forms that are now out of date
49 // first delete all forms that are now out of date
50 divIndex = $(".single_form").index($( "#instruments" ))
50 divIndex = $(".single_form").index($( "#instruments" ))
51 $(".single_form").slice(divIndex).empty()
51 $(".single_form").slice(divIndex).empty()
52 // second populate the instruments html if '0' not selected
52 // second populate the instruments html if '0' not selected
53 if (category != '0') {
53 if (category != '0') {
54 $(".single_form").slice(divIndex,divIndex+1).load(url);
54 $(".single_form").slice(divIndex,divIndex+1).load(url);
55 }
55 }
56 }
56 }
57
57
58 function populateYear (select) {
58 function populateYear (select) {
59 var is_global = 0;
59 var is_global = 0;
60 if ($("#id_isGlobal")[0].checked) {
60 if ($("#id_isGlobal")[0].checked) {
61 is_global = 1;
61 is_global = 1;
62 }
62 }
63 // this method may redirect if instrument is not local
63 // this method may redirect if instrument is not local
64 var kinst = select.options[select.selectedIndex].value;
64 var kinst = select.options[select.selectedIndex].value;
65 var redirectUrl = redirectLookup[kinst]();
65 var redirectUrl = redirectLookup[kinst]();
66 if (redirectUrl.length > 0) {
66 if (redirectUrl.length > 0) {
67 // redirect
67 // redirect
68 alert('Because this data is not local, you will be redirected to ' + redirectUrl);
68 alert('Because this data is not local, you will be redirected to ' + redirectUrl);
69 window.location.href = redirectUrl;
69 window.location.href = redirectUrl;
70 } else {
70 } else {
71 var url = '{% url 'get_years' %}' + '?isGlobal=' + is_global + '&instruments=' + kinst;
71 var url = '{% url 'get_years' %}' + '?isGlobal=' + is_global + '&instruments=' + kinst;
72 // first delete all forms that are now out of date
72 // first delete all forms that are now out of date
73 divIndex = $(".single_form").index($( "#years" ))
73 divIndex = $(".single_form").index($( "#years" ))
74 $(".single_form").slice(divIndex).empty()
74 $(".single_form").slice(divIndex).empty()
75 // second populate the years html if '0' not selected
75 // second populate the years html if '0' not selected
76 if (kinst != '0') {
76 if (kinst != '0') {
77 $(".single_form").slice(divIndex,divIndex+1).load(url);
77 $(".single_form").slice(divIndex,divIndex+1).load(url);
78 }
78 }
79 }
79 }
80 }
80 }
81
81
82 function populateMonth (select) {
82 function populateMonth (select) {
83 var year = select.options[select.selectedIndex].value;
83 var year = select.options[select.selectedIndex].value;
84 var kinst = $("#id_instruments")[0].options[$("#id_instruments")[0].selectedIndex].value;
84 var kinst = $("#id_instruments")[0].options[$("#id_instruments")[0].selectedIndex].value;
85 var is_global = 0;
85 var is_global = 0;
86 if ($("#id_isGlobal")[0].checked) {
86 if ($("#id_isGlobal")[0].checked) {
87 is_global = 1;
87 is_global = 1;
88 }
88 }
89
89
90 var url = '{% url 'get_months' %}' + '?isGlobal=' + is_global + '&instruments=' + kinst + '&years=' + year;
90 var url = '{% url 'get_months' %}' + '?isGlobal=' + is_global + '&instruments=' + kinst + '&years=' + year;
91 // first delete all forms that are now out of date
91 // first delete all forms that are now out of date
92 divIndex = $(".single_form").index($( "#months" ))
92 divIndex = $(".single_form").index($( "#months" ))
93 $(".single_form").slice(divIndex).empty()
93 $(".single_form").slice(divIndex).empty()
94 // second populate the years html if '0' not selected
94 // second populate the years html if '0' not selected
95 if (kinst != '0') {
95 if (kinst != '0') {
96 $(".single_form").slice(divIndex,divIndex+1).load(url);
96 $(".single_form").slice(divIndex,divIndex+1).load(url);
97 }
97 }
98 }
98 }
99
99
100 function populateCalendar (select) {
100 function populateCalendar (select) {
101 var year = $("#id_years")[0].options[$("#id_years")[0].selectedIndex].value;
101 var year = $("#id_years")[0].options[$("#id_years")[0].selectedIndex].value;
102 var month = select.options[select.selectedIndex].value;
102 var month = select.options[select.selectedIndex].value;
103 var kinst = $("#id_instruments")[0].options[$("#id_instruments")[0].selectedIndex].value;
103 var kinst = $("#id_instruments")[0].options[$("#id_instruments")[0].selectedIndex].value;
104 var is_global = 0;
104 var is_global = 0;
105 if ($("#id_isGlobal")[0].checked) {
105 if ($("#id_isGlobal")[0].checked) {
106 is_global = 1;
106 is_global = 1;
107 }
107 }
108 var url = '{% url 'get_calendar' %}' + '?isGlobal=' + is_global + '&instruments=' + kinst + '&years=' + year + '&months=' + month;
108 var url = '{% url 'get_calendar' %}' + '?isGlobal=' + is_global + '&instruments=' + kinst + '&years=' + year + '&months=' + month;
109 // first delete all forms that are now out of date
109 // first delete all forms that are now out of date
110 divIndex = $(".single_form").index($( "#calendar" ))
110 divIndex = $(".single_form").index($( "#calendar" ))
111 $(".single_form").slice(divIndex).empty()
111 $(".single_form").slice(divIndex).empty()
112 // second populate the calendar html if '0' not selected
112 // second populate the calendar html if '0' not selected
113 if (year != '0') {
113 if (year != '0') {
114 $(".single_form").slice(divIndex,divIndex+1).load(url, function() {
114 $(".single_form").slice(divIndex,divIndex+1).load(url, function() {
115 createCalendar();
115 createCalendar();
116 });
116 });
117 }
117 }
118 }
118 }
119
119
120 function populateFile (select) {
120 function populateFile (select) {
121 var expId = select.options[select.selectedIndex].value;
121 var expId = select.options[select.selectedIndex].value;
122 var url = '{% url 'get_files' %}' + '?experiment_list=' + expId;
122 var url = '{% url 'get_files' %}' + '?experiment_list=' + expId;
123 // first delete all forms that are now out of date
123 // first delete all forms that are now out of date
124 divIndex = $(".single_form").index($( "#file_select" ))
124 divIndex = $(".single_form").index($( "#file_select" ))
125 $(".single_form").slice(divIndex).empty()
125 $(".single_form").slice(divIndex).empty()
126 // second populate the file_list html if '0' not selected
126 // second populate the file_list html if '0' not selected
127 if (expId != '0') {
127 if (expId != '0') {
128 $(".single_form").slice(divIndex,divIndex+1).load(url);
128 $(".single_form").slice(divIndex,divIndex+1).load(url);
129 }
129 }
130 }
130 }
131
131
132 function changeFile (select) {
132 function changeFile (select) {
133 var basename = select.options[select.selectedIndex].value;
133 var basename = select.options[select.selectedIndex].value;
134 {% if form.exp_id %}
134 {% if form.exp_id %}
135 var url = '{% url 'change_files' %}' + '?experiment_list={{ form.exp_id.label }}&file_list=' + basename;
135 var url = '{% url 'change_files' %}' + '?experiment_list={{ form.exp_id.label }}&file_list=' + basename;
136 {% else %}
136 {% else %}
137 var exp_id = $("#id_experiment_list")[0].options[$("#id_experiment_list")[0].selectedIndex].value;
137 var exp_id = $("#id_experiment_list")[0].options[$("#id_experiment_list")[0].selectedIndex].value;
138 var url = '{% url 'change_files' %}' + '?experiment_list=' + exp_id + '&file_list=' + basename;
138 var url = '{% url 'change_files' %}' + '?experiment_list=' + exp_id + '&file_list=' + basename;
139 {% endif %}
139 {% endif %}
140 // first delete all forms that are now out of date
140 // first delete all forms that are now out of date
141 divIndex = $(".single_form").index($( "#file_buttons" ))
141 divIndex = $(".single_form").index($( "#file_buttons" ))
142 $(".single_form").slice(divIndex).empty()
142 $(".single_form").slice(divIndex).empty()
143 // second populate the file_list html if '0' not selected
143 // second populate the file_list html if '0' not selected
144 if (basename != '0') {
144 if (basename != '0') {
145 $(".single_form").slice(divIndex,divIndex+1).load(url);
145 $(".single_form").slice(divIndex,divIndex+1).load(url);
146 }
146 }
147 }
147 }
148
148
149 {% include "madweb/fileDownload.js" %}
149 {% include "madweb/fileDownload.js" %}
150
150
151 </script>
151 </script>
152 {% endblock %}
152 {% endblock %}
153
153
154
154
155 {% block isGlobal %}
155 {% block isGlobal %}
156 <div class="col-md-12 single_form" id="isGlobal">
156 <div class="col-md-12 single_form" id="isGlobal">
157 {{ form.isGlobal.label }} {{ form.isGlobal }}
157 {{ form.isGlobal.label }} {{ form.isGlobal }}
158 </div> <!-- end subdivide -->
158 </div> <!-- end subdivide -->
159 {% endblock %}
159 {% endblock %}
160
160
161 {% block categories %}
161 {% block categories %}
162 <!-- subdivide selection column for categories to be possibly filled in by ajax - single_form 0 -->
162 <!-- subdivide selection column for categories to be possibly filled in by ajax - single_form 0 -->
163 <div class="col-md-12 single_form" id="categories">
163 <div class="col-md-12 single_form" id="categories">
164
164
165 {% if form.categories %}
165 {% if form.categories %}
166 {% include "madweb/categories.html" %}
166 {% include "madweb/categories.html" %}
167 {% endif %}
167 {% endif %}
168
168
169 </div> <!-- end subdivide -->
169 </div> <!-- end subdivide -->
170 {% endblock %}
170 {% endblock %}
171
171
172
172
173 {% block instruments %}
173 {% block instruments %}
174 <!-- subdivide selection column for instruments to be possibly filled in by ajax - single_form 0 -->
174 <!-- subdivide selection column for instruments to be possibly filled in by ajax - single_form 0 -->
175 <div class="col-md-12 single_form" id="instruments">
175 <div class="col-md-12 single_form" id="instruments">
176
176
177 {% if form.instruments %}
177 {% if form.instruments %}
178 {% include "madweb/instruments.html" %}
178 {% include "madweb/instruments.html" %}
179 {% endif %}
179 {% endif %}
180
180
181 </div> <!-- end subdivide -->
181 </div> <!-- end subdivide -->
182 {% endblock %}
182 {% endblock %}
183
183
184
184
185 {% block years %}
185 {% block years %}
186 <!-- subdivide selection column for year to be possibly filled in by ajax - single_form 1 -->
186 <!-- subdivide selection column for year to be possibly filled in by ajax - single_form 1 -->
187 <div class="col-md-12 single_form" id="years">
187 <div class="col-md-12 single_form" id="years">
188
188
189 {% if form.years %}
189 {% if form.years %}
190 {% include "madweb/years.html" %}
190 {% include "madweb/years.html" %}
191 {% endif %}
191 {% endif %}
192
192
193 </div> <!-- end subdivide -->
193 </div> <!-- end subdivide -->
194 {% endblock %}
194 {% endblock %}
195
195
196
196
197 {% block months %}
197 {% block months %}
198 <!-- subdivide selection column for month to be possibly filled in by ajax - single_form 1 -->
198 <!-- subdivide selection column for month to be possibly filled in by ajax - single_form 1 -->
199 <div class="col-md-12 single_form" id="months">
199 <div class="col-md-12 single_form" id="months">
200
200
201 {% if form.months %}
201 {% if form.months %}
202 {% include "madweb/months.html" %}
202 {% include "madweb/months.html" %}
203 {% endif %}
203 {% endif %}
204
204
205 </div> <!-- end subdivide -->
205 </div> <!-- end subdivide -->
206 {% endblock %}
206 {% endblock %}
207
207
208
208
209 {% block calendar %}
209 {% block calendar %}
210 <!-- subdivide selection column for calendar to be possibly filled in by ajax - single_form 2 -->
210 <!-- subdivide selection column for calendar to be possibly filled in by ajax - single_form 2 -->
211 <div class="col-md-12 single_form" id="calendar">
211 <div class="col-md-12 single_form" id="calendar">
212
212
213 {% if form.days %}
213 {% if form.days %}
214 {% include "madweb/calendar.html" %}
214 {% include "madweb/calendar.html" %}
215 {% endif %}
215 {% endif %}
216
216
217 </div> <!-- end subdivide -->
217 </div> <!-- end subdivide -->
218 {% endblock %}
218 {% endblock %}
219
219
220 {% block experiment_select %}
220 {% block experiment_select %}
221 <!-- this select only appears if there are multiple experiments in the day -->
221 <!-- this select only appears if there are multiple experiments in the day -->
222 <div class="col-md-12 single_form" id="experiment_select">
222 <div class="col-md-12 single_form" id="experiment_select">
223 {% if form.experiment_list %}
223 {% if form.experiment_list %}
224 {% include "madweb/exp_list.html" %}
224 {% include "madweb/exp_list.html" %}
225 {% endif %}
225 {% endif %}
226 </div> <!-- end subdivide -->
226 </div> <!-- end subdivide -->
227 {% endblock %}
227 {% endblock %}
228
228
229 {% block file_select %}
229 {% block file_select %}
230 <!-- file select div -->
230 <!-- file select div -->
231 <div class="col-md-12 single_form" id="file_select">
231 <div class="col-md-12 single_form" id="file_select">
232 {% if form.file_list|length > 1 %}
232 {% if form.file_list|length > 1 %}
233 {% include "madweb/file_list.html" %}
233 {% include "madweb/file_list.html" %}
234 {% elif form.days and not form.experiment_list %}
234 {% elif form.days and not form.experiment_list %}
235 <center><p> This experiment has no Madrigal CEDAR format Hdf5 files. Showing only plots and auxillary files instead.</p></center>
235 <center><p> This experiment has no Madrigal CEDAR format Hdf5 files. Showing only plots and auxillary files instead.</p></center>
236 {% include "madweb/show_plots.html" %}
236 {% include "madweb/show_plots.html" %}
237 {% endif %}
237 {% endif %}
238 </div> <!-- end subdivide -->
238 </div> <!-- end subdivide -->
239 {% endblock %}
239 {% endblock %}
240
240
241 {% block file_buttons %}
241 {% block file_buttons %}
242 <!-- file select div -->
242 <!-- file select div -->
243 <div class="col-md-12 single_form" id="file_buttons">
243 <div class="col-md-12 single_form" id="file_buttons">
244 {% if form.file_buttons %}
244 {% if form.file_buttons %}
245 {% include "madweb/file_buttons.html" %}
245 {% include "madweb/file_buttons.html" %}
246 {% endif %}
246 {% endif %}
247 </div> <!-- end subdivide -->
247 </div> <!-- end subdivide -->
248 <div>&nbsp;</div>
248 <div>&nbsp;</div>
249 {% endblock %}
249 {% endblock %}
250
250
251 {% block file_data %}
251 {% block file_data %}
252 <!-- file select div -->
252 <!-- file select div -->
253 <div class="col-md-12 single_form" id="file_data">
253 <div class="col-md-12 single_form" id="file_data">
254 {% if form.show_plots %}
254 {% if form.show_plots %}
255 {% include "madweb/show_plots.html" %}
255 {% include "madweb/show_plots.html" %}
256 {% endif %}
256 {% endif %}
257 </div> <!-- end subdivide -->
257 </div> <!-- end subdivide -->
258 {% endblock %}
258 {% endblock %}
259
259
260 {% block file_plot %}
260 {% block file_plot %}
261 <!-- file select div -->
261 <!-- file select div -->
262 <div class="col-md-12 single_form" id="file_plot">
262 <div class="col-md-9 single_form" id="file_plot">
263 {% if form.show_plots %}
263 {% if form.show_plots %}
264 {% include "madweb/parameter_selection.html" %}
264 {% include "madweb/parameter_selection.html" %}
265 {% endif %}
265 {% endif %}
266 </div> <!-- end subdivide -->
266 </div> <!-- end subdivide -->
267 {% endblock %}
267 {% endblock %}
268
268
@@ -1,68 +1,68
1 {% load static %}
1 {% load static %}
2
2
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/doc_template.dwt" codeOutsideHTMLIsLocked="false" -->
4 <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/doc_template.dwt" codeOutsideHTMLIsLocked="false" -->
5 <head>
5 <head>
6 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
6 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7 <!-- InstanceBeginEditable name="doctitle" -->
7 <!-- InstanceBeginEditable name="doctitle" -->
8 <title>Madrigal users guide</title>
8 <title>Madrigal users guide</title>
9 <!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
9 <!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
10 <link href="/static/madrigal.css" rel="stylesheet" type="text/css" />
10 <link href="/static/madrigal.css" rel="stylesheet" type="text/css" />
11 <style type="text/css">
11 <style type="text/css">
12 html body {
12 html body {
13 background-color: {{bg_color}};
13 background-color: {{bg_color}};
14 }
14 }
15 </style>
15 </style>
16 <!-- InstanceParam name="href_up_top" type="text" value="madContents.html" --><!-- InstanceParam name="href_next_top" type="text" value="wt_contents.html" --><!-- InstanceParam name="href_back_top" type="text" value="whatsNew.html" --><!-- InstanceParam name="href_back_bottom" type="text" value="whatsNew.html" --><!-- InstanceParam name="href_up_bottom" type="text" value="madContents.html" --><!-- InstanceParam name="href_next_bottom" type="text" value="wt_contents.html" --><!-- InstanceParam name="href_prev_top" type="text" value="whatsNew.html" --><!-- InstanceParam name="href_uptitle_top" type="text" value="madContents.html" --><!-- InstanceParam name="href_nexttitle_top" type="text" value="wt_contents.html" --><!-- InstanceParam name="href_prevtitle_bottom" type="text" value="whatsNew.html" --><!-- InstanceParam name="href_uptitle_bottom" type="text" value="madContents.html" --><!-- InstanceParam name="href_nexttitle_bottom" type="text" value="wt_contents.html" -->
16 <!-- InstanceParam name="href_up_top" type="text" value="madContents.html" --><!-- InstanceParam name="href_next_top" type="text" value="wt_contents.html" --><!-- InstanceParam name="href_back_top" type="text" value="whatsNew.html" --><!-- InstanceParam name="href_back_bottom" type="text" value="whatsNew.html" --><!-- InstanceParam name="href_up_bottom" type="text" value="madContents.html" --><!-- InstanceParam name="href_next_bottom" type="text" value="wt_contents.html" --><!-- InstanceParam name="href_prev_top" type="text" value="whatsNew.html" --><!-- InstanceParam name="href_uptitle_top" type="text" value="madContents.html" --><!-- InstanceParam name="href_nexttitle_top" type="text" value="wt_contents.html" --><!-- InstanceParam name="href_prevtitle_bottom" type="text" value="whatsNew.html" --><!-- InstanceParam name="href_uptitle_bottom" type="text" value="madContents.html" --><!-- InstanceParam name="href_nexttitle_bottom" type="text" value="wt_contents.html" -->
17 </head>
17 </head>
18
18
19 <body>
19 <body>
20 <table width="100%" border="1" cellpadding="0" cellspacing="2" class="navigation">
20 <table width="100%" border="1" cellpadding="0" cellspacing="2" class="navigation">
21 <tr>
21 <tr>
22 <td width="5%"><a href="{% url 'docs' 'whatsNew.html' %}"><img src="/static/previous.png" alt="previous" width="32" height="32" /></a></td>
22 <td width="5%"><a href="{% url 'docs' 'whatsNew.html' %}"><img src="{% static 'previous.png' %}" alt="previous" width="32" height="32" /></a></td>
23 <td width="5%"><a href="{% url 'docs' 'madContents.html' %}"><img src="/static/up.png" alt="up" width="32" height="32" /></a></td>
23 <td width="5%"><a href="{% url 'docs' 'madContents.html' %}"><img src="{% static 'up.png' %}" alt="up" width="32" height="32" /></a></td>
24 <td width="5%"><a href="{% url 'docs' 'wt_contents.html' %}"><img src="/static/next.png" alt="next" width="32" height="32" /></a></td>
24 <td width="5%"><a href="{% url 'docs' 'wt_contents.html' %}"><img src="{% static 'next.png' %}" alt="next" width="32" height="32" /></a></td>
25 <td width="54%"><!-- InstanceBeginEditable name="EditTitleTop" -->Madrigal user's guide (How do I access Madrigal data?)<!-- InstanceEndEditable --></td>
25 <td width="54%"><!-- InstanceBeginEditable name="EditTitleTop" -->Madrigal user's guide (How do I access Madrigal data?)<!-- InstanceEndEditable --></td>
26 <td width="13%"><a href="{% url 'docs' 'madContents.html' %}">Doc home </a></td>
26 <td width="13%"><a href="{% url 'docs' 'madContents.html' %}">Doc home </a></td>
27 <td width="18%"><a href="/">Madrigal home</a></td>
27 <td width="18%"><a href="/">Madrigal home</a></td>
28 </tr>
28 </tr>
29 </table>
29 </table>
30 <div class='online-navigation'>
30 <div class='online-navigation'>
31 <b class="navlabel">Previous:</b>
31 <b class="navlabel">Previous:</b>
32 <a class="sectref" href="{% url 'docs' 'whatsNew.html' %}"><!-- InstanceBeginEditable name="PreviousTitle" -->What's new <!-- InstanceEndEditable --></A>
32 <a class="sectref" href="{% url 'docs' 'whatsNew.html' %}"><!-- InstanceBeginEditable name="PreviousTitle" -->What's new <!-- InstanceEndEditable --></A>
33 <b class="navlabel">&nbsp;&nbsp;Up:</b>
33 <b class="navlabel">&nbsp;&nbsp;Up:</b>
34 <a class="sectref" href="{% url 'docs' 'madContents.html' %}"><!-- InstanceBeginEditable name="UpTitle" -->Doc home <!-- InstanceEndEditable --></A>
34 <a class="sectref" href="{% url 'docs' 'madContents.html' %}"><!-- InstanceBeginEditable name="UpTitle" -->Doc home <!-- InstanceEndEditable --></A>
35 <b class="navlabel">&nbsp;&nbsp;Next:</b>
35 <b class="navlabel">&nbsp;&nbsp;Next:</b>
36 <a class="sectref" href="{% url 'docs' 'wt_contents.html' %}"><!-- InstanceBeginEditable name="NextTitle" -->Web interface tutorial TOC <!-- InstanceEndEditable --></A></div>
36 <a class="sectref" href="{% url 'docs' 'wt_contents.html' %}"><!-- InstanceBeginEditable name="NextTitle" -->Web interface tutorial TOC <!-- InstanceEndEditable --></A></div>
37 <hr/>
37 <hr/>
38 <!-- InstanceBeginEditable name="EditDoc" -->
38 <!-- InstanceBeginEditable name="EditDoc" -->
39 <h1 align="center">Madrigal user's guide (How do I access Madrigal data?)</h1>
39 <h1 align="center">Madrigal user's guide (How do I access Madrigal data?)</h1>
40 <p>There are two basic ways to access Madrigal data - through a web browser, or through the API using the programming languages Matlab, IDL, Python, or Fortran95. The Madrigal web interface will also allow you to create the most common commands you would need to run these API's. That is, with just a few click you can create a command to download whatever files you want from any number of experiments in any format. You can also create a command to download just the parameters you want with any filter you might want.</p>
40 <p>There are two basic ways to access Madrigal data - through a web browser, or through the API using the programming languages Matlab, IDL, Python, or Fortran95. The Madrigal web interface will also allow you to create the most common commands you would need to run these API's. That is, with just a few click you can create a command to download whatever files you want from any number of experiments in any format. You can also create a command to download just the parameters you want with any filter you might want.</p>
41 <p>This user's guide consists of a brief tutorial on using the web interface, and a tutorial and a reference manual for remote data access. The last section also documents some command line interfaces into Madrigal.</p>
41 <p>This user's guide consists of a brief tutorial on using the web interface, and a tutorial and a reference manual for remote data access. The last section also documents some command line interfaces into Madrigal.</p>
42 <ul>
42 <ul>
43 <li><a href="{% url 'docs' 'wt_contents.html' %}">Web interface tutorial</a></li>
43 <li><a href="{% url 'docs' 'wt_contents.html' %}">Web interface tutorial</a></li>
44 <li><a href="{% url 'docs' 'rt_contents.html' %}">Remote API tutorial</a></li>
44 <li><a href="{% url 'docs' 'rt_contents.html' %}">Remote API tutorial</a></li>
45 <li><a href="{% url 'docs' 'rr_contents.html' %}">Remote API reference guide</a></li>
45 <li><a href="{% url 'docs' 'rr_contents.html' %}">Remote API reference guide</a></li>
46 </ul>
46 </ul>
47 <!-- InstanceEndEditable -->
47 <!-- InstanceEndEditable -->
48 <table width="100%" border="1" cellpadding="0" cellspacing="2" class="navigation">
48 <table width="100%" border="1" cellpadding="0" cellspacing="2" class="navigation">
49 <tr>
49 <tr>
50 <td width="5%"><a href="{% url 'docs' 'whatsNew.html' %}"><img src="/static/previous.png" alt="previous" width="32" height="32" /></a></td>
50 <td width="5%"><a href="{% url 'docs' 'whatsNew.html' %}"><img src="{% static 'previous.png' %}" alt="previous" width="32" height="32" /></a></td>
51 <td width="5%"><a href="{% url 'docs' 'madContents.html' %}"><img src="/static/up.png" alt="up" width="32" height="32" /></a></td>
51 <td width="5%"><a href="{% url 'docs' 'madContents.html' %}"><img src="{% static 'up.png' %}" alt="up" width="32" height="32" /></a></td>
52 <td width="5%"><a href="{% url 'docs' 'wt_contents.html' %}"><img src="/static/next.png" alt="next" width="32" height="32" /></a></td>
52 <td width="5%"><a href="{% url 'docs' 'wt_contents.html' %}"><img src="{% static 'next.png' %}" alt="next" width="32" height="32" /></a></td>
53 <td width="54%"><!-- InstanceBeginEditable name="EditTitleBottom" -->Madrigal user's guide (How do I access Madrigal data?)<!-- InstanceEndEditable --></td>
53 <td width="54%"><!-- InstanceBeginEditable name="EditTitleBottom" -->Madrigal user's guide (How do I access Madrigal data?)<!-- InstanceEndEditable --></td>
54 <td width="13%"><a href="{% url 'docs' 'madContents.html' %}">Doc home </a></td>
54 <td width="13%"><a href="{% url 'docs' 'madContents.html' %}">Doc home </a></td>
55 <td width="18%"><a href="/">Madrigal home</a></td>
55 <td width="18%"><a href="/">Madrigal home</a></td>
56 </tr>
56 </tr>
57 </table>
57 </table>
58 <div class='online-navigation'>
58 <div class='online-navigation'>
59 <b class="navlabel">Previous:</b>
59 <b class="navlabel">Previous:</b>
60 <a class="sectref" href="{% url 'docs' 'whatsNew.html' %}"><!-- InstanceBeginEditable name="PreviousTitle2" -->What's new <!-- InstanceEndEditable --></A>
60 <a class="sectref" href="{% url 'docs' 'whatsNew.html' %}"><!-- InstanceBeginEditable name="PreviousTitle2" -->What's new <!-- InstanceEndEditable --></A>
61 <b class="navlabel">&nbsp;&nbsp;Up:</b>
61 <b class="navlabel">&nbsp;&nbsp;Up:</b>
62 <a class="sectref" href="{% url 'docs' 'madContents.html' %}"><!-- InstanceBeginEditable name="UpTitle2" -->Doc home <!-- InstanceEndEditable --></A>
62 <a class="sectref" href="{% url 'docs' 'madContents.html' %}"><!-- InstanceBeginEditable name="UpTitle2" -->Doc home <!-- InstanceEndEditable --></A>
63 <b class="navlabel">&nbsp;&nbsp;Next:</b>
63 <b class="navlabel">&nbsp;&nbsp;Next:</b>
64 <a class="sectref" href="{% url 'docs' 'wt_contents.html' %}"><!-- InstanceBeginEditable name="NextTitle2" -->Web interface tutorial TOC<!-- InstanceEndEditable --></A></div>
64 <a class="sectref" href="{% url 'docs' 'wt_contents.html' %}"><!-- InstanceBeginEditable name="NextTitle2" -->Web interface tutorial TOC<!-- InstanceEndEditable --></A></div>
65 <hr/>
65 <hr/>
66 <p>&nbsp;</p>
66 <p>&nbsp;</p>
67 </body>
67 </body>
68 <!-- InstanceEnd --></html>
68 <!-- InstanceEnd --></html>
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
General Comments 0
You need to be logged in to leave comments. Login now