MATLAB Answers

how to visualize a data with lon, lat and time array

조회 수: 1(최근 30일)
Sreeraj R
Sreeraj R 2021년 10월 20일
댓글: KSSV 2021년 10월 20일
hi everyone, i am trying to visualize EDGAR emission inventory data. it has lonxlatxtime array. i have attched the data below. kindly help me to visualize this data. thanks.
https://drive.google.com/file/d/1W5WF0LoSGuX_fAXHO7mMgPb3GHatcJh0/view?usp=sharing

답변(1개)

KSSV
KSSV 2021년 10월 20일
file = 'EDGAR_HTAP_emi_NOx_2010.0.1x0.1.nc' ;
x = ncread(file,'lon');
y = ncread(file,'lat');
Z = ncread(file,'emis_tot') ;
[X,Y] = meshgrid(x,y) ;
for i = 1:size(Z,3)
pcolor(X,Y,Z(:,:,i)') ;
shading interp ;
drawnow
end
  댓글 수: 2
KSSV
KSSV 2021년 10월 20일
Thanks is accepting/ voting the answer. :)

댓글을 달려면 로그인하십시오.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by