From db47fdbc369a2d0bc596d1c25718f3ef48077961 Mon Sep 17 00:00:00 2001 From: Jan Mandel Date: Tue, 12 Apr 2022 18:29:54 -0600 Subject: [PATCH] comments to describe arguments --- vis3d/drawfire.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vis3d/drawfire.m b/vis3d/drawfire.m index b38ab7d..1dfafc9 100644 --- a/vis3d/drawfire.m +++ b/vis3d/drawfire.m @@ -1,6 +1,9 @@ function p=drawfire(f,ifire,nframes) % p=drawfire(f) % show heatflux stored in wrfout +% f string with wrfout, or p from previoius call to save time +% ifire 1 or 2 for display +% nframes the number of frame to take the data from if ischar(f) vars={'FIRE_AREA','FGRNHFX','LFN','TIGN_G','FUEL_FRAC','FXLONG','FXLAT','NFUEL_CAT','Times'}; p=nc2struct(f,vars,{'DX','DY'}); @@ -62,4 +65,4 @@ end title([s,' frame ',num2str(n),' at ',p.times(n,:),' ifire=',num2str(ifire)],... 'interpreter','none') end -end \ No newline at end of file +end -- 2.11.4.GIT