From 3b84542b486f734531821eba86a03fb9b91b5894 Mon Sep 17 00:00:00 2001 From: GundulaW Date: Wed, 12 Jun 2024 15:28:57 +0200 Subject: [PATCH] adjusted time strings in noaa_coops --- cht_observations/_noaa_coops.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cht_observations/_noaa_coops.py b/cht_observations/_noaa_coops.py index 47e11bd..812e618 100644 --- a/cht_observations/_noaa_coops.py +++ b/cht_observations/_noaa_coops.py @@ -66,8 +66,8 @@ def get_data( df : pandas.DataFrame Data frame with data """ - t0_string = tstart.strftime("%Y%m%d") - t1_string = tstop.strftime("%Y%m%d") + t0_string = tstart.strftime("%Y%m%d %H:%M") + t1_string = tstop.strftime("%Y%m%d %H:%M") if varname == "water_level": product = varname