How to merge 10 netcdf file to single netcdf file?

5 次查看(过去 30 天)
I have downloaded monthly mean wind speed of terraclimate data for 10 years (2001-2010) which have NetCDF format, but unfortunately, each year has a single NetCDF file, and I want to have a single wind speed which is from 2001 to 2010. Could anybody help me how can I do it?

回答(1 个)

Image Analyst
Image Analyst 2020-11-21
编辑:Image Analyst 2020-11-21
See the FAQ:
Do you just need to input these files and collect them all into an overall master array of all values?
Do you need to combine them and write them out to a new, combined netcdf file? (I don't know how to do that - I've never written netcdf files back out but hopefully there is a function for that.)
  2 个评论
nazanin tavakoli
nazanin tavakoli 2020-11-22
I mean I have 10 netcdf file and each of them has [longitude x latitude x time]. So that longitude, latitude and time are 8640, 4320 and 12 respectively. I want to merge/ combine these 10 files to one netcdf file which has [longitude x latitude x time] but longitude, latitude and time are 8640, 4320 and 120 respectively. Could you please help me?
Image Analyst
Image Analyst 2020-11-22
Maybe someone could have, if you had uploaded some input files. And what about the functions to read the netcdf and write netcdf? Are those built-in functions or do you need to supply us with those functions?

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by