Skip to content

Commit a19f9b6

Browse files
committed
[dev.loadion] rebase on main branch, fix Codacy issues
1 parent e8c75b0 commit a19f9b6

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/mintpy/load_data.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -487,26 +487,6 @@ def read_inps_dict2timeseries_dict_object(iDict, ds_name2tmpl_opt):
487487
pix_box=iDict['box'],
488488
dsName=dsName0)
489489

490-
491-
492-
# extra metadata from observations
493-
# e.g. EARTH_RADIUS, HEIGHT, etc.
494-
obsMetaGeo = None
495-
obsMetaRadar = None
496-
497-
for obsName in TIMESERIES_DSET_NAMES:
498-
if obsName in ds_name2tmpl_opt.keys():
499-
print(obsName)
500-
obsFiles = sorted(glob.glob(iDict[ds_name2tmpl_opt[obsName]]))
501-
if len(obsFiles) > 0:
502-
atr = readfile.read_attribute(obsFiles[0])
503-
if 'Y_FIRST' in atr.keys():
504-
obsMetaGeo = atr.copy()
505-
else:
506-
obsMetaRadar = atr.copy()
507-
break
508-
509-
510490
# Check 3: number of files for all dataset types
511491
# dsPathDict --> dsNumDict
512492
dsNumDict = {}

0 commit comments

Comments
 (0)