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

spectogrd output full of nan with gridtype='gaussian' and relatively large ntrunc #1

Open
GoogleCodeExporter opened this issue Aug 28, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.
# for example with the file spharmonic.py
# double nlons, nlats and ntrunc,
# and add option gridtype='gaussian':

nlons = 2*720; nlats = nlons/2+1
ntrunc = nlats-1
x = Spharmt(nlons,nlats,legfunc='computed', gridtype='gaussian')

2. spharmonic = x.spectogrd(coeffs)

What is the expected output? What do you see instead?
spharmonic should contain a spherical harmonic in real space,
instead, it contains only nan.

What version of the product are you using? On what operating system?
pyspharm-1.0.6, ubuntu 11.10

Remark: this problem does not appear with the function grdtospec()


Original issue reported on code.google.com by [email protected] on 10 Jan 2012 at 5:33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant