Skip to content

Commit 6e6fa92

Browse files
committed
WIP Remove email option from query.place_order
Email is not an option with harmony
1 parent 0da719f commit 6e6fa92

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

icepyx/core/query.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,6 @@ def order_granules(
10041004
self,
10051005
verbose: bool = False,
10061006
subset: bool = True,
1007-
email: bool = False,
10081007
**kwargs,
10091008
) -> None:
10101009
"""
@@ -1021,9 +1020,6 @@ def order_granules(
10211020
by default when subset=True, but additional subsetting options are available.
10221021
Spatial subsetting returns all data that are within the area of interest (but not complete
10231022
granules. This eliminates false-positive granules returned by the metadata-level search)
1024-
email :
1025-
Have NSIDC auto-send order status email updates to indicate order status as pending/completed.
1026-
The emails are sent to the account associated with your Earthdata account.
10271023
**kwargs : key-value pairs
10281024
Additional parameters to be passed to the subsetter.
10291025
By default temporal and spatial subset keys are passed.
@@ -1056,14 +1052,6 @@ def order_granules(
10561052
if self._cmr_reqparams._reqtype == "search":
10571053
self._cmr_reqparams._reqtype = "download"
10581054

1059-
if "email" in self._cmr_reqparams.fmted_keys or email is False:
1060-
self._cmr_reqparams.build_params(**self._cmr_reqparams.fmted_keys)
1061-
elif email is True:
1062-
user_profile = self.auth.get_user_profile() # pyright: ignore[reportAttributeAccessIssue]
1063-
self._cmr_reqparams.build_params(
1064-
**self._cmr_reqparams.fmted_keys, email=user_profile["email_address"]
1065-
)
1066-
10671055
if subset is False:
10681056
self._subsetparams = None
10691057
elif (

0 commit comments

Comments
 (0)