Hi Lachie,
After one and half year I am coming again to have your advises.
I am writing matlab code with m_map to create Chl-a map. The code is attached.
Now the chl-a data is in ascii with 3 column (lat lon data) as attached.
Lat Lon limits are 1 - 7 N, 100 - 105 E.
But when I run the code several error messages returned such as;
Insufficient memory
Error ==> mu_util>m_clip at 92
[i,j]=find(diff(indx)==1);
Error ==> mu_util at 27
[varargout{1},varargout{2}]=m_clip(varargin{:});
Error ==> mp_cyl at 100
[lat,long]=mu_util('clip',varargin{4},lat,MAP_VAR_LIST.lats(1),lat<MAP_VAR_LIST.lats(1),long);
Error ==> m_ll2xy at 36
[X,Y,I]=feval(MAP_PROJECTION.routine,'ll2xy',varargin{:},'clip','on');
Error ==> m_pcolor at 50
if any(i(

), [X,Y]=m_ll2xy(long,lat,'clip','patch'); end;
Error ==> Chl_map_ascii at 10
m_pcolor(lon,lat,log10(chl));
Why this time I could not use m_pcolor for mapping. I successfuly did from MODIS level 2 data.
Plz give me some advises to correct my code.
Thank you so much.
Cheers, Ajis