日志
-
- 分享
IBTRACS netcdf 格式读取时 name 的处理
-
突然飞来 2020-8-20 12:40
-
ibtracs的nc格式中,对name的储存是128个字符,除了前面有信息的字符之外,后面的位置是空,需要把空的部分去掉。折腾了一下,发现可以这么做。 storm_name = ncread(filename,'name'); a1 = storm_name(:,1); % 128*1 char, a1 is the name of first storm for i = 1:128 &nbs ...
-
个人分类: matlab|136 次阅读|0 个评论