Commit 8c79612c authored by Martin Reinecke's avatar Martin Reinecke
Browse files

more tests

parent e8ec0694
......@@ -72,11 +72,11 @@ def test_vecangvec(vlen):
assert_equal(np.all(np.abs(out-inp) < 1e-14), True)
def test_sht():
lmax = 512
mmax = 512
nlat = lmax+1
nlon = 2*mmax+1
@pmp('params', [(511, 511, 512, 1024),
(511, 2, 512, 5),
(511, 0, 512, 1)])
def test_sht(params):
lmax, mmax, nlat, nlon = params
job = ph.sharpjob_d()
nalm = ((mmax+1)*(mmax+2))//2 + (mmax+1)*(lmax-mmax)
nalm_r = nalm*2-lmax-1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment