Skip to content

Commit

Permalink
Update refineDiag_ocean_month_z.py
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaeldussin authored Jun 1, 2020
1 parent 26132d1 commit fba0922
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/analysis/refineDiag_ocean_month_z.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ def main(args):
nv_out.setncatts(nv.__dict__)

region_out.setncattr('standard_name','region')
strait_out.setncattr('standard_name','region')
if do_mfo:
strait_out.setncattr('standard_name','region')

average_T1_out.setncatts(average_T1.__dict__)
average_T2_out.setncatts(average_T2.__dict__)
Expand All @@ -319,7 +320,8 @@ def main(args):
time_bnds_out[:] = time_bnds[:]

region_out[:] = nc.stringtochar(region)
strait_out[:] = nc.stringtochar(strait_names)
if do_mfo:
strait_out[:] = nc.stringtochar(strait_names)

f_out.close()
exit(0)
Expand Down

0 comments on commit fba0922

Please sign in to comment.