Skip to content

Commit

Permalink
Add quickstart to README (#549)
Browse files Browse the repository at this point in the history
Co-authored-by: Jessica Scheick <JessicaS11@users.noreply.github.com>
  • Loading branch information
mfisher87 and JessicaS11 authored Aug 21, 2024
1 parent fca67b9 commit 6c6366a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,32 @@ Alternatively, you can also install icepyx using `pip <https://pip.pypa.io/en/st
More detailed instructions for installing `icepyx` can be found at
https://icepyx.readthedocs.io/en/latest/getting_started/install.html

Quick Start
-----------

.. code-block:: python
import icepyx as ipx
query = ipx.Query(
# Collection short name
"ATL06",
# Bounding box
[-55, 68, -48, 71],
# Time bounds
['2019-02-20','2019-02-28'],
)
query.download_granules('/tmp/icepyx')
.. code-block:: bash
$ ls -1 /tmp/icepyx/
processed_ATL06_20190221121851_08410203_006_02.h5
processed_ATL06_20190222010344_08490205_006_02.h5
processed_ATL06_20190225121032_09020203_006_02.h5
processed_ATL06_20190226005526_09100205_006_02.h5
See the examples below for more things `icepyx` can do!


Examples (Jupyter Notebooks)
----------------------------
Expand Down

0 comments on commit 6c6366a

Please sign in to comment.