필터 지우기
필터 지우기

Read string values in NetCDF files.

조회 수: 1 (최근 30일)
anton fernando
anton fernando 2014년 6월 27일
댓글: Chad Greene 2014년 6월 27일
I have a NetCDF file to read. Actually they are dates of a certain data is taken. But I get it as a numerical value. Then the data I get miss some 0s which makes it hard for me to get the date exactly. How do i get it as a String value? My code is as follows.
peaksData1 = ncread('filename.nc','T',[1 1], [1 inf], [1 1])
  댓글 수: 2
Ashish Uthama
Ashish Uthama 2014년 6월 27일
does char(peaksData1) help?
Chad Greene
Chad Greene 2014년 6월 27일
I am curious about your syntax which includes the start, count, and stride. Is it necessary to include the extra arguments? How does your code differ from
peaksData1 = ncread('filename.nc','T');

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 NetCDF에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by