hirise_tools package¶
Submodules¶
hirise_tools.cli module¶
hirise_tools.data module¶
hirise_tools.downloads module¶
hirise_tools.indexfiles module¶
hirise_tools.labels module¶
hirise_tools.products module¶
-
class
pyrise.products.
HiRISE_URL
(product_path, params=None, query=None, fragment=None)[source]¶ Bases:
object
Manage HiRISE URLs.
Provide a storage path as calculated from above objects and put together the full URL to the HiRISE product.
Parameters: product_path (str or pathlib.Path) – Storage path to the product -
initurl
= 'https://hirise-pds.lpl.arizona.edu/PDS/RDR/ESP/ORB_011400_011499/ESP_011491_0985/ESP_011491_0985_RED.LBL'¶
-
netloc
= 'hirise-pds.lpl.arizona.edu'¶
-
path
¶
-
pdspath
= PosixPath('/PDS')¶
-
scheme
= 'https'¶
-
url
¶
-
-
class
pyrise.products.
OBSERVATION_ID
(obsid=None)[source]¶ Bases:
object
Manage HiRISE observation ids.
For example PSP_003092_0985.
phase is set to PSP for orbits < 11000, no setting required.
Parameters: obsid (str, optional) – One can optionally also create an ‘empty’ OBSERVATION_ID object and set the properties accordingly to create a new obsid. -
get_upper_orbit_folder
()[source]¶ get the upper folder name where the given orbit folder is residing on the hisync server
-
orbit
¶
-
phase
¶
-
s
¶
-
storage_path_stem
¶
-
targetcode
¶
-
-
class
pyrise.products.
PRODUCT_ID
(initstr=None)[source]¶ Bases:
object
Manage storage paths for HiRISE RDR products (also EXTRAS.)
Attributes jp2_path and label_path get you the official RDR product, with kind steering if you get the COLOR or the RED product. All other properties go to the RDR/EXTRAS folder.
Parameters: initstr (str, optional) – Note
The “PDS” part of the path is handled in the HiRISE_URL class.
-
abrowse_path
¶
-
browse_path
¶
-
edr_storage_stem
¶
-
jp2_fname
¶
-
jp2_path
¶
-
kind
¶
-
kinds
= ['RED', 'BG', 'IR', 'COLOR', 'IRB', 'MIRB', 'MRGB', 'RGB']¶
-
label_fname
¶
-
label_path
¶
-
nomap_browse_path
¶
-
nomap_jp2_path
¶
-
nomap_thumbnail_path
¶
-
obsid
¶
-
quicklook_path
¶
-
s
¶
-
storage_stem
¶
-
thumbnail_path
¶
-
-
class
pyrise.products.
SOURCE_PRODUCT_ID
(spid=None, saveroot=None)[source]¶ Bases:
object
Manage SOURCE_PRODUCT_ID.
Example
‘PSP_003092_0985_RED4_0’
-
bg_ccds
= ['BG12', 'BG13']¶
-
ccd
¶
-
ccdno
¶
-
ccds
= ['RED0', 'RED1', 'RED2', 'RED3', 'RED4', 'RED5', 'RED6', 'RED7', 'RED8', 'RED9', 'IR10', 'IR11', 'BG12', 'BG13']¶
-
channel
¶
-
color
¶
-
fname
¶
-
fpath
¶
-
furl
¶
-
ir_ccds
= ['IR10', 'IR11']¶
-
local_cube
¶
-
local_path
¶
-
red_ccds
= ['RED0', 'RED1', 'RED2', 'RED3', 'RED4', 'RED5', 'RED6', 'RED7', 'RED8', 'RED9']¶
-
s
¶
-
stitched_cube_name
¶
-