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

Low-resolution outputs? #1001

Open
bprather opened this issue Jan 26, 2024 · 4 comments
Open

Low-resolution outputs? #1001

bprather opened this issue Jan 26, 2024 · 4 comments

Comments

@bprather
Copy link
Collaborator

I know Parthenon now supports histograms, & therefore with some fudging, 2D slices. But what about downsampling?

It would be useful in KHARMA to be able to output a 1:2 or 1:4 resolution dump at a much higher cadence, in order to capture fast overall features without eating all our scratch space -- at best, perhaps this means interpolation onto a single grid, or a whole different SMR layout. We can do this in post, of course, but that limits how far we can even run before pruning back all the high-res cruft, and I imagine the pruning step will be very time-intensive.

If this is a desirable feature for more downstreams, I can try to work on it at the Parthenon level, so I'm opening it here.
Mostly I'm worried linear interpolation may not be what the user wants for all variables. Maybe some repeated call to the restriction operator? Maybe interpolate onto a whole new mesh with a linear or user-chosen function?

@Yurlungur
Copy link
Collaborator

This is a cool idea, and I would be interested in this capability. Maybe limit to only vars that can be restricted? And just restrict into the coarse buffer?

@BenWibking
Copy link
Collaborator

I think this would be very interesting for several AthenaPK applications as well 👍

@bprather
Copy link
Collaborator Author

Cool, I figured it might be useful. Using the coarse buffers is a good idea, I bet I can whip up the easy 1:2 version in a few weeks here when I get a chance, and we can talk any more advanced features on the PR.

@pgrete
Copy link
Collaborator

pgrete commented Jan 28, 2024

Yes, this would definitely be useful.
In fact, we already talked about this on our downstream side and I put some thought around this in the context of OpenPMD outputs.
I think this can be realized in few 10s LOC so I'll try to add it along the go.

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