@welldot/utils
getWaterSampleWarnings
Validation warnings of the watersamples block (.well v2.3). Warnings never make a file invalid; every sample in the file is checked, retracted or not. Sample-level warnings carry ids: [sample], result-level ones add resultindex.
getWaterSampleWarnings(
well):WaterSampleWarning
Validation warnings of the water_samples block (.well v2.3). Warnings
never make a file invalid; every sample in the file is checked, retracted
or not. Sample-level warnings carry ids: [sample], result-level ones add
result_index.
parent_missing—field_duplicate/split_samplewithoutparent_sample_id.dissolved_without_filtration—fraction: "dissolved"withoutfiltration.depth_outside_screen— a sample depth end outside everywell_screeninterval (only when the well has screens).depth_below_well_bottom— deeper thanwell_depth(else the deepestbore_hole).depth_above_static_level— shallower than thestatic_levelof thestatic_level_event_idevent.value_form_mismatch— a value form (value/presence/text) other than the vocabularyformof the code.not_detected_without_limit—not_detectedwithoutdetection_limit.duplicate_result— the sameparameterKey+fraction+measured_inrepeated in a sample (flagged on each repetition after the first).unknown_parameter_code— awelldotcode missing from the vocabulary.analyzed_before_collection/received_before_collection—analyzed_at/laboratory.received_atbeforedatetime(local dates compared when the resolution isday).reference_unresolved—corrects,parent_sample_id,static_level_event_idorsampling_point.pump_installation_idthat does not resolve. ids: sample, missing id.corrects_cycle— thecorrectschain loops back to the sample.
Parameters
well
Well