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

TypeError: HealpyGridInfo.__init__() got an unexpected keyword argument 'nside' #7

Open
tinaok opened this issue Jan 13, 2024 · 0 comments

Comments

@tinaok
Copy link
Contributor

tinaok commented Jan 13, 2024

Issue Description:

I encountered an issue in the create_grid function of the xarray-healpy project. When executing the code block below in the healpix_regrid.ipynb notebook, I encountered a TypeError:


grid = create_grid(nside=nside, rot=rot)
grid

The error message is as follows:

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
File <timed exec>:1

File ~/xarray-healpy/xarray_healpy/grid.py:218, in create_grid(nside, rot)
    217 def create_grid(nside, rot={"lat": 0, "lon": 0}):
--> 218     return HealpyGridInfo(nside=nside, rot=rot)

TypeError: HealpyGridInfo.__init__() got an unexpected keyword argument 'nside'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant