Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions mpas_analysis/shared/time_series/mpas_time_series_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,12 @@ def setup_and_check(self): # {{{

self._update_time_series_bounds_from_file_names()

self.runMessage = '\nComputing MPAS time series from first year ' \
'plus files:\n' \
' {} through\n {}'.format(
os.path.basename(self.inputFiles[0]),
os.path.basename(self.inputFiles[-1]))

# Make sure first year of data is included for computing anomalies
simulationStartTime = get_simulation_start_time(self.runStreams)
firstYear = int(simulationStartTime[0:4])
Expand Down Expand Up @@ -180,10 +186,7 @@ def run_task(self): # {{{
# nothing to do
return

self.logger.info('\nComputing MPAS time series from files:\n'
' {} through\n {}'.format(
os.path.basename(self.inputFiles[0]),
os.path.basename(self.inputFiles[-1])))
self.logger.info(self.runMessage)

self._compute_time_series_with_ncrcat()

Expand Down