Reference:
sudo fdisk -l
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
Reference:
sudo fdisk -l
from concurrent.futures import as_completed, ProcessPoolExecutor | |
import geopandas as gpd | |
import pandas as pd | |
import numpy as np | |
from collections.abc import Sequence | |
from shapely import prepared | |
def sjoin(left_df, right_df, op='intersects', how='inner', lsuffix='left', rsuffix='right', fail_crs_mismatch: bool = True, fail_missing_geometries: bool = False) -> gpd.GeoDataFrame: | |
"""Spatial join of two GeoDataFrames. GeoPandas sjoin with concurrency (split naively using df slicing). | |
Let's see how much it will cost to translate all the Sentinel-2 JPEG2000 to COGs using AWS Lambda https://github.com/developmentseed/sentinel-2-cog (Note at this scale AWS Lambda might not be the cheapest option).
How many S2 scenes do we have on AWS?
$ curl https://sat-api.developmentseed.org/collections/sentinel-2-l1c/items | jq -r '.meta.found'
5 633 438
Lambda config