DC_coordinatePrecisionMismatch: Data check coordinatePrecisionMismatch Check if decimal...

Description Format samplePassData sampleFailData targetDWCField checkCategory References Examples

Description

This data check answers: "Is decimal number in langitude and latitude not smaller than a given decimal precision??" question.
Data check will pass if The number of decimal places of latitude (dwc:decimalLatitude) and longitude (dwc:decimalLongitude) is in agreement with the supplied coordinate precision (dwc:coordinatePrecision) and will fail if The number of decimal places of latitude (dwc:decimalLatitude) or longitude (dwc:decimalLongitude) is not in agreement with the supplied coordinate precision (dwc:coordinatePrecision).
Dimension of this data check is Consistency and it's flagging type is: FLAG
Example of entries that will pass: coordinatePrecision=1e-5, decimalLatitude=-35.123, such data check would return Passed.
Example of entries that will fail: coordinatePrecision=0.5, decimalLatitude=-35.123456, such data check would return Failed.

Format

An object of class "dataCheck", see dataCheck for details.

samplePassData

The number of decimal places of latitude (dwc:decimalLatitude) and longitude (dwc:decimalLongitude) is in agreement with the supplied coordinate precision (dwc:coordinatePrecision)

sampleFailData

The number of decimal places of latitude (dwc:decimalLatitude) or longitude (dwc:decimalLongitude) is not in agreement with the supplied coordinate precision (dwc:coordinatePrecision)

targetDWCField

decimalLatitude,decimalLongitude

checkCategory

Location

References

None

Examples

1

bdchecks documentation built on May 2, 2019, 4:24 a.m.