comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: code help
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: code help [message #75583] Thu, 31 March 2011 09:00 Go to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
You should be able to do it with one histogram - if you have a day "jd" and a time in hours "hour", create a new index that is hours since midnight on the first day:

day0 = min(jd)
index = hour + (jd-day0)*24

and then histogram index. You can then reform the result into a number-of-days x 24 array.

-Jeremy.
[Message index]
 
Read Message
Read Message
Previous Topic: read 12 bit array
Next Topic: Unable to create netCDF file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 09:48:40 PDT 2025

Total time taken to generate the page: 0.00193 seconds