-
Notifications
You must be signed in to change notification settings - Fork 11
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
solve chunking warning #679
Comments
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
or:
Raises
" UserWarning: The specified chunks separate the stored chunks along dimension "time" starting at index 1. This could degrade performance. Instead, consider rechunking after loading."
This might be because of the default
chunks={"time":1}
ofopen_partitioned_dataset
. It can be supressed by using auto chunks (or auto chunks for time) but that has negative impact on performance:When plotting a single timestep with
uds.mesh2d_s1.isel(time=-1).ugrid.plot()
, the performance decreases enormously when using auto chunks with large model outputs like 20-partitions DCSM model. How to proceed?Additional info, this also happens with plain xarray example:
Apply filterwarning zoals in xarray pytest (maybe only if chunkstime=1): https://github.com/pydata/xarray/blob/62a4d0f45a4d275c32387522051bbe493414e090/xarray/tests/test_backends.py#L5082
The text was updated successfully, but these errors were encountered: