文章目录
简介
netcdf:数组形式,数据访问、存储、检索、自描述、可移植、通用
1.1 文件格式
- CDF-1:经典格式,默认。适用范围最广,单个文件不超过2GB
- CDF-2: 64-bit offset format
- HDF5 format / netCDF-4
- CDF-5 format
向后兼容,
1.2 限制
单个文件大小:
不能向前兼容
文件的结构与性能
2.1 经典格式的部分
A netCDF classic dataset (including CDF-1, 2, and 5 formats) is stored as a single file comprising two parts:
- a header, containing all the information about dimensions, attributes, and variables except for the variable data;
- a data part, comprising fixed-size data, containing the data for variables that don’t have an unlimited dimension; and variable-size data, containing the data for variables that have an unlimited dimension.
定义:
nc_redef() in C or NF_REDEF() in Fortran