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

Infer surface area from lat + lon if none provided. #327

Open
spencerahill opened this issue Sep 25, 2019 · 1 comment
Open

Infer surface area from lat + lon if none provided. #327

spencerahill opened this issue Sep 25, 2019 · 1 comment
Labels

Comments

@spencerahill
Copy link
Owner

I want to use Region's functionality on some non-aospy-generated data, but it doesn't have a separate surface area array, which we currently assume.

So we should add support for inferring surface area from the lat+lon arrays (preferably the lat+lon bound arrays, but this data also lacks those).

I'll need to code up this functionality to do these calculations anyways, which I'll do initially outside of aospy, but hopefully it won't be too much trouble to then translate that into a PR.

@spencerahill
Copy link
Owner Author

I knew I had done this before somewhere...model.py already implements this as _grid_sfc_area. So that's a good starting place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant