def create_parser(): """ :return: """ parser = ArgumentParser(add_help=True, parents=[get_parent_parser()]) parser.add_argument("--scenario_id", help="The scenario ID. Required if " "no --scenario is specified.") parser.add_argument("--scenario", help="The scenario name. Required if " "no --scenario_id is specified.") parser.add_argument("--carbon_cap_zone", required=True, type=str, help="The name of the carbon cap zone. Required") parser.add_argument("--subproblem", default=1, type=int, help="The subproblem ID. Defaults to 1.") parser.add_argument("--stage", default=1, type=int, help="The stage ID. Defaults to 1.") return parser
def create_parser(): """ :return: """ parser = ArgumentParser(add_help=True, parents=[get_parent_parser()]) parser.add_argument("--scenario_id", help="The scenario ID. Required if " "no --scenario is specified.") parser.add_argument("--scenario", help="The scenario name. Required if " "no --scenario_id is specified.") parser.add_argument("--load_zone", required=True, type=str, help="The name of the load zone. Required.") parser.add_argument("--period", required=True, type=int, help="The desired modeling period to plot. Required.") parser.add_argument("--stage", default=1, type=int, help="The stage ID. Defaults to 1.") return parser
def create_parser(): """ :return: """ parser = ArgumentParser(add_help=True, parents=[get_parent_parser()]) parser.add_argument( "--period", required=True, type=int, help="The selected modeling period. Required.", ) parser.add_argument( "--load_zone", required=True, type=str, help="The name of the load zone. Required.", ) parser.add_argument( "--subproblem", default=1, type=int, help="The subproblem ID. Defaults to 1." ) parser.add_argument( "--stage", default=1, type=int, help="The stage ID. Defaults to 1." ) return parser
def create_parser(): parser = ArgumentParser(add_help=True, parents=[get_parent_parser()]) parser.add_argument("--scenario_id", help="The scenario ID. Required if " "no --scenario is specified.") parser.add_argument("--scenario", help="The scenario name. Required if " "no --scenario_id is specified.") parser.add_argument("--load_zone", required=True, type=str, help="The name of the load zone. Required.") parser.add_argument("--starting_tmp", default=None, type=int, help="The starting timepoint. Defaults to None (" "first timepoint)") parser.add_argument("--ending_tmp", default=None, type=int, help="The ending timepoint. Defaults to None (" "last timepoint)") parser.add_argument("--stage", default=1, type=int, help="The stage ID. Defaults to 1.") return parser
def create_parser(): """ :return: """ parser = ArgumentParser(add_help=True, parents=[get_parent_parser()]) parser.add_argument("--scenario_id", help="The scenario ID. Required if " "no --scenario is specified.") parser.add_argument("--scenario", help="The scenario name. Required if " "no --scenario_id is specified.") parser.add_argument("--load_zone", help="The name of the load zone. Required") parser.add_argument("--stage", default=1, help="The stage ID. Defaults to 1.") return parser
def create_parser(): """ :return: """ parser = ArgumentParser(add_help=True, parents=[get_parent_parser()]) parser.add_argument( "--scenario_id", help="The scenario ID. Required if " "no --scenario is specified.", ) parser.add_argument( "--scenario", help="The scenario name. Required if " "no --scenario_id is specified.", ) parser.add_argument("--project", required=True, type=str, help="The name of the project. Required") parser.add_argument( "--period", required=True, type=int, help="The desired modeling period. Required", ) parser.add_argument("--stage", default=1, type=int, help="The stage ID. Defaults to 1.") parser.add_argument( "--horizon_start", type=int, help="The desired starting horizon. Assumes horizons" "are a set of increasing numbers. Optional", ) parser.add_argument( "--horizon_end", type=int, help="The desired ending horizon. Assumes horizons are" "a set of increasing numbers. Optional", ) return parser