def read_heads(self, cscen): datdir = 'SLR_' + cscen + '_Results' hd = HeadFile(datdir + '/SLR' + cscen + '.hds', platform="Windows") hd.get_time(hd.totim) self.heads = hd.head[0, :, :] self.heads[self.heads == 999.] = np.nan del hd
def read_heads(self,cscen): datdir = 'SLR_' + cscen + '_Results' hd = HeadFile(datdir + '/SLR' + cscen +'.hds', platform = "Windows") hd.get_time(hd.totim) self.heads = hd.head[0,:,:] self.heads[self.heads==999.]=np.nan del hd
def read_heads(self): hd = HeadFile(self.inroot + '.hds',platform = "Windows") hd.get_time(hd.totim) self.heads = hd.head[0,:,:] self.heads[self.heads==999.]=np.nan del hd