Skip to content

Datasets🍋

list_data(dataset_name) 🍋

List data accessible for a specific datasets.

Parameters:

Name Type Description Default
dataset_name str

Dataset to list existing data.

required

Returns:

Type Description
List[str]

Data available for a specific dataset.

Example

import geolime as geo

geo.datasets.list_data("rocklea_dome")
Output
['RC_data_tsgexport.csv',
'hyperspec.csv',
'collar.csv',
'survey.csv',
'dh_hyper.geo',
'assay.csv']

list_datasets() 🍋

List datasets accessible in GeoLime.

Returns:

Type Description
List[str]

List of datasets names.

Example

import geolime as geo

geo.datasets.list_datasets()
Output
['rocklea_dome', 'walker_lake']

load(data_name) 🍋

Load data from a datasets.

Note

Data can be either a Pandas DataFrame or a GeoLime GeoRefObject.

Parameters:

Name Type Description Default
data_name str

Data filename to load.

required

Raises:

Type Description
ValueError

Provided path is not an existing data.

Returns:

Type Description
Union[GeoRefObject, DataFrame, GISObject]

Corresponding data in the chosen format.

Example

import geolime as geo

dh = geo.datasets.load("rocklea_dome/dh_hyper.geo")
type(dh)
Output
geolime.objects.atomic.drillholes.Drillholes

Last update: 2022-12-19