Skip to content

Commit

Permalink
Switch the mesh used for Omega CTests
Browse files Browse the repository at this point in the history
This is necessary for the HORZMESH_TEST to pass
  • Loading branch information
xylar committed Mar 15, 2024
1 parent 2e9865d commit 9b9e495
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions utils/omega/ctest/omega_ctest.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,12 @@ def download_mesh(config):
"""
Download and symlink a mesh to use for testing.
"""
base_url = config.get('download', 'server_base_url')
database_root = config.get('paths', 'database_root')

filepath = 'ocean/polaris_cache/global_convergence/icos/cosine_bell/' \
'Icos480/mesh/mesh.230220.nc'
filepath = 'ocean/omega_ctest/ocean.QU.240km.151209.nc'

url = f'{base_url}/{filepath}'
url = 'https://web.lcrc.anl.gov/public/e3sm/inputdata/ocn/mpas-o/oQU240/' \
'ocean.QU.240km.151209.nc'
download_path = os.path.join(database_root, filepath)
download_target = download(url, download_path, config)
return download_target
Expand Down

0 comments on commit 9b9e495

Please sign in to comment.