1
+ { \rtf 1 \ansi\ansicpg 1252 \cocoartf 2513
2
+ \cocoatextscaling 0 \cocoaplatform 0 { \fonttbl\f 0 \fnil\fcharset 0 Menlo-Regular;}
3
+ { \colortbl ;\red 255 \green 255 \blue 255 ;\red 39 \green 78 \blue 204 ;\red 255 \green 255 \blue 254 ;\red 0 \green 0 \blue 0 ;
4
+ \red 21 \green 129 \blue 62 ;\red 42 \green 55 \blue 62 ;\red 238 \green 57 \blue 24 ;}
5
+ {\* \expandedcolortbl ;;\cssrgb\c 20000 \c 40392 \c 83922 ;\cssrgb\c 100000 \c 100000 \c 99608 ;\cssrgb\c 0 \c 0 \c 0 ;
6
+ \cssrgb\c 5098 \c 56471 \c 30980 ;\cssrgb\c 21569 \c 27843 \c 30980 ;\cssrgb\c 95686 \c 31765 \c 11765 ;}
7
+ \margl 1440 \margr 1440 \vieww 10800 \viewh 8400 \viewkind 0
8
+ \deftab 720
9
+ \pard\pardeftab 720 \sl 360 \partightenfactor 0
10
+
11
+ \f 0 \fs 24 \cf 2 \cb 3 \expnd 0 \expndtw 0 \kerning 0
12
+ \outl 0 \strokewidth 0 \strokec 2 CREATE\cf 4 \strokec 4 \cf 2 \strokec 2 OR\cf 4 \strokec 4 \cf 2 \strokec 2 REPLACE\cf 4 \strokec 4 \cf 2 \strokec 2 TABLE\cf 4 \strokec 4 \cf 5 \strokec 5 `future_mtn.tmp-spatial`\cf 4 \strokec 4 \cf 2 \strokec 2 as\cf 4 \strokec 4 \cb 1 \
13
+ \cf 2 \cb 3 \strokec 2 SELECT\cf 4 \strokec 4 \cf 2 \strokec 2 safe_add\cf 6 \strokec 6 (\cf 4 \strokec 4 cs_dead_stemc, cs_live_stemc\cf 6 \strokec 6 )\cf 4 \strokec 4 \cf 2 \strokec 2 as\cf 4 \strokec 4 stemc, cs_leafc, patchID \cf 2 \strokec 2 as\cf 4 \strokec 4 patchfamilyIdx, day, month, year, snowpack, burn\cb 1 \
14
+ \cf 2 \cb 3 \strokec 2 FROM\cf 4 \strokec 4 \cf 5 \strokec 5 `future_mtn.tmp-spatial`\cf 4 \strokec 4 ;\cb 1 \
15
+ \
16
+ \cf 2 \cb 3 \strokec 2 CREATE\cf 4 \strokec 4 \cf 2 \strokec 2 OR\cf 4 \strokec 4 \cf 2 \strokec 2 REPLACE\cf 4 \strokec 4 \cf 2 \strokec 2 TABLE\cf 4 \strokec 4 \cf 5 \strokec 5 `future_mtn.tmp-spatial`\cf 4 \strokec 4 \cf 2 \strokec 2 as\cf 4 \strokec 4 \cb 1 \
17
+ \cf 2 \cb 3 \strokec 2 SELECT\cf 4 \strokec 4 patchfamilyIdx, \cf 2 \strokec 2 safe_add\cf 6 \strokec 6 (\cf 4 \strokec 4 stemc, cs_leafc\cf 6 \strokec 6 )\cf 4 \strokec 4 \cf 2 \strokec 2 as\cf 4 \strokec 4 plantc, day, month, year, snowpack, burn\cb 1 \
18
+ \cf 2 \cb 3 \strokec 2 FROM\cf 4 \strokec 4 \cf 5 \strokec 5 `future_mtn.tmp-spatial`\cf 4 \strokec 4 ;\cb 1 \
19
+ \
20
+ \cf 2 \cb 3 \strokec 2 CREATE\cf 4 \strokec 4 \cf 2 \strokec 2 OR\cf 4 \strokec 4 \cf 2 \strokec 2 REPLACE\cf 4 \strokec 4 \cf 2 \strokec 2 TABLE\cf 4 \strokec 4 \cf 5 \strokec 5 `future_mtn.tmp-spatial`\cf 4 \strokec 4 \cf 2 \strokec 2 as\cf 4 \strokec 4 \cb 1 \
21
+ \cf 2 \cb 3 \strokec 2 SELECT\cf 4 \strokec 4 \cf 2 \strokec 2 DATE\cf 6 \strokec 6 (\cf 4 \strokec 4 year, month, day\cf 6 \strokec 6 )\cf 4 \strokec 4 \cf 2 \strokec 2 as\cf 4 \strokec 4 \cf 5 \strokec 5 `date`\cf 4 \strokec 4 , plantc, patchfamilyIdx, snowpack, burn \cb 1 \
22
+ \cf 2 \cb 3 \strokec 2 FROM\cf 4 \strokec 4 \cf 5 \strokec 5 `future_mtn.tmp-spatial`\cf 4 \strokec 4 ; \cb 1 \
23
+ \
24
+ \cf 2 \cb 3 \strokec 2 ALTER\cf 4 \strokec 4 \cf 2 \strokec 2 TABLE\cf 4 \strokec 4 \cf 5 \strokec 5 `future_mtn.tmp-spatial`\cf 4 \cb 1 \strokec 4 \
25
+ \cf 2 \cb 3 \strokec 2 ADD\cf 4 \strokec 4 \cf 2 \strokec 2 COLUMN\cf 4 \strokec 4 warmingIdx INT;\cb 1 \
26
+ \
27
+ \cf 2 \cb 3 \strokec 2 INSERT\cf 4 \strokec 4 \cf 5 \strokec 5 `bigcreek.future_mtn.spatial_data_point`\cf 4 \strokec 4 \cb 1 \
28
+ \cf 2 \cb 3 \strokec 2 SELECT\cf 4 \cb 1 \strokec 4 \
29
+ \pard\pardeftab 720 \sl 360 \partightenfactor 0
30
+ \cf 4 \cb 3 \cf 7 \strokec 7 1\cf 4 \strokec 4 \cf 2 \strokec 2 AS\cf 4 \strokec 4 warmingIdx, plantc, patchfamilyIdx, snowpack, burn, \cf 2 \strokec 2 date\cf 4 \strokec 4 \cb 1 \
31
+ \pard\pardeftab 720 \sl 360 \partightenfactor 0
32
+ \cf 2 \cb 3 \strokec 2 FROM\cf 4 \cb 1 \strokec 4 \
33
+ \pard\pardeftab 720 \sl 360 \partightenfactor 0
34
+ \cf 4 \cb 3 \cf 5 \strokec 5 `future_mtn.tmp-spatial`\cf 4 \strokec 4 ;\cb 1 \
35
+ \
36
+ \pard\pardeftab 720 \sl 360 \partightenfactor 0
37
+ \cf 2 \cb 3 \strokec 2 SELECT\cf 4 \strokec 4 warmingIdx \cf 2 \strokec 2 FROM\cf 4 \strokec 4 \cf 5 \strokec 5 `bigcreek.future_mtn.spatial_data_point`\cf 4 \strokec 4 \cb 1 \
38
+ \cf 2 \cb 3 \strokec 2 group\cf 4 \strokec 4 \cf 2 \strokec 2 by\cf 4 \strokec 4 warmingIdx;\cb 1 \
39
+ \
40
+ \cf 2 \cb 3 \strokec 2 DROP\cf 4 \strokec 4 \cf 2 \strokec 2 TABLE\cf 4 \strokec 4 \cf 5 \strokec 5 `future_mtn.tmp-spatial`\cf 4 \cb 1 \strokec 4 \
41
+ }
0 commit comments