Skip to content

Instantly share code, notes, and snippets.

@jpswinski
Last active July 6, 2021 18:58
Show Gist options
  • Save jpswinski/8b0b09ee64a85eaf0d9363dc513e8003 to your computer and use it in GitHub Desktop.
Save jpswinski/8b0b09ee64a85eaf0d9363dc513e8003 to your computer and use it in GitHub Desktop.
from sliderule import icesat2
# Configure SlideRule #
icesat2.init("icesat2sliderule.org")
# Setup Datasets to Read
datasets = [ {"dataset": "/gt1l/land_ice_segments/h_li", "col": 0, "startrow": 0, "numrows": -1} ]
# Read Dataset #
heights = icesat2.h5p(datasets, "ATL06_20190626143632_13640310_004_01.h5", "nsidc-s3")
# Display Heights #
print(heights)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment