I am trying to use Matlab to extract the daily chlorophyll a data (MODIS and SeaWiFS) for several lat long coordinates. I am having problems working with the binned data in Matlab and would love some advice. I am having problems actually getting the data in a usable format. The data is in a Vdata format and I have never worked with that format. I am use to working with a grid where each cell contains a value for a particular location. How do I get the daily chlo a data from the binned data? I have read the information on the ocean level-3 binned data products but I am still confused.
Does anybody know how to extract daily chlorophyll a data for specific coordinates using the binned data?
Below you will find the beginning part of my script that I have been trying to use:
%Script to obtain daily CHL.
%Resulting matrix is comma delimeted in format (Site,Day)
clc;clear;
cd(uigetdir) %allows you to go get the folder you want to use
%Save main dir location
MainDir = cd;
%Find the file names for all years
Years = ls;
%Remove . and .. this makes it so it will only use the actual files
Years = Years(3:end,

;
%Loop through all years
for k=1:size(Years,1)
% Go to k'th year folder
cd([MainDir,'\',Years(k,

]);
%count the number of files and remove . and ..
Days = size(ls('*.L3b_DAY_CHL.main'),1);
% Get all the day names and remove . and ..
DayNames = ls;
DayNames = DayNames(3:end,

;
for i=1:Days
fname =DayNames(i,

;
fname1= 'Level-3 Binned Data/chlor_a';
fname2= 'Fields';
fname3= 'chlor_a_sum';
CHL=hdfread(fname, fname1, fname2, fname3,'FirstRecord',1 ,'NumRecords',1365113)
Thanks so much!