Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Formatting for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lewismc committed Oct 29, 2018
1 parent 55b75ce commit 37c05fd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions podaac/podaac_utils.py
Expand Up @@ -126,7 +126,8 @@ def list_all_available_granule_search_dataset_short_names(self):
dataset_short_names.append(name)

# dataset_short_names_level1 = []
dataset_short_names_level2 = self.list_available_granule_search_level2_dataset_short_names()
dataset_short_names_level2 = \
self.list_available_granule_search_level2_dataset_short_names()
dataset_short_names_level1 = list(
set(dataset_short_names) - set(dataset_short_names_level2))

Expand Down Expand Up @@ -217,6 +218,9 @@ def mine_granules_from_granule_search(self, granule_search_response=''):
'''
search_str = '<title>'
granule_list = [ str(i) for i in granule_search_response.strip().split() if search_str in i and 'PO.DAAC' not in i ]
strp_granule_list = [ i.replace('<title>','').replace('</title>','') for i in granule_list ]
granule_list = \
[ str(i) for i in granule_search_response.strip().split()
if search_str in i and 'PO.DAAC' not in i ]
strp_granule_list = \
[ i.replace('<title>','').replace('</title>','') for i in granule_list ]
return strp_granule_list

0 comments on commit 37c05fd

Please sign in to comment.