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

1 visualización (últimos 30 días)
Sreeraj R
Sreeraj R el 20 de Oct. de 2021
Comentada: KSSV el 20 de Oct. de 2021
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

Respuestas (1)

KSSV
KSSV el 20 de Oct. de 2021
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 comentarios
Sreeraj R
Sreeraj R el 20 de Oct. de 2021
thank you sir
KSSV
KSSV el 20 de Oct. de 2021
Thanks is accepting/ voting the answer. :)

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by