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
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/.
Metadata
Release files for ease-grid 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ease_grid-0.3.tar.gz | 17.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ease_grid-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.7 kB
Release files / ease_grid-0.3.tar.gz
| Download URL | ease_grid-0.3.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd877be04b59fb9c02845c7b5855de27be279e95de35b5b5f63fa7e32bb13ece
|
|
BLAKE2b-256 checksum How to use checksums |
3dbd8057b9de34d8d3e55a4015bdf84e53b8f061d5a473059073bbc377b6f562
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Release files / ease_grid-0.3-py3-none-any.whl
| Download URL | ease_grid-0.3-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec24556f19b4c631e7e4ea67d8cc99f8c040f4f56145e0b3d77c9c6185432cc8
|
|
BLAKE2b-256 checksum How to use checksums |
41deb50d724b56d7d3bbde82731eca407fcbebc45aefd1fd64afb708e8c48242
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.20
|
Security for ease-grid 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.