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

average_polygon extremely slow when running on THREDDS data #178

Closed
huard opened this issue Apr 13, 2021 · 4 comments
Closed

average_polygon extremely slow when running on THREDDS data #178

huard opened this issue Apr 13, 2021 · 4 comments

Comments

@huard
Copy link
Collaborator

huard commented Apr 13, 2021

Description

Defining a 500 km² watershed and then trying to compute ERA5 average on it (tolerance=.1) is extremely slow (one month of data). Never had the patience to let it finish.

@Zeitsperre
Copy link
Collaborator

Related PR: Ouranosinc/pavics-sdi#221

Running finch.subset using our THREDDS-housed data and a PAVICS-based finch is incredibly slow. Using a locally running instance of finch, the only bottleneck is my internet connection when collecting the data, but otherwise it all runs very fast. My feeling is it might be a network issue.

@tlvu
Copy link
Collaborator

tlvu commented Jun 14, 2021

Running finch.subset using our THREDDS-housed data and a PAVICS-based finch is incredibly slow.

FYI, we currently have a slow Twitcher/Magpie problem (bird-house/twitcher#97) and a low I/O problem (bird-house/birdhouse-deploy#122 (comment)) on PAVICS in prod.

@huard
Copy link
Collaborator Author

huard commented Nov 10, 2021

This has possibly many explanations.

  1. The dot product between the weights and the field requires the entire field, so we need to load the entire dataset in memory (or stream it). A PR is in progress in clisops to apply a subset first.
  2. The weights are copied for each dask chunk, there is partial fix in xESMF 0.6.1, but issues remain.

@huard
Copy link
Collaborator Author

huard commented Jan 13, 2022

This should hopefully be improved with the new clisops release.

@huard huard closed this as completed Jan 13, 2022
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

3 participants