source: main/adopters/nm/trunk/src/main/backend_qModules/3.0/_EPHT/climate/Threshold_count_min_day.def @ 25311

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 
1f label Count
2f type special
3##############################################
4--------BoNdArY--------
51 script
6/*
7proc print data=tmp;
8     title "Tmp Data";
9run;
10*/
11
12 proc sort data=tmp;
13   by %cross1%
14          ?cross2? %cross2%
15          sasdateobs tmin;
16
17data  tmp; * data=tmp;
18  set tmp;
19   by %cross1%
20          ?cross2? %cross2%
21          sasdateobs tmin;
22      year = Year(sasdateobs);
23          if Year > . ;
24          if last.sasdateobs;
25 run;
26 
27/*
28proc print data=tmp;
29     title "Tmp Data";
30run;
31*/
32
33 proc summary data=tmp nway;
34  var Tmin;
35          class %cross1%
36                        ?cross2? %cross2%
37                        Year
38          ;
39  output out=tmp n=n sum=sum min=min ;
40  run;
41
42 proc print data=tmp;
43      title "Tmp Summary";
44  run;
45
46data  tmp (drop=_type_ _freq_ sum min);
47  set tmp;
48      format year;
49          count = n;
50  run;
51
52data 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 Nights";
61  run;
62--------BoNdArY--------
63f out_variable foo
64###############################################
65# definition for output file
66f xml_out_map_file XMLCount.map
67--------BoNdArY--------
68f 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.