Project

General

Profile

« Previous | Next » 

Revision 13398

schemas/public_.sql: _plots_20_tnrs_input_names, _plots_21_tnrs_output_names: added Brad's comments

View differences:

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