code: def download_quads(name, bbox, rbox, quiet, dest, limit):
      '''Download quads from a mosaic'''
      bbox = bbox or rbox
      cl = clientv1()
  
      dl = downloader.create(cl, mosaic=True)
      output = downloader_output(dl, disable_ansi=quiet)
      output.start()
      try:
          mosaic, = cl.get_mosaic_by_name(name).items_iter(1)
          items = cl.get_quads(mosaic, bbox).items_iter(limit)
      except Exception as ex:
          output.cancel()
          click_exception(ex)
      # invoke the function within an interrupt handler that will shut everything
      # down properly
      handle_interrupt(dl.shutdown, dl.download, items, [], destf download_quads(name, bbox, rbox, quiet, dest, limit):
      '''Download quads from a mosaic'''
      bbox = bbox or rbox
      cl = clientv1()
  
      dl = downloader.create(cl, mosaic=True)
      output = downloader_output(dl, disable_ansi=quiet)
      output.start()
      try:
          mosaic, = cl.get_mosaic_by_name(name).items_iter(1)
          items = cl.get_quads(mosaic, bbox).items_iter(limit)
      except Exception as ex:
          output.cancel()
          click_exception(ex)
      # invoke the function within an interrupt handler that will shut everything
      # down properly
      handle_interrupt(dl.shutdown, dl.download, items, [], dest)
docs: Download quads from a mosaic