Revision 13398
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/vegbien.my.sql | ||
---|---|---|
5978 | 5978 |
|
5979 | 5979 |
|
5980 | 5980 |
-- |
5981 |
-- Name: VIEW _plots_20_tnrs_input_names; Type: COMMENT; Schema: public_validations; Owner: - |
|
5982 |
-- |
|
5983 |
|
|
5984 |
|
|
5985 |
|
|
5986 |
|
|
5987 |
-- |
|
5981 | 5988 |
-- Name: _plots_21_tnrs_output_names; Type: VIEW; Schema: public_validations; Owner: - |
5982 | 5989 |
-- |
5983 | 5990 |
|
... | ... | |
5985 | 5992 |
|
5986 | 5993 |
|
5987 | 5994 |
-- |
5995 |
-- Name: VIEW _plots_21_tnrs_output_names; Type: COMMENT; Schema: public_validations; Owner: - |
|
5996 |
-- |
|
5997 |
|
|
5998 |
|
|
5999 |
|
|
6000 |
|
|
6001 |
-- |
|
5988 | 6002 |
-- Name: _specimens_01_count_of_total_records_specimens_in_source_db; Type: VIEW; Schema: public_validations; Owner: - |
5989 | 6003 |
-- |
5990 | 6004 |
|
trunk/schemas/public_.sql | ||
---|---|---|
9396 | 9396 |
|
9397 | 9397 |
|
9398 | 9398 |
-- |
9399 |
-- Name: VIEW _plots_20_tnrs_input_names; Type: COMMENT; Schema: public_validations; Owner: - |
|
9400 |
-- |
|
9401 |
|
|
9402 |
COMMENT ON VIEW _plots_20_tnrs_input_names IS ' |
|
9403 |
The first check is done while checking up on Aaron''s quantitative validations |
|
9404 |
("comparing the results of the plot output queries run on VegBIEN to the data in |
|
9405 |
VegBank"). Several input-output queries include verbatim taxon names; if they |
|
9406 |
pass then Aaron is forming the verbatim name correctly. Even though it concerns |
|
9407 |
the verbatim name and not the resolved name, this first check is important. If |
|
9408 |
Aaron is messing up the verbatim name somehow, the resolved name will not be |
|
9409 |
correct. |
|
9410 |
'; |
|
9411 |
|
|
9412 |
|
|
9413 |
-- |
|
9399 | 9414 |
-- Name: _plots_21_tnrs_output_names; Type: VIEW; Schema: public_validations; Owner: - |
9400 | 9415 |
-- |
9401 | 9416 |
|
... | ... | |
9407 | 9422 |
|
9408 | 9423 |
|
9409 | 9424 |
-- |
9425 |
-- Name: VIEW _plots_21_tnrs_output_names; Type: COMMENT; Schema: public_validations; Owner: - |
|
9426 |
-- |
|
9427 |
|
|
9428 |
COMMENT ON VIEW _plots_21_tnrs_output_names IS ' |
|
9429 |
The second check should focus on determining if Aaron is reconstructing |
|
9430 |
morphospecies names correctly. The TNRS stores the morphospecies part of the |
|
9431 |
name (e.g., "sp.1") in the column "Unmatched_terms"; a bit of additional |
|
9432 |
manipulation is required to concatenated it with the resolved part of the name |
|
9433 |
to form the morphospecies string ("Miconia sp.1", "Carex ''fuzzy leaf''"). As I |
|
9434 |
found out only recently, Aaron does NOT renormalize the resolved names back to |
|
9435 |
the core database. He simple stores the verbatim TNRS output. Fully formed |
|
9436 |
morphospecies names are therefore not stored anywhere in the database, but are |
|
9437 |
reassembled on the fly when generating an analytical extract. Aaron''s rules for |
|
9438 |
doing this are embedded in a script somewhere, I have no idea where. For Brian |
|
9439 |
or Bob to assess if Aaron is re-concatenating morphospecies names correctly, |
|
9440 |
they will need to request analytical extracts for one or two of their plots, and |
|
9441 |
compare them to the names in their original databases. This second step |
|
9442 |
shouldn''t take long. If the resolved morphospecies name in Aaron''s analytical |
|
9443 |
extract looks correct, you''re done. |
|
9444 |
'; |
|
9445 |
|
|
9446 |
|
|
9447 |
-- |
|
9410 | 9448 |
-- Name: _specimens_01_count_of_total_records_specimens_in_source_db; Type: VIEW; Schema: public_validations; Owner: - |
9411 | 9449 |
-- |
9412 | 9450 |
|
trunk/schemas/vegbien.sql | ||
---|---|---|
9396 | 9396 |
|
9397 | 9397 |
|
9398 | 9398 |
-- |
9399 |
-- Name: VIEW _plots_20_tnrs_input_names; Type: COMMENT; Schema: public_validations; Owner: - |
|
9400 |
-- |
|
9401 |
|
|
9402 |
COMMENT ON VIEW _plots_20_tnrs_input_names IS ' |
|
9403 |
The first check is done while checking up on Aaron''s quantitative validations |
|
9404 |
("comparing the results of the plot output queries run on VegBIEN to the data in |
|
9405 |
VegBank"). Several input-output queries include verbatim taxon names; if they |
|
9406 |
pass then Aaron is forming the verbatim name correctly. Even though it concerns |
|
9407 |
the verbatim name and not the resolved name, this first check is important. If |
|
9408 |
Aaron is messing up the verbatim name somehow, the resolved name will not be |
|
9409 |
correct. |
|
9410 |
'; |
|
9411 |
|
|
9412 |
|
|
9413 |
-- |
|
9399 | 9414 |
-- Name: _plots_21_tnrs_output_names; Type: VIEW; Schema: public_validations; Owner: - |
9400 | 9415 |
-- |
9401 | 9416 |
|
... | ... | |
9407 | 9422 |
|
9408 | 9423 |
|
9409 | 9424 |
-- |
9425 |
-- Name: VIEW _plots_21_tnrs_output_names; Type: COMMENT; Schema: public_validations; Owner: - |
|
9426 |
-- |
|
9427 |
|
|
9428 |
COMMENT ON VIEW _plots_21_tnrs_output_names IS ' |
|
9429 |
The second check should focus on determining if Aaron is reconstructing |
|
9430 |
morphospecies names correctly. The TNRS stores the morphospecies part of the |
|
9431 |
name (e.g., "sp.1") in the column "Unmatched_terms"; a bit of additional |
|
9432 |
manipulation is required to concatenated it with the resolved part of the name |
|
9433 |
to form the morphospecies string ("Miconia sp.1", "Carex ''fuzzy leaf''"). As I |
|
9434 |
found out only recently, Aaron does NOT renormalize the resolved names back to |
|
9435 |
the core database. He simple stores the verbatim TNRS output. Fully formed |
|
9436 |
morphospecies names are therefore not stored anywhere in the database, but are |
|
9437 |
reassembled on the fly when generating an analytical extract. Aaron''s rules for |
|
9438 |
doing this are embedded in a script somewhere, I have no idea where. For Brian |
|
9439 |
or Bob to assess if Aaron is re-concatenating morphospecies names correctly, |
|
9440 |
they will need to request analytical extracts for one or two of their plots, and |
|
9441 |
compare them to the names in their original databases. This second step |
|
9442 |
shouldn''t take long. If the resolved morphospecies name in Aaron''s analytical |
|
9443 |
extract looks correct, you''re done. |
|
9444 |
'; |
|
9445 |
|
|
9446 |
|
|
9447 |
-- |
|
9410 | 9448 |
-- Name: _specimens_01_count_of_total_records_specimens_in_source_db; Type: VIEW; Schema: public_validations; Owner: - |
9411 | 9449 |
-- |
9412 | 9450 |
|
Also available in: Unified diff
schemas/public_.sql: _plots_20_tnrs_input_names, _plots_21_tnrs_output_names: added Brad's comments