Processing and gridding spatial data
Project description
Documentation | Documentation (dev version) | Contact | Part of the Fatiando a Terra project
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.
The main disadvantage is the heavy memory and processing time requirement (it’s a linear regression problem).
Project goals
Provide a machine-learning inspired interface for gridding spatial data
Integration with the Scipy stack: numpy, pandas, scikit-learn, and xarray
Include common processing and data preparation tasks, like blocked means and 2D trends
Support for gridding scalar and vector data (like wind speed or GPS velocities)
Support for both Cartesian and geographic coordinates
The first release of Verde was focused on meeting these initial goals and establishing the look and feel of the library. Later releases will focus on expanding the range of gridders available, optimizing the code, and improving algorithms so that larger-than-memory datasets can also be supported.
Contacting us
Most discussion happens on Github. Feel free to open an issue or comment on any open issue or pull request.
We have chat room on Slack where you can ask questions and leave comments.
Citing Verde
This is research software made by scientists (see AUTHORS.md). Citations help us justify the effort that goes into building and maintaining this project. If you used Verde for your research, please consider citing us.
See our CITATION.rst file to find out more.
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.
Documentation for other versions
Development (reflects the master branch on Github)
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
Built Distribution
File details
Details for the file verde-1.4.0.tar.gz
.
File metadata
- Download URL: verde-1.4.0.tar.gz
- Upload date:
- Size: 162.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1563a291008efee9e2d9005804072aeb467924fd6981bd4323d9da9a304db454 |
|
MD5 | 0f2d18eaaf86213a6649879e456bd02c |
|
BLAKE2b-256 | 054694319bf4c2abb1ea1b22af44f1fa24afc76d0eed1798184ad9cb82a0edbb |
File details
Details for the file verde-1.4.0-py3-none-any.whl
.
File metadata
- Download URL: verde-1.4.0-py3-none-any.whl
- Upload date:
- Size: 159.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5580bd8bb2102a15efed06d6a1afe4dfe80b5bffaf218f4beb6cc3ca4525782f |
|
MD5 | 7de01c739302468616c88a2ef5e0a00f |
|
BLAKE2b-256 | 28b197a12b83934614b23fabde386ea1d5c44086480f88d20b78ff6bb9352413 |