Skip to content

Commit

Permalink
remove surplus lines
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfromearth committed Nov 8, 2024
1 parent c9103d6 commit 99c7155
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions podaac/merger/harmony/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ def process_catalog(self, catalog: Catalog):
if len(items) == 0:
return result

# # --- Get granule filepaths (urls) ---
netcdf_urls: list[str] = _get_netcdf_urls(items)

# -- Process metadata --
bbox = []
granule_urls = []
Expand All @@ -91,8 +88,7 @@ def process_catalog(self, catalog: Catalog):
first_granule_url = []
get_granule_url(items[0], first_granule_url)
first_url_name = Path(first_granule_url[0]).stem
f'{first_url_name}_{datetimes[1].isoformat()}_{collection}_merged.nc4'
filename = f'{collection}_{datetimes[0].isoformat()}-{datetimes[1].isoformat()}_merged.nc4'
filename = f'{first_url_name}_{datetimes[1].isoformat()}_{collection}_merged.nc4'

with TemporaryDirectory() as temp_dir:
self.logger.info('Starting granule downloads')
Expand Down

0 comments on commit 99c7155

Please sign in to comment.