Additional screen output for read_metadata.py.
This commit is contained in:
parent
ee2f462c92
commit
e4c1912896
@ -182,12 +182,14 @@ def read_metadata(path_to_inventory):
|
|||||||
raise IOError("Neither dataless-SEED file, inventory-xml file nor "
|
raise IOError("Neither dataless-SEED file, inventory-xml file nor "
|
||||||
"RESP-file found!")
|
"RESP-file found!")
|
||||||
elif invtype == 'dless': # prevent multiple read of large dlsv
|
elif invtype == 'dless': # prevent multiple read of large dlsv
|
||||||
|
print("Reading metadata information from dataless-SEED file ...")
|
||||||
if len(inv[invtype]) == 1:
|
if len(inv[invtype]) == 1:
|
||||||
fullpath_inv = os.path.join(path_to_inventory, inv[invtype][0])
|
fullpath_inv = os.path.join(path_to_inventory, inv[invtype][0])
|
||||||
robj = Parser(fullpath_inv)
|
robj = Parser(fullpath_inv)
|
||||||
else:
|
else:
|
||||||
robj = inv[invtype]
|
robj = inv[invtype]
|
||||||
else:
|
else:
|
||||||
|
print("Reading metadata information from inventory-xml file ...")
|
||||||
robj = inv[invtype]
|
robj = inv[invtype]
|
||||||
return invtype, robj
|
return invtype, robj
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user