ExtractNIRE.py