What’s new#
UNRELEASED#
Feat#
Fix#
aligned (conversion of) units in #364
2.9.0 (2024-09-11)#
Feat#
flexible timezone support in astrog in #333
support for missing
comp
timezone attribute inhatyan.prediction()
in #335read status from diafile in
hatyan.read_dia()
and aligned status/qualitycode columns inhatyan.ddlpy_to_hatyan()
in #337 and #353astrog datetimes as index instead of column in #347
Fix#
2.8.0 (2024-05-08)#
This release contains many changes of which several also impact the user. These changes benefit the user friendliness and robustness of hatyan.
Feat#
reading/writing analysis settings (xfac, nodalfactors, fu_alltimes) from/to component file in #175
made hatyan callable via
hatyan /path/to/script.py
(deprecatesinit_RWS()
andexit_RWS()
) in #113 and #226retained
freq
attribute ofts.index
in case of multifile equidistant dia in #118added support for file patterns in
hatyan.readts_dia()
in #120uniform usage of
analysis
(deprecateshatyan.get_components_from_ts()
) in #125added metadata to timeseries and components and passing it between those objects in the hatyan process in #131
improved metadata in component files in #131
replaced
times_ext
timestep_min
andtimes_pred_all
forhatyan.prediction()
withtimes
argument in #143simplified ddlpy to hatyan timeseries dataframe conversoin in
hatyan.ddlpy_to_hatyan()
in Deltares/hatyan#284prevent writing components with non-standard settings to file and prevent prediction with different settings than provided components in #218
use
pandas.DataFrame.attrs
instead of separate metadata attrs in #219moved from prints to logging in #236
made
hatyan.get_diablocks()
private and added publichatyan.get_diaxycoords()
instead #244made
hatyan.Timeseries_Statistics()
public #244support for timezones in hatyan timeseries in #258
simplified
hatyan.write_tsnetcdf()
by reading metadata from timeseries dataframes in #260made all read/write timeserie function names consistent by dropping “ts” in #265
use prediction settings from
comp
argument instead of settings arguments inhatyan.prediction()
#263re-introduce clear arguments for
hatyan.analysis()
in #270dropped support for
ìnt
timesteps in slices and inhatyan.prediction()
#288renamed
CS_comps
andxTx_condition_max
arguments forhatyan.prediction()
to lowercase #299fix for outofbounds nanosecond timesteps in
hatyan.analysis()
in #296
Deprecated#
hatyan ddl functions
get_DDL_catalog()
,get_DDL_queryserver()
,get_DDL_data()
,get_DDL_stationmetasubset()
in #206moved kenmerkendewaarden functions and examples to Deltares-research/kenmerkendewaarden in #211
deprecated
hatyan.write_tsdia_HWLW()
in favor ofhatyan.write_tsdia()
in #223deprecated
hatyan.convert_coords()
andhatyan.check_ts()
in #244deprecated
return_listoptions
argument forhatyan.get_const_list_hatyan()
in #262deprecated public
hatyan.HatyanSettings()
in #270deprecated
hatyan.components_timeshift()
in #281
2.7.0 (2023-08-03)#
Feat#
added py38/py310/py311 testbanks in #89
Fix#
introduced
min_width
of two hours to avoid incorrectly marked primary extremes in #86fixed
pandas>=2.0.0
AttributeError for outofbounds datetimes in commit aab36ba
2.6.0 (2023-02-15)#
Feat#
added Kenmerkende Waarden functions
moved from analysis_peryear and analysis_permonth to analysis_perperiod
modernized python package and updated dependencies in several commits
updated
xTxmat_condition_max=12
(was10
before) to allow several correct casesmoved from analysis_peryear and analysis_permonth to analysis_perperiod
added xtrack and fes2014b constituent list
added shallow water components 2MK2, M(SK)2, M(KS)2. Added harmonic components S3, M!M, MSTM from tugo (provided by Henrique Guarneri)
introduced extra component OQ2_tugo
corrected nodal factor for MSQM based on tugo/HG
added get_status keyword to
readts_dia()
used proper (non)equidistant distinguising method for diafiles
added nyquist folding method to properly distinguish overlapping frequencies after folding
introducing hatyan_settings
improved readability of
split_compoonents()
introduced caching of v0uf data and discontinued pickle file, introduced harmonic/shallow csv file
updated astrog leap-seconds.list for astrog and disable exact dT extrapolation
Fix#
improved HWLWnumbering error in case of missing station from phasediff textfile
improved rayleigh calculation method
astrog bugfix for longitudes away from 0, removed for loops from astrab (faster code)
2.5.0 (2021-12-14)#
Feat#
added DDL to hatyan
added
prediction_peryear()
definitionsupport
analysis_peryear=True
andCS_comps=!None
at the same time
Fix#
bugfix in diawriting for last entries of timeseries
bugfix in diafile writing that solves rounding issue. Made dia writing more efficient by writing values with pd.to_csv instead of in loop
2.3.0 (2021-10-08)#
See removed HISTORY.rst for older features/fixes