[x] remove comp_sec_list from merge_componentgroups(), use .loc[] instead.
[x] remove calc_HWLW1122 from calc_HWLW()
[x] remove corr_tideperiods from calc_HWLWnumbering()
[x] remove get_status from read_dia()?
[x] discontinue metadata argument from write_noos() (get from ts object instead). >> add auto metadata to writets_noos, although reading them from original files is probably not possible so maybe no added benefit
get_status was removed from hatyan.read_dia() since it is not used. DDL/ddlpy is a good alternative to get full metadata with measurements.
if get_status: #TODO: this can be more generic (eg add additional metadata) or more neat. Also in get_diablocks()
block_status_list = diablocks_pd.loc[block_id,'STA'].split('!')
for block_status_one in block_status_list:
status_tstart = dt.datetime.strptime(block_status_one[4:17],'%Y%m%d;%H%M')
status_tstop = dt.datetime.strptime(block_status_one[18:31],'%Y%m%d;%H%M')
status_val = block_status_one[-1]
data_pd_oneblock.loc[status_tstart:status_tstop,'Status'] = status_val
Todo:
comp_sec_list
frommerge_componentgroups()
, use.loc[]
instead.calc_HWLW1122
fromcalc_HWLW()
corr_tideperiods
fromcalc_HWLWnumbering()
get_status
fromread_dia()
?metadata
argument fromwrite_noos()
(get from ts object instead). >> add auto metadata to writets_noos, although reading them from original files is probably not possible so maybe no added benefitget_status
was removed fromhatyan.read_dia()
since it is not used. DDL/ddlpy is a good alternative to get full metadata with measurements.