Extracting individual maps from netCDF files

조회 수: 5 (최근 30일)
Sarah
Sarah 2013년 10월 9일
답변: Ashish Uthama 2013년 10월 9일
I am reading in a netCDF file which contains a wave height map every three hours over 1 month. Does anyone have any ideas about how I might plot induvidual maps to show the wave heights at every three hour timestep? Any help would be greatly appreciated!

답변 (1개)

Ashish Uthama
Ashish Uthama 2013년 10월 9일
What is the size of the variable? ( ncdisp might help).
If you have enough memory on your machine, just read in the the full variable and loop over the time dimension. Or if the variable is large, you can use the partial read facility of ncread in a loop.

카테고리

Help CenterFile Exchange에서 NetCDF에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by