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

esds/posts/map_blocks_example/ #63

Open
utterances-bot opened this issue Jun 9, 2021 · 2 comments
Open

esds/posts/map_blocks_example/ #63

utterances-bot opened this issue Jun 9, 2021 · 2 comments
Labels
💬 comment Blog post comments

Comments

@utterances-bot
Copy link

How to Use xarray.map_blocks for Vertical Interpolation of a 3D Field — NCAR-ESDS 0.1 documentation

https://ncar.github.io/esds/posts/map_blocks_example/

Copy link

kuchaale commented Jun 9, 2021

Nice post! Do you have any comparison with xr.apply_ufunc? I would be especially interested in comparison with the interpolation applied on individual files using ThreadPoolExecutor in a following way:

with ProcessPoolExecutor(max_workers=8) as Executor:
        results = list(tqdm(Executor.map(split_file_function, infile_ls), 
                            total = len(infile_ls)))

@mgrover1
Copy link
Contributor

Thanks - that is good suggestion. We will add that to the ongoing list of future posts

@andersy005 andersy005 added the 💬 comment Blog post comments label Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💬 comment Blog post comments
Projects
None yet
Development

No branches or pull requests

4 participants