remobe debug prints.

This commit is contained in:
jupfi 2024-02-09 11:06:56 +01:00
parent 0b37e4b861
commit b00362aa16

View file

@ -34,7 +34,6 @@ class HDF():
else: else:
f = h5py.File(self.HDFsrc, 'r') f = h5py.File(self.HDFsrc, 'r')
print("opened file")
HDFkeys = list(f.keys()) HDFkeys = list(f.keys())
for ii, HDFkey in enumerate(HDFkeys): for ii, HDFkey in enumerate(HDFkeys):
@ -44,11 +43,9 @@ class HDF():
inddim = dsize[0] inddim = dsize[0]
self.tdy = np.zeros((int(dsize[1]/2), int(dsize[0] * len(HDFkeys))),dtype=np.complex_) self.tdy = np.zeros((int(dsize[1]/2), int(dsize[0] * len(HDFkeys))),dtype=np.complex_)
print("initialize")
# initialize the output objects # initialize the output objects
self.attrs = [dynclass() for jj in range(len(HDFkeys))] self.attrs = [dynclass() for jj in range(len(HDFkeys))]
print("get the attribute keys")
# get the attribute keys # get the attribute keys
self.parsoutp = {} self.parsoutp = {}
ii_oupargs = 0 ii_oupargs = 0
@ -62,9 +59,6 @@ class HDF():
self.parsoutp['//'+str(ii_oupargs)] = [ item[1], itemname] self.parsoutp['//'+str(ii_oupargs)] = [ item[1], itemname]
ii_oupargs+=1 ii_oupargs+=1
print("end of loop")
print("look for vars")
# look for eventual parvar lists # look for eventual parvar lists
self.parvar = {} self.parvar = {}
for item in f.attrs.items(): for item in f.attrs.items():