Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schema change to new structure #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 5 additions & 60 deletions sql/db_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -18,66 +18,11 @@ create table treatedclusters
land_use text,
forest_type text,
haz_class integer,
ba_15 double precision,
ba_2 double precision,
ba_25 double precision,
ba_35 double precision,
ba_40 double precision,
ba_7 double precision,
bmcwn_15 double precision,
bmcwn_2 double precision,
bmcwn_25 double precision,
bmcwn_35 double precision,
bmcwn_40 double precision,
bmcwn_7 double precision,
bmfol_15 double precision,
bmfol_2 double precision,
bmfol_25 double precision,
bmfol_35 double precision,
bmfol_40 double precision,
bmfol_7 double precision,
bmstm_15 double precision,
bmstm_2 double precision,
bmstm_25 double precision,
bmstm_35 double precision,
bmstm_40 double precision,
bmstm_7 double precision,
dbmcn_15 double precision,
dbmcn_2 double precision,
dbmcn_25 double precision,
dbmcn_35 double precision,
dbmcn_40 double precision,
dbmcn_7 double precision,
dbmsm_15 double precision,
dbmsm_2 double precision,
dbmsm_25 double precision,
dbmsm_35 double precision,
dbmsm_40 double precision,
dbmsm_7 double precision,
sng_15 double precision,
sng_2 double precision,
sng_25 double precision,
sng_35 double precision,
sng_40 double precision,
sng_7 double precision,
tpa_15 double precision,
tpa_2 double precision,
tpa_25 double precision,
tpa_35 double precision,
tpa_40 double precision,
tpa_7 double precision,
vmsg_15 double precision,
vmsg_2 double precision,
vmsg_25 double precision,
vmsg_35 double precision,
vmsg_40 double precision,
vmsg_7 double precision,
vol_15 double precision,
vol_2 double precision,
vol_25 double precision,
vol_35 double precision,
vol_40 double precision,
vol_7 double precision
Stem6to9_tonsAcre double precision,
Stem4to6_tonsAcre double precision,
Stem9Plus_tonsAcre double precision,
Branch_tonsAcre double precision,
Foliage_tonsAcre double precision
);

create index idx_find_clusters
Expand Down