Main Content

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

NetCDF 파일

netCDF(Network Common Data Form)

다음과 같은 여러 가지 방법으로 netCDF 파일과 상호 작용할 수 있습니다.

  • 가져오기 툴 앱(MATLAB® Online™에서)과 데이터 가져오기 라이브 편집기 작업은 netCDF 파일에서 데이터를 탐색하고 읽기 위한 직관적인 그래픽 인터페이스를 제공합니다.

  • MATLAB의 하이 레벨 netCDF 함수는 netCDF 파일에서 데이터를 읽고 MATLAB 작업 공간의 변수를 netCDF 파일에 쓰기 위한 단순화된 텍스트 기반 인터페이스를 제공합니다.

  • 로우 레벨 함수로 구성된 netCDF 라이브러리 패키지를 사용하면 netCDF C 라이브러리의 루틴에 액세스하여 netCDF 파일의 읽기와 쓰기 과정을 최대한 제어할 수 있습니다.

MATLAB은 netCDF 버전 4.9.1을 지원합니다.

라이브 편집기 작업

데이터 가져오기Import data from a file in the Live Editor (R2023a 이후)

가져오기 툴파일에서 데이터 가져오기

함수

모두 확장

nccreateCreate variable in netCDF file
ncdisp명령 창에 netCDF 데이터 소스의 내용 표시
ncinfo Return information about netCDF data source
ncreadnetCDF 데이터 소스의 변수에서 데이터 읽기
ncreadattnetCDF 데이터 소스에서 특성 읽기
ncwriteWrite data to netCDF file
ncwriteattnetCDF 파일에 특성 쓰기
ncwriteschemaAdd netCDF schema definitions to netCDF file

라이브러리 함수

netcdf.getChunkCacheReturn default chunk cache settings for netCDF library
netcdf.inqLibVers
netcdf.setChunkCacheSet default chunk cache settings for netCDF library
netcdf.setDefaultFormatChange default netCDF file format

파일 작업

netcdf.abortRevert recent netCDF file definitions
netcdf.closeNetCDF 파일 닫기
netcdf.createCreate new netCDF dataset
netcdf.endDefEnd netCDF file define mode
netcdf.inqReturn information about netCDF file
netcdf.inqFormatDetermine format of netCDF file
netcdf.inqGrpsReturn array of child group IDs
netcdf.inqUnlimDimsReturn IDs of all visible unlimited dimensions in group
netcdf.opennetCDF 데이터 소스 열기
netcdf.reDefPut open netCDF file into define mode
netcdf.setFillSet netCDF fill mode
netcdf.syncSynchronize netCDF file to disk

차원

netcdf.defDimCreate netCDF dimension
netcdf.inqDimReturn netCDF dimension name and length
netcdf.inqDimIDReturn dimension ID
netcdf.renameDimChange name of netCDF dimension

그룹

netcdf.defGrpCreate group in netCDF file
netcdf.inqDimIDsReturn list of dimension identifiers in group
netcdf.inqGrpNameReturn name of group
netcdf.inqGrpNameFullComplete pathname of group
netcdf.inqGrpParentReturn ID of parent group
netcdf.inqNcidReturn ID of group
netcdf.inqVarIDsReturn IDs of all variables in group

변수

netcdf.defVarFillDefine fill parameters for netCDF variable
netcdf.defVarCreate netCDF variable
netcdf.defVarChunkingDefine chunking parameters for netCDF variable
netcdf.defVarDeflateDefine compression parameters for netCDF variable
netcdf.defVarFletcher32Define checksum parameters for netCDF variable
netcdf.getVarRead data from netCDF variable
netcdf.inqVarInformation about netCDF variable
netcdf.inqVarChunkingReturn chunking parameters for netCDF variable
netcdf.inqVarDeflateReturn compression parameters for netCDF variable
netcdf.inqVarFillReturn fill parameters for netCDF variable
netcdf.inqVarFletcher32Return checksum parameters for netCDF variable
netcdf.inqVarID변수 이름과 연결된 반환 ID
netcdf.putVarWrite data to netCDF variable
netcdf.renameVarNetCDF 변수의 이름 변경

특성

netcdf.copyAttCopy attribute to new location
netcdf.delAttDelete netCDF attribute
netcdf.getAttReturn netCDF attribute
netcdf.inqAttReturn information about netCDF attribute
netcdf.inqAttIDReturn ID of netCDF attribute
netcdf.inqAttNameReturn name of netCDF attribute
netcdf.putAttWrite data to netCDF attribute
netcdf.renameAttChange name of netCDF attribute

사용자 정의 유형

netcdf.defVlenDefine user-defined variable length array type (NC_VLEN) (R2022a 이후)
netcdf.inqUserTypeReturn information about user-defined type (R2022a 이후)
netcdf.inqVlenReturn information about user-defined NC_VLEN type (R2022a 이후)

유틸리티

netcdf.getConstantReturn numeric value of named constant
netcdf.getConstantNamesReturn list of constants known to netCDF library

도움말 항목

문제 해결

Resolve Errors Reading OPeNDAP Data

When you have trouble reading OPeNDAP data, consider these factors.

관련 정보