FY3b MWRI亮温数据处理

批量提取FY3B经纬度和亮温数据-IDL代码_风云3号卫星-其它代码类资源-CSDN下载
基于学术研究风云卫星数据下载教程_珞瑜的博客-CSDN博客_风云卫星数据
 

https://jingyan.baidu.com/article/c35dbcb0a83d8f8917fcbc4b.html

风三微波亮温数据在北疆地区的雪深反演研究 - 道客巴巴基于风云3b微波亮温数据的内蒙古草原牧区雪深反演研究-论文 - 道客巴巴

Remote Sensing | Free Full-Text | Retrieval of Snow Depth on Arctic Sea Ice from the FY3B/MWRI

基于被动微波遥感北疆地区积雪深度反演 - 道客巴巴

风三微波亮温数据在北疆地区的雪深反演研究 - 道客巴巴

科学网—matlab风云3号卫星微波数据读取 - 彭邦的博文 

 国家卫星气象中心 FY-3B

FY-3B卫星_百度百科

file = "C:\Users\Administrator\Desktop\FY3B_MWRID_GBAL_L1_20141209_0611_010KM_MS.HDF";
datainfo = h5info(file);
ds = '/EARTH_OBSERVE_BT_10_to_89GHz' 
h5disp(file)
bt = h5read(file,ds)
disp(bt(:,:,1))
file = "C:\Users\Administrator\Desktop\FY3B_MWRID_GBAL_L1_20141209_0611_010KM_MS.HDF";
%datainfo = h5info(file);
ds = '/EARTH_OBSERVE_BT_10_to_89GHz' 
%h5disp(file)
bt = h5read(file,ds)
bt1 = bt(:,:,1)
help(bt)
disp(bt1)

之前自己在读取风云3号数据时候,各种查资料都没有找到相关的内容,后来自己慢慢摸索终于将数据读了出来,虽然方法很笨,但是算是达到了基本效果吧。给自己记录下,也分享给大家。

中间值得注意的是我读取的是风云3B 和 3C的数据,这两种数据的内部格式其实是不一样的,所以分开来读取。

代码如下:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%This is the program for calculating the Snow Water Equivalent from

%FengYun-3 Satelite Images

%Satalite:FY-3A and FY-3B; Sensor: WMRI; Data Level: L1; Orbit:A&D.

%Author:Jinbang Peng; Coding time: 20171107.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%Scan the image files in the appointed fold

FoldPath='C:\FY3\code\datasample\';

% FoldPath='C:\FY3\code\datasample\';

DataPath=dir([FoldPath,'FY3*_MWRI*MS.HDF']);

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%1.Data input

for i=1%:numel(DataPath)      

   i=12

   file=[FoldPath,DataPath(i).name];

   hinfo = hdf5info(file);

%     i=5;

   % Judge the satelite style of the images (FY_3B or FY-3C), cause the

   % data structure is different for FY_3B and FY-3C datasets.

   if strncmp(DataPath(i).name,'FY3B',4)

       Lati_info = hdf5read(hinfo.GroupHierarchy.Datasets(20));%

       Long_info = hdf5read(hinfo.GroupHierarchy.Datasets(21));%

       EO_BT_info = hdf5read(hinfo.GroupHierarchy.Datasets(8));%

   elseif strncmp(DataPath(i).name,'FY3C',4)

       Lati_info = hdf5read(hinfo.GroupHierarchy.Groups(2).Datasets(1));%

       Long_info = hdf5read(hinfo.GroupHierarchy.Groups(2).Datasets(2));%

       EO_BT_info = hdf5read(hinfo.GroupHierarchy.Groups(1).Datasets(2));%

   else

       disp('No FY-3 B&C data available in appointed file fold!');

%         pritf('No file available in appointed file fold!');

%         return;

   end

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

   EO_BT_info19h=EO_BT_info(:,:,4);

   EO_BT_info37h=EO_BT_info(:,:,8);

close all; clear all; clc

datainfo=hdf5info('FY3B_MWRID_GBAL_L1_20180530_0049_010KM_MS.HDF');

MWRIBT=hdf5read(datainfo.GroupHierarchy.Datasets(8));

latitude=hdf5read(datainfo.GroupHierarchy.Datasets(20));

longitude=hdf5read(datainfo.GroupHierarchy.Datasets(21));

Earth_MWRIBT=MWRIBT(:,:,2);

m_proj('robinson','lat',[-87.6080,87.2409],'long',[-133.3665,118.2140]);

m_coast('patch',[.93,1,.93],'edgecolor','k');hold on;

m_contourf(latitude,longitude,Earth_MWRIBT);hold off;

m_grid('linestyle',':','tickdir','out','fontsize',11);

colormap('jet(15)');colorbar('location','southoutside');

 

  • 1
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值