-
Notifications
You must be signed in to change notification settings - Fork 4
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
add function to compute grid cell area for a rectilinear grid #64
Comments
Note: this still only works work for rectilinear grids |
Yeah, I just assume a user has |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Typically you can just cosine-weight for a rectilinear grid, but you need grid cell areas if you're doing some sort of integration.
I've used code borrowed from my advisor in the past to create a
cellarea
variable for a 1x1deg rectilinear grid. It would be nice to just have a function here to pass in an arbitrary grid.This is taken from a notebook made by @hdrake. I'd like to compare the results with the other method I used and implement the below method.
The text was updated successfully, but these errors were encountered: