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

UXarray example using ne30 grid? #103

Open
wwieder opened this issue Jun 4, 2024 · 4 comments
Open

UXarray example using ne30 grid? #103

wwieder opened this issue Jun 4, 2024 · 4 comments

Comments

@wwieder
Copy link
Collaborator

wwieder commented Jun 4, 2024

Is your feature request related to a problem? Please describe.
There seem to be a number of challenges in working with the raw output from the ne30 grid. Are there example notebooks we can modify that use UXarray for simple diagnostics. Specifically, I'd love an example that uses somewhat more complicated mesh files to handle weighting and interpolation correctly for land or ocean components.

Describe the solution you'd like
Currently the LMWG diagnostics package calculates time series and climotologies from the raw ne30 data and then uses mkprocdata_map or ncremap to create maps, but I wonder if UXarray can do this for us?

@kafitzgerald
Copy link
Collaborator

Just seeing this now.

I believe at least some of this (if not all) should be possible and if not it'd be great to log some issues for any bugs / feature requests / docs improvements.

Related:

There have also been some pretty significant improvements to the UXarray docs recently as well with a lot of example / tutorial style guides (feedback welcome):
https://uxarray.readthedocs.io/en/latest/userguide.html

cc'ing @erogluorhan and @philipc2

@philipc2
Copy link
Member

philipc2 commented Jul 23, 2024

Hi @wwieder (and thanks for pinging me @kafitzgerald !)

Our intern is currently putting together two notebooks that analyze E3SM model output, which is on a ne30 grid. The following are still in review, but they are mostly complete.

However, you should be easily able to replicate any of the examples from our User Guide (we've tested a lot of our functionality on the ne30 grid too).

Walking through the User Guide, especially the Data Structures section should get you up to speed.

I'd also be happy to take a look at any data you're working with, especially if it's available on the NCAR Glade filesystem. Let me know if you have any questions!

Specifically, I'd love an example that uses somewhat more complicated mesh files to handle weighting and interpolation correctly for land or ocean components.

Feel free to open an issue or discussion directly on UXarray for this, we'd love to hear more about any requests.

@wwieder
Copy link
Collaborator Author

wwieder commented Jul 23, 2024

these are awesome. thanks for pointing me to the examples!

One more question, it looks like regional subsetting is something that's supported? I may just need to play around with results from the files I have to see if it works as intended.

@erogluorhan
Copy link
Collaborator

erogluorhan commented Jul 23, 2024

Hey @wwieder that's right! We currently support Nearest-neghbor, bounding box, and bounding circle subsetting. Please give them a try and let us know what you think.

EDIT: They are currently implemented in the simplest way to either include or exclude the geometric elements, i.e. face, node, or edge, around borders of the region of interest depending on whether their coords fall into or outside the region. In other words, there is no advanced features such as splitting those border faces and including only the parts of them that fall into the region.

Also thanks very much, @kafitzgerald , I had missed this issue until you pinged me!

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

4 participants