Composable, explainable, and traceable quality control for ocean observations.
moon check --deny-warn
moon test --deny-warn
moon run cmd/mainpub(all) struct Finding {
observation_id : String
rule : RuleKind
flag : QualityFlag
severity : Severity
reason : String
original_value : Double?
processed_at : Int
provenance : Provenance
} derive(Debug)pub(all) struct Observation {
id : String
timestamp : Int
latitude : Double
longitude : Double
variable : String
value : Double?
unit : String
platform : String
} derive(Debug)fn Observation::new(id~ : String, timestamp~ : Int, latitude~ : Double, longitude~ : Double, variable~ : String, value~ : Double?, unit~ : String, platform~ : String) -> Observationpub(all) struct Provenance {
source : String
dataset : String
observed_at : Int
processor : String
version : String
} derive(Debug)pub(all) struct RuleConfig {
range_min : Double?
range_max : Double?
max_delta : Double?
max_interval : Int?
max_speed : Double?
climate_min : Double?
climate_max : Double?
duplicate_window : Int
processing_time : Int
} derive(Debug)Composable, explainable, and traceable quality control for ocean observations.