Skip to content
Permalink
Browse files
modified variable that stores the NetCDF file
  • Loading branch information
barbulea committed Aug 10, 2020
1 parent 6057c8e commit fa3464e4afa3911295216748abb1f02296544252
Showing 1 changed file with 5 additions and 5 deletions.
@@ -1,5 +1,5 @@
%%Open NetCDF files
filename = 'o3_surface_20180701000000.nc';
filenamenc = 'o3_surface_20180701000000.nc';
clc;

%%Information about software
@@ -56,10 +56,10 @@ clc;

%%Read data from NetCDF file
disp('Loading data in progress')
lon = ncread(ncfile,'lon'); %%assign the longtitude
lat = ncread(ncfile,'lat'); %%assign the latitude
h = ncread(ncfile,'hour'); %%assign the hours
ozoneChoice = ncread(ncfile,ozoneModel); %%it takes the user map model
lon = ncread(filenamenc,'lon'); %%assign the longtitude
lat = ncread(filenamenc,'lat'); %%assign the latitude
h = ncread(filenamenc,'hour'); %%assign the hours
ozoneChoice = ncread(filenamenc,ozoneModel); %%it takes the user map model
[X,Y] = meshgrid(lon,lat); %%create meshgrid with data
clc;

0 comments on commit fa3464e

Please sign in to comment.