Skip to main content

LiPD utilities to process, convert, and analyze data.

Project description

LiPD Utilities - Python

=========================

|DOI| |PyPI| |PyPI| |license|

Input/output and manipulation utilities for LiPD files in Matlab, R and Python.

What is it?

==============

LiPD is short for Linked PaleoData. LiPD is the data standard for paleoclimatology and the exchange of data amongst paleoclimate experts. This package will help you convert your existing database of paleoclimate observations into LiPD files. Moreover, it contains tools to analyze and manipulate LiPD data.

Features

===========

  • Read & write LiPD files
  • Extract & collapse a time series for data analysis
  • Filter & query a time series for subset data
  • Convert Excel files to LiPD files
  • Convert NOAA files to/from LiPD files
  • Update LiPD publication data through DOI.org
  • Validate LiPD files through lipd.net API

Requirements

===============

  • Python 3.4+ <https://www.python.org>__

  • Python IDE (Spyder or PyCharm are highly recommended)

  • pip <https://pip.pypa.io/en/stable/installing/>__

Installation

===============

Python 3.4 / 3.5

::

pip install LiPD

Python 3.6+

::

pip3 install --egg LiPD

Usage

========

Using your preferred Python IDE or a Python console, you can import the LiPD package using:

::

import lipd

Here are the major functions within the package. This is a short preview. More in-depth examples can found further in the guide (coming soon):

::

lipd.readExcel(path="")
lipd.readNoaa(path="")
D = lipd.readLipd(path="")
lipd.writeLipd(D, path="")
ts = lipd.extractTs(D, chron=False)
D = lipd.collapseTs(ts)
idx = lipd.queryTs(ts, expression)
new_ts = lipd.filterTs(ts, expression)
D = lipd.excel()
D = lipd.doi(D)

How to Cite this code

========================

Use this link to visit the Zenodo website. It provides citation information in many popular formats.

Further information

======================

Github: https://github.com/nickmckay/LiPD-utilities

Linked Earth Wiki: wiki.linked.earth

Contact

==========

If you are having issues, please let me know. Contact me at heiser@nau.edu.

License

==========

The project is licensed under the GNU Public License. Please refer to the file called LICENSE.

.. figure:: ../assets/logo_nsf.png :alt: footer NSF

footer NSF

.. |DOI| image:: https://zenodo.org/badge/24036/nickmckay/LiPD-utilities.svg :target: https://zenodo.org/badge/latestdoi/24036/nickmckay/LiPD-utilities .. |PyPI| image:: https://img.shields.io/pypi/v/LiPD.svg?maxAge=2592000 :target: .. |PyPI| image:: https://img.shields.io/badge/python-3.4-yellow.svg :target: .. |license| image:: https://img.shields.io/github/license/nickmckay/LiPD-utilities.svg?maxAge=2592000 :target:

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

LiPD-0.2.7.3.tar.gz (990.4 kB view details)

Uploaded Source

File details

Details for the file LiPD-0.2.7.3.tar.gz.

File metadata

  • Download URL: LiPD-0.2.7.3.tar.gz
  • Upload date:
  • Size: 990.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.0

File hashes

Hashes for LiPD-0.2.7.3.tar.gz
Algorithm Hash digest
SHA256 ce998209b480e4d8edebb74b9a67db3e31ca67e94d0e9804ec7dba7f98287bfa
MD5 b63d7cb5e12c93cd559cbbbceb186fb8
BLAKE2b-256 4d8ada1d100807e80fbfe50346347db04745dc4c310be372d980821c9631ad36

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page