A C library for hydro/meteorological time series operations