@@ -0,0 +1,632 @@
+package au.gov.amsa.geo.adhoc;%0A%0Aimport java.io.File;%0A%0Aimport au.gov.amsa.ais.rx.Streams;%0Aimport au.gov.amsa.risky.format.BinaryFixesFormat;%0Aimport au.gov.amsa.risky.format.BinaryFixesWriter;%0Aimport au.gov.amsa.risky.format.Fix;%0Aimport rx.Observable;%0A%0Apublic class NmeaToBinaryFixesConvertorMain %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09Observable%3CFix%3E fixes = Streams.extractFixes(Streams.nmeaFromGzip(new File(%22/home/dxm/2019-05-15.txt.gz%22)));%0A%09%09BinaryFixesWriter //%0A%09%09%09%09.writeFixes(f -%3E %22target/fixes.bin%22, fixes, 8192, false, BinaryFixesFormat.WITH_MMSI)%0A%09%09%09%09.doOnError(e -%3E e.printStackTrace()) //%0A%09%09%09%09.subscribe();%0A%09%7D%0A%0A%7D%0A

add adhoc main to convert nmea to binary fixes