Assuming you have the software and a standard calibration image:
Have you successfully converted an XMP to a Cube before? What software did you use? Let me know in the comments below.
input_file = sys.argv[1] output_file = sys.argv[2] if len(sys.argv) > 2 else None