Skip to content

Commit c1854b6

Browse files
committed
Merge pull request mom-ocean#76 from NOAA-GFDL/user/jpk/minor_dora_updates
'centered' vs. 'autocenter' fix to TS_drift.py
2 parents 3a511b5 + e7c5a3e commit c1854b6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/analysis/TS_drift.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ def main(cmdLineArgs,stream=None):
5656
else: objOut = cmdLineArgs.outdir+'/T_drift.png'
5757
m6plot.ztplot( T, timeT, zt, splitscale=[0., -1000., -6500.],
5858
suptitle=suptitle, title='Potential Temperature [C]',
59-
extend='both', colormap='dunnePM', centered=True,
59+
extend='both', colormap='dunnePM', autocenter=True,
6060
save=objOut)
6161

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

6969
if __name__ == '__main__':

0 commit comments

Comments
 (0)