Debian Codegraph @

gui/dialogs/local_weather.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5 <!-- Cloud placement methods -->
6
7 <name>local_weather</name>
8 <width>800</width>
9 <height>600</height>
10 <modal>false</modal>
11
12
13
14
15 <text>
16 <x>10</x>
17 <y>570</y>
18 <label>Place a single cloud</label>
19 </text>
20
21 <group>
22 <x>0</x>
23 <y>550</y>
24
25 <text>
26 <x>10</x>
27 <y>0</y>
28 <label>Type</label>
29 </text>
30
31 <text>
32 <x>130</x>
33 <y>0</y>
34 <label>subtype</label>
35 </text>
36
37 <text>
38 <x>203</x>
39 <y>0</y>
40 <label>lat (deg)</label>
41 </text>
42
43 <text>
44 <x>276</x>
45 <y>0</y>
46 <label>lon (deg)</label>
47 </text>
48
49 <text>
50 <x>349</x>
51 <y>0</y>
52 <label>alt (ft)</label>
53 </text>
54
55 <text>
56 <x>422</x>
57 <y>0</y>
58 <label>dir (deg)</label>
59 </text>
60 </group>
61
62
63 <group>
64 <x>0</x>
65 <y>525</y>
66
67
68 <combo>
69 <x>10</x>
70 <y>0</y>
71 <width>117</width>
72 <height>25</height>
73 <live>true</live>
74 <property>/local-weather/tmp/scloud-type</property>
75 <value>Altocumulus</value>
76 <value>Cirrus</value>
77 <value>Cirrostratus</value>
78 <value>Cumulus</value>
79 <value>Cumulus (cloudlet)</value>
80 <value>Cumulonimbus</value>
81 <value>Fog (thin)</value>
82 <value>Fog (thick)</value>
83 <value>Nimbus</value>
84 <value>Stratus</value>
85 <value>Stratus (structured)</value>
86 <value>Stratus (thin)</value>
87 <value>Test</value>
88 <binding>
89 <command>dialog-apply</command>
90 </binding>
91 </combo>
92
93 <combo>
94 <x>130</x>
95 <y>0</y>
96 <width>70</width>
97 <height>25</height>
98 <live>true</live>
99 <property>/local-weather/tmp/scloud-subtype</property>
100 <value>large</value>
101 <value>small</value>
102 <binding>
103 <command>dialog-apply</command>
104 </binding>
105 </combo>
106
107
108 <input>
109 <x>203</x>
110 <y>0</y>
111 <width>70</width>
112 <height>25</height>
113 <property>/local-weather/tmp/scloud-lat</property>
114 </input>
115
116 <input>
117 <x>276</x>
118 <y>0</y>
119 <width>70</width>
120 <height>25</height>
121 <property>/local-weather/tmp/scloud-lon</property>
122 </input>
123
124 <input>
125 <x>349</x>
126 <y>0</y>
127 <width>70</width>
128 <height>25</height>
129 <property>/local-weather/tmp/scloud-alt</property>
130 </input>
131
132 <input>
133 <x>422</x>
134 <y>0</y>
135 <width>70</width>
136 <height>25</height>
137 <property>/local-weather/tmp/scloud-dir</property>
138 </input>
139
140 <button>
141 <x>500</x>
142 <y>0</y>
143 <legend>Place</legend>
144 <default>true</default>
145 <equal>true</equal>
146 <binding>
147 <command>dialog-apply</command>
148 </binding>
149 <binding>
150 <command>nasal</command>
151 <script>local_weather.single_cloud_wrapper()</script>
152 </binding>
153 </button>
154
155 </group>
156
157
158 <text>
159 <x>10</x>
160 <y>485</y>
161 <label>Place a cloud streak</label>
162 </text>
163
164 <group>
165 <x>0</x>
166 <y>465</y>
167
168 <text>
169 <x>10</x>
170 <y>0</y>
171 <label>Type</label>
172 </text>
173
174 <text>
175 <x>130</x>
176 <y>0</y>
177 <label>alt. (ft)</label>
178 </text>
179
180 <text>
181 <x>203</x>
182 <y>0</y>
183 <label>number x</label>
184 </text>
185
186 <text>
187 <x>276</x>
188 <y>0</y>
189 <label>Delta x (m)</label>
190 </text>
191
192 <text>
193 <x>349</x>
194 <y>0</y>
195 <label>x edge</label>
196 </text>
197
198 <text>
199 <x>422</x>
200 <y>0</y>
201 <label>number y</label>
202 </text>
203
204 <text>
205 <x>495</x>
206 <y>0</y>
207 <label>Delta y (m)</label>
208 </text>
209
210 <text>
211 <x>568</x>
212 <y>0</y>
213 <label>y edge</label>
214 </text>
215
216 <text>
217 <x>641</x>
218 <y>0</y>
219 <label>Dir. (deg)</label>
220 </text>
221
222 <text>
223 <x>714</x>
224 <y>0</y>
225 <label>Triang.</label>
226 </text>
227
228
229 </group>
230
231
232 <group>
233 <x>0</x>
234 <y>440</y>
235
236
237 <combo>
238 <x>10</x>
239 <y>0</y>
240 <width>117</width>
241 <height>25</height>
242 <live>true</live>
243 <property>/local-weather/tmp/cloud-type</property>
244 <value>Altocumulus</value>
245 <value>Cirrus</value>
246 <value>Cirrocumulus (cloudlet)</value>
247 <value>Cirrostratus</value>
248 <value>Cumulus</value>
249 <value>Cumulus (cloudlet)</value>
250 <value>Cumulonimbus</value>
251 <value>Cumulonimbus (rain)</value>
252 <value>Fog (thin)</value>
253 <value>Fog (thick)</value>
254 <value>Nimbus</value>
255 <value>Stratus</value>
256 <value>Stratus (structured)</value>
257 <value>Stratus (thin)</value>
258 <value>Test</value>
259 <binding>
260 <command>dialog-apply</command>
261 </binding>
262 </combo>
263
264
265 <input>
266 <x>130</x>
267 <y>0</y>
268 <width>70</width>
269 <height>25</height>
270 <property>/local-weather/tmp/alt</property>
271 </input>
272
273 <input>
274 <x>203</x>
275 <y>0</y>
276 <width>70</width>
277 <height>25</height>
278 <property>/local-weather/tmp/nx</property>
279 </input>
280
281 <input>
282 <x>276</x>
283 <y>0</y>
284 <width>70</width>
285 <height>25</height>
286 <property>/local-weather/tmp/xoffset</property>
287 </input>
288
289 <input>
290 <x>349</x>
291 <y>0</y>
292 <width>70</width>
293 <height>25</height>
294 <property>/local-weather/tmp/xedge</property>
295 </input>
296
297 <input>
298 <x>422</x>
299 <y>0</y>
300 <width>70</width>
301 <height>25</height>
302 <property>/local-weather/tmp/ny</property>
303 </input>
304
305 <input>
306 <x>495</x>
307 <y>0</y>
308 <width>70</width>
309 <height>25</height>
310 <property>/local-weather/tmp/yoffset</property>
311 </input>
312
313 <input>
314 <x>568</x>
315 <y>0</y>
316 <width>70</width>
317 <height>25</height>
318 <property>/local-weather/tmp/yedge</property>
319 </input>
320
321 <input>
322 <x>641</x>
323 <y>0</y>
324 <width>70</width>
325 <height>25</height>
326 <property>/local-weather/tmp/dir</property>
327 </input>
328
329 <input>
330 <x>714</x>
331 <y>0</y>
332 <width>70</width>
333 <height>25</height>
334 <property>/local-weather/tmp/tri</property>
335 </input>
336
337
338 </group>
339
340 <group>
341 <x>0</x>
342 <y>410</y>
343
344 <text>
345 <x>10</x>
346 <y>0</y>
347 <label>rand. x (m)</label>
348 </text>
349
350 <input>
351 <x>90</x>
352 <y>0</y>
353 <width>70</width>
354 <height>25</height>
355 <property>/local-weather/tmp/rnd-pos-x</property>
356 </input>
357
358 <text>
359 <x>165</x>
360 <y>0</y>
361 <label>rand. y (m)</label>
362 </text>
363
364 <input>
365 <x>245</x>
366 <y>0</y>
367 <width>70</width>
368 <height>25</height>
369 <property>/local-weather/tmp/rnd-pos-y</property>
370 </input>
371
372 <text>
373 <x>320</x>
374 <y>0</y>
375 <label>rand. alt. (ft)</label>
376 </text>
377
378 <input>
379 <x>410</x>
380 <y>0</y>
381 <width>70</width>
382 <height>25</height>
383 <property>/local-weather/tmp/rnd-alt</property>
384 </input>
385
386 <button>
387 <x>490</x>
388 <y>0</y>
389 <legend>Draw streak</legend>
390 <default>true</default>
391 <equal>true</equal>
392 <binding>
393 <command>dialog-apply</command>
394 </binding>
395 <binding>
396 <command>nasal</command>
397 <script>local_weather.streak_wrapper()</script>
398 </binding>
399 </button>
400 </group>
401
402
403 <text>
404 <x>10</x>
405 <y>370</y>
406 <label>Start the convective system</label>
407 </text>
408
409 <group>
410 <x>0</x>
411 <y>345</y>
412
413 <text>
414 <x>10</x>
415 <y>0</y>
416 <label>strength</label>
417 </text>
418
419 <input>
420 <x>90</x>
421 <y>0</y>
422 <width>70</width>
423 <height>25</height>
424 <property>/local-weather/tmp/conv-strength</property>
425 </input>
426
427 <text>
428 <x>165</x>
429 <y>0</y>
430 <label>alt (ft)</label>
431 </text>
432
433 <input>
434 <x>245</x>
435 <y>0</y>
436 <width>70</width>
437 <height>25</height>
438 <property>/local-weather/tmp/conv-alt</property>
439 </input>
440
441 <text>
442 <x>320</x>
443 <y>0</y>
444 <label>size (km)</label>
445 </text>
446
447 <input>
448 <x>410</x>
449 <y>0</y>
450 <width>70</width>
451 <height>25</height>
452 <property>/local-weather/tmp/conv-size</property>
453 </input>
454
455 <button>
456 <x>490</x>
457 <y>0</y>
458 <legend>Create</legend>
459 <default>true</default>
460 <equal>true</equal>
461 <binding>
462 <command>dialog-apply</command>
463 </binding>
464 <binding>
465 <command>nasal</command>
466 <script>local_weather.convection_wrapper()</script>
467 </binding>
468 </button>
469
470 </group>
471
472 <text>
473 <x>10</x>
474 <y>305</y>
475 <label>Create barrier clouds</label>
476 </text>
477
478 <group>
479 <x>0</x>
480 <y>280</y>
481
482 <text>
483 <x>10</x>
484 <y>0</y>
485 <label>alt. (ft)</label>
486 </text>
487
488 <input>
489 <x>80</x>
490 <y>0</y>
491 <width>70</width>
492 <height>25</height>
493 <property>/local-weather/tmp/bar-alt</property>
494 </input>
495
496 <text>
497 <x>155</x>
498 <y>0</y>
499 <label>number</label>
500 </text>
501
502 <input>
503 <x>225</x>
504 <y>0</y>
505 <width>70</width>
506 <height>25</height>
507 <property>/local-weather/tmp/bar-n</property>
508 </input>
509
510 <text>
511 <x>300</x>
512 <y>0</y>
513 <label>wind (deg)</label>
514 </text>
515
516 <input>
517 <x>370</x>
518 <y>0</y>
519 <width>70</width>
520 <height>25</height>
521 <property>/local-weather/tmp/bar-dir</property>
522 </input>
523
524 <text>
525 <x>445</x>
526 <y>0</y>
527 <label>dist (km)</label>
528 </text>
529
530 <input>
531 <x>515</x>
532 <y>0</y>
533 <width>70</width>
534 <height>25</height>
535 <property>/local-weather/tmp/bar-dist</property>
536 </input>
537
538 <text>
539 <x>590</x>
540 <y>0</y>
541 <label>size (km)</label>
542 </text>
543
544 <input>
545 <x>660</x>
546 <y>0</y>
547 <width>70</width>
548 <height>25</height>
549 <property>/local-weather/tmp/bar-size</property>
550 </input>
551
552 <button>
553 <x>735</x>
554 <y>0</y>
555 <legend>Create</legend>
556 <default>true</default>
557 <equal>true</equal>
558 <binding>
559 <command>dialog-apply</command>
560 </binding>
561 <binding>
562 <command>nasal</command>
563 <script>local_weather.barrier_wrapper()</script>
564 </binding>
565 </button>
566
567 </group>
568
569
570
571
572
573
574
575
576 <text>
577 <x>10</x>
578 <y>240</y>
579 <label>Place a cloud layer</label>
580 </text>
581
582 <group>
583 <x>0</x>
584 <y>220</y>
585
586 <text>
587 <x>10</x>
588 <y>0</y>
589 <label>Type</label>
590 </text>
591
592 <text>
593 <x>130</x>
594 <y>0</y>
595 <label>rad. x (km)</label>
596 </text>
597
598 <text>
599 <x>203</x>
600 <y>0</y>
601 <label>rad. y (km) </label>
602 </text>
603
604 <text>
605 <x>276</x>
606 <y>0</y>
607 <label>dir (deg)</label>
608 </text>
609
610 <text>
611 <x>349</x>
612 <y>0</y>
613 <label>alt (ft)</label>
614 </text>
615
616 <text>
617 <x>422</x>
618 <y>0</y>
619 <label>thick. (ft)</label>
620 </text>
621
622 <text>
623 <x>495</x>
624 <y>0</y>
625 <label>density</label>
626 </text>
627
628 <text>
629 <x>568</x>
630 <y>0</y>
631 <label>edge</label>
632 </text>
633
634 <text>
635 <x>641</x>
636 <y>0</y>
637 <label>rain flag</label>
638 </text>
639
640 <text>
641 <x>714</x>
642 <y>0</y>
643 <label>rain dens.</label>
644 </text>
645
646
647 </group>
648
649
650 <group>
651 <x>0</x>
652 <y>195</y>
653
654
655 <combo>
656 <x>10</x>
657 <y>0</y>
658 <width>117</width>
659 <height>25</height>
660 <live>true</live>
661 <property>/local-weather/tmp/layer-type</property>
662 <value>Altocumulus</value>
663 <value>Cirrus</value>
664 <value>Cirrostratus</value>
665 <value>Cumulus</value>
666 <value>Cumulus (cloudlet)</value>
667 <value>Cumulonimbus</value>
668 <value>Fog (thin)</value>
669 <value>Fog (thick)</value>
670 <value>Nimbus</value>
671 <value>Stratus</value>
672 <value>Stratus (structured)</value>
673 <value>Stratus (thin)</value>
674 <value>Test</value>
675 <binding>
676 <command>dialog-apply</command>
677 </binding>
678 </combo>
679
680
681 <input>
682 <x>130</x>
683 <y>0</y>
684 <width>70</width>
685 <height>25</height>
686 <property>/local-weather/tmp/layer-rx</property>
687 </input>
688
689 <input>
690 <x>203</x>
691 <y>0</y>
692 <width>70</width>
693 <height>25</height>
694 <property>/local-weather/tmp/layer-ry</property>
695 </input>
696
697 <input>
698 <x>276</x>
699 <y>0</y>
700 <width>70</width>
701 <height>25</height>
702 <property>/local-weather/tmp/layer-phi</property>
703 </input>
704
705 <input>
706 <x>349</x>
707 <y>0</y>
708 <width>70</width>
709 <height>25</height>
710 <property>/local-weather/tmp/layer-alt</property>
711 </input>
712
713 <input>
714 <x>422</x>
715 <y>0</y>
716 <width>70</width>
717 <height>25</height>
718 <property>/local-weather/tmp/layer-thickness</property>
719 </input>
720
721 <input>
722 <x>495</x>
723 <y>0</y>
724 <width>70</width>
725 <height>25</height>
726 <property>/local-weather/tmp/layer-density</property>
727 </input>
728
729 <input>
730 <x>568</x>
731 <y>0</y>
732 <width>70</width>
733 <height>25</height>
734 <property>/local-weather/tmp/layer-edge</property>
735 </input>
736
737 <input>
738 <x>641</x>
739 <y>0</y>
740 <width>70</width>
741 <height>25</height>
742 <property>/local-weather/tmp/layer-rain-flag</property>
743 </input>
744
745 <input>
746 <x>714</x>
747 <y>0</y>
748 <width>70</width>
749 <height>25</height>
750 <property>/local-weather/tmp/layer-rain-density</property>
751 </input>
752
753
754 </group>
755
756 <button>
757 <x>10</x>
758 <y>160</y>
759 <legend>Create</legend>
760 <default>true</default>
761 <equal>true</equal>
762 <binding>
763 <command>dialog-apply</command>
764 </binding>
765 <binding>
766 <command>nasal</command>
767 <script>local_weather.layer_wrapper()</script>
768 </binding>
769 </button>
770
771
772 <text>
773 <x>10</x>
774 <y>130</y>
775 <label>Make a cloud box</label>
776 </text>
777
778 <group>
779 <x>0</x>
780 <y>110</y>
781
782 <text>
783 <x>10</x>
784 <y>0</y>
785 <label>x [m]</label>
786 </text>
787
788 <text>
789 <x>80</x>
790 <y>0</y>
791 <label>y [m]</label>
792 </text>
793
794 <text>
795 <x>150</x>
796 <y>0</y>
797 <label>alt [ft]</label>
798 </text>
799
800 <text>
801 <x>220</x>
802 <y>0</y>
803 <label>number</label>
804 </text>
805
806 <text>
807 <x>290</x>
808 <y>0</y>
809 <label>core frac.</label>
810 </text>
811
812 <text>
813 <x>360</x>
814 <y>0</y>
815 <label>core offset</label>
816 </text>
817
818 <text>
819 <x>430</x>
820 <y>0</y>
821 <label>core height</label>
822 </text>
823
824 <text>
825 <x>500</x>
826 <y>0</y>
827 <label>core num.</label>
828 </text>
829
830 <text>
831 <x>570</x>
832 <y>0</y>
833 <label>bottom size</label>
834 </text>
835
836 <text>
837 <x>640</x>
838 <y>0</y>
839 <label>bot. height</label>
840 </text>
841
842 <text>
843 <x>710</x>
844 <y>0</y>
845 <label>bot. num.</label>
846 </text>
847
848 </group>
849
850
851 <group>
852 <x>0</x>
853 <y>85</y>
854
855 <input>
856 <x>10</x>
857 <y>0</y>
858 <width>65</width>
859 <height>25</height>
860 <property>/local-weather/tmp/box-x-m</property>
861 </input>
862
863 <input>
864 <x>80</x>
865 <y>0</y>
866 <width>65</width>
867 <height>25</height>
868 <property>/local-weather/tmp/box-y-m</property>
869 </input>
870
871 <input>
872 <x>150</x>
873 <y>0</y>
874 <width>65</width>
875 <height>25</height>
876 <property>/local-weather/tmp/box-alt-ft</property>
877 </input>
878
879 <input>
880 <x>220</x>
881 <y>0</y>
882 <width>65</width>
883 <height>25</height>
884 <property>/local-weather/tmp/box-n</property>
885 </input>
886
887 <input>
888 <x>290</x>
889 <y>0</y>
890 <width>65</width>
891 <height>25</height>
892 <property>/local-weather/tmp/box-core-fraction</property>
893 </input>
894
895 <input>
896 <x>360</x>
897 <y>0</y>
898 <width>65</width>
899 <height>25</height>
900 <property>/local-weather/tmp/box-core-offset</property>
901 </input>
902
903 <input>
904 <x>430</x>
905 <y>0</y>
906 <width>65</width>
907 <height>25</height>
908 <property>/local-weather/tmp/box-core-height</property>
909 </input>
910
911 <input>
912 <x>500</x>
913 <y>0</y>
914 <width>65</width>
915 <height>25</height>
916 <property>/local-weather/tmp/box-core-n</property>
917 </input>
918
919 <input>
920 <x>570</x>
921 <y>0</y>
922 <width>65</width>
923 <height>25</height>
924 <property>/local-weather/tmp/box-bottom-fraction</property>
925 </input>
926
927 <input>
928 <x>640</x>
929 <y>0</y>
930 <width>65</width>
931 <height>25</height>
932 <property>/local-weather/tmp/box-bottom-thickness</property>
933 </input>
934
935 <input>
936 <x>710</x>
937 <y>0</y>
938 <width>65</width>
939 <height>25</height>
940 <property>/local-weather/tmp/box-bottom-n</property>
941 </input>
942
943 </group>
944
945
946 <button>
947 <x>10</x>
948 <y>50</y>
949 <legend>Create</legend>
950 <default>true</default>
951 <equal>true</equal>
952 <binding>
953 <command>dialog-apply</command>
954 </binding>
955 <binding>
956 <command>nasal</command>
957 <script>local_weather.box_wrapper()</script>
958 </binding>
959 </button>
960
961
962
963 <!-- Button Box -->
964
965 <group>
966 <x>105</x>
967 <y>10</y>
968
969 <button>
970 <x>0</x>
971 <y>0</y>
972 <legend>OK</legend>
973 <default>true</default>
974 <equal>true</equal>
975 <binding>
976 <command>dialog-apply</command>
977 </binding>
978 <binding>
979 <command>reinit</command>
980 <subsystem>environment</subsystem>
981 </binding>
982 <binding>
983 <command>dialog-close</command>
984 </binding>
985 </button>
986
987
988 <button>
989 <x>80</x>
990 <y>0</y>
991 <legend>Clear clouds</legend>
992 <default>true</default>
993 <equal>true</equal>
994 <binding>
995 <command>nasal</command>
996 <script>local_weather.clear_all()</script>
997 </binding>
998 </button>
999
1000 <button>
1001 <x>200</x>
1002 <y>0</y>
1003 <legend>Cancel</legend>
1004 <equal>true</equal>
1005 <key>Esc</key>
1006 <binding>
1007 <command>dialog-close</command>
1008 </binding>
1009 </button>
1010
1011 <!--<button>
1012 <x>300</x>
1013 <y>0</y>
1014 <legend>Test</legend>
1015 <equal>true</equal>
1016 <binding>
1017 <command>nasal</command>
1018 <script>local_weather.test()</script>
1019 </binding>
1020 </button>-->
1021
1022 </group>
1023
1024 </PropertyList>