% Read ABI bands 6~16 Brightness Temperature [unit: K] simulation (IHOP case) at 
% 5 minutes temporal resolution.
%
% The original atmospheric profiles were run by MM5 (in NetCDF), and can be found at:
%   barrage.ssec.wisc.edu   or   papacha.ssec.wisc.edu 
% under the directory:
%  /mnt/europa/WX_Models/MM5-PROGS/IHOP/CASES/June11-12.2002/DS1_REL2/PROFILES_NETCDF
%
% Chian-Yi Liu <cyliu@ssec.wisc.edu>      January 26, 2005
%

fid = fopen('IHOP_5min_inner_lat.bin','r','ieee-be');
 lat = fread(fid,[128 128],'float32');
fclose(fid);

fid = fopen('IHOP_5min_inner_lon.bin','r','ieee-be');
 lon = fread(fid,[128 128],'float32');
fclose(fid);

fid = fopen('06122002_1800_inner.bin','r','ieee-be');
 tmp = fread(fid,[1 inf],'float32');
fclose(fid);

abiBands = reshape(tmp,[11 128 128]); clear tmp;

%
% abiBands is a 3D martix, and contains simulated ABI Bands 6~16 Brightness Temperature 
% [unit: K]
% e.g: Wavelength 7 micorn (ABI Band 9), is located at abiBands(4,:,:)
%

%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ABI bands:
% http://cimss.ssec.wisc.edu/goes/abi/ABI_AMS_2004.pdf (eg: page 9 and 10)
%
