def main():
p = argparse.ArgumentParser(fromfile_prefix_chars='@')
p.add_argument("method", type = str, help = "Ploting method to call.")
p.add_argument("files", nargs = "+", type = str, help = "NetCDF filepaths to simulations.")
p.add_argument("-lons", type = str, help=".txt file of longitude seed. If None -180:180:1")
p.add_argument("-lats", type = str, help=".txt file of latitude seed. If None -90:90:1")
p.add_argument("-cmap", type = str, required=False)
p.add_argument("-t", "--title", type = str, required=False,
help = "Figure title - format aaa_bbb_ccc")
p.add_argument("-abs", "--absolute", action="store_true",
help = "Plot absolute difference.")
p.add_argument("-diff", action="store_true",
help="Plot difference of first two files.")
p.add_argument("-add", action="store_true",
help="Plot sum of all files.")
p.add_argument("-o", "--outfile", type = str)
p.add_argument("-fs", "--figsize", default = (20, 20), type=valid_figsize,
help="Figsize - format W:H")
p.add_argument("-fts", "--fontsize", type = int, default = 17)
p.add_argument("-fwgt", "--fontweight", type = str, default="normal")
p.add_argument("-d", "--depth", type = float, default=-200,
help = "Depth at which calculation takes place. If >= 5000 (<=-5000), it is set to sea floor.")
p.add_argument("-clip", type = configure_clipping, help = "Clip values - format Vmin:Vmax. Use m for minus sign.")
p.add_argument("-sh", "--shrink", type = float, default=1, help = "Shrink colorbar value.")
p.add_argument("-loc", "--locations", type = str,
help = "Specific plotting locations - format lon1:lat1,lon2:lat2...")
p.add_argument("-p1", "--prop1", type = str, help="Property to plot on x axis.")
p.add_argument("-p2", "--prop2", type = str, help="Property to plot on y axis.")
p.add_argument("-cblabel", "--colorbarlabel", type = str)
p.add_argument("-xlabel", type = str)
p.add_argument("-ylabel", type = str)
p.add_argument("-xlim", type = configure_ax_limits, help = "Xlim - format xmin:xmax")
p.add_argument("-ylim", type = configure_ax_limits, help = "Ylim - format ymin:ymax")
p.add_argument("-lw", "--linewidth", type = float)
p.add_argument("-legend", type = configure_legend, help="Legend - format label1,label2")
p.add_argument("-color", type = configure_color, help = "Plot color - format color1,color2,color3...")
p.add_argument("-ls", "--linestyle", type = configure_linestyles, help = "Plot linestlyes - format ls1,ls2,ls3...")
p.add_argument("-bins", type = int, help = "Histogram bins.")
p.add_argument("-group", type = str, default="none",
choices=["none", "biome", "lonmean", "latmean"], help = "Group cells by.")
p.add_argument("-diffidx", type = int)
p.add_argument("-mc", "--martincurve", type = float,
help="Martin curve coefficient. If None, it will not be plotted.")
p.add_argument("-supt", "--suptitle", type = str,
help = "Titles for specific axes. Format ax1title,ax2title...")
p.add_argument("-mhwpath", "--mhwintesitypath", type = str)
p.add_argument("-dpi", default=300, type=int)
args = p.parse_args()
return plot(**vars(args))