cmip6_downscaling.methods.common.tasks.rechunk#
- cmip6_downscaling.methods.common.tasks.rechunk = <Task: rechunk>[source]#
Use rechunker package to adjust chunks of dataset to a form conducive for your processing.
- Parameters:
- pathUPath
path to zarr store
- patternstr
The pattern of chunking you want to use. If used together with template it will override the template to ensure that the final dataset truly follows that full_space or full_time spec. This matters when you are passing a template that is either a shorter time length or a template that is a coarser grid (and thus a shorter lat/lon chunksize)
- templateUPath
The path to the file you want to use as a chunking template. The utility will grab the chunk sizes and use them as the chunk target to feed to rechunker.
- max_memstr
The memory available for rechunking steps. Must look like “2GB”. Optional, default is 5GB.
- Returns:
- targetUPath
Path to rechunked dataset