diff --git a/code.m b/code.m new file mode 100644 index 0000000..eb5077e --- /dev/null +++ b/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);