To cite ctbi in publications use:

Ritter F (2021). “Technical note: A procedure to clean, decompose and aggregate time series, in review.” Hydrology and Earth System Sciences Discussions, 2021(1), 1–21. https://eartharxiv.org/repository/view/4714/.

Corresponding BibTeX entry:

  @Article{,
    title = {Technical note: A procedure to clean, decompose and
      aggregate time series, in review},
    author = {Francois Ritter},
    journal = {Hydrology and Earth System Sciences Discussions},
    year = {2021},
    volume = {2021},
    number = {1},
    pages = {1--21},
    url = {https://eartharxiv.org/repository/view/4714/},
  }