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
git fetch -p && for branch in `git branch -vv | grep ': gone]' | awk '{print $1}'`; do git branch -D $branch; done |
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
## This allows for bash history search, partial + up-arrow | |
## arrow up | |
"\e[A":history-search-backward | |
## arrow down | |
"\e[B":history-search-forward |
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.
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.
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
using FourierFlows, PyPlot, Printf, Random | |
using Random: seed! | |
using FFTW: rfft, irfft | |
import GeophysicalFlows.TwoDNavierStokes | |
import GeophysicalFlows.TwoDNavierStokes: energy, enstrophy | |
import GeophysicalFlows: peakedisotropicspectrum | |
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
using FourierFlows, Printf, Random | |
using Random: seed! | |
using FFTW: rfft, irfft | |
import GeophysicalFlows.TwoDNavierStokes | |
import GeophysicalFlows.TwoDNavierStokes: energy, enstrophy | |
import GeophysicalFlows: peakedisotropicspectrum | |
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
# loat temp data from the two IAF cycles | |
temp_cycle1 = cc.querying.getvar('01deg_jra55v140_iaf', 'temp', session, ncfile='ocean-3d-temp-1-monthly-mean-ym_%.nc') | |
temp_cycle2 = cc.querying.getvar('01deg_jra55v140_iaf_cycle2', 'temp', session, ncfile='ocean-3d-temp-1-monthly-mean-ym_%.nc') | |
# The above data arrays have monthly temporal resolution. | |
# We would like to shift the time-axis of `cycle2` so | |
# as to plot them as a contiguous time-series, | |
# find out how many months we need to shift `cycle2` | |
howmanymonths = str(temp_010_cycle1_IAF_all.time.size + 1) + 'M' |
OlderNewer