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

Add more configurable parameters to dataset methods? #37

Open
geek-yang opened this issue Oct 24, 2023 · 1 comment
Open

Add more configurable parameters to dataset methods? #37

geek-yang opened this issue Oct 24, 2023 · 1 comment

Comments

@geek-yang
Copy link
Member

In the methods of dataset classes, there are many parameters which can be made configurable, for instance, chunks for loading data:

ds = xr.open_mfdataset(files, chunks={"latitude": 200, "longitude": 200})

These configurable data could be added as arguments to the methods in each dataset class. However, since currently we want our users to use zampy with recipes only (https://github.com/EcoExtreML/zampy/blob/main/docs/using_zampy.md), this may not help too much. We need to think about the design to bridge the gap.

@BSchilperoort
Copy link
Contributor

However, since currently we want our users to use zampy with recipes only

Well, there is the config file too. ESMValTool has a dask-specific config file.

The recipes determine what data is downloaded and how it's converted. However, things like the configuration of dask, login keys, etc. can be in a user config.

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

2 participants