This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| ''' | |
| Send an multipart email with HTML and plain text alternatives. The message | |
| should be constructed as a plain-text file of the following format: | |
| From: Your Name <[email protected]> | |
| To: Recipient One <[email protected]> | |
| Subject: Your subject line | |
| --- |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia64_cray_archer,v 1.4 2016/03/13 18:30:34 dfer Exp $ | |
| # $Name: checkpoint66g $ | |
| # To be used with the suite of cray compilers (PrgEnv-cray). | |
| # To get netcdf, add: | |
| # module load cray-netcdf-hdf5parallel | |
| # module load cray-mpich |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def MITgcmPromoteCoords(ds): | |
| ds = ds.assign_coords(Z=ds.Z, Zu=ds.Zu, Zl=ds.Zl, Zp1=ds.Zp1, | |
| time=ds.time, timestart=ds.timestart, | |
| timeend=ds.timeend, iter=ds.iter, | |
| rA=ds.rA, rAw=ds.rAw, rAz=ds.rAz, rAs=ds.rAs, | |
| dxG=ds.dxG, | |
| dyG=ds.dyG, dxC=ds.dxC, dyC=ds.dyC, drC=ds.drC, | |
| drF=ds.drF, PHrefC=ds.PHrefC, PHrefF=ds.PHrefF, | |
| ) | |
| return ds |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fig, ax = plt.subplots(3,3) | |
| plt.setp(ax[:,1:], 'yticklabels', '') | |
| plt.setp(ax[:-1,:], 'xticklabels', '') |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.