Open iDigBioBot opened 6 years ago
TestField | Value |
---|---|
GUID | 0949110d-c06b-450e-9649-7c1374d940d1 |
Label | VALIDATION_DECIMALLONGITUDE_INRANGE |
Description | Is the value of dwc:decimalLongitude a number between -180 and 180 inclusive? |
TestType | Validation |
Darwin Core Class | dcterms:Location |
Information Elements ActedUpon | dwc:decimalLongitude |
Information Elements Consulted | |
Expected Response | INTERNAL_PREREQUISITES_NOT_MET if dwc:decimalLongitude is bdq:Empty or the value is not a number; COMPLIANT if the value of dwc:decimalLongitude is between -180 and 180 degrees, inclusive; otherwise NOT_COMPLIANT |
Data Quality Dimension | Conformance |
Term-Actions | DECIMALLONGITUDE_INRANGE |
Parameter(s) | |
Source Authority | |
Specification Last Updated | 2023-09-17 |
Examples | [dwc:decimalLongitude="0": Response.status=RUN_HAS_RESULT, Response.result=COMPLIANT, Response.comment="dwc:decimalLongitude is in range"] |
[dwc:decimalLongitude="181.0554": Response.status=RUN_HAS_RESULT, Response.result=NOT_COMPLIANT, Response.comment="dwc:decimalLongitude >180"] | |
Source | ALA, GBIF, OBIS |
References |
|
Example Implementations (Mechanisms) | |
Link to Specification Source Code | |
Notes |
Comment by Paula Zermoglio (@pzermoglio) migrated from spreadsheet: Order matters, useful AFTER interpretation of verbatim if no decimalLat and decimaLong were provided.
Comments from Gainesville: Perhaps this test could just be a prerequisite and not a separate test. Agreed to leave as test.
Similar to test #79
I believe the word "degrees" should be removed from - the value is a number between -180 and 180, not "-180 and 180 degrees"
| Expected Response | INTERNAL_PREREQUISITES_NOT_MET if dwc:decimalLatitude is EMPTY or the value is not interpretable as a number; COMPLIANT if the value of dwc:decimalLatitude is between -90 and 90 degrees, inclusive; otherwise NOT_COMPLIANT |
To a certain degree, I agree
Removed the "degrees" from COMPLIANT
I suggest the Description:
'Is the value of dwc:decimalLongitude a number between -180 and 180 inclusive?'
in place of:
'Is the value of dwc:decimalLongitude a number between -180 and 180?'
Splitting bdqffdq:Information Elements into "Information Elements ActedUpon" and "Information Elements Consulted"