CCSDS 502.0-B-3 Orbit Ephemeris Message parser and interpolator
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocaml-linkedin: apply dune fmt

Pure formatting changes from `dune fmt`: doc comment placement moves
from above the binding to below it for `type`s, multi-line `match`
expressions collapse onto one line where they fit, and infix operator
applications pick up spaces (`Soup.($?)` -> `Soup.( $? )`). No
semantic changes.

+24 -4
+15 -4
README.md
··· 6 6 7 7 ## Installation 8 8 9 + Install with opam: 10 + 11 + ```sh 12 + $ opam install oem 9 13 ``` 10 - opam install oem 14 + 15 + If opam cannot find the package, it may not yet be released in the public 16 + `opam-repository`. Add the overlay repository, then install it: 17 + 18 + ```sh 19 + $ opam repo add samoht https://tangled.org/gazagnaire.org/opam-overlay.git 20 + $ opam update 21 + $ opam install oem 11 22 ``` 12 23 13 24 ## Usage ··· 16 27 match Oem.of_file "ephemeris.oem" with 17 28 | Ok oem -> 18 29 Printf.printf "Object: %s\n" (Oem.object_name oem); 19 - let (start, stop) = Oem.time_range oem in 20 - (* Interpolate at a specific time *) 21 - (match Oem.interpolate_all oem some_ptime with 30 + let (start, stop) = Oem.time_range oem (* Interpolate at a specific time *) 31 + ( 32 + match Oem.interpolate_all oem some_ptime with 22 33 | Some sv -> Fmt.pr "Position: %a\n" Vec3.pp sv.pos 23 34 | None -> print_endline "Time out of range") 24 35 | Error e -> Fmt.epr "%a\n" Oem.pp_error e
+6
dune
··· 1 1 (env 2 2 (dev 3 3 (flags :standard %{dune-warnings}))) 4 + 5 + (mdx 6 + (files 7 + README.md 8 + ) 9 + (libraries oem))
+2
dune-project
··· 1 1 (lang dune 3.21) 2 + (using mdx 0.4) 2 3 (name oem) 3 4 (source (tangled gazagnaire.org/ocaml-oem)) 4 5 (formatting (enabled_for ocaml)) ··· 16 17 (depends 17 18 fmt 18 19 ptime 20 + (mdx :with-test) 19 21 vec3))
+1
oem.opam
··· 11 11 "dune" {>= "3.21"} 12 12 "fmt" 13 13 "ptime" 14 + "mdx" {with-test} 14 15 "vec3" 15 16 "odoc" {with-doc} 16 17 ]