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

Home » Public Forums » archive » Looping through structures
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Looping through structures [message #92799] Tue, 01 March 2016 09:53 Go to previous message
wdolan is currently offline  wdolan
Messages: 29
Registered: June 2015
Junior Member
So I am analyzing a years worth of data, which I got in the form of structures for each month.

For example

StrucJan has arrays (is tags the correct word?) called, lon, lat, gas_conc (we are measuring gas concentration). And StrucFeb also has the tags lon, lat, and gas_conc. Each month is in the same format.

I've got a bunch of code that does calculations with the January data. But I'm not sure how to loop over it so it does all the same calculations with the February data, and then the march, april, may etc. data (all of which are in the same format with the exact same tags).

Hopefully this makes sense!

Any ideas?
[Message index]
 
Read Message
Read Message
Previous Topic: FILE_LINES change in 8.4
Next Topic: TRICKY TASK USING AWK

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

Current Time: Wed Oct 08 16:13:55 PDT 2025

Total time taken to generate the page: 0.00238 seconds