Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grid-flexible spectral transform #127

Merged
merged 31 commits into from
Aug 26, 2022
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
ec7be1a
spectral! for AbstractGrid
milankl Aug 23, 2022
75b958d
grid-flexible spec trans :thumbs-up:working but not exact for non-ful…
milankl Aug 23, 2022
4b0d5e4
truncation order as grid property
milankl Aug 23, 2022
28024d9
aliasing removed, docstrings added
milankl Aug 23, 2022
d8e5a0c
transform exact for OctahedralGaussianGrid
milankl Aug 24, 2022
16a283e
full Clenshaw-Curtis grid with odd nlat exact
milankl Aug 24, 2022
bf832f6
FullClenshawGrid always odd
milankl Aug 24, 2022
16bc4fa
HEALPix quad weights new, no lon offsets
milankl Aug 24, 2022
bb19038
exact solid angles for HEALPix
milankl Aug 25, 2022
37cea02
lon offset rotation for HEALPix, not working
milankl Aug 25, 2022
14b1eb1
DiagnosticVariables parametric with Grid
milankl Aug 26, 2022
2935f9a
eachring method with @boundscheck
milankl Aug 26, 2022
f5831bc
coslat scaling ring by ring
milankl Aug 26, 2022
bb5d87e
docstrings updated
milankl Aug 26, 2022
155eb5b
grid-point tendencies ring-by-ring
milankl Aug 26, 2022
03439ec
Merge branch 'main' into mk/healpix
milankl Aug 26, 2022
eb4de96
grid->Grid in SpecTrans
milankl Aug 26, 2022
7903ab2
AbstractGrid in function signatures
milankl Aug 26, 2022
d2a0287
Merge branch 'mk/healpix' of https://github.com/milankl/SpeedyWeather…
milankl Aug 26, 2022
9ebae5c
Random added to [deps]
milankl Aug 26, 2022
089cbff
orography as AbstractGrid
milankl Aug 26, 2022
198e90b
now all grid diagnvars are ::Grid
milankl Aug 26, 2022
fdaf09a
Random.seed! with Parameters.seed for reprodcblty
milankl Aug 26, 2022
01e71f2
0-element HEALPix possible
milankl Aug 26, 2022
4195e52
truncation! updated and NF conversion for gridded
milankl Aug 26, 2022
60c1504
Merge branch 'main' into mk/healpix
milankl Aug 26, 2022
cf298af
scale_coslat! tests for different grids
milankl Aug 26, 2022
947c3b6
Merge branch 'mk/healpix' of https://github.com/milankl/SpeedyWeather…
milankl Aug 26, 2022
b73eb52
boundaries: initialize speedy with primitive model
milankl Aug 26, 2022
7eb66eb
@inbounds back in spec trans
milankl Aug 26, 2022
7336594
output always on FullGaussianGrid
milankl Aug 26, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/geometry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function Geometry(P::Parameters)
@unpack n_stratosphere_levels = P # number of vertical levels used for stratosphere

# RESOLUTION PARAMETERS
nresolution = get_resolution(grid,trunc) # resolution parameter, nlat_half/nside for HEALPixGrid
nresolution = get_resolution(grid,trunc) # resolution parameter, nlat_half or nside for HEALPixGrid
nlat_half = get_nlat_half(grid,nresolution) # contains equator for HEALPix
nlat = 2nlat_half - nlat_odd(grid) # one less if grids have odd # of latitude rings
nlon = get_nlon(grid,nresolution) # number of longitudes around the equator
Expand Down
Loading