asp_plot.cli.request_planetary_altimetry
========================================

.. py:module:: asp_plot.cli.request_planetary_altimetry


Functions
---------

.. autoapisummary::

   asp_plot.cli.request_planetary_altimetry.main


Module Contents
---------------

.. py:function:: main(dem, email, channels)

   Submit a LOLA or MOLA altimetry data request for a planetary DEM.

   Auto-detects the planetary body from the DEM's CRS and submits an
   asynchronous query to the ODE Granular Data System (GDS) REST API.

   
   Workflow:
     1. Run this command with your DEM and email
     2. Wait for the email notification (may take minutes to hours)
     3. Download and unzip the result
     4. Pass the *_topo_csv.csv to asp_plot via --altimetry_csv

   
   .. rubric:: Example

   request_planetary_altimetry --dem stereo/output-DEM.tif --email user@example.com
   # ... wait for email, download and unzip ...
   asp_plot --directory ./ --altimetry_csv /path/to/*_topo_csv.csv


