3 % show heatflux stored in wrfout
4 vars={'FIRE_AREA','FGRNHFX','LFN','TIGN_G','FUEL_FRAC','FXLONG','FXLAT','NFUEL_CAT','Times'};
5 p=nc2struct(f,vars,{'DX','DY'});
6 nframes=size(p.fgrnhfx,3);
7 [i,j,a]=find(p.fgrnhfx(:,:,end));
22 mesh(p.fxlong(is:ie,js:je,n),p.fxlat(is:ie,js:je,n),p.fgrnhfx(is:ie,js:je,n)),
23 title(['FGRNHFX frame ',num2str(n)])
26 mesh(p.fxlong(is:ie,js:je,n),p.fxlat(is:ie,js:je,n),p.fire_area(is:ie,js:je,n))
28 contour(p.fxlong(is:ie,js:je,n),p.fxlat(is:ie,js:je,n),p.lfn(is:ie,js:je,n),[0 0],'k')
31 title(['FIRE\_AREA frame ',num2str(n)])
33 mesh(p.fxlong(is:ie,js:je,n),p.fxlat(is:ie,js:je,n),p.fire_area(is:ie,js:je,n-1))
35 title(['FIRE\_AREA frame ',num2str(n-1)])
38 mesh(p.fxlong(is:ie,js:je,n),p.fxlat(is:ie,js:je,n),...
39 p.fuel_frac(is:ie,js:je,n-1)-p.fuel_frac(is:ie,js:je,n))
40 title(['FUEL\_FRAC frame ',num2str(n),' decrement'])
44 % mesh(p.fxlong(is:ie,js:je,n),p.fxlat(is:ie,js:je,n),p.fire_area(is:ie,js:je,n))