How to merge 10 netcdf file to single netcdf file?

6 visualizzazioni (ultimi 30 giorni)
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?

Risposte (1)

Image Analyst
Image Analyst il 21 Nov 2020
Modificato: Image Analyst il 21 Nov 2020
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 Commenti
nazanin tavakoli
nazanin tavakoli il 22 Nov 2020
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 il 22 Nov 2020
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?

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by