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

Conservative regridding (averaging) for 2D fields #515

Open
aaschwanden opened this issue Sep 22, 2022 · 1 comment
Open

Conservative regridding (averaging) for 2D fields #515

aaschwanden opened this issue Sep 22, 2022 · 1 comment
Assignees

Comments

@aaschwanden
Copy link
Member

For each grid resolution, I am currently creating a separate file from BedMachine by using gdal's averaging method. This results in a large amount of input files, often duplicated across projects.

gdal's averaging method is very fast, and I'm thus wondering if we could implement a similar approach to regrid spatial fields (basically bedrock and ice thickness).

If memory serves me well, we once had a python script that could do averaging but I cannot find it anymore.

Ideally, PISM should be able to bootstrap from BedMachine directly, with some limitations. This would also facilitate cloud computing.

@ckhroulev
Copy link
Member

I made quite a bit of progress on this. The latest code is in https://github.com/ckhroulev/pism-interpolation.

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

No branches or pull requests

2 participants