--- title: PlanetaryPy keywords: fastai sidebar: home_sidebar summary: "This will become (part of) the core package of the PlanetaryPy organisation." description: "This will become (part of) the core package of the PlanetaryPy organisation." nb_path: "notebooks/index.ipynb" ---
pandas.DataFrames
for search and filteringLook at the Apps
docs to see what pds.apps
exist for easily getting PDS indexes.
The find_index
app is specifically useful when you don't know what index files exist.
So far, the following indexes are supported (but not necessarily all tested within PLPY):
More indexes of other instruments can be easily added by following the existing structure of what has been copied into your config at ~/.planetarypy_config.toml
.
Please consider submitting a pull request for adding further PDS index files into the config file at its source: https://github.com/michaelaye/nbplanetary/blob/master/planetarypy/data/planetarypy_config.toml
Find something in Utils
for working with NASA timestamps and a well working URL download function url_retrieve
, among other stuff.
So far, planetarypy
supports CTX EDR and HiRISE RGB.NOMAP data.
Look at the CTX
and HiRISE
pages for descriptions of classes for working with these data.
Please submit bug reports at https://github.com/michaelaye/nbplanetary/issues
from planetarypy.pds.apps import get_index
ctrindex = get_index("mro.ctx.indexes.edr")
ctrindex.sample(5)
hirise_rdr = get_index("mro.hirise.indexes.rdr")
hirise_rdr.sample(5)
from planetarypy.ctx import CTXEDR
pid = ctrindex.sample().squeeze().PRODUCT_ID
pid
ctxedr = CTXEDR(pid)
ctxedr.local_path
ctxedr
ctxedr.download()
ctxedr