Code Monkey home page Code Monkey logo

pygeogrids's Introduction

pygeogrids

https://travis-ci.org/TUW-GEO/pygeogrids.svg?branch=master https://coveralls.io/repos/TUW-GEO/pygeogrids/badge.svg?branch=master https://readthedocs.org/projects/pygeogrids/badge/?version=latest

This is a package for creation and handling of Discrete Global Grids or Point collections. We hope extend the interface also to projected grids(images) in the future.

Citation

If you use the software in a publication then please cite it using the Zenodo DOI. Be aware that this badge links to the latest package version.

Please select your specific version at https://doi.org/10.5281/zenodo.596401 to get the DOI of that version. You should normally always use the DOI for the specific version of your record in citations. This is to ensure that other researchers can access the exact research artefact you used for reproducibility.

You can find additional information regarding DOI versioning at http://help.zenodo.org/#versioning

Installation

This package should be installable through pip:

pip install pygeogrids

To install the package use pip 6.0 or later. On linux systems pykdtree will be installed whereas on windows systems scipy cKDTree will be used. pykdtree is faster than the scipy implementation but it is at the moment not available for Windows systems.

Features

For now the main features are:

  • Creation of grids
  • Nearest neighbor search
  • conversion of grid piont indices to lat, lon
  • Storage of grids and loading grids from CF-compatible netCDF files
  • Calculation of lookup tables between grids
  • Support for different Geodetic Datums using pyproj.

Contribute

We are happy if you want to contribute. Please raise an issue explaining what is missing or if you find a bug. We will also gladly accept pull requests against our master branch for new features or bug fixes.

Development setup

For Development we recommend a conda environment. You can create one including test dependencies and debugger by running conda env create -f environment.yml. This will create a new pygeogrids environment which you can activate by using source activate pygeogrids.

Guidelines

If you want to contribute please follow these steps:

  • Fork the pygeogrids repository to your account
  • Clone the repository
  • make a new feature branch from the pygeogrids master branch
  • Add your feature
  • Please include tests for your contributions in one of the test directories. We use py.test so a simple function called test_my_feature is enough
  • submit a pull request to our master branch

Note

This project has been set up using PyScaffold 3.2.3. For details and usage information on PyScaffold see https://pyscaffold.org/.

pygeogrids's People

Contributors

cpaulik avatar sebhahn avatar wpreimes avatar aplocon avatar mazweg avatar d-chung avatar mvreugde avatar tracyscanlon avatar christophreimer 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.