def getBoundingBox(fileList):
    """Return the bounding box for this data set in the format (minLon, maxLon, minLat, maxLat)"""
    if len(fileList) == 3: # ASU method
        # Read plain text from the label file
        return IrgGeoFunctions.getBoundingBoxFromIsisLabel(fileList[-1])
    else: # Compute the corners from a geotiff
        return IrgGeoFunctions.getGeoTiffBoundingBox(fileList[0])
def getBoundingBox(fileList):
    """Return the bounding box for this data set in the format (minLon, maxLon, minLat, maxLat)"""
    if len(fileList) == 3:  # ASU method
        # Read plain text from the label file
        return IrgGeoFunctions.getBoundingBoxFromIsisLabel(fileList[-1])
    else:  # Compute the corners from a geotiff
        return IrgGeoFunctions.getGeoTiffBoundingBox(fileList[0])
def getBoundingBox(fileList):
    """Return the bounding box for this data set in the format (minLon, maxLon, minLat, maxLat)"""
    if len(fileList) == 2:  # Read BB from the label file
        return IrgGeoFunctions.getBoundingBoxFromIsisLabel(fileList[1])
    else:  # No label file, read it from the the main file
        return IrgGeoFunctions.getImageBoundingBox(
            fileList[0]
        )  # This information is also available in the IMG file header
def getBoundingBox(fileList):
    """Return the bounding box for this data set in the format (minLon, maxLon, minLat, maxLat)"""
    if len(fileList) == 2: # Read BB from the label file
        return IrgGeoFunctions.getBoundingBoxFromIsisLabel(fileList[1])
    else: # No label file, read it from the the main file
        return IrgGeoFunctions.getImageBoundingBox(fileList[0]) # This information is also available in the IMG file header