Plot time series analysis from multiple netcdf files
Mostrar comentarios más antiguos
Hello. I am new to MATLAB. I am interested in creating time series plot (like the attached figure) for chl a of a large area from six netcdf files. Each netcdf file corresponding a year. can anyone help me with the procedure or the MATLAB code to excute this task, please???
here is the link for the six netcdf files (https://drive.google.com/drive/folders/1iGMwaYh-rqUmZ8uC6mgfKk6gInnsubqN).
thank you in advanced.
3 comentarios
Alejandra Uguet de Resayre
el 3 de Mzo. de 2022
Hey!
Did you get an answer? I'm having the same doubt...
Thank you :)
Mir Talas Mahammad Diganta
el 3 de Mzo. de 2022
Alejandra Uguet de Resayre
el 3 de Mzo. de 2022
Aww thank you so much! I'll try that one.
Respuestas (2)
millercommamatt
el 22 de Jul. de 2021
0 votos
Read each netCDF file. Concatenate the arrays. Plot the concatenated arrays.
1 comentario
Mir Talas Mahammad Diganta
el 24 de Jul. de 2021
Peter Perkins
el 27 de Jul. de 2021
0 votos
Mir, I'm not very familiar with MATLAB's netCDF features, but there are ways to read the files and you should read the doc about that. Once you've gotten the data into MATLAB, I'd recommend converting to timetables with datetime row times, and then probably concatenating those, and plotting against time. Amybe use stackedplot if you have multiple variables. Don't know what you data look like, so can't really help more than that.
1 comentario
Mir Talas Mahammad Diganta
el 2 de Ag. de 2021
Categorías
Más información sobre NetCDF en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!