summaryrefslogtreecommitdiff
path: root/gr-noaa/oct/frames_to_ppm.m
diff options
context:
space:
mode:
Diffstat (limited to 'gr-noaa/oct/frames_to_ppm.m')
-rw-r--r--gr-noaa/oct/frames_to_ppm.m20
1 files changed, 10 insertions, 10 deletions
diff --git a/gr-noaa/oct/frames_to_ppm.m b/gr-noaa/oct/frames_to_ppm.m
index 73842f0a9..099f96f2b 100644
--- a/gr-noaa/oct/frames_to_ppm.m
+++ b/gr-noaa/oct/frames_to_ppm.m
@@ -1,24 +1,24 @@
% -*- octave -*-
%
% Copyright 2009 Free Software Foundation, Inc.
-%
+%
% This file is part of GNU Radio
-%
+%
% GNU Radio is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 3, or (at your option)
% any later version.
-%
+%
% GNU Radio is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
-%
+%
% You should have received a copy of the GNU General Public License
% along with GNU Radio; see the file COPYING. If not, write to
% the Free Software Foundation, Inc., 51 Franklin Street,
% Boston, MA 02110-1301, USA.
-%
+%
% Extract AVHRR images from HRPT frames.dat
clear
@@ -40,7 +40,7 @@ for line = 1:len
start = start + frame_len;
stop = stop + frame_len;
end
-
+
start = 752;
stop = 10987;
@@ -49,7 +49,7 @@ for line = 1:len
start = start + frame_len;
stop = stop + frame_len;
end
-
+
start = 753;
stop = 10988;
@@ -58,7 +58,7 @@ for line = 1:len
start = start + frame_len;
stop = stop + frame_len;
end
-
+
start = 754;
stop = 10989;
@@ -67,7 +67,7 @@ for line = 1:len
start = start + frame_len;
stop = stop + frame_len;
end
-
+
start = 755;
stop = 10990;
@@ -77,7 +77,7 @@ for line = 1:len
stop = stop + frame_len;
end
-colormap(gray)
+colormap(gray)
saveimage("chan1.ppm", chan1/4, 'ppm')
saveimage("chan2.ppm", chan2/4, 'ppm')
saveimage("chan3.ppm", chan3/4, 'ppm')