diff --git a/hydrolib/core/dflowfm/bc/models.py b/hydrolib/core/dflowfm/bc/models.py index 40fc942b0..5470b306d 100644 --- a/hydrolib/core/dflowfm/bc/models.py +++ b/hydrolib/core/dflowfm/bc/models.py @@ -77,10 +77,10 @@ class TimeInterpolation(StrEnum): linear = "linear" """str: Linear interpolation between times.""" - block_from = "blockFrom" + block_from = "block-From" """str: Equal to that at the start of the time interval (latest specified time value).""" - block_to = "blockTo" + block_to = "block-To" """str: Equal to that at the end of the time interval (upcoming specified time value).""" diff --git a/tests/data/reference/bc/t3d_backwards_compatibility.bc b/tests/data/reference/bc/t3d_backwards_compatibility.bc index 03d2bda96..fa6f23490 100644 --- a/tests/data/reference/bc/t3d_backwards_compatibility.bc +++ b/tests/data/reference/bc/t3d_backwards_compatibility.bc @@ -7,7 +7,7 @@ fileType = boundConds [Forcing] name = boundary_timeseries function = timeseries -Time Interpolation = blockTo +Time Interpolation = block-To offset = 1.23 factor = 2.34 quantity = time diff --git a/tests/data/reference/bc/test.bc b/tests/data/reference/bc/test.bc index d0026e1e9..a419eec83 100644 --- a/tests/data/reference/bc/test.bc +++ b/tests/data/reference/bc/test.bc @@ -7,7 +7,7 @@ fileType = boundConds [Forcing] name = boundary_timeseries function = timeseries -timeInterpolation = blockTo +timeInterpolation = block-To offset = 1.230 factor = 2.340 quantity = time