-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
screenDiam validation #115
Comments
Here is an updated procedure to run this and mark its errors in the CMVErrors table! Function's been reviewed with GPT so it should work as intended, but full testing is still pending: create
definer = azureroot@`%` procedure ValidateScreenMeasuredDiameterMinMax(IN minDBH decimal(10, 2), IN maxDBH decimal(10, 2))
BEGIN
INSERT INTO forestgeo_bci.cmverrors (CoreMeasurementID, ValidationErrorID)
SELECT
CoreMeasurementID,
2 AS ValidationErrorID
FROM
forestgeo_bci.coremeasurements
WHERE
MeasuredDBH < minDBH OR MeasuredDBH > maxDBH;
END;
|
This is still pending because it needs to be integrated with the species limits table. |
There's some uncertainty about whether this is still needed. @siddheshraze to follow up with Stuart and Suzanne over email. |
This has been confirmed as needed -- species limits popup needs to be tested and verified as functioning correctly before this can be marked closed. |
species limit popup has been tested and confirmed as working correctly. |
See "instructions for writing a validation function". Below are notes from the spec, the original validation function (in the PHP language), and the SQL table structure.
Some was done on this already: see #107 (comment)
The text was updated successfully, but these errors were encountered: