Hello,
I’m encountering an error using Clef when searching for local CMIP6 data. E.g. this search returns the following error:
module use /g/data3/hh5/public/modules
module load conda/analysis3-unstable
clef --local cmip5 --model MPI-ESM-LR --variable tas --table day
df = pd.read_sql(r.selectable, con=session.connection())
ERROR: Query must be a string unless using sqlalchemy.
The error goes away if I remove the “–local” flag but I then get search results that are not available on NCI and have to manually remove those. Any ideas on how to fix this would be welcome!
Thanks,
Anna
Aidan
(Aidan Heerdegen, ACCESS-NRI Release Team Lead)
2
Thanks, that makes sense. Would you be able to advise how to access older conda versions?
I also understood that hh5 continues to be supported and Clef is one of the tools available under hh5. Is it only the hh5 python environment that will be looked after by ACCESS-NRI?
Thanks,
Anna
Aidan
(Aidan Heerdegen, ACCESS-NRI Release Team Lead)
4
Sure. You can use module avail to see available versions:
The short answer is yes, though as always there are nuances. I can confidently say that Clef is not currently a supported tool, and as far as I know there are no plans for that to change.
If it is a valuable tool for the community it might be possible for the community of users to take over support and updates.
Otherwise there is a small window to ask @holger for help to fix the current bug.
Aidan
(Aidan Heerdegen, ACCESS-NRI Release Team Lead)
5
Thanks for the help and clarifying what’s happening with hh5. I finally got round to testing the Clef code again and yes it works when I load an older conda environment.