Skip to content

Commit

Permalink
add todos to mark the assumed values
Browse files Browse the repository at this point in the history
  • Loading branch information
MAfarrag committed Jan 20, 2025
1 parent 8b3dc02 commit eab44be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hydrolib/tools/ext_old_to_new/converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,12 +465,14 @@ def convert(
time_model = self.parse_tim_model(
tim_file, ext_file_quantity_list, **temp_salinity_mdu
)
# TODO: check the units of the initialtracers
units = time_model.get_units()
# ToDO: check how to get the user_defined_names
user_defined_names = [
f"user-defines-{i}" for i in range(len(time_model.quantities_names))
]

# get from the mdu file
# TODO: get the start name from the mdu file
start_time = "minutes since 2015-01-01 00:00:00"
forcing_model = TimToForcingConverter().convert(
time_model, start_time, units=units, user_defined_names=user_defined_names
Expand Down

0 comments on commit eab44be

Please sign in to comment.