Skip to content

New feature: generic MATLAB dates to pandas Timestamps

Choose a tag to compare

@lukegre lukegre released this 18 Nov 09:38
· 75 commits to main since this release

When using read_mat_struct_as_dataset, you can use the following kwarg:

forcing = cgt.read_mat_struct_as_dataset(
    fname, 
    index='timeForcing',  # must be set for index_is_datenum to work
    index_is_datenum=True  # converts MATLAB datenum to pd.Timestamp
)

Full Changelog: v0.1.3...v0.1.4