bdq icon indicating copy to clipboard operation
bdq copied to clipboard

TG2-VALIDATION_MINDEPTH_LESSTHAN_MAXDEPTH

Open iDigBioBot opened this issue 7 years ago • 7 comments

Field Value
GUID 8f1e6e58-544b-4365-a569-fb781341644e
Label VALIDATION_MINDEPTH_LESSTHAN_MAXDEPTH
Description Is the value of dwc:minimumDepthInMeters a number that is less than or equal to the value of dwc:maximumDepthInMeters?
Output Type Validation
Darwin Core Class Location
Information Elements dwc:minimumDepthInMeters
dwc:maximumDepthInMeters
Expected Response INTERNAL_PREREQUISITES_NOT_MET if dwc:minimumDepthInMeters or dwc:maximumDepthInMeters is EMPTY, or if either are interpretable as not zero or a positive number; COMPLIANT if the value of dwc:minimumDepthInMeters is less than or equal to the value of dwc:maximumDepthInMeters; otherwise NOT_COMPLIANT
Data Quality Dimension Conformance
Term-Actions MINDEPTH_LESSTHAN_MAXDEPTH
Warning Type Invalid
Parameter(s)
Source Authority
Examples [dwc:minimumDepthInMeters="0", dwc:maximumDepthInMeters="0": Response.status=RUN_HAS_RESULT, Response.result=COMPLIANT, Response.comment="dwc:minimumDepthInMeters = dwc:maximumDepthInMeters"]
[dwc:minimumDepthInMeters="1", dwc:maximumDepthInMeters="0": Response.status=RUN_HAS_RESULT, Response.result=NOT_COMPLIANT, Response.comment="dwc:minimumDepthInMeters > dwc:maximumDepthInMeters"]
Source ALA, GBIF, OBIS
References
  • Chapman, AD and Wieczorek, JR (2020). Georeferencing Best Practices. Copenhagen: GBIF Secretariat (https://doi.org/10.15468/doc-gg7h-s853)
Example Implementations (Mechanisms)
Link to Specification Source Code
Notes

iDigBioBot avatar Jan 05 '18 15:01 iDigBioBot

Comment by Paula Zermoglio (@pzermoglio) migrated from spreadsheet: This is assuming that depths are actually correct but transposed, rather than just one of them, maximum or minimum being just plainly wrong.

iDigBioBot avatar Jan 05 '18 15:01 iDigBioBot

Comment by Paul Morris (@chicoreus) migrated from spreadsheet: Separate into a validation MIN_DEPTH_SHALLOWERTHAN_OR_EQ_MAX and an amendment MIN_MAX_DEPTHS_TRANSPOSED, to resolve the issue. There's a validation to find problematic depths, and an amendment which makes the explictit assumption that there is a transposition, make the transpostion, and leaves the consumer of the report free to decide whether or not to accept that assumption. A transposition ammendment could also be expected to be informed by a ocean depth model and only propose the transposition if it is reasonable for the location and geographic uncertainty. A nearshore depth where a minimum depth has an error in the form of a missing decimal point making it much larger than the maximum depth is a very plausible error on the line PZ considers.

iDigBioBot avatar Jan 12 '18 16:01 iDigBioBot

Comment by Lee Belbin (@Tasilee) migrated from spreadsheet: Basically, the statement needs to be min max depths ok

iDigBioBot avatar Jan 12 '18 16:01 iDigBioBot

Comment by Paul Morris (@chicoreus) migrated from spreadsheet: Split into separate Validation and Amendment, Validation=1, amendment needs more specification.

iDigBioBot avatar Jan 12 '18 16:01 iDigBioBot

Splits have been accomplished. This test is now atomic so comments about splits have been satisfied.

chicoreus avatar Jan 16 '18 15:01 chicoreus

Output Type is missing from the Field/Value table. @Tasilee please correct (looks like it should be Output Type = Validation) and review table for any other errors.

chicoreus avatar Aug 02 '19 15:08 chicoreus

Thanks @chicoreus. Done.

Tasilee avatar Aug 07 '19 02:08 Tasilee

Splitting bdqffdq:Information Elements into "Information Elements ActedUpon" and "Information Elements Consulted". Is this one correct?

Tasilee avatar Sep 16 '23 03:09 Tasilee

Both dwc:minimumDepthInMeters and dwc:maximumDepthInMeters are ActedUpon, as if NOT_COMPLIANT, the test isn't able to tell which is incorrect, so both need to be marked in the same way.

chicoreus avatar Sep 18 '23 20:09 chicoreus