icepyx Python API

The icepyx Python API ipxapi.py is used to access the services provided by the sliderule-icesat2 plugin for SlideRule using the icepyx library. It mirrors functions provided in the icesat2.py module, and provides a simplified interface that accepts icepyx Query objects (regions).

The module can be imported via:

from sliderule import ipxapi

For more information about icepyx, go to icepyx GitHub or icepyx ReadTheDocs.

Functions

atl06p


ipxapi.atl06p(ipx_region, parm, asset=icesat2.DEFAULT_ASSET)

Performs ATL06-SR processing in parallel on ATL03 data and returns gridded elevations. The list of granules to be processed is identified by the ipx_region object.

See the atl06p function for more details.

Parameters
  • ipx_region (Query) – icepyx region object defining the query of granules to be processed

  • parm (dict) – parameters used to configure ATL06-SR algorithm processing (see Parameters)

  • asset (str) – data source asset (see Assets)

Returns

GeoDataFrame of gridded elevations (see Elevations)

atl03sp


ipxapi.atl03sp(ipx_region, parm, asset=icesat2.DEFAULT_ASSET)

Performs ATL03 subsetting in parallel on ATL03 data and returns photon segment data.

See the atl03sp function for more details.

Parameters
  • ipx_region (Query) – icepyx region object defining the query of granules to be processed

  • parms (dict) –

    parameters used to configure ATL03 subsetting (see Parameters)

  • asset (str) –

    data source asset (see Assets)

Returns

list of ATL03 segments (see Photon Segments)