Last change
on this file since 25311 was
25311,
checked in by LoisHaggard_STG, 2 months ago
|
NM backend/qModule files - updates to qModules files for NM-IBIS and NMTracking
|
File size:
1.2 KB
|
Line | |
---|
1 | f label Count |
---|
2 | f type special |
---|
3 | ############################################## |
---|
4 | --------BoNdArY-------- |
---|
5 | 1 script |
---|
6 | /* |
---|
7 | proc print data=tmp; |
---|
8 | title "Tmp Data"; |
---|
9 | run; |
---|
10 | */ |
---|
11 | |
---|
12 | proc sort data=tmp; |
---|
13 | by %cross1% |
---|
14 | ?cross2? %cross2% |
---|
15 | sasdateobs tmax; |
---|
16 | |
---|
17 | data tmp; * data=tmp; |
---|
18 | set tmp; |
---|
19 | by %cross1% |
---|
20 | ?cross2? %cross2% |
---|
21 | sasdateobs tmax; |
---|
22 | year = Year(sasdateobs); |
---|
23 | if Year > . ; |
---|
24 | if last.sasdateobs; |
---|
25 | run; |
---|
26 | |
---|
27 | /* |
---|
28 | proc print data=tmp; |
---|
29 | title "Tmp Data"; |
---|
30 | run; |
---|
31 | */ |
---|
32 | |
---|
33 | proc summary data=tmp nway; |
---|
34 | var Tmax; |
---|
35 | class %cross1% |
---|
36 | ?cross2? %cross2% |
---|
37 | Year |
---|
38 | ; |
---|
39 | output out=tmp n=n sum=sum Max=Max ; |
---|
40 | run; |
---|
41 | |
---|
42 | proc print data=tmp; |
---|
43 | title "Tmp Summary"; |
---|
44 | run; |
---|
45 | |
---|
46 | data tmp (drop=_type_ _freq_ sum max); |
---|
47 | set tmp; |
---|
48 | format year; |
---|
49 | count = n; |
---|
50 | run; |
---|
51 | |
---|
52 | data tmp; |
---|
53 | set tmp; |
---|
54 | if year ^= .; |
---|
55 | |
---|
56 | proc sort data= tmp; |
---|
57 | by year; |
---|
58 | |
---|
59 | proc print data=tmp; |
---|
60 | title "Tmp2 Extreme Days"; |
---|
61 | run; |
---|
62 | --------BoNdArY-------- |
---|
63 | f out_variable foo |
---|
64 | ############################################### |
---|
65 | # definition for output file |
---|
66 | f xml_out_map_file XMLCount.map |
---|
67 | --------BoNdArY-------- |
---|
68 | f out_detail lbl_not_used__see_xml_out_map_file |
---|
69 | Count 15.0 |
---|
70 | --------BoNdArY-------- |
---|
Note: See
TracBrowser
for help on using the repository browser.