Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ def swap_land_barra(mask_fullpath, ec_cb_file_fullpath, ic_date):
BARRA_FIELDN = 'ts'
indir = os.path.join(BARRA_DIR, '1hr',BARRA_FIELDN, 'latest')
barra_files = glob(os.path.join(indir, BARRA_FIELDN + '*' + yyyy + mm + '*nc'))
if not barra_files:
raise ImportError("BARRA files not found. This most likely means you're not a member of the ob53 group.")
barra_fname = indir + '/' + barra_files[0].split('/')[-1]

# Work out the grid bounds using the surface temperature file
Expand Down