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.3.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ease_grid-0.3-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ease_grid-0.3.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for ease_grid-0.3.tar.gz
Algorithm Hash digest
SHA256 dd877be04b59fb9c02845c7b5855de27be279e95de35b5b5f63fa7e32bb13ece
MD5 72c462a9013e73c2f5903188443f370f
BLAKE2b-256 3dbd8057b9de34d8d3e55a4015bdf84e53b8f061d5a473059073bbc377b6f562

See more details on using hashes here.

File details

Details for the file ease_grid-0.3-py3-none-any.whl.

File metadata

  • Download URL: ease_grid-0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for ease_grid-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ec24556f19b4c631e7e4ea67d8cc99f8c040f4f56145e0b3d77c9c6185432cc8
MD5 8570d38d8e77486c6e0bc69d829c7ef1
BLAKE2b-256 41deb50d724b56d7d3bbde82731eca407fcbebc45aefd1fd64afb708e8c48242

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page