@@ -294,7 +294,7 @@ def main():
294294
295295 # Input file and folder
296296 #
297- parser .add_argument ("- inpFileName" ,
297+ parser .add_argument ("inpFileName" ,
298298 help = "Input RTCM3 file(s) (wildcards allowed)" )
299299
300300 parser .add_argument ("--receiver" , default = 'unknown' ,
@@ -305,7 +305,7 @@ def main():
305305 parser .add_argument ("-g" , "--gnss" , default = 'GRECJ' ,
306306 help = "GNSS [GRECJ]" )
307307
308- parser .add_argument ("--weekref" , type = int , required = False ,
308+ parser .add_argument ("--weekref" , type = int , required = True ,
309309 help = "GPS week number reference [unknown]" )
310310
311311 parser .add_argument ("-j" , "--jobs" , default = int (mp .cpu_count () / 2 ),
@@ -327,19 +327,19 @@ def main():
327327 # args.weekref = 2397 # 2025/352
328328 # args.inpFileName = '..\data\doy2025-352\sept352a.rtc'
329329 # args.inpFileName = '../data/doy2025-352/tr92352a.rtc'
330- args .weekref = 2380
331- args .inpFileName = '../data/doy2025-233/233h_qzsl6.rtc'
330+ # args.weekref = 2380
331+ # args.inpFileName = '../data/doy2025-233/233h_qzsl6.rtc'
332332 # args.gnss = 'GJ'
333333 # opt.useL1CB = True
334334
335335 s = args .inpFileName
336336 opt .foutname = s [:s .rfind ('.' )]+ '.log'
337337
338- decode (args .inpFileName , opt , args )
338+ # decode(args.inpFileName, opt, args)
339339 # Start processing pool
340340 #
341- # with mp.Pool(processes=args.jobs) as pool:
342- # pool.starmap(decode, [(f, opt, args) for f in glob(args.inpFileName)])
341+ with mp .Pool (processes = args .jobs ) as pool :
342+ pool .starmap (decode , [(f , opt , args ) for f in glob (args .inpFileName )])
343343
344344
345345# Call main function
0 commit comments