#NEWLINE# @ cli . command ( 'download-quads' ) #NEWLINE# @ dest_dir #NEWLINE# @ click . argument ( 'mosaic_name' , nargs = 1 ) #NEWLINE# @ click . argument ( 'quad_ids' , nargs = ( - 1 ) ) #NEWLINE# def download_quads( mosaic_name , quad_ids , dest ) : #NEWLINE# #INDENT# '\n    Download quad geotiffs\n    ' #NEWLINE# quad_ids = read ( quad_ids , split = True ) #NEWLINE# cl = client ( ) #NEWLINE# futures = call_and_wrap ( cl . fetch_mosaic_quad_geotiffs , mosaic_name , quad_ids , api . write_to_file ( dest ) ) #NEWLINE# complete ( futures , check_futures , cl )