1 function fire_pixels(obs,base_time)
2 % fire_pixels(obs,base_time)
3 % fire_pixels(obs,base_time,dim)
5 % obs structure array of observations
6 % base_time the start of simulations
11 rlon=0.5*abs(x.lon(end)-x.lon(1))/(length(x.lon)-1);
12 rlat=0.5*abs(x.lat(end)-x.lat(1))/(length(x.lat)-1);
17 X=[lon1,lon2,lon2,lon1]';
18 Y=[lat1,lat1,lat2,lat2]';
19 Z=ones(size(X))*(x.time-base_time);
21 C=cmap(x.data(kk)'+1,:);
22 C=reshape(C,length(kk),1,3);