Skip to content
Permalink
Browse files
Create code.m
  • Loading branch information
bibif5 committed Aug 2, 2020
1 parent 914d710 commit fc9bd4ad976783390df4d00b8b3ec697f33a1023
Showing 1 changed file with 16 additions and 0 deletions.
16 code.m
@@ -0,0 +1,16 @@
%Printing information of the file in command window
ncinfo(FileNC)
%Longitude
long = ncread(FileNC,'lon');
%Length of longitude
nx = length(long) ;
%Latitude
lat = ncread(FileNC,'lat');
%Length of Latitude
ny = length(lat) ;
%Total number of time hours in a day
time = ncread(FileNC,'hour');

%Longitude and latitude for plotting. Converting it to double values
lon=double(long);
lat=double(lat);

0 comments on commit fc9bd4a

Please sign in to comment.