sliderule python client
SlideRule's Python client makes it easier to interact with SlideRule from a Python script.
Detailed documentation on installing and using this client can be found at slideruleearth.io.
I. Installing the SlideRule Python Client
conda install -c conda-forge sliderule
Basic functionality of sliderule-python depends on requests, numpy, and geopandas. See requirements.txt for a full list of the requirements.
II. Example Usage
# import
from sliderule import sliderule, icesat2
# initialize
sliderule.init(verbose=False)
# region of interest
region = [ {"lon":-105.82971551223244, "lat": 39.81983728534918},
{"lon":-105.30742121965137, "lat": 39.81983728534918},
{"lon":-105.30742121965137, "lat": 40.164048017973755},
{"lon":-105.82971551223244, "lat": 40.164048017973755},
{"lon":-105.82971551223244, "lat": 39.81983728534918} ]
# request parameters
parms = {
"poly": region,
"srt": icesat2.SRT_LAND,
"cnf": icesat2.CNF_SURFACE_HIGH,
"len": 40.0,
"res": 20.0,
"fit": {}
}
# make request
gdf = sliderule.run("atl03x", parms)
III. Reference and User's Guide
Please see our documentation page for reference and user's guide material.
Metadata
Release files for sliderule 5.6.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 | |
|---|---|---|---|
| sliderule-5.6.3.tar.gz | 1.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sliderule-5.6.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.8 MB
Release files / sliderule-5.6.3.tar.gz
| Download URL | sliderule-5.6.3.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
479e924c021d7a7bdfb2681748c20a1cbe088a343495978e887c8de18d5700df
|
|
BLAKE2b-256 checksum How to use checksums |
e66db9a3d7b7d0674e4f86221a8eb0f0778e988f4bc8870691f653f30705f4a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / sliderule-5.6.3-py3-none-any.whl
| Download URL | sliderule-5.6.3-py3-none-any.whl |
|---|---|
| Size | 83.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e2a2b2a562740aec68c4d3776dacf12df7efebce0f0b26264e149278829e0e7
|
|
BLAKE2b-256 checksum How to use checksums |
ed3da078d79fd94c8821875b910fc7c6079a8e7aa24b881e5de42676284fa940
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|