- REad the first file for lat, lon , data dimensions.
- Run a loop for each file.
- Read data using ncread inside loop for every file.
- Write this data into output nc file.
how to merge multi netcdf files in single
7 views (last 30 days)
Show older comments
Hello all, I have downloaded the mean sea level pressure data from the ECMWF dataset for 12 month. I am trying to create single combined file e.g. msl.2007.nc of separate monthly files e.g. msl.2007_jan.nc, ms.2007_feb.nc.
Thanks a lot.
0 Comments
Answers (1)
KSSV
on 18 Jun 2019
YOu need to know only two functions ncread and ncwrite.
5 Comments
See Also
Categories
Find more on Data Import and Export in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!