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

cellsize field that updates with reduction along a dimension #7

Closed
rafaqz opened this issue Oct 7, 2019 · 0 comments
Closed

cellsize field that updates with reduction along a dimension #7

rafaqz opened this issue Oct 7, 2019 · 0 comments

Comments

@rafaqz
Copy link
Owner

rafaqz commented Oct 7, 2019

Cells need to have a size in all dimensions. When a method like mean or sum that reduce a dimension to size 1 is called, the cell size on that dimension should be updated to match - to span the whole range of the original dimension instead of one cell.

ie cellsize *= length(val(dim))

The starting point would remain as is currently - the start of the first cell.

This could be a field of the grid trait type, or not.

@rafaqz rafaqz closed this as completed Dec 14, 2019
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