find_matching_maestro_zarr_prefix

find_matching_maestro_zarr_prefix#

opacity.find_matching_maestro_zarr_prefix(species)[source]#

Get the S3 prefix for an exact species name match in the MAESTRO datasets.

Parameters:

species (str) – Unique name of a species in available datasets from MAESTRO.

Returns:

prefix – The S3 prefix to the dataset with an exact species name match.

Return type:

str

Raises:

ValueError – If no exact prefix match is found for the species.