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

ENH: Make it possible to pass files in any order and guess the variables to be used #299

Open
bzah opened this issue Jan 17, 2024 · 1 comment

Comments

@bzah
Copy link
Member

bzah commented Jan 17, 2024

  • icclim version:
  • Python version:

Description

It would be nice if icclim could guess which variable to use when given a list of files and the index expected variable is known.
for example, fetch tasmax in files if computing SU.

@bzah
Copy link
Member Author

bzah commented Jan 17, 2024

@pagecp, I fogot about it but, it's already implemented.
You can run
icclim.cw(["pr.nc", "tas.nc"]) and it will work whatever is the order of the two files as long as a pr (or its aliases) and a tas (or its aliases) is found in the merged Dataset.
I could not find this in the documentation though, I will keep this issue open to update the doc.

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

1 participant