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.
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
git clone https://github.com/FourierFlows/GeophysicalFlowsDocumentation.jl.git; cd GeophysicalFlowsDocumentation.jl; git checkout gh-pages; git rm -rf previews; git commit -m "delete previews"; git branch gh-pages-new $(echo "delete history" | git commit-tree HEAD^{tree}); git push --force origin gh-pages-new:gh-pages; |
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' |
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 | |
NewerOlder