Skip to content

Commit

Permalink
tweak spacing of log output
Browse files Browse the repository at this point in the history
  • Loading branch information
juliacollins committed Feb 19, 2025
1 parent e85a032 commit 3cac8e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/nsidc/metgen/metgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ def collection_from_cmr(environment: str, auth_id: str, version: int):
# without associated granules.
if edl_login(edl_environment(environment)):
logger.info("Earthdata login succeeded.")
logger.info("")
ummc = earthaccess.search_datasets(
short_name=auth_id,
version=version,
Expand All @@ -437,7 +436,6 @@ def collection_from_cmr(environment: str, auth_id: str, version: int):
)
else:
logger.info("Earthdata login failed, UMM-C metadata will not be used.")
logger.info("")
ummc = []

# FYI: data format (e.g. NetCDF) is available in the umm-c response in
Expand Down Expand Up @@ -611,6 +609,7 @@ def publish_cnm(configuration: config.Config, granule: Granule) -> Granule:
def log_ledger(ledger: Ledger) -> Ledger:
"""Log a Ledger of the operations performed on a Granule."""
logger = logging.getLogger(constants.ROOT_LOGGER)
logger.info("")
logger.info(f"Granule: {ledger.granule.producer_granule_id}")
logger.info(f" * UUID : {ledger.granule.uuid}")
logger.info(f" * Submission time: {ledger.granule.submission_time}")
Expand Down

0 comments on commit 3cac8e4

Please sign in to comment.