diff --git a/yaml2ncml/yaml2ncml.py b/yaml2ncml/yaml2ncml.py
index ff73fec..62ef6ec 100644
--- a/yaml2ncml/yaml2ncml.py
+++ b/yaml2ncml/yaml2ncml.py
@@ -216,7 +216,8 @@ def add_aggregation_scan(text, a):
agg = a['aggregation']
text += '\n'.format(
agg['time_var'])
- text += '\n\n'.format(agg['dir'], agg['pattern']) # noqa
+ text += '\n\n'\
+ .format(agg['dir'], agg['pattern']) # noqa
return text
@@ -230,7 +231,7 @@ def add_aggregation_scan(text, a):
ubar='barotropic_sea_water_x_velocity',
vbar='barotropic_sea_water_y_velocity',
Hwave='sea_surface_wave_significant_height',
- bed_thickness='sediment_bed_thickness') # sediment_bed_thickness is not in CF standard_names
+ bed_thickness='sediment_bed_thickness') #sediment_bed_thickness not in CF standard_names
def build(yml):