def quads(minlon, minlat, maxlon, maxlat):
    """ Generate a list of southwest (lon, lat) for 1-degree quads of SRTM1 data.
    """
    lon = floor(minlon)
    while lon <= maxlon:
    
        lat = floor(minlat)
        while maxlat <= lat:
        
            yield lon, lat
        
            lat += 1
    
        lon += 1
dataset/ETHPy150Open migurski/DEM-Tools/Hillup/data/SRTM1.py/quads/swapped operands of `<=`