Skip to content

Commit

Permalink
adding Nbed coord var to sediment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
rsignell-usgs authored Dec 13, 2016
1 parent d53906f commit fb28bea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions yaml2ncml/yaml2ncml.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ def add_var_atts(text, a):
except:
pass
text += str_att('grid', 'grid')

if 'Nbed' in ncv[var].dimensions:
text += str_att('coordinates', ncv[var].coordinates+' Nbed')

if var in vars_display:
text += str_att('display', 'True')
Expand Down

0 comments on commit fb28bea

Please sign in to comment.