資源簡介
利用Matlab將NC格式的TRMM遙感降水數據進行批量處理,并最終將其按行排列。

代碼片段和文件信息
clear;clc
index=importdata(‘站點對應網格點行列坐標.txt‘);
file_read=dir(‘*.nc‘);
L=length(file_read);
for?j=1:L
????name=file_read(j).name;
????b=ncread(name‘precipitation‘);
??for?i=1:5
???c(ji)=24*b(index(i1)index(i2));
??end
end
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????246??2018-05-16?19:32??massread_nc.m
-----------?---------??----------?-----??----
??????????????????246????????????????????1
- 上一篇:UR5機器人正逆運動學matlab代碼
- 下一篇:占空比可調的矩形波振蕩電路圖
評論
共有 條評論