Skip to content

Commit

Permalink
Bug fix in origraphical file extension
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinswales committed Jul 25, 2024
1 parent 08638b3 commit 48e6fe8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scm/etc/scripts/UFS_case_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import fv3_remap
import xesmf
from datetime import datetime, timedelta
import matplotlib.pyplot as plt

###############################################################################
# Global settings #
Expand Down Expand Up @@ -1693,7 +1692,7 @@ def get_UFS_oro_data(dir, tile, i, j, lam):
if lam:
nc_file = Dataset('{0}/{1}'.format(dir,'oro_data.nc'))
else:
filename_pattern = 'oro*.tile{0}.nc'.format(tile)
filename_pattern = 'oro_data.tile{0}.nc'.format(tile)
for f_name in os.listdir(dir):
if fnmatch.fnmatch(f_name, filename_pattern):
filename = f_name
Expand Down

0 comments on commit 48e6fe8

Please sign in to comment.