diff --git a/python_src/diapOTB.py b/python_src/diapOTB.py index dc10adf1b3901120dcf5b8f08453c59fcd9125e7..d98203a4ecac80d667d0193196aef1ea1aa12606 100644 --- a/python_src/diapOTB.py +++ b/python_src/diapOTB.py @@ -291,6 +291,11 @@ if __name__ == "__main__": # Adapt sattelite satellite = "cosmo" + elif master_ext[0] == "cos" : + print("Pouet TSX !!!") + # Adapt satellite + satellite = "tsx" + if slave_ext[0] == "h5" : slave_H5 = h5py.File(slave_Image, 'r') @@ -341,7 +346,7 @@ if __name__ == "__main__": # Find eof files for each image if not cosmo # Then, create the "fine" geom (with precise orbits) # Eventually, assign an extended filename if EOF file correspond to the image - if satellite.lower() != "cosmo" : + if satellite.lower() != "cosmo" and satellite.lower() != "tsx" : if eof_Path : list_ofEOF = func_utils.get_AllFilesWithExt(eof_Path, ".EOF")