Skip to content

Commit

Permalink
remove time import
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Moodie committed Jun 12, 2020
1 parent a91844f commit 9b0b3af
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions pyDeltaRCM/init_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

from netCDF4 import Dataset
import time as time_lib
import time
import yaml

from . import shared_tools
Expand Down Expand Up @@ -42,7 +41,7 @@ def init_logger(self):
"""
# create the logging file handler
st = time.strftime("%Y%m%d-%H%M%S")
st = timelib.strftime("%Y%m%d-%H%M%S")
fh = logging.FileHandler("pyDeltaRCM_" + st + ".log")
formatter = logging.Formatter(
'%(asctime)s - %(name)s - %(levelname)s - %(message)s')
Expand All @@ -52,7 +51,7 @@ def init_logger(self):
self.logger.setLevel(logging.INFO)

# create the logging file handler
st = timestr = time_lib.strftime('%Y%m%d-%H%M%S')
st = time_lib.strftime('%Y%m%d-%H%M%S')
fh = logging.FileHandler(
self.prefix_abspath + '/pyDeltaRCM_' + st + '.log')
formatter = logging.Formatter(
Expand Down Expand Up @@ -177,9 +176,9 @@ def create_other_variables(self):
Creates variables for model implementation, from specified boundary
condition variables. This method is run during initial model
instantition, but it is also run any time an inlet flow condition
variable is changed, including ``channel_flow_velocity``,
``channel_width``, ``channel_flow_depth``, and
``influx_sediment_concentration``.
variable is changed, including `channel_flow_velocity`,
`channel_width`, `channel_flow_depth`, and
`influx_sediment_concentration`.
"""
self.init_Np_water = self.Np_water
self.init_Np_sed = self.Np_sed
Expand Down

0 comments on commit 9b0b3af

Please sign in to comment.