Skip to content
Permalink
Browse files

Code style

  • Loading branch information
alexamici committed Nov 22, 2019
1 parent 4dbb6e4 commit e5970468aaac802e4210b83ed2927cf7690cfe14
Showing with 4 additions and 1 deletion.
  1. +4 −1 cfgrib/dataset.py
@@ -502,7 +502,10 @@ def build_variable_components(

if 'time' in coord_vars and 'step' in coord_vars:
# add the 'valid_time' secondary coordinate
dims, time_data = cfmessage.build_valid_time(coord_vars['time'].data, coord_vars['step'].data)
dims, time_data = cfmessage.build_valid_time(
coord_vars['time'].data,
coord_vars['step'].data,
)
attrs = COORD_ATTRS['valid_time']
coord_vars['valid_time'] = Variable(dimensions=dims, data=time_data, attributes=attrs)

0 comments on commit e597046

Please sign in to comment.
You can’t perform that action at this time.