Describe the bug
The configuration episode refers to ~/.config/intake-esgf/conf.yml as the intake-esgf configuration file. When I edit this file to set my local_cache and esg_dataroot, the settings are not used: files are downloaded to the default location ~/.esgf instead. Tested on Jasmin with examples/recipe_python.yml, and no esmvaltool config file for the local data, to force it to use ESGF.
Diagnosis: intake-esgf uses the yaml extension instead of yml:
https://github.com/esgf2-us/intake-esgf/blob/7225e8a6c05de3e7a21af8819317cafd00dae645/intake_esgf/config.py#L72
This is confirmed by editing the conf object in python and saving with intake_esgf.conf.save(), following intake-esgf documentation. This saves config file to ~/.config/intake-esgf/conf.yaml. Tested this under 2.14.0 and default pixi environment on Jasmin and Met Office systems.
So config filename should be conf.yaml. When I rename my config file to conf.yaml and repeat the original test, the ESGF files are downloaded to the path I specify.
Describe the bug
The configuration episode refers to
~/.config/intake-esgf/conf.ymlas the intake-esgf configuration file. When I edit this file to set mylocal_cacheandesg_dataroot, the settings are not used: files are downloaded to the default location~/.esgfinstead. Tested on Jasmin withexamples/recipe_python.yml, and no esmvaltool config file for the local data, to force it to use ESGF.Diagnosis: intake-esgf uses the
yamlextension instead ofyml:https://github.com/esgf2-us/intake-esgf/blob/7225e8a6c05de3e7a21af8819317cafd00dae645/intake_esgf/config.py#L72
This is confirmed by editing the conf object in python and saving with
intake_esgf.conf.save(), following intake-esgf documentation. This saves config file to~/.config/intake-esgf/conf.yaml. Tested this under 2.14.0 and default pixi environment on Jasmin and Met Office systems.So config filename should be
conf.yaml. When I rename my config file toconf.yamland repeat the original test, the ESGF files are downloaded to the path I specify.