Skip to main content

EASE grid generation

Project description

https://travis-ci.org/TUW-GEO/ease_grid.svg?branch=master https://coveralls.io/repos/github/TUW-GEO/ease_grid/badge.svg?branch=master https://badge.fury.io/py/ease_grid.svg https://readthedocs.org/projects/ease-grid/badge/?version=latest

The Equal-Area Scalable Earth (EASE) Grid is a system of projections that is used by NASA and others for distribution of remote sensing data.

You can find some overview information at the NSIDC website. Unfortunately from the documentation it was not clear to me how the latitude, longitude values of certain EASE grid resolutions were calculated. So I wrote this package to find out.

Citation

https://zenodo.org/badge/12761/TUW-GEO/ease_grid.svg

If you use the software in a publication then please cite it using the Zenodo DOI.

Installation

This package should be installable through pip:

pip install ease_grid

Supported EASE Grids

There are two versions of EASE grid systems. This package focuses on EASE-Grid 2.0 at the moment. The data we were reading is disseminated on the global EASE-Grid projection which is why this is the one that is currently supported.

Calculation of any global EASE2 grid should work. Compability with the tiling scheme of NASA is tested for the global 36km grid (EASE2_M36KM) and the global 25km grid (EASE2_M25KM). The tiling of the 25km grid is only the same as the NASA tiling if the map_scale parameter is given explicitely. This will also be the case for the subgrids of the 36km grid like EASE2_M09KM and EASE2_M03KM. The map_scale parameters used by NASA are available from the file ease2_grid_info.pro inside the easeconv*.tgz file at ftp://sidads.colorado.edu/pub/tools/easegrid/geolocation_tools/

How to use

To get the coordinates of a EASE2 grid:

from ease_grid import EASE2_grid
egrid = EASE2_grid(36000)
assert egrid.shape == (406, 964)
# these two attributes contain the longitude and latitude coordinate dimension
egrid.londim
egrid.latdim

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

Guidelines

If you want to contribute please follow these steps:

  • Fork the ease_grid repository to your account

  • make a new feature branch from the ease_grid 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 2.5.6. For details and usage information on PyScaffold see http://pyscaffold.readthedocs.org/.

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

ease_grid-0.2.tar.gz (16.4 kB view details)

Uploaded Source

File details

Details for the file ease_grid-0.2.tar.gz.

File metadata

  • Download URL: ease_grid-0.2.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7

File hashes

Hashes for ease_grid-0.2.tar.gz
Algorithm Hash digest
SHA256 7979f68bfcc4839e99b1a04cfd6bf7530cc2de850f9ba3beed8618a6001e2d89
MD5 a1e3b9cd113a339ec5508e09b116a032
BLAKE2b-256 f37edd91be732646ec3d4eebcc7122eba9139c143e9d6b8187ee373a443f9d48

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