Thanks for your responses but I am still having difficuties with this problem. Using argmax gives me one very large value and I am not sure what it is. There shouldn't be any issues with the shape. The latitude and longitude are the same shape always (covering a state) and the temperature (TSFC) data are hourly for a whole month.
Are there any other ideas for finding the location and time of the maximum value in an array? Thanks On Wed, Dec 21, 2011 at 3:38 PM, Benjamin Root <ben.r...@ou.edu> wrote: > > > On Tuesday, December 20, 2011, questions anon <questions.a...@gmail.com> > wrote: > > ok thanks, a quick try at using it resulted in: > > IndexError: index out of bounds > > but I may need to do abit more investigating to understand how it works. > > thanks > > The assumption is that these arrays are all the same shape. If not, then > extra work is needed to figure out how to map indices of the temperature > array to the indices of the lat and Lon arrays. > > Ben Root > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion