![](/profiles/wavemetrics/themes/wavemetrics/logo.png)
Loading multiple files and calculating average hourly
![](/sites/default/files/styles/thumbnail/public/default_images/Artboard%201_1.png?itok=jeHOCIXy)
thiago.nogueira
Hi all,
I am new to IGOR. I just started to learn Igor instead of Origin.
I have data (tons!!) of 1 sec concentration of chemical species (CO2 and CH4) over a couple of year.. And I would like to calculate mean and standart deviation for each hour over the length of my data.
I have tons of files (*dat), but I can't load all using Igor. I tried the function LoadAndGraphAll as suggested in manual, but I failed. I think that the problem is because I have a lot of rows and columns!! There are a lot of columns, but I need load just DATE TIME CH4_dry CO2_dry
Any help would be greatly appreciated as I am struggling with this.
If you have not already done it, do the guided tour. It is essential. Choose Help->Getting Started.
Your file is a FORTRAN-style fixed field file with 23 columns in fields of 26 characters each. Therefore we need to use LoadWave/F.
After you do the guided tour you will need to learn about Igor data folders. Execute:
I have pasted below an Igor procedure that will load your file and another that will load all .txt files in a given folder on disk into Igor data folders. Execute this to learn about Igor procedure files:
You should paste the procedure text below into an Igor procedure file and save the file in your "Igor Procedures" folder. The "Igor Procedures" folder is explained in the help for procedure windows.
The procedures add items to the Load Waves submenu of the Data menu.
March 5, 2015 at 08:49 am - Permalink
This is a great start. I've made the tour#1 and #2... but everything is new for me.
Best,
March 5, 2015 at 01:10 pm - Permalink