Revision 8839
Added by Aaron Marcuse-Kubitza over 11 years ago
inputs/FIA/_MySQL/geoscrub.schema.sql.make | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
env server=nimoy schema=1 my2pg_export geoscrub FIA_COND |
|
3 | 0 |
inputs/FIA/_MySQL/geoscrub.schema.sql | ||
---|---|---|
1 |
-- MySQL dump 10.13 Distrib 5.5.28, for debian-linux-gnu (x86_64) |
|
2 |
-- |
|
3 |
-- Host: localhost Database: geoscrub |
|
4 |
-- ------------------------------------------------------ |
|
5 |
-- Server version 5.5.28-0ubuntu0.12.04.2 |
|
6 |
|
|
7 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
8 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
9 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
10 |
/*!40101 SET NAMES latin1 */; |
|
11 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
12 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
13 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
14 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
15 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,POSTGRESQL' */; |
|
16 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
17 |
|
|
18 |
-- |
|
19 |
-- Table structure for table "FIA_COND" |
|
20 |
-- |
|
21 |
|
|
22 |
DROP TABLE IF EXISTS "FIA_COND"; |
|
23 |
/*!40101 SET @saved_cs_client = @@character_set_client */; |
|
24 |
/*!40101 SET character_set_client = utf8 */; |
|
25 |
CREATE TABLE "FIA_COND" ( |
|
26 |
"CN" bigint(20) unsigned NOT NULL, |
|
27 |
"PLT_CN" bigint(20) unsigned NOT NULL, |
|
28 |
"INVYR" int(10) unsigned DEFAULT NULL, |
|
29 |
"STATECD" int(10) unsigned DEFAULT NULL, |
|
30 |
"UNITCD" int(10) unsigned DEFAULT NULL, |
|
31 |
"COUNTYCD" int(10) unsigned DEFAULT NULL, |
|
32 |
"PLOT" int(10) unsigned DEFAULT NULL, |
|
33 |
"CONDID" int(10) DEFAULT NULL, |
|
34 |
"COND_STATUS_CD" int(10) DEFAULT NULL, |
|
35 |
"COND_NONSAMPLE_REASN_CD" int(10) DEFAULT NULL, |
|
36 |
"RESERVCD" int(10) DEFAULT NULL, |
|
37 |
"OWNCD" int(10) DEFAULT NULL, |
|
38 |
"OWNGRPCD" int(10) DEFAULT NULL, |
|
39 |
"FORINDCD" int(10) DEFAULT NULL, |
|
40 |
"ADFORCD" int(10) DEFAULT NULL, |
|
41 |
"FORTYPCD" int(10) DEFAULT NULL, |
|
42 |
"FLDTYPCD" int(10) DEFAULT NULL, |
|
43 |
"MAPDEN" int(10) DEFAULT NULL, |
|
44 |
"STDAGE" int(10) DEFAULT NULL, |
|
45 |
"STDSZCD" int(10) DEFAULT NULL, |
|
46 |
"FLDSZCD" int(10) DEFAULT NULL, |
|
47 |
"SITECLCD" int(10) DEFAULT NULL, |
|
48 |
"SICOND" int(10) DEFAULT NULL, |
|
49 |
"SIBASE" int(10) DEFAULT NULL, |
|
50 |
"SISP" varchar(255) DEFAULT NULL, |
|
51 |
"STDORGCD" int(10) DEFAULT NULL, |
|
52 |
"STDORGSP" varchar(255) DEFAULT NULL, |
|
53 |
"PROP_BASIS" varchar(255) DEFAULT NULL, |
|
54 |
"CONDPROP_UNADJ" int(10) DEFAULT NULL, |
|
55 |
"MICRPROP_UNADJ" int(10) DEFAULT NULL, |
|
56 |
"SUBPPROP_UNADJ" varchar(255) DEFAULT NULL, |
|
57 |
"MACRPROP_UNADJ" varchar(255) DEFAULT NULL, |
|
58 |
"SLOPE" int(10) DEFAULT NULL, |
|
59 |
"ASPECT" int(10) DEFAULT NULL, |
|
60 |
"PHYSCLCD" int(10) DEFAULT NULL, |
|
61 |
"GSSTKCD" int(10) DEFAULT NULL, |
|
62 |
"ALSTKCD" int(10) DEFAULT NULL, |
|
63 |
"DSTRBCD1" varchar(255) DEFAULT NULL, |
|
64 |
"DSTRBYR1" varchar(255) DEFAULT NULL, |
|
65 |
"DSTRBCD2" varchar(255) DEFAULT NULL, |
|
66 |
"DSTRBYR2" varchar(255) DEFAULT NULL, |
|
67 |
"DSTRBCD3" varchar(255) DEFAULT NULL, |
|
68 |
"DSTRBYR3" varchar(255) DEFAULT NULL, |
|
69 |
"TRTCD1" varchar(255) DEFAULT NULL, |
|
70 |
"TRTYR1" varchar(255) DEFAULT NULL, |
|
71 |
"TRTCD2" varchar(255) DEFAULT NULL, |
|
72 |
"TRTYR2" varchar(255) DEFAULT NULL, |
|
73 |
"TRTCD3" varchar(255) DEFAULT NULL, |
|
74 |
"TRTYR3" varchar(255) DEFAULT NULL, |
|
75 |
"PRESNFCD" varchar(255) DEFAULT NULL, |
|
76 |
"BALIVE" decimal(10,4) DEFAULT NULL, |
|
77 |
"FLDAGE" varchar(255) DEFAULT NULL, |
|
78 |
"ALSTK" varchar(255) DEFAULT NULL, |
|
79 |
"GSSTK" varchar(255) DEFAULT NULL, |
|
80 |
"FORTYPCDCALC" varchar(255) DEFAULT NULL, |
|
81 |
"HABTYPCD1" varchar(255) DEFAULT NULL, |
|
82 |
"HABTYPCD1_PUB_CD" varchar(255) DEFAULT NULL, |
|
83 |
"HABTYPCD1_DESCR_PUB_CD" varchar(255) DEFAULT NULL, |
|
84 |
"HABTYPCD2" varchar(255) DEFAULT NULL, |
|
85 |
"HABTYPCD2_PUB_CD" varchar(255) DEFAULT NULL, |
|
86 |
"HABTYPCD2_DESCR_PUB_CD" varchar(255) DEFAULT NULL, |
|
87 |
"MIXEDCONFCD" varchar(255) DEFAULT NULL, |
|
88 |
"VOL_LOC_GRP" varchar(255) DEFAULT NULL, |
|
89 |
"SITECLCDEST" varchar(255) DEFAULT NULL, |
|
90 |
"SITETREE_TREE" varchar(255) DEFAULT NULL, |
|
91 |
"SITECL_METHOD" varchar(255) DEFAULT NULL, |
|
92 |
"CARBON_DOWN_DEAD" varchar(255) DEFAULT NULL, |
|
93 |
"CARBON_LITTER" varchar(255) DEFAULT NULL, |
|
94 |
"CARBON_SOIL_ORG" varchar(255) DEFAULT NULL, |
|
95 |
"CARBON_STANDING_DEAD" varchar(255) DEFAULT NULL, |
|
96 |
"CARBON_UNDERSTORY_AG" varchar(255) DEFAULT NULL, |
|
97 |
"CARBON_UNDERSTORY_BG" varchar(255) DEFAULT NULL, |
|
98 |
"CREATED_BY" varchar(255) DEFAULT NULL, |
|
99 |
"CREATED_DATE" varchar(255) DEFAULT NULL, |
|
100 |
"CREATED_IN_INSTANCE" varchar(255) DEFAULT NULL, |
|
101 |
"MODIFIED_BY" varchar(255) DEFAULT NULL, |
|
102 |
"MODIFIED_DATE" varchar(255) DEFAULT NULL, |
|
103 |
"MODIFIED_IN_INSTANCE" varchar(255) DEFAULT NULL, |
|
104 |
"CYCLE" varchar(255) DEFAULT NULL, |
|
105 |
"SUBCYCLE" varchar(255) DEFAULT NULL, |
|
106 |
"SOIL_ROOTING_DEPTH_PNW" varchar(255) DEFAULT NULL, |
|
107 |
"GROUND_LAND_CLASS_PNW" varchar(255) DEFAULT NULL, |
|
108 |
"PLANT_STOCKABILITY_FACTOR_PNW" varchar(255) DEFAULT NULL, |
|
109 |
"STND_COND_CD_PNWRS" varchar(255) DEFAULT NULL, |
|
110 |
"STND_STRUC_CD_PNWRS" varchar(255) DEFAULT NULL, |
|
111 |
"STUMP_CD_PNWRS" varchar(255) DEFAULT NULL, |
|
112 |
"FIRE_SRS" varchar(255) DEFAULT NULL, |
|
113 |
"GRAZING_SRS" varchar(255) DEFAULT NULL, |
|
114 |
"HARVEST_TYPE1_SRS" varchar(255) DEFAULT NULL, |
|
115 |
"HARVEST_TYPE2_SRS" varchar(255) DEFAULT NULL, |
|
116 |
"HARVEST_TYPE3_SRS" varchar(255) DEFAULT NULL, |
|
117 |
"LAND_USE_SRS" varchar(255) DEFAULT NULL, |
|
118 |
"OPERABILITY_SRS" varchar(255) DEFAULT NULL, |
|
119 |
"STAND_STRUCTURE_SRS" varchar(255) DEFAULT NULL, |
|
120 |
"oldgrowth" int(1) unsigned NOT NULL DEFAULT '0', |
|
121 |
KEY "Index_CN" ("CN"), |
|
122 |
KEY "Index_PLT_CN" ("PLT_CN"), |
|
123 |
KEY "Index_4" ("RESERVCD"), |
|
124 |
KEY "Index_5" ("OWNCD"), |
|
125 |
KEY "Index_6" ("OWNGRPCD"), |
|
126 |
KEY "Index_7" ("STDAGE"), |
|
127 |
KEY "Index_oldgrowth" ("oldgrowth") |
|
128 |
); |
|
129 |
/*!40101 SET character_set_client = @saved_cs_client */; |
|
130 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
131 |
|
|
132 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
133 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
134 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
135 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
136 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
137 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
138 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
139 |
|
|
140 |
-- Dump completed on 2012-11-19 18:14:31 |
inputs/FIA/_MySQL/geoscrub.data.sql.make | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
env server=nimoy data=1 my2pg_export geoscrub FIA_COND |
|
3 | 0 |
inputs/FIA/geoscrub.schema.sql | ||
---|---|---|
1 |
SET standard_conforming_strings = off; |
|
2 |
SET escape_string_warning = off; |
|
3 |
-- MySQL dump 10.13 Distrib 5.5.28, for debian-linux-gnu (x86_64) |
|
4 |
-- |
|
5 |
-- Host: localhost Database: geoscrub |
|
6 |
-- ------------------------------------------------------ |
|
7 |
-- Server version 5.5.28-0ubuntu0.12.04.2 |
|
8 |
|
|
9 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
10 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
11 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
12 |
SET NAMES 'latin1'; |
|
13 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
14 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
15 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
16 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
17 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,POSTGRESQL' */; |
|
18 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
19 |
|
|
20 |
-- |
|
21 |
-- Table structure for table "FIA_COND" |
|
22 |
-- |
|
23 |
|
|
24 |
DROP TABLE IF EXISTS "FIA_COND"; |
|
25 |
/*!40101 SET @saved_cs_client = @@character_set_client */; |
|
26 |
/*!40101 SET character_set_client = utf8 */; |
|
27 |
CREATE TABLE "FIA_COND" ( |
|
28 |
"CN" bigint NOT NULL, |
|
29 |
"PLT_CN" bigint NOT NULL, |
|
30 |
"INVYR" integer DEFAULT NULL, |
|
31 |
"STATECD" integer DEFAULT NULL, |
|
32 |
"UNITCD" integer DEFAULT NULL, |
|
33 |
"COUNTYCD" integer DEFAULT NULL, |
|
34 |
"PLOT" integer DEFAULT NULL, |
|
35 |
"CONDID" integer DEFAULT NULL, |
|
36 |
"COND_STATUS_CD" integer DEFAULT NULL, |
|
37 |
"COND_NONSAMPLE_REASN_CD" integer DEFAULT NULL, |
|
38 |
"RESERVCD" integer DEFAULT NULL, |
|
39 |
"OWNCD" integer DEFAULT NULL, |
|
40 |
"OWNGRPCD" integer DEFAULT NULL, |
|
41 |
"FORINDCD" integer DEFAULT NULL, |
|
42 |
"ADFORCD" integer DEFAULT NULL, |
|
43 |
"FORTYPCD" integer DEFAULT NULL, |
|
44 |
"FLDTYPCD" integer DEFAULT NULL, |
|
45 |
"MAPDEN" integer DEFAULT NULL, |
|
46 |
"STDAGE" integer DEFAULT NULL, |
|
47 |
"STDSZCD" integer DEFAULT NULL, |
|
48 |
"FLDSZCD" integer DEFAULT NULL, |
|
49 |
"SITECLCD" integer DEFAULT NULL, |
|
50 |
"SICOND" integer DEFAULT NULL, |
|
51 |
"SIBASE" integer DEFAULT NULL, |
|
52 |
"SISP" varchar(255) DEFAULT NULL, |
|
53 |
"STDORGCD" integer DEFAULT NULL, |
|
54 |
"STDORGSP" varchar(255) DEFAULT NULL, |
|
55 |
"PROP_BASIS" varchar(255) DEFAULT NULL, |
|
56 |
"CONDPROP_UNADJ" integer DEFAULT NULL, |
|
57 |
"MICRPROP_UNADJ" integer DEFAULT NULL, |
|
58 |
"SUBPPROP_UNADJ" varchar(255) DEFAULT NULL, |
|
59 |
"MACRPROP_UNADJ" varchar(255) DEFAULT NULL, |
|
60 |
"SLOPE" integer DEFAULT NULL, |
|
61 |
"ASPECT" integer DEFAULT NULL, |
|
62 |
"PHYSCLCD" integer DEFAULT NULL, |
|
63 |
"GSSTKCD" integer DEFAULT NULL, |
|
64 |
"ALSTKCD" integer DEFAULT NULL, |
|
65 |
"DSTRBCD1" varchar(255) DEFAULT NULL, |
|
66 |
"DSTRBYR1" varchar(255) DEFAULT NULL, |
|
67 |
"DSTRBCD2" varchar(255) DEFAULT NULL, |
|
68 |
"DSTRBYR2" varchar(255) DEFAULT NULL, |
|
69 |
"DSTRBCD3" varchar(255) DEFAULT NULL, |
|
70 |
"DSTRBYR3" varchar(255) DEFAULT NULL, |
|
71 |
"TRTCD1" varchar(255) DEFAULT NULL, |
|
72 |
"TRTYR1" varchar(255) DEFAULT NULL, |
|
73 |
"TRTCD2" varchar(255) DEFAULT NULL, |
|
74 |
"TRTYR2" varchar(255) DEFAULT NULL, |
|
75 |
"TRTCD3" varchar(255) DEFAULT NULL, |
|
76 |
"TRTYR3" varchar(255) DEFAULT NULL, |
|
77 |
"PRESNFCD" varchar(255) DEFAULT NULL, |
|
78 |
"BALIVE" decimal(10,4) DEFAULT NULL, |
|
79 |
"FLDAGE" varchar(255) DEFAULT NULL, |
|
80 |
"ALSTK" varchar(255) DEFAULT NULL, |
|
81 |
"GSSTK" varchar(255) DEFAULT NULL, |
|
82 |
"FORTYPCDCALC" varchar(255) DEFAULT NULL, |
|
83 |
"HABTYPCD1" varchar(255) DEFAULT NULL, |
|
84 |
"HABTYPCD1_PUB_CD" varchar(255) DEFAULT NULL, |
|
85 |
"HABTYPCD1_DESCR_PUB_CD" varchar(255) DEFAULT NULL, |
|
86 |
"HABTYPCD2" varchar(255) DEFAULT NULL, |
|
87 |
"HABTYPCD2_PUB_CD" varchar(255) DEFAULT NULL, |
|
88 |
"HABTYPCD2_DESCR_PUB_CD" varchar(255) DEFAULT NULL, |
|
89 |
"MIXEDCONFCD" varchar(255) DEFAULT NULL, |
|
90 |
"VOL_LOC_GRP" varchar(255) DEFAULT NULL, |
|
91 |
"SITECLCDEST" varchar(255) DEFAULT NULL, |
|
92 |
"SITETREE_TREE" varchar(255) DEFAULT NULL, |
|
93 |
"SITECL_METHOD" varchar(255) DEFAULT NULL, |
|
94 |
"CARBON_DOWN_DEAD" varchar(255) DEFAULT NULL, |
|
95 |
"CARBON_LITTER" varchar(255) DEFAULT NULL, |
|
96 |
"CARBON_SOIL_ORG" varchar(255) DEFAULT NULL, |
|
97 |
"CARBON_STANDING_DEAD" varchar(255) DEFAULT NULL, |
|
98 |
"CARBON_UNDERSTORY_AG" varchar(255) DEFAULT NULL, |
|
99 |
"CARBON_UNDERSTORY_BG" varchar(255) DEFAULT NULL, |
|
100 |
"CREATED_BY" varchar(255) DEFAULT NULL, |
|
101 |
"CREATED_DATE" varchar(255) DEFAULT NULL, |
|
102 |
"CREATED_IN_INSTANCE" varchar(255) DEFAULT NULL, |
|
103 |
"MODIFIED_BY" varchar(255) DEFAULT NULL, |
|
104 |
"MODIFIED_DATE" varchar(255) DEFAULT NULL, |
|
105 |
"MODIFIED_IN_INSTANCE" varchar(255) DEFAULT NULL, |
|
106 |
"CYCLE" varchar(255) DEFAULT NULL, |
|
107 |
"SUBCYCLE" varchar(255) DEFAULT NULL, |
|
108 |
"SOIL_ROOTING_DEPTH_PNW" varchar(255) DEFAULT NULL, |
|
109 |
"GROUND_LAND_CLASS_PNW" varchar(255) DEFAULT NULL, |
|
110 |
"PLANT_STOCKABILITY_FACTOR_PNW" varchar(255) DEFAULT NULL, |
|
111 |
"STND_COND_CD_PNWRS" varchar(255) DEFAULT NULL, |
|
112 |
"STND_STRUC_CD_PNWRS" varchar(255) DEFAULT NULL, |
|
113 |
"STUMP_CD_PNWRS" varchar(255) DEFAULT NULL, |
|
114 |
"FIRE_SRS" varchar(255) DEFAULT NULL, |
|
115 |
"GRAZING_SRS" varchar(255) DEFAULT NULL, |
|
116 |
"HARVEST_TYPE1_SRS" varchar(255) DEFAULT NULL, |
|
117 |
"HARVEST_TYPE2_SRS" varchar(255) DEFAULT NULL, |
|
118 |
"HARVEST_TYPE3_SRS" varchar(255) DEFAULT NULL, |
|
119 |
"LAND_USE_SRS" varchar(255) DEFAULT NULL, |
|
120 |
"OPERABILITY_SRS" varchar(255) DEFAULT NULL, |
|
121 |
"STAND_STRUCTURE_SRS" varchar(255) DEFAULT NULL, |
|
122 |
"oldgrowth" integer NOT NULL DEFAULT '0', |
|
123 |
"Index_CN_index" boolean, |
|
124 |
"Index_PLT_CN_index" boolean, |
|
125 |
"Index_4_index" boolean, |
|
126 |
"Index_5_index" boolean, |
|
127 |
"Index_6_index" boolean, |
|
128 |
"Index_7_index" boolean, |
|
129 |
"Index_oldgrowth_index" boolean |
|
130 |
); |
|
131 |
/*!40101 SET character_set_client = @saved_cs_client */; |
|
132 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
133 |
|
|
134 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
135 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
136 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
137 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
138 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
139 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
140 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
141 |
|
|
142 |
-- Dump completed on 2012-11-19 18:14:31 |
inputs/FIA/_archive/2011-10-17/_MySQL/geoscrub.schema.sql.make | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
env server=nimoy schema=1 my2pg_export geoscrub FIA_COND |
|
0 | 3 |
inputs/FIA/_archive/2011-10-17/_MySQL/geoscrub.schema.sql | ||
---|---|---|
1 |
-- MySQL dump 10.13 Distrib 5.5.28, for debian-linux-gnu (x86_64) |
|
2 |
-- |
|
3 |
-- Host: localhost Database: geoscrub |
|
4 |
-- ------------------------------------------------------ |
|
5 |
-- Server version 5.5.28-0ubuntu0.12.04.2 |
|
6 |
|
|
7 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
8 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
9 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
10 |
/*!40101 SET NAMES latin1 */; |
|
11 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
12 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
13 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
14 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
15 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,POSTGRESQL' */; |
|
16 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
17 |
|
|
18 |
-- |
|
19 |
-- Table structure for table "FIA_COND" |
|
20 |
-- |
|
21 |
|
|
22 |
DROP TABLE IF EXISTS "FIA_COND"; |
|
23 |
/*!40101 SET @saved_cs_client = @@character_set_client */; |
|
24 |
/*!40101 SET character_set_client = utf8 */; |
|
25 |
CREATE TABLE "FIA_COND" ( |
|
26 |
"CN" bigint(20) unsigned NOT NULL, |
|
27 |
"PLT_CN" bigint(20) unsigned NOT NULL, |
|
28 |
"INVYR" int(10) unsigned DEFAULT NULL, |
|
29 |
"STATECD" int(10) unsigned DEFAULT NULL, |
|
30 |
"UNITCD" int(10) unsigned DEFAULT NULL, |
|
31 |
"COUNTYCD" int(10) unsigned DEFAULT NULL, |
|
32 |
"PLOT" int(10) unsigned DEFAULT NULL, |
|
33 |
"CONDID" int(10) DEFAULT NULL, |
|
34 |
"COND_STATUS_CD" int(10) DEFAULT NULL, |
|
35 |
"COND_NONSAMPLE_REASN_CD" int(10) DEFAULT NULL, |
|
36 |
"RESERVCD" int(10) DEFAULT NULL, |
|
37 |
"OWNCD" int(10) DEFAULT NULL, |
|
38 |
"OWNGRPCD" int(10) DEFAULT NULL, |
|
39 |
"FORINDCD" int(10) DEFAULT NULL, |
|
40 |
"ADFORCD" int(10) DEFAULT NULL, |
|
41 |
"FORTYPCD" int(10) DEFAULT NULL, |
|
42 |
"FLDTYPCD" int(10) DEFAULT NULL, |
|
43 |
"MAPDEN" int(10) DEFAULT NULL, |
|
44 |
"STDAGE" int(10) DEFAULT NULL, |
|
45 |
"STDSZCD" int(10) DEFAULT NULL, |
|
46 |
"FLDSZCD" int(10) DEFAULT NULL, |
|
47 |
"SITECLCD" int(10) DEFAULT NULL, |
|
48 |
"SICOND" int(10) DEFAULT NULL, |
|
49 |
"SIBASE" int(10) DEFAULT NULL, |
|
50 |
"SISP" varchar(255) DEFAULT NULL, |
|
51 |
"STDORGCD" int(10) DEFAULT NULL, |
|
52 |
"STDORGSP" varchar(255) DEFAULT NULL, |
|
53 |
"PROP_BASIS" varchar(255) DEFAULT NULL, |
|
54 |
"CONDPROP_UNADJ" int(10) DEFAULT NULL, |
|
55 |
"MICRPROP_UNADJ" int(10) DEFAULT NULL, |
|
56 |
"SUBPPROP_UNADJ" varchar(255) DEFAULT NULL, |
|
57 |
"MACRPROP_UNADJ" varchar(255) DEFAULT NULL, |
|
58 |
"SLOPE" int(10) DEFAULT NULL, |
|
59 |
"ASPECT" int(10) DEFAULT NULL, |
|
60 |
"PHYSCLCD" int(10) DEFAULT NULL, |
|
61 |
"GSSTKCD" int(10) DEFAULT NULL, |
|
62 |
"ALSTKCD" int(10) DEFAULT NULL, |
|
63 |
"DSTRBCD1" varchar(255) DEFAULT NULL, |
|
64 |
"DSTRBYR1" varchar(255) DEFAULT NULL, |
|
65 |
"DSTRBCD2" varchar(255) DEFAULT NULL, |
|
66 |
"DSTRBYR2" varchar(255) DEFAULT NULL, |
|
67 |
"DSTRBCD3" varchar(255) DEFAULT NULL, |
|
68 |
"DSTRBYR3" varchar(255) DEFAULT NULL, |
|
69 |
"TRTCD1" varchar(255) DEFAULT NULL, |
|
70 |
"TRTYR1" varchar(255) DEFAULT NULL, |
|
71 |
"TRTCD2" varchar(255) DEFAULT NULL, |
|
72 |
"TRTYR2" varchar(255) DEFAULT NULL, |
|
73 |
"TRTCD3" varchar(255) DEFAULT NULL, |
|
74 |
"TRTYR3" varchar(255) DEFAULT NULL, |
|
75 |
"PRESNFCD" varchar(255) DEFAULT NULL, |
|
76 |
"BALIVE" decimal(10,4) DEFAULT NULL, |
|
77 |
"FLDAGE" varchar(255) DEFAULT NULL, |
|
78 |
"ALSTK" varchar(255) DEFAULT NULL, |
|
79 |
"GSSTK" varchar(255) DEFAULT NULL, |
|
80 |
"FORTYPCDCALC" varchar(255) DEFAULT NULL, |
|
81 |
"HABTYPCD1" varchar(255) DEFAULT NULL, |
|
82 |
"HABTYPCD1_PUB_CD" varchar(255) DEFAULT NULL, |
|
83 |
"HABTYPCD1_DESCR_PUB_CD" varchar(255) DEFAULT NULL, |
|
84 |
"HABTYPCD2" varchar(255) DEFAULT NULL, |
|
85 |
"HABTYPCD2_PUB_CD" varchar(255) DEFAULT NULL, |
|
86 |
"HABTYPCD2_DESCR_PUB_CD" varchar(255) DEFAULT NULL, |
|
87 |
"MIXEDCONFCD" varchar(255) DEFAULT NULL, |
|
88 |
"VOL_LOC_GRP" varchar(255) DEFAULT NULL, |
|
89 |
"SITECLCDEST" varchar(255) DEFAULT NULL, |
|
90 |
"SITETREE_TREE" varchar(255) DEFAULT NULL, |
|
91 |
"SITECL_METHOD" varchar(255) DEFAULT NULL, |
|
92 |
"CARBON_DOWN_DEAD" varchar(255) DEFAULT NULL, |
|
93 |
"CARBON_LITTER" varchar(255) DEFAULT NULL, |
|
94 |
"CARBON_SOIL_ORG" varchar(255) DEFAULT NULL, |
|
95 |
"CARBON_STANDING_DEAD" varchar(255) DEFAULT NULL, |
|
96 |
"CARBON_UNDERSTORY_AG" varchar(255) DEFAULT NULL, |
|
97 |
"CARBON_UNDERSTORY_BG" varchar(255) DEFAULT NULL, |
|
98 |
"CREATED_BY" varchar(255) DEFAULT NULL, |
|
99 |
"CREATED_DATE" varchar(255) DEFAULT NULL, |
|
100 |
"CREATED_IN_INSTANCE" varchar(255) DEFAULT NULL, |
|
101 |
"MODIFIED_BY" varchar(255) DEFAULT NULL, |
|
102 |
"MODIFIED_DATE" varchar(255) DEFAULT NULL, |
|
103 |
"MODIFIED_IN_INSTANCE" varchar(255) DEFAULT NULL, |
|
104 |
"CYCLE" varchar(255) DEFAULT NULL, |
|
105 |
"SUBCYCLE" varchar(255) DEFAULT NULL, |
|
106 |
"SOIL_ROOTING_DEPTH_PNW" varchar(255) DEFAULT NULL, |
|
107 |
"GROUND_LAND_CLASS_PNW" varchar(255) DEFAULT NULL, |
|
108 |
"PLANT_STOCKABILITY_FACTOR_PNW" varchar(255) DEFAULT NULL, |
|
109 |
"STND_COND_CD_PNWRS" varchar(255) DEFAULT NULL, |
|
110 |
"STND_STRUC_CD_PNWRS" varchar(255) DEFAULT NULL, |
|
111 |
"STUMP_CD_PNWRS" varchar(255) DEFAULT NULL, |
|
112 |
"FIRE_SRS" varchar(255) DEFAULT NULL, |
|
113 |
"GRAZING_SRS" varchar(255) DEFAULT NULL, |
|
114 |
"HARVEST_TYPE1_SRS" varchar(255) DEFAULT NULL, |
|
115 |
"HARVEST_TYPE2_SRS" varchar(255) DEFAULT NULL, |
|
116 |
"HARVEST_TYPE3_SRS" varchar(255) DEFAULT NULL, |
|
117 |
"LAND_USE_SRS" varchar(255) DEFAULT NULL, |
|
118 |
"OPERABILITY_SRS" varchar(255) DEFAULT NULL, |
|
119 |
"STAND_STRUCTURE_SRS" varchar(255) DEFAULT NULL, |
|
120 |
"oldgrowth" int(1) unsigned NOT NULL DEFAULT '0', |
|
121 |
KEY "Index_CN" ("CN"), |
|
122 |
KEY "Index_PLT_CN" ("PLT_CN"), |
|
123 |
KEY "Index_4" ("RESERVCD"), |
|
124 |
KEY "Index_5" ("OWNCD"), |
|
125 |
KEY "Index_6" ("OWNGRPCD"), |
|
126 |
KEY "Index_7" ("STDAGE"), |
|
127 |
KEY "Index_oldgrowth" ("oldgrowth") |
|
128 |
); |
|
129 |
/*!40101 SET character_set_client = @saved_cs_client */; |
|
130 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
131 |
|
|
132 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
133 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
134 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
135 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
136 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
137 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
138 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
139 |
|
|
140 |
-- Dump completed on 2012-11-19 18:14:31 |
inputs/FIA/_archive/2011-10-17/_MySQL/geoscrub.data.sql.make | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
env server=nimoy data=1 my2pg_export geoscrub FIA_COND |
|
0 | 3 |
inputs/FIA/_archive/2011-10-17/geoscrub.schema.sql | ||
---|---|---|
1 |
SET standard_conforming_strings = off; |
|
2 |
SET escape_string_warning = off; |
|
3 |
-- MySQL dump 10.13 Distrib 5.5.28, for debian-linux-gnu (x86_64) |
|
4 |
-- |
|
5 |
-- Host: localhost Database: geoscrub |
|
6 |
-- ------------------------------------------------------ |
|
7 |
-- Server version 5.5.28-0ubuntu0.12.04.2 |
|
8 |
|
|
9 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|
10 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|
11 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|
12 |
SET NAMES 'latin1'; |
|
13 |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|
14 |
/*!40103 SET TIME_ZONE='+00:00' */; |
|
15 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|
16 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|
17 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,POSTGRESQL' */; |
|
18 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|
19 |
|
|
20 |
-- |
|
21 |
-- Table structure for table "FIA_COND" |
|
22 |
-- |
|
23 |
|
|
24 |
DROP TABLE IF EXISTS "FIA_COND"; |
|
25 |
/*!40101 SET @saved_cs_client = @@character_set_client */; |
|
26 |
/*!40101 SET character_set_client = utf8 */; |
|
27 |
CREATE TABLE "FIA_COND" ( |
|
28 |
"CN" bigint NOT NULL, |
|
29 |
"PLT_CN" bigint NOT NULL, |
|
30 |
"INVYR" integer DEFAULT NULL, |
|
31 |
"STATECD" integer DEFAULT NULL, |
|
32 |
"UNITCD" integer DEFAULT NULL, |
|
33 |
"COUNTYCD" integer DEFAULT NULL, |
|
34 |
"PLOT" integer DEFAULT NULL, |
|
35 |
"CONDID" integer DEFAULT NULL, |
|
36 |
"COND_STATUS_CD" integer DEFAULT NULL, |
|
37 |
"COND_NONSAMPLE_REASN_CD" integer DEFAULT NULL, |
|
38 |
"RESERVCD" integer DEFAULT NULL, |
|
39 |
"OWNCD" integer DEFAULT NULL, |
|
40 |
"OWNGRPCD" integer DEFAULT NULL, |
|
41 |
"FORINDCD" integer DEFAULT NULL, |
|
42 |
"ADFORCD" integer DEFAULT NULL, |
|
43 |
"FORTYPCD" integer DEFAULT NULL, |
|
44 |
"FLDTYPCD" integer DEFAULT NULL, |
|
45 |
"MAPDEN" integer DEFAULT NULL, |
|
46 |
"STDAGE" integer DEFAULT NULL, |
|
47 |
"STDSZCD" integer DEFAULT NULL, |
|
48 |
"FLDSZCD" integer DEFAULT NULL, |
|
49 |
"SITECLCD" integer DEFAULT NULL, |
|
50 |
"SICOND" integer DEFAULT NULL, |
|
51 |
"SIBASE" integer DEFAULT NULL, |
|
52 |
"SISP" varchar(255) DEFAULT NULL, |
|
53 |
"STDORGCD" integer DEFAULT NULL, |
|
54 |
"STDORGSP" varchar(255) DEFAULT NULL, |
|
55 |
"PROP_BASIS" varchar(255) DEFAULT NULL, |
|
56 |
"CONDPROP_UNADJ" integer DEFAULT NULL, |
|
57 |
"MICRPROP_UNADJ" integer DEFAULT NULL, |
|
58 |
"SUBPPROP_UNADJ" varchar(255) DEFAULT NULL, |
|
59 |
"MACRPROP_UNADJ" varchar(255) DEFAULT NULL, |
|
60 |
"SLOPE" integer DEFAULT NULL, |
|
61 |
"ASPECT" integer DEFAULT NULL, |
|
62 |
"PHYSCLCD" integer DEFAULT NULL, |
|
63 |
"GSSTKCD" integer DEFAULT NULL, |
|
64 |
"ALSTKCD" integer DEFAULT NULL, |
|
65 |
"DSTRBCD1" varchar(255) DEFAULT NULL, |
|
66 |
"DSTRBYR1" varchar(255) DEFAULT NULL, |
|
67 |
"DSTRBCD2" varchar(255) DEFAULT NULL, |
|
68 |
"DSTRBYR2" varchar(255) DEFAULT NULL, |
|
69 |
"DSTRBCD3" varchar(255) DEFAULT NULL, |
|
70 |
"DSTRBYR3" varchar(255) DEFAULT NULL, |
|
71 |
"TRTCD1" varchar(255) DEFAULT NULL, |
|
72 |
"TRTYR1" varchar(255) DEFAULT NULL, |
|
73 |
"TRTCD2" varchar(255) DEFAULT NULL, |
|
74 |
"TRTYR2" varchar(255) DEFAULT NULL, |
|
75 |
"TRTCD3" varchar(255) DEFAULT NULL, |
|
76 |
"TRTYR3" varchar(255) DEFAULT NULL, |
|
77 |
"PRESNFCD" varchar(255) DEFAULT NULL, |
|
78 |
"BALIVE" decimal(10,4) DEFAULT NULL, |
|
79 |
"FLDAGE" varchar(255) DEFAULT NULL, |
|
80 |
"ALSTK" varchar(255) DEFAULT NULL, |
|
81 |
"GSSTK" varchar(255) DEFAULT NULL, |
|
82 |
"FORTYPCDCALC" varchar(255) DEFAULT NULL, |
|
83 |
"HABTYPCD1" varchar(255) DEFAULT NULL, |
|
84 |
"HABTYPCD1_PUB_CD" varchar(255) DEFAULT NULL, |
|
85 |
"HABTYPCD1_DESCR_PUB_CD" varchar(255) DEFAULT NULL, |
|
86 |
"HABTYPCD2" varchar(255) DEFAULT NULL, |
|
87 |
"HABTYPCD2_PUB_CD" varchar(255) DEFAULT NULL, |
|
88 |
"HABTYPCD2_DESCR_PUB_CD" varchar(255) DEFAULT NULL, |
|
89 |
"MIXEDCONFCD" varchar(255) DEFAULT NULL, |
|
90 |
"VOL_LOC_GRP" varchar(255) DEFAULT NULL, |
|
91 |
"SITECLCDEST" varchar(255) DEFAULT NULL, |
|
92 |
"SITETREE_TREE" varchar(255) DEFAULT NULL, |
|
93 |
"SITECL_METHOD" varchar(255) DEFAULT NULL, |
|
94 |
"CARBON_DOWN_DEAD" varchar(255) DEFAULT NULL, |
|
95 |
"CARBON_LITTER" varchar(255) DEFAULT NULL, |
|
96 |
"CARBON_SOIL_ORG" varchar(255) DEFAULT NULL, |
|
97 |
"CARBON_STANDING_DEAD" varchar(255) DEFAULT NULL, |
|
98 |
"CARBON_UNDERSTORY_AG" varchar(255) DEFAULT NULL, |
|
99 |
"CARBON_UNDERSTORY_BG" varchar(255) DEFAULT NULL, |
|
100 |
"CREATED_BY" varchar(255) DEFAULT NULL, |
|
101 |
"CREATED_DATE" varchar(255) DEFAULT NULL, |
|
102 |
"CREATED_IN_INSTANCE" varchar(255) DEFAULT NULL, |
|
103 |
"MODIFIED_BY" varchar(255) DEFAULT NULL, |
|
104 |
"MODIFIED_DATE" varchar(255) DEFAULT NULL, |
|
105 |
"MODIFIED_IN_INSTANCE" varchar(255) DEFAULT NULL, |
|
106 |
"CYCLE" varchar(255) DEFAULT NULL, |
|
107 |
"SUBCYCLE" varchar(255) DEFAULT NULL, |
|
108 |
"SOIL_ROOTING_DEPTH_PNW" varchar(255) DEFAULT NULL, |
|
109 |
"GROUND_LAND_CLASS_PNW" varchar(255) DEFAULT NULL, |
|
110 |
"PLANT_STOCKABILITY_FACTOR_PNW" varchar(255) DEFAULT NULL, |
|
111 |
"STND_COND_CD_PNWRS" varchar(255) DEFAULT NULL, |
|
112 |
"STND_STRUC_CD_PNWRS" varchar(255) DEFAULT NULL, |
|
113 |
"STUMP_CD_PNWRS" varchar(255) DEFAULT NULL, |
|
114 |
"FIRE_SRS" varchar(255) DEFAULT NULL, |
|
115 |
"GRAZING_SRS" varchar(255) DEFAULT NULL, |
|
116 |
"HARVEST_TYPE1_SRS" varchar(255) DEFAULT NULL, |
|
117 |
"HARVEST_TYPE2_SRS" varchar(255) DEFAULT NULL, |
|
118 |
"HARVEST_TYPE3_SRS" varchar(255) DEFAULT NULL, |
|
119 |
"LAND_USE_SRS" varchar(255) DEFAULT NULL, |
|
120 |
"OPERABILITY_SRS" varchar(255) DEFAULT NULL, |
|
121 |
"STAND_STRUCTURE_SRS" varchar(255) DEFAULT NULL, |
|
122 |
"oldgrowth" integer NOT NULL DEFAULT '0', |
|
123 |
"Index_CN_index" boolean, |
|
124 |
"Index_PLT_CN_index" boolean, |
|
125 |
"Index_4_index" boolean, |
|
126 |
"Index_5_index" boolean, |
|
127 |
"Index_6_index" boolean, |
|
128 |
"Index_7_index" boolean, |
|
129 |
"Index_oldgrowth_index" boolean |
|
130 |
); |
|
131 |
/*!40101 SET character_set_client = @saved_cs_client */; |
|
132 |
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|
133 |
|
|
134 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|
135 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|
136 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|
137 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|
138 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|
139 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
140 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
141 |
|
|
142 |
-- Dump completed on 2012-11-19 18:14:31 |
Also available in: Unified diff
inputs/FIA/: archived no longer used BIEN2 FIA data from the nimoy geoscrub DB