I have two data sets i) TOMS aerosol optical depth and ii) TOMS ozone.
AOD data is on 1x1 grid and O3 data is on 5x5 grid.
First I want to read AOD and O3 and then I want to regrid AOD on 5x5 grid.
Reading is first problem.
...........
.........
........
Lat.........
.........
.......
......
180 0 0 0 0 0 182 0 0 0 0 0 0 0 0 0 0 0 0 500 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 655 0 0 0 0 0 156 0 0 0 0 0 0
......
.....
######
After each latitude header there is 360 AOD values (1x1 grid). This is monthly mean data. I have many years of data file.
So the first problem is how to read the data by omiting latitude header ?
And second, how to regrid the above AOD data on 5x5 grid. Currently it is on 1x1 grid ?
Ozone data as well has the similar header (Month index: 0 , Month index: 1........).
Many thanks for yours help.
Regards,
Yogesh