Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

dataMisc

download_WSF(extent, wsf_url='https://download.geoservice.dlr.de/WSF2019/files/WSF2019_cog.tif', out_file='')

Description:

Download the World Settlement Footprint (WSF) dataset from DLR and optionally clip to an extent.

Parameters:


aws_search_ntl(bucket='globalnightlight', prefix='composites', unsigned=True, verbose=False)

Description:

Get a list of nighttime lights files from the open AWS bucket (https://registry.opendata.aws/wb-light-every-night/).

Parameters:


get_geoboundaries(iso3, level, geo_api='https://www.geoboundaries.org/api/current/gbOpen/{iso3}/{adm}/')

Description:

Download administrative boundaries from GeoBoundaries.

Parameters:

Returns:


get_fathom_vrts(return_df=False)

Description:

Get a list of VRT files of Fathom data from the GOST S3 bucket using the stored list bundled with the function.

Parameters:


get_worldcover(df, download_folder, worldcover_vrt='WorldCover.vrt', version='v200', print_command=False, verbose=False)

Description:

Download ESA globcover from AWS and optionally build a VRT.

Parameters:


gdf_esri_service(url, layer=0, verify_ssl=True)

Description:

Download a GeoDataFrame from an ESRI service.

Parameters:

Returns:


get_acled_creds()

Description:

Get the ACLED credentials from a .acled file in the user’s home directory.

Parameters:

Returns:


acled_search(api_key, email, bounding_box=None, iso3=None, start_date=None, fields=[])

Description:

Search the ACLED API for data based on either a bounding box, ISO3 code, or start date (https://apidocs.acleddata.com/acled_endpoint.html).

Parameters:

Returns:

Raises: