Skip to content

Commit 8ae8f43

Browse files
Merge branch 'main' into add-intake-esgf-support
2 parents 94ced4c + 57edaf8 commit 8ae8f43

File tree

5 files changed

+32
-23
lines changed

5 files changed

+32
-23
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
version: 2.1
33

44
orbs:
5-
coverage-reporter: codacy/coverage-reporter@14.0.0
6-
codecov: codecov/codecov@4.1.0
5+
coverage-reporter: codacy/coverage-reporter@14.1.0
6+
codecov: codecov/codecov@5.3.0
77

88
commands:
99
check_changes:
@@ -144,8 +144,8 @@ jobs:
144144
name: Install gpg (required by codecov orb)
145145
command: apt update && apt install -y gpg
146146
- codecov/upload:
147-
when: always
148-
file: 'test-reports/coverage.xml'
147+
files: 'test-reports/coverage.xml'
148+
disable_search: true
149149
- coverage-reporter/send_report:
150150
coverage-reports: 'test-reports/coverage.xml'
151151
project-token: $CODACY_PROJECT_TOKEN

doc/quickstart/configure.rst

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -847,28 +847,38 @@ The default settings are:
847847

848848
.. code-block:: yaml
849849
850-
urls:
851-
- 'https://esgf.ceda.ac.uk/esg-search'
852-
- 'https://esgf-node.llnl.gov/esg-search'
853-
- 'https://esgf-data.dkrz.de/esg-search'
854-
- 'https://esgf-node.ipsl.upmc.fr/esg-search'
855-
- 'https://esg-dn1.nsc.liu.se/esg-search'
856-
- 'https://esgf.nci.org.au/esg-search'
857-
- 'https://esgf.nccs.nasa.gov/esg-search'
858-
- 'https://esgdata.gfdl.noaa.gov/esg-search'
859-
distrib: true
860-
timeout: 120 # seconds
861-
cache: '~/.esmvaltool/cache/pyesgf-search-results'
862-
expire_after: 86400 # cache expires after 1 day
863-
864-
Note that by default the tool will try the
850+
search_connection:
851+
urls:
852+
- 'https://esgf-node.ornl.gov/esgf-1-5-bridge'
853+
- 'https://esgf.ceda.ac.uk/esg-search'
854+
- 'https://esgf-data.dkrz.de/esg-search'
855+
- 'https://esgf-node.ipsl.upmc.fr/esg-search'
856+
- 'https://esg-dn1.nsc.liu.se/esg-search'
857+
- 'https://esgf.nci.org.au/esg-search'
858+
- 'https://esgf.nccs.nasa.gov/esg-search'
859+
- 'https://esgdata.gfdl.noaa.gov/esg-search'
860+
distrib: true
861+
timeout: 120 # seconds
862+
cache: '~/.esmvaltool/cache/pyesgf-search-results'
863+
expire_after: 86400 # cache expires after 1 day
864+
865+
Note that by default the tool will try searching the
865866
`ESGF index nodes <https://esgf.llnl.gov/nodes.html>`_
866867
in the order provided in the configuration file and use the first one that is
867868
online.
868869
Some ESGF index nodes may return search results faster than others, so you may
869870
be able to speed up the search for files by experimenting with placing different
870871
index nodes at the top of the list.
871872

873+
.. warning::
874+
875+
ESGF is currently
876+
`transitioning to new server technology <https://github.com/ESGF/esgf-roadmap/blob/main/status/README.md>`__
877+
and all of the above indices are expected to go offline except the first one.
878+
879+
Issues with https://esgf-node.ornl.gov/esgf-1-5-bridge can be reported
880+
`here <https://github.com/esgf2-us/esg_fastapi/issues>`__.
881+
872882
If you experience errors while searching, it sometimes helps to delete the
873883
cached results.
874884

esmvalcore/cmor/_fixes/cmip6/ukesm1_0_ll.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def fix_metadata(self, cubes):
2626
try:
2727
if cube.attributes[parent_units] == bad_value:
2828
cube.attributes[parent_units] = "days since 1850-01-01"
29-
except AttributeError:
29+
except KeyError:
3030
pass
3131
return cubes
3232

esmvalcore/config/_esgf_pyclient.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,10 @@ def load_esgf_pyclient_config():
5050
# Arguments to
5151
# https://esgf-pyclient.readthedocs.io/en/latest/api.html#pyesgf.search.connection.SearchConnection
5252
"search_connection": {
53-
# List of available index nodes: https://esgf.llnl.gov/nodes.html
5453
# Be careful about the url, not all search urls have CMIP3 data?
5554
"urls": [
55+
"https://esgf-node.ornl.gov/esgf-1-5-bridge", # Report any issues here: https://github.com/esgf2-us/esg_fastapi/issues
5656
"https://esgf.ceda.ac.uk/esg-search",
57-
"https://esgf-node.llnl.gov/esg-search",
5857
"https://esgf-data.dkrz.de/esg-search",
5958
"https://esgf-node.ipsl.upmc.fr/esg-search",
6059
"https://esg-dn1.nsc.liu.se/esg-search",

tests/unit/config/test_esgf_pyclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
DEFAULT_CONFIG: dict = {
99
"search_connection": {
1010
"urls": [
11+
"https://esgf-node.ornl.gov/esgf-1-5-bridge",
1112
"https://esgf.ceda.ac.uk/esg-search",
12-
"https://esgf-node.llnl.gov/esg-search",
1313
"https://esgf-data.dkrz.de/esg-search",
1414
"https://esgf-node.ipsl.upmc.fr/esg-search",
1515
"https://esg-dn1.nsc.liu.se/esg-search",

0 commit comments

Comments
 (0)