Project

General

Profile

« Previous | Next » 

Revision 12407

inputs/SALVIAS/validations.sql: added Brad's comments from validation/aggregating/plots/SALVIAS/bien3_validations_salvias_db_original.VegCore.sql

View differences:

trunk/inputs/SALVIAS/validations.sql
135 135

  
136 136

  
137 137
--
138
-- Name: VIEW _plots_10_count_of_individuals_per_plot_in_each_project; Type: COMMENT; Schema: SALVIAS; Owner: -
139
--
140

  
141
COMMENT ON VIEW _plots_10_count_of_individuals_per_plot_in_each_project IS '
142
Method: Sum on NoInd (number of individuals) column.
143
Note 1: `individuals` should be NULL for plots which use percent cover or line-intercept methods.
144
Note 2: Do not count records in plotObservations table, as this will give incorrect total for plots such as Gentry plot, which count individuals per species per subplot
145
';
146

  
147

  
148
--
138 149
-- Name: _plots_11_count_of_stems_per_plot_in_each_project; Type: VIEW; Schema: SALVIAS; Owner: -
139 150
--
140 151

  
......
151 162

  
152 163

  
153 164
--
165
-- Name: VIEW _plots_11_count_of_stems_per_plot_in_each_project; Type: COMMENT; Schema: SALVIAS; Owner: -
166
--
167

  
168
COMMENT ON VIEW _plots_11_count_of_stems_per_plot_in_each_project IS '
169
Method: count records in stems table
170
';
171

  
172

  
173
--
154 174
-- Name: _plots_12_count_of_verbatim_taxa_per_plot_in_each_project; Type: VIEW; Schema: SALVIAS; Owner: -
155 175
--
156 176

  
......
169 189

  
170 190

  
171 191
--
192
-- Name: VIEW _plots_12_count_of_verbatim_taxa_per_plot_in_each_project; Type: COMMENT; Schema: SALVIAS; Owner: -
193
--
194

  
195
COMMENT ON VIEW _plots_12_count_of_verbatim_taxa_per_plot_in_each_project IS '
196
Note: Assumes identical concatenation of taxonomic fields to form verbatim taxon name in vegBIEN
197
';
198

  
199

  
200
--
172 201
-- Name: _plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_each_p; Type: VIEW; Schema: SALVIAS; Owner: -
173 202
--
174 203

  
......
183 212

  
184 213

  
185 214
--
215
-- Name: VIEW _plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_each_p; Type: COMMENT; Schema: SALVIAS; Owner: -
216
--
217

  
218
COMMENT ON VIEW _plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_each_p IS '
219
Note: Assumes identical concatenation of taxonomic fields to form verbatim taxon name in vegBIEN.
220
';
221

  
222

  
223
--
186 224
-- Name: _plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_each_pr; Type: VIEW; Schema: SALVIAS; Owner: -
187 225
--
188 226

  
......
199 237

  
200 238

  
201 239
--
240
-- Name: VIEW _plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_each_pr; Type: COMMENT; Schema: SALVIAS; Owner: -
241
--
242

  
243
COMMENT ON VIEW _plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_each_pr IS '
244
Note: Assumes identical concatenation of taxonomic fields to form verbatim taxon name in vegBIEN
245
';
246

  
247

  
248
--
202 249
-- Name: _plots_15_pct_cover_of_each_verb_taxon_in_each_plot_in_each_pro; Type: VIEW; Schema: SALVIAS; Owner: -
203 250
--
204 251

  
......
215 262

  
216 263

  
217 264
--
265
-- Name: VIEW _plots_15_pct_cover_of_each_verb_taxon_in_each_plot_in_each_pro; Type: COMMENT; Schema: SALVIAS; Owner: -
266
--
267

  
268
COMMENT ON VIEW _plots_15_pct_cover_of_each_verb_taxon_in_each_plot_in_each_pro IS '
269
Note 1: Assumes identical concatenation of taxonomic fields to form verbatim taxon name in vegbien
270
Note 2: Grouping mean cover for entire plot allows inclusion of plots with subplots (separate cover measure for each species in each subplot),  plots with strata (separate cover measures for each species in each stratum), and plots without subplots or strata (one cover measure per species per plot) in same query.
271
Note 3: currently, there are no SALVIAS percent cover plots in BIEN
272
';
273

  
274

  
275
--
218 276
-- Name: _plots_16_intercepts_for_each_verb_taxon_in_each_plot_each_proj; Type: VIEW; Schema: SALVIAS; Owner: -
219 277
--
220 278

  
......
230 288

  
231 289

  
232 290
--
291
-- Name: VIEW _plots_16_intercepts_for_each_verb_taxon_in_each_plot_each_proj; Type: COMMENT; Schema: SALVIAS; Owner: -
292
--
293

  
294
COMMENT ON VIEW _plots_16_intercepts_for_each_verb_taxon_in_each_plot_each_proj IS '
295
Note 1: Assumes identical concatenation of taxonomic fields to form verbatim taxon name in vegbien
296
Note 2: Grouping mean cover for entire plot combines plots with subplots (separate cover measure for each species in each subplot) with plots with strata (separate cover measures for each species in each stratum) with plots without subplots or strata (one cover measure per species per plot.
297
';
298

  
299

  
300
--
233 301
-- Name: _plots_17_count_of_subplots_per_plot_for_each_project; Type: VIEW; Schema: SALVIAS; Owner: -
234 302
--
235 303

  
......
259 327

  
260 328

  
261 329
--
330
-- Name: VIEW _plots_18_list_of_subplots_codes_for_each_plot_for_each_project; Type: COMMENT; Schema: SALVIAS; Owner: -
331
--
332

  
333
COMMENT ON VIEW _plots_18_list_of_subplots_codes_for_each_plot_for_each_project IS '
334
Note: includes plots with and without subplots
335
';
336

  
337

  
338
--
262 339
-- PostgreSQL database dump complete
263 340
--
264 341

  

Also available in: Unified diff