summaryrefslogtreecommitdiff
path: root/gr-noaa/oct
diff options
context:
space:
mode:
Diffstat (limited to 'gr-noaa/oct')
-rw-r--r--gr-noaa/oct/.gitignore2
-rw-r--r--gr-noaa/oct/Makefile.am26
-rw-r--r--gr-noaa/oct/frames_to_ppm.m20
3 files changed, 10 insertions, 38 deletions
diff --git a/gr-noaa/oct/.gitignore b/gr-noaa/oct/.gitignore
deleted file mode 100644
index b336cc7ce..000000000
--- a/gr-noaa/oct/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/Makefile
-/Makefile.in
diff --git a/gr-noaa/oct/Makefile.am b/gr-noaa/oct/Makefile.am
deleted file mode 100644
index 68a0d1aed..000000000
--- a/gr-noaa/oct/Makefile.am
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Copyright 2009,2010 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.
-#
-
-include $(top_srcdir)/Makefile.common
-
-EXTRA_DIST += \
- frames_to_ppm.m \
- frames-to-png.sh
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')