Skip to content
Snippets Groups Projects
Commit 2f34f54c authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 9f5519bd
Branches
No related tags found
No related merge requests found
......@@ -549,8 +549,6 @@ def get_grid_values(h5f, grid_name, j_c, i_c, half_width, num_j=None, num_i=None
else:
scale_factor = attr[0]
grd_vals = grd_vals * scale_factor
else:
print('Attribute: ' + scale_factor_name + ' not found for dataset: ' + grid_name)
if add_offset_name is not None:
attr = attrs.get(add_offset_name)
......@@ -560,8 +558,6 @@ def get_grid_values(h5f, grid_name, j_c, i_c, half_width, num_j=None, num_i=None
else:
add_offset = attr[0]
grd_vals = grd_vals + add_offset
else:
print('Attribute: '+add_offset_name+' not found for dataset: '+grid_name)
if actual_range_name is not None:
attr = attrs.get(actual_range_name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment