Skip to content

Commit

Permalink
Merge pull request #190 from xylar/fix-mesh-for-omega-ctests
Browse files Browse the repository at this point in the history
Switch the mesh used for Omega CTests
  • Loading branch information
xylar authored Mar 28, 2024
2 parents 2e9865d + b547325 commit 4fc0610
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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 4fc0610

Please sign in to comment.