Skip to content

Commit

Permalink
M2-SST bug discovered by @lren
Browse files Browse the repository at this point in the history
  • Loading branch information
vrx- committed Feb 11, 2025
1 parent 4289bab commit 32dde36
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Applications/UMD_Etc/UMD_utils/ocean_obs.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,7 @@ def __init__(self, yyyy, mm, dd, hh, fname, id_obs, vartype='TEMP', xsigo=1.0, d
print('\n:::::::::::::::::::',descriptor, platform)
if (platform == 'M2-SST'):
obs = M2_sst_reader(yyyy, mm, dd, hh, path2scratch=SCRDIR)
if obs == None:
self.no_obs(descriptor = descriptor, platform = platform, color = color, size = markersize, present=False)
return
vartype = 'sst'
elif not os.path.exists(fname):
self.no_obs(descriptor = descriptor, platform = platform, color = color, size = markersize, present=False)
print(f'No file {fname}')
Expand Down

0 comments on commit 32dde36

Please sign in to comment.