ideuy package

Submodules

ideuy.download module

ideuy.download.download_all(urls, num_jobs=1, file_size=None, flatten=True, *, output_dir)[source]
ideuy.download.download_feature_image(feat, *, output_dir, type_id, product_type_id)[source]
ideuy.download.download_from_url(url, output_dir, file_size=None, flatten=True)[source]

Download from a URL

@param: url to download file @param: output_dir place to put the file @param: file_size specify the output file size, only downloads up to this point @param: flatten: keep original dir structure in URL or not

ideuy.download.download_grid(type_id, *, output_dir)[source]
ideuy.download.download_image(dry_run=False, *, output_dir, type_id, product_type_id, data_path, coord)[source]
ideuy.download.download_images_from_grid_vector(grid_vector, num_jobs=1, *, output_dir, type_id, product_type_id)[source]

ideuy.query module

ideuy.query.build_products(raw_products)[source]
ideuy.query.filter_products_by_files(products, file_filters=[])[source]
ideuy.query.grouper(iterable, n, fillvalue=None)[source]

Collect data into fixed-length chunks or blocks

ideuy.query.query(query=None, aoi=None, limit=None, categories=[], file_filters=[])[source]
ideuy.query.query_all_pages(params)[source]

Generates results for all pages

ideuy.vector module

ideuy.vector.filter_by_aoi(aoi_vector, *, output, type_id, grid_vector)[source]

Filter a grid vector using polygons from the AOI vector, and create a filtered grid GeoJSON as output.

ideuy.vector.flip(x, y)[source]

Flips the x and y coordinate values

ideuy.vector.get_vector_bounds_and_crs(vector)[source]
ideuy.vector.reproject_shape(shp, from_crs, to_crs)[source]

Module contents