Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ashjbarnes committed Aug 21, 2024
1 parent 22fde6e commit 090fed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regional_mom6/regional_mom6.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ def get_glorys_data(
modify_existing (bool): Whether to add to an existing script or start a new one
buffer (int): number of degrees to add to pad the file with to ensure that interpolation onto desired domain doesn't fail.
"""
path = Path(download_path)

if modify_existing:
path = Path(download_path)
file = open(path / "get_glorysdata.sh", "r")
lines = file.readlines()
file.close()
Expand Down

0 comments on commit 090fed2

Please sign in to comment.