Skip to content

Commit

Permalink
#1035: Adding some debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
philipjyoon committed Dec 10, 2024
1 parent ac6d660 commit baba41a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions product2dataset/product2dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,14 @@ def convert(

# Remove tons of repeated and superfluous data from DISP-S1 metadata. We will reduce the GRQ footprint by 80%+ here
if pge_name == "L3_DISP_S1":

logger.info(dataset_met_json)

logger.info("Removing superfluous data from DISP-S1 metadata")
logger.info("dataset_met_json.keys() = " + str(dataset_met_json.keys()))

# Get rid of bunch of data that we don't care about but takes up a lot of space
logger.info("dataset_met_json[run_config].keys() = " + str(dataset_met_json["runconfig"].keys()))
dataset_met_json["runconfig"].pop("localize")# This list is the same as lineage so no point in duplicatingq
dataset_met_json["runconfig"]["input_file_group"].pop("input_file_paths") # This list is the same as lineage so no point in duplicating

Expand Down

0 comments on commit baba41a

Please sign in to comment.