Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nasa-jpl/itslive-py
Python client for ITSLIVE glacier ice velocities.
https://github.com/nasa-jpl/itslive-py
climate-change climate-science glaciers glaciology itslive nasa-data open-data xarray zarr
Last synced: 3 months ago
JSON representation
Python client for ITSLIVE glacier ice velocities.
- Host: GitHub
- URL: https://github.com/nasa-jpl/itslive-py
- Owner: nasa-jpl
- License: gpl-3.0
- Created: 2022-04-27T02:06:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-23T03:21:37.000Z (about 1 year ago)
- Last Synced: 2024-10-29T20:53:16.297Z (3 months ago)
- Topics: climate-change, climate-science, glaciers, glaciology, itslive, nasa-data, open-data, xarray, zarr
- Language: Python
- Homepage: https://its-live.jpl.nasa.gov/
- Size: 2.8 MB
- Stars: 16
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ITS_LIVEpy
# A Python client for ITSLIVE glacier velocity data.
## Installing *itslive*
```bash
pip install itslive```
Or with Conda
```bash
conda install -c conda-forge itslive
```In addition to NetCDF image pairs and mosaics, ITS_LIVE produces cloud-optimized Zarr data cubes, which contain all image-pair data co-aligned on a common grid for simplified data access. Cloud optimization enable rapid analysis without intermediary APIs or services and ITS_LIVE cubes can map directly into Python xarray or Julia ZArray structures.
This library can be used as a stand alone tool to extract velocity time series from any given lon, lat pair on land glaciers. e.g.
### Using a Jupyter notebook
```python
import itslivepoints=[(-47.1, 70.1),
(-46.1, 71.2)]velocities = itslive.velocity_cubes.get_time_series(points=points)
```
### Using the terminal```bash
itslive-export --lat 70.153 --lon -46.231 --format csv --outdir greenland
````netcdf` and `csv` formats are supported. We can print the output to stdout with:
```bash
itslive-export --lat 70.153 --lon -46.231 --format stdout
```We can also plot any of the ITS_LIVE variables directly on the terminal by executing `itslive-plot`, e.g.
```bash
itslive-plot --lat 70.1 --lon -46.1 --variable v
```> Operations for the aggegation can be mean,max,min,average,median etc and the frequency is represented with a single character i.e. d=day, w=week, m=month.
Try it in your browser without installing anything! [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/betolink/itslive-vortex/main)