%read in ISCCP cloud data (percent cloud coverage)
fid=fopen('cloud_high_perc.dat','r');
a=fread(fid,'float');
a=reshape(a,[144,72,318]);
lon=(-178.75:2.5:178.75);
lat=(-88.75:2.5:88.75);
fclose(fid);

%The variable 'a' has dimensions (lon,lat,month). There are 318 months, starting with July 1983.


%read in OLR data (W/m^2)
fid=fopen('noaa_dy_combined.dat','r');
b=fread(fid,'float');
b=reshape(b,[144,73,15137]);
lon=(-177.5:2.5:180);
lat=(-90:2.5:90);
fclose(fid);

%The variable 'b' has dimensions (lon,lat,day). There are 15137 days, starting with June 1, 1974.


