MATLAB Answers

0

how to merge multi netcdf files in single

HN 님이 질문을 제출함. 18 Jun 2019
최근 활동 HN 님이 댓글을 추가함. 19 Jun 2019
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

로그인 to comment.

답변 수: 1

KSSV 님의 답변 18 Jun 2019

  1. REad the first file for lat, lon , data dimensions.
  2. Run a loop for each file.
  3. Read data using ncread inside loop for every file.
  4. Write this data into output nc file.
YOu need to know only two functions ncread and ncwrite.

  댓글 수: 5

표시 이전 댓글 수: 2
KSSV 18 Jun 2019
HN Commented : NO
KSSV 18 Jun 2019
Attache few files here in a zip.
HN 19 Jun 2019
Required files are attached.
thanks a lot

로그인 to comment.



Translated by