rinex-cli 0.10.1

Command line tool parse and analyze RINEX data
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// tbin opmode
use clap::{value_parser, Arg, ArgAction, Command};
use rinex::prelude::Duration;

pub fn subcommand() -> Command {
    Command::new("tbin")
        .long_flag("tbin")
        .arg_required_else_help(true)
        .about("Time binning. Split RINEX files into a batch of equal duration.")
        .arg(
            Arg::new("interval")
                .value_parser(value_parser!(Duration))
                .value_name("Duration")
                .action(ArgAction::Set)
                .required(true)
                .help("Duration"),
        )
}