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

KeyError: 'z_min' when z_min isn't set by user in Gridder #9

Open
ahuang11 opened this issue Jan 15, 2021 · 1 comment
Open

KeyError: 'z_min' when z_min isn't set by user in Gridder #9

ahuang11 opened this issue Jan 15, 2021 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@ahuang11
Copy link

ahuang11 commented Jan 15, 2021

I simply used
g = Gridder(cf_attrs)



~/OpenMosaic/src/openmosaic/gridding/gridder.py in prepare_radar_subgrids(self, radar_site_ids, radar_sites, r_max)
    409                 'dy': self.grid_params['dy'],
    410                 'ny': None,
--> 411                 'z_min': self.grid_params['z_min'],
    412                 'z_max': self.grid_params['z_max'],
    413                 'dz': self.grid_params['dz'],

KeyError: 'z_min'


@jthielen
Copy link
Owner

Correct, you need to define the grid in each dimension. Better documentation and a better error message are certainly in order here!

@jthielen jthielen added this to the Immediate Development milestone Jan 16, 2021
@jthielen jthielen added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants