Giter Site home page Giter Site logo

allensmile / earthpy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from earthlab/earthpy

0.0 1.0 0.0 3.39 MB

A package built to support working with spatial data using open source python

Home Page: https://earthpy.readthedocs.io

License: BSD 3-Clause "New" or "Revised" License

Shell 0.86% Makefile 0.25% Python 98.89%

earthpy's Introduction

DOI Build Status Build status codecov Docs build Code style: black

EarthPy

PyPI PyPI - Downloads Conda Conda

EarthPy is makes it easier to plot and manipulate spatial data in Python.

Why EarthPy?

Python is a generic programming language designed to support many different applications. Because of this, many commonly performed spatial tasks for science including plotting and working with spatial data take many steps of code. EarthPy takes advantage of functionality developed for raster data (rasterio) and vector data (geopandas) and simplifies the code needed to :

EarthPy also has an io module that allows users to

  1. Quickly access pre-created datasubsets used in the earth-analytics courses hosted on www.earthdatascience.org
  2. Download other datasets that they may want to use in their workflows.

View Example EarthPy Applications in Our Documentation Gallery

Check out our vignette gallery for applied examples of using EarthPy in common spatial workflows.

Install

To install, use pip or conda-forge. We encourage you to use conda-forge if you are a conda users.

Install via Pip

To install EarthPy via pip use:

$ pip install --upgrade earthpy

Install Using Conda / conda-forge Channel

If you are working within an Anaconda environment, we suggest that you install EarthPy using conda-forge

$ conda install -c conda-forge earthpy

Note: if you want to set conda-forge as your default conda channel, you can use the following install workflow. We recommmend this approach. Once you have run conda config, you can install earthpy without specifying a channel.

$ conda config --add channels conda-forge
$ conda install earthpy

Once you have successfully installed EarthPy, you can import it into Python.

>>> import earthpy as et

Below is a quick example of plotting multiple bands in a numpy array format.

>>> arr = np.random.randint(4, size=(3, 5, 5))
>>> ep.plot_bands(arr, titles=["Band 1", "Band 2", "Band 3"])
>>> plt.show()

Active Contributors

We welcome contributions to EarthPy. Below are the current active package maintainers. Please see our contributors file for a complete list of all of our contributors.

Leah Wasser Max Joseph Joseph McGlinchy Jenny Palomino Nathan Korinek Tim Head Michelle Roby

How to Contribute

We welcome contributions to EarthPy! Please be sure to check out our contributing guidelines for more information about submitting pull requests or changes to EarthPy.

License

BSD-3

earthpy's People

Contributors

mbjoseph avatar nkorinek avatar pyup-bot avatar betatim avatar powerchell avatar mgraber avatar windnage avatar annaspiers avatar mcshanec avatar cstuart7 avatar jeje1140 avatar mcosmos12 avatar mikedorfman avatar mlevis1 avatar shwh2628 avatar willskor avatar andykeeton25 avatar hdumke avatar katysill avatar tkarfs1 avatar wwicherski avatar yojihigh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.