Skip to content

Commit

Permalink
Look for collection information in Cumulus production provider, not t…
Browse files Browse the repository at this point in the history
…he ECS one.
  • Loading branch information
juliacollins committed Feb 25, 2025
1 parent 3cac8e4 commit 6980fea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nsidc/metgen/metgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def ummc_content(umm: list, key: str):
def edl_environment(environment):
"""
Map a cumulus ingest environment to the environment string needed for
Earthdata login
Earthdata login via earthaccess.
"""
if environment.lower() != "prod":
environment = "uat"
Expand All @@ -413,7 +413,7 @@ def edl_environment(environment):


def edl_provider(environment):
return "NSIDC_PROD" if environment.lower() == "prod" else "NSIDC_CUAT"
return "NSIDC_CPRD" if environment.lower() == "prod" else "NSIDC_CUAT"


@cache
Expand Down

0 comments on commit 6980fea

Please sign in to comment.