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/2021/map_blocks_example/index #130

Open
utterances-bot opened this issue Nov 8, 2021 · 6 comments
Open

esds/posts/2021/map_blocks_example/index #130

utterances-bot opened this issue Nov 8, 2021 · 6 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/2021/map_blocks_example/index.html

Copy link

tlsw231 commented Nov 8, 2021

"Currently, this implementation takes 18 minutes to compute"

I just wanted a clarification what is meant here by the "entire spatial domain". Is it taking 18 minutes for the subset defined by:

ds.isel(member_id=slice(0, 2), nlat=slice(2, 5), nlon=slice(1, 5))

Or is it for the full dataset defined by the full range of nlat and nlon values?

Copy link

tlsw231 commented Nov 15, 2021

@matt-long @mgrover1 Forgot to tag you in the previous reply. I wanted to follow up on this. I am working with 0.1 degree POP output and am finding that with 96 cores, it takes around 1 hour to process 12 monthly files (i.e., 1 year). Each high resolution file has 2400 x 3600 x 62 points.

@mgrover1
Copy link
Contributor

"entire spatial domain" here refers to the entire dataset, across all nlat/nlon values

Copy link

tlsw231 commented Nov 15, 2021

What is the size of the dataset? Can you give me all the dimensions? I am trying to see how fast of slow my runtimes are. My dataset size is (12,62,2400,3600).

Copy link

tlsw231 commented Nov 15, 2021

I am sorry I meant to ask what is the shape (not size) of the dataset.

Copy link

tlsw231 commented Nov 15, 2021

Okay, the docs mention "a single ensemble member". So am I right that your dataset is 5D? The fifth dimension being the ensemble member, the other four being the ones in mine as well (time,depth,nlat,nlon).

@andersy005 andersy005 added the 💬 comment Blog post comments label Dec 28, 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