Skip to content

Commit

Permalink
fixing of bug involving taking the maximum along the correct axis
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohnson541 committed Jun 10, 2014
1 parent 3e6efcf commit 52b2599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/specificlocationdataextraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def read_Hrrr_spec_loc(filename, parameters = [''],loc = [-97.485,36.605], max =
data.append(newshape[xyindex[0]][xyindex[1]][:])
else:
newshape = grb_cube['data'].reshape([ysize,xsize,zsize])
data.append(newshape[xyindex[0]][xyindex[1]][:].max(axis=2))
data.append(newshape[xyindex[0]][xyindex[1]][:].max(axis=0))
units.append(grb_cube['units'])


Expand Down

0 comments on commit 52b2599

Please sign in to comment.