Skip to content
Permalink
Browse files
Add files via upload
  • Loading branch information
eriyai committed Apr 24, 2020
0 parents commit 217ac895d0328aa4b814896bb1905939d5a10309
Showing 1 changed file with 23 additions and 0 deletions.
@@ -0,0 +1,23 @@
ncfile = "o3_surface_20180701000000.nc";
ncinfo(ncfile);
ncdisp(ncfile);

lati = ncread(ncfile, 'lat');
longe = ncread(ncfile, 'lon');

fileDirectory = dir('24HR_CBE_*.csv');

for k =1 : length(fileDirectory)
file = fileDirectory(k).name;
matrix = readmatrix(file);
matrix(400,:) = [0];
matrix(:,700) = [0];
showmap = pcolor(longe,lati,matrix);
showmap.EdgeAlpha = 0;
hold on;
p = meshgrid(longe,lati)
s = plot(p,'k');
showmap;
colorbar
pause
end

0 comments on commit 217ac89

Please sign in to comment.