Skip to main content

Processing and gridding spatial data

Project description

Verde

Documentation | Contact | Part of the Fatiando a Terra project

Latest version on PyPI TravisCI build status AppVeyor build status Test coverage status Code quality status Code quality grade on codacy Compatible Python versions. Chat room on Gitter

Disclaimer

This package is in early stages of design and implementation.

We welcome any feedback and ideas! Let us know by submitting issues on Github or send us a message on our Gitter chatroom.

About

Verde is a Python library for processing spatial data (bathymetry, geophysics surveys, etc) and interpolating it on regular grids (i.e., gridding).

Most gridding methods in Verde use a Green’s functions approach. A linear model is estimated based on the input data and then used to predict data on a regular grid (or in a scatter, a profile, as derivatives). The models are Green’s functions from (mostly) elastic deformation theory. This approach is very similar to machine learning so we implement gridder classes that are similar to scikit-learn regression classes. The API is not 100% compatible but it should look familiar to those with some scikit-learn experience.

Advantages of using Green’s functions include:

  • Easily apply weights to data points. This is a linear least-squares problem.

  • Perform model selection using established machine learning techniques, like k-fold or holdout cross-validation.

  • The estimated model can be easily stored for later use, like spherical-harmonic coefficients are used in gravimetry.

Project goals

  • Provide a machine-learning inspired interface for Green’s functions gridding of spatial data

  • Integration with the Scipy stack: numpy, pandas (for xyz data), and xarray (for grids)

  • Include functions for common processing and data preparation tasks, like blocked means and medians

  • Support for gridding scalar and vector data (like wind speed or GPS velocities)

  • Support for both Cartesian and geographic coordinates

Contacting Us

Contributing

Code of conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Contributing Guidelines

Please read our Contributing Guide to see how you can help and give feedback.

Imposter syndrome disclaimer

We want your help. No, really.

There may be a little voice inside your head that is telling you that you’re not ready to be an open source contributor; that your skills aren’t nearly good enough to contribute. What could you possibly offer?

We assure you that the little voice in your head is wrong.

Being a contributor doesn’t just mean writing code. Equality important contributions include: writing or proof-reading documentation, suggesting or implementing tests, or even giving feedback about the project (including giving feedback about the contribution process). If you’re coming to the project with fresh eyes, you might see the errors and assumptions that seasoned contributors have glossed over. If you can write any code at all, you can contribute code to open source. We are constantly trying out new skills, making mistakes, and learning from those mistakes. That’s how we all improve and we are happy to help others learn.

This disclaimer was adapted from the MetPy project.

License

This is free software: you can redistribute it and/or modify it under the terms of the BSD 3-clause License. A copy of this license is provided in LICENSE.txt.

Project details


Download files

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

Source Distribution

verde-0.1a0.tar.gz (137.0 kB view details)

Uploaded Source

Built Distribution

verde-0.1a0-py3-none-any.whl (129.6 kB view details)

Uploaded Python 3

File details

Details for the file verde-0.1a0.tar.gz.

File metadata

  • Download URL: verde-0.1a0.tar.gz
  • Upload date:
  • Size: 137.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6

File hashes

Hashes for verde-0.1a0.tar.gz
Algorithm Hash digest
SHA256 2ad0453594a3077648db69144577ce6f24c4c3146bf9cb4c0f67ddf60af481b3
MD5 ff8424cf4bbad6d340a5da16d8017f81
BLAKE2b-256 788d3e2036ed6b5bb61dfed05e29ca0b9d6248b133a20c9a4e7b9df0b9c50e9f

See more details on using hashes here.

File details

Details for the file verde-0.1a0-py3-none-any.whl.

File metadata

  • Download URL: verde-0.1a0-py3-none-any.whl
  • Upload date:
  • Size: 129.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6

File hashes

Hashes for verde-0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 97b788f58c3d27300f2b690bcb1dacf22fd80a53cd29dc59d792e03d866d49ae
MD5 952d43bd35f04c17a7ae719a7c934740
BLAKE2b-256 b969d5588ed0659bc09b3a870dbcf6a99f1017f85b9c2b26ccae77c745394313

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