You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DEBUG:pyesgf.search.connection:Query dict is MultiDict([('format', 'application/solr+json'), ('limit', 0), ('distrib', 'true'), ('type', 'Dataset'), ('project', 'CMIP5')])
DEBUG:pyesgf.search.connection:Query request is http://esgf-node.llnl.gov/esg-search/search?format=application%2Fsolr%2Bjson&limit=0&distrib=true&type=Dataset&project=CMIP5
Traceback (most recent call last):
File "/home/bandela/src/esmvalgroup/esmvalcore/try_filesearch.py", line 96, in <module>
example()
File "/home/bandela/src/esmvalgroup/esmvalcore/try_filesearch.py", line 92, in example
ctx.search(ignore_facet_check=True)
File "/home/bandela/conda/envs/esmvaltool/lib/python3.9/site-packages/pyesgf/search/context.py", line 126, in search
sc.__update_counts(ignore_facet_check=ignore_facet_check)
File "/home/bandela/conda/envs/esmvaltool/lib/python3.9/site-packages/pyesgf/search/context.py", line 207, in __update_counts
for facet, counts in (list(response['facet_counts']['facet_fields'].items())):
KeyError: 'facet_counts'
The text was updated successfully, but these errors were encountered:
When I run this script:
the code crashes with the following output:
The text was updated successfully, but these errors were encountered: