• conspicuous
    了解作者
  • matlab
    开发工具
  • 3KB
    文件大小
  • rar
    文件格式
  • 1
    收藏次数
  • 10 积分
    下载积分
  • 20
    下载次数
  • 2018-05-06 16:44
    上传日期
此文件可用于索引读取IPIX雷达数据集。。。。。。。。
IPIX雷达数据处理程序.rar
  • ipixinfo.m
    4.2KB
  • ipixazm.m
    710B
  • ipixload.m
    4KB
内容介绍
function theStatus = ncdump(theNetCDFFile, theOutputFile) % Derived from ncdump. % Lists variables, units, descriptions, and scalar values of netcdf file. if nargin < 1, help ncdump, theNetCDFFile = '*.*'; end if nargin < 2, theOutputFile = 'stdout'; end % stdout. if isa(theNetCDFFile, 'ncitem') theNetCDFFile = name(parent(parent(theNetCDFFile))); end if any(theNetCDFFile == '*') theFilterSpec = theNetCDFFile; thePrompt = 'Select a NetCDF Input File:'; [theFile, thePath] = uigetfile(theFilterSpec, thePrompt); if ~any(theFile), return, end theNetCDFFile = [thePath theFile]; end if any(theOutputFile == '*') theFilterSpec = theOutputFile; thePrompt = 'Select a Text Output File:'; [theFile, thePath] = uiputfile(theFilterSpec, thePrompt); if ~any(theFile), return, end theOutputFile = [thePath theFile]; end nctypes = ['byte '; 'char '; 'short '; ... 'long '; 'float '; 'double '; ...; 'unknown'; 'unknown'; 'unknown']; nc = netcdf(theNetCDFFile, 'nowrite'); theNCid = ncid(nc); if isempty(nc) disp([' ## Unable to open: ' theNetCDFFile]) return end if strcmp(theOutputFile, 'stdout') fp = 1; elseif strcmp(theOutputFile, 'stderr') fp = 2; elseif isstr(theOutputFile) fp = fopen(theOutputFile, 'w'); else fp = theOutputFile; end if fp < 0, close(nc), return, end [ndims, nvars, ngatts, recdim] = size(nc); dims = dim(nc); ndims = length(dims); vars = var(nc); nvar = length(vars); gatts = att(nc); ngatts = length(gatts); s = ['File: ' theNetCDFFile]; fprintf(fp, '%s\n', s); s = '%% Variables:'; fprintf(fp, '\n%s\n', s); s = '%% (none)'; if nvars < 1, fprintf(fp, '%s\n', s), end for j = 1:nvars; varid = j-1; varname = name(vars{j}); varname = strrep(varname, '''', ''''''); theDatatype = datatype(vars{j}); theDatatype = ['nc' theDatatype]; dims = dim(vars{j}); ndims = length(dims); atts = att(vars{j}); natts = length(atts); sz=ncsize(vars{j}); elements = prod(sz); if elements==1, theValue=num2str(nc{j}(1)); else % unwrap angles if natts & strcmp(atts{1}(1:3),'deg'), val=nc{j}(:); val=unwrap(val); if val(1)<0, val=val+360; end end % compact display of arrays and matrices if prod(sz)==max(sz) & elements>=3, val=nc{j}(:); [dummy,i]=max(sz); dimname = name(dims{i}); theValue=['[' num2str(val(1)) ' ' num2str(val(2)) ' ..' dimname '.. ' num2str(val(end)) ']']; else for i = 1:ndims dimname = name(dims{i}); if i==1, s=['[' dimname]; else s = [s ' x ' dimname]; end end s=[s ']']; theValue=s; end end if natts, theUnit=atts{1}(:); else theUnit=''; end fprintf(fp, '%24s = %10s %s\n',varname,theValue,strrep(theUnit,'\0','')); end s = '%% Dimensions:'; fprintf(fp, '\n%s\n', s); if ndims < 1, disp('%% (none)'), end for i = 1:ndims dimid = i-1; dimname = name(dims{i}); dimname = strrep(dimname, '''', ''''''); dimlen = ncsize(dims{i}); fprintf(fp, '%24s = %10s\n',dimname,int2str(dimlen)); end s = '%% Global attributes:'; fprintf(fp, '\n%s\n', s); s = '%% (none)'; if ngatts < 1,fprintf(fp, '%s\n', s); end for i = 1:ngatts varid = -1; attnum = i-1; attname = name(gatts{i}); if any(attname ~= '_') while attname(1) == '_' attname = [attname(2:length(attname)) attname(1)]; end end attname = strrep(attname, '''', ''''''); theDatatype = datatype(gatts{i}); attlen = ncsize(gatts{i}); attvalue = gatts{i}(:); theDatatype = ['nc' theDatatype]; s = attname; t = mat2str(attvalue); if length(t) > 0 & 0 if t(1) == '[' & t(length(t)) == ']' t = [ '{' t(2:length(t)-1) '}']; end end if ~isstr(attvalue) if (0) f = []; k = 1:length(t)-1; if any(k), f = find(t(k) == t(k+1)); end if any(f), t(f) = []; end f = find(t == ' '); if any(f), t(f) = setstr(t(f) .* 0 + ','); end t = strrep(t, ',', ', '); end end fprintf(fp, '%24s = %10s\n',attname,strrep(attvalue,'\0','')); end if ischar(theOutputFile) & fp > 2, fclose(fp); end close(nc) if nargout > 0, theStatus = status; end
评论
    相关推荐
    • IPIX.zip
      加拿大McMaster大学IPIX雷达数据分析与处理程序,对各种雷达数据处理具有启发意义
    • IPIX-radar-data-for-matlab.rar
      网上提供的IPIX雷达数据导入matlab中用作算法验证等用途,包含了导入程序和IPIX雷达数据下载地址
    • IPIX雷达数据处理.rar
      关于IPIX雷达数据读取(cdf文件读取)和处理的相关程序,适用于matlab2010及更新的matlab版本,压缩文件里面有较详细程序说明。 同时,本程序还涉及海杂波的分布拟合和观测。
    • IPIX.rar
      可以处理IP IX雷达数据,数据格式为matlab版本的数组形式,可以进行海杂波统计特性分析,文件夹里面有算例,也可以对自己仿真的海杂波进行处理
    • IPIX_matlab.rar
      IPIX雷达数据读取的matlab代码与说明书
    • netcdf.rar
      IPIX 雷达数据的读取,是一个工具包,能够把数据读取出来……
    • 海杂波.rar
      处理ipix官网下载的雷达原始数据,将方位角以及俯仰角进行处理
    • IPIX雷达数据处理.zip
      关于IPIX雷达数据读取(cdf文件读取)和处理的相关程序,适用于matlab2010及更新的matlab版本,压缩文件里面有较详细程序说明。 同时,本程序还涉及海杂波的分布拟合和观测。
    • IPIX process.zip
      对加拿大IPIX雷达数据进行的处理和相关程序,有需要的可以下载
    • android从bootloader到launcher启动流程整理
      讲述android 开机流程 从boot rom---bootloader---init--zygote---systemserver---ams 并附上自己整理的每个流程的流程图 ,清晰熟悉android 启动流程