Skip to content

Commit

Permalink
Merge pull request mom-ocean#76 from NOAA-GFDL/user/jpk/minor_dora_up…
Browse files Browse the repository at this point in the history
…dates

'centered' vs. 'autocenter' fix to TS_drift.py
  • Loading branch information
adcroft committed Mar 28, 2016
2 parents 3a511b5 + e7c5a3e commit c1854b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/analysis/TS_drift.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ def main(cmdLineArgs,stream=None):
else: objOut = cmdLineArgs.outdir+'/T_drift.png'
m6plot.ztplot( T, timeT, zt, splitscale=[0., -1000., -6500.],
suptitle=suptitle, title='Potential Temperature [C]',
extend='both', colormap='dunnePM', centered=True,
extend='both', colormap='dunnePM', autocenter=True,
save=objOut)

if stream != None: objOut = stream[1]
else: objOut = cmdLineArgs.outdir+'/S_drift.png'
m6plot.ztplot( S, timeS, zt, splitscale=[0., -1000., -6500.],
suptitle=suptitle, title='Salinity [psu]',
extend='both', colormap='dunnePM', centered=True,
extend='both', colormap='dunnePM', autocenter=True,
save=objOut)

if __name__ == '__main__':
Expand Down

0 comments on commit c1854b6

Please sign in to comment.