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

fail in NearestGridPoint using max_dist #39

Open
martevind opened this issue Oct 7, 2024 · 1 comment
Open

fail in NearestGridPoint using max_dist #39

martevind opened this issue Oct 7, 2024 · 1 comment

Comments

@martevind
Copy link

model.import_spectra(dn.read.spectra.metno.NORA3(),dn.pick.NearestGridPoint(max_dist=7))

Get error:
TypeError: NearestGridPoint() takes no arguments

@bjorkqvi
Copy link
Member

You should be able to just use it as a keyword argument in the method:

model.import_spectra(dn.read.spectra.metno.NORA3(),dn.pick.NearestGridPoint(), max_dist=7)

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

2 participants