% % A simple Matlab script to read the surface met netcdf file. % % Author: Nathan Bindoff % Date: 28 March 2000 % The script uses Jim Mansbridge's netcdf routines for matlab. % % Documetation and description of these routines can be found at % http://www.marine.csiro.au/sw/matlab-netcdf.html. % % Examine the surface flux data % inqnc('CCVG.931007011v200') % file='CCVG.931007011v200' % cruise_track_code=getcdf(file,'cruise_track_code'); time=getcdf(file,'time'); woce_date=getcdf(file,'woce_date'); woce_time_of_day=getcdf(file,'woce_time_of_day'); latitude=getcdf(file,'latitude'); longitude=getcdf(file,'longitude'); PL_CRS=getcdf(file,'PL_CRS'); PL_SPD=getcdf(file,'PL_SPD'); DIR=getcdf(file,'DIR'); SPD=getcdf(file,'SPD'); P=getcdf(file,'P'); T=getcdf(file,'T'); TS=getcdf(file,'TS'); TD=getcdf(file,'TD'); TW=getcdf(file,'TW'); WX=getcdf(file,'WX'); TCA=getcdf(file,'TCA'); LMCA=getcdf(file,'LMCA'); ZCL=getcdf(file,'ZCL'); LCT=getcdf(file,'LCT'); MCT=getcdf(file,'MCT'); HCT=getcdf(file,'HCT'); flag=getcdf(file,'flag'); % % The contents of the inqnc('CCVG.931007011v200') % %----- Get further information about the following variables ----- % % -1) None of them (no further information) % 0) All of the variables % 1) cruise_track_code 2) woce_date 3) woce_time_of_day % 4) time 5) latitude 6) longitude % 7) PL_CRS 8) PL_SPD 9) DIR % 10) SPD 11) P 12) T % 13) TS 14) TD 15) TW % 16) WX 17) TCA 18) LMCA % 19) ZCL 20) LCT 21) MCT % 22) HCT 23) flag %