LiPD Utilities (pyleoclim.utils.lipdutils)ΒΆ

Pyleoclim is meant to directly handle datasets in the Linked Paleo Data (LiPD) format. Pyleoclim works with timeseries objects and model tables present in these files.

enumerateLipds

enumerate the LiPD files loaded in the workspace

getLipd

Prompt for a LiPD files

promptForVariable

Prompt for a specific variable

xAxisTs

Get the x-axis for the timeseries

checkXaxis

Check that a x-axis is present for the timeseries

checkTimeAxis

This function makes sure that time is available for the timeseries

searchVar

This functions searches for keywords (exact match) for a variable.

enumerateTs

Enumerate the available time series objects

getTs

Get a specific timeseries object from a dictionary of timeseries

LipdToOntology

Standardize archiveType

timeUnitsCheck

This function attempts to make sense of the time units by checking for equivalence

pre_process_list

Pre-process a series of strings for capitalized letters, space, and punctuation.

similar_string

Returns a list of indices for strings with similar values

pre_process_str

Pre-process a string for capitalized letters, space, and punctuation

isModel

Check for the presence of a model in the same object as the measurement table

modelNumber

Assign a new or existing model number

isMeasurement

Check whether measurement tables are available

whichMeasurement

Select a measurement table from a list

getMeasurement

Extract the dictionary corresponding to the measurement table

isEnsemble

Check whether ensembles are available

whichEnsemble

Select an ensemble table from a list

getEnsemble

Extracts the ensemble values and depth vector from the dictionary

mapAgeEnsembleToPaleoData

Map the depth for the ensemble age values to the paleo depth

gen_dict_extract

Recursively searches for all the values in nested dictionaries corresponding to a particular key