Extracting individual maps from netCDF files

3 visualizaciones (últimos 30 días)
Sarah
Sarah el 9 de Oct. de 2013
Respondida: Ashish Uthama el 9 de Oct. de 2013
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!

Respuestas (1)

Ashish Uthama
Ashish Uthama el 9 de Oct. de 2013
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.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by