Skip to content

Commit

Permalink
WIP stub out functions to simplify getting params
Browse files Browse the repository at this point in the history
  • Loading branch information
trey-stafford committed Nov 13, 2024
1 parent 5ad82cf commit 2cacbd7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions icepyx/core/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,27 @@ def cmr_reqparams(self):

return self._cmr_reqparams.fmted_keys

def get_harmony_subset_order_params(self):
"""TODO: this function will return the parameters for a harmony subset order.
Params are formatted for use with an `HarmonyAPI` instance. This
function will return all of the required and optional parameters.
"""

def get_cmr_search_params(self):
"""TODO: this function will return the parameters for a CMR search query.
Params are formatted for a CMR search URL. This function will return all
of the required and optional parameters.
"""

def get_non_subset_order_params(self):
"""TODO: this function will return the parameters for a non-subset order via earthaccess
Params are formatted for input into `earthaccess`. This function will
return all of the required and optional parameters.
"""

# @property
# DevQuestion: if I make this a property, I get a "dict" object is not callable
# when I try to give input kwargs... what approach should I be taking?
Expand Down

0 comments on commit 2cacbd7

Please sign in to comment.