Open mwtoews opened 1 year ago
My suggestion is to deprecate the .tr property and TemporalReference class (eventually remove flopy/utils/reference.py).
This seems reasonable though I'll defer to others with more history on the project. If there is agreement the initial deprecation could be done for 3.7.0 due out later this month.
Does start_datetime need to be duplicated for the .dis property? Other ideas?
Since start time is a member of the mf2005 DIS package it seems reasonable to keep it? Agreed that the setter should work on both modeltime
and dis
, and ideally setting one should propagate to the other?
For classic Modflow models, there appears to be two classes to handle time in some-way.
For example, a model object has "tr" and "modeltime" properties:
Source code for:
flopy.utils.reference.TemporalReference
from flopy/utils/reference.pyflopy.discretization.modeltime.ModelTime
from flopy/discretization/modeltime.pyThere are at least three
start_datetime
attributes, some that contradict others:As for setters, there are more inconsistencies:
My suggestion is to deprecate the
.tr
property andTemporalReference
class (eventually removeflopy/utils/reference.py
). Doesstart_datetime
need to be duplicated for the.dis
property? Other ideas?