Skip to content

Commit

Permalink
switch to mth5 synthetic config
Browse files Browse the repository at this point in the history
  • Loading branch information
kkappler committed Jun 12, 2024
1 parent 82f2b2d commit d4551dd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/synthetic/test_metadata_values_set_correctly.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
"""
TODO: Deprecate -- This now basically duplicates a test in MTH5 (issue #191)
"""
from loguru import logger
import logging
import pandas as pd
import unittest

from aurora.pipelines.run_summary import RunSummary
from aurora.test_utils.synthetic.make_mth5_from_asc import create_test3_h5
from aurora.test_utils.synthetic.station_config import make_station_03
from mth5.data.make_mth5_from_asc import create_test3_h5
from mth5.data.station_config import make_station_03
from mth5.helpers import close_open_files


Expand Down Expand Up @@ -45,6 +46,8 @@ def test_start_times_correct(self):
summary_row = run_summary.df[
run_summary.df.run_id == run.run_metadata.id
].iloc[0]
logger.info(summary_row.start)
logger.info(run.start)
assert summary_row.start == pd.Timestamp(run.start)


Expand Down

0 comments on commit d4551dd

Please sign in to comment.