zoukankan      html  css  js  c++  java
  • netCDF

    NetCDF

    • started in 1989
    • most used in geoscience community
    • array-oriented
    • self-describing
      • header, describe:
        • the layout of rest of the file
        • arbitrary file metadata in the form of name/value attributes
    • machine-independent
      • endianness being addressed in the libraries

    Formats

    netCDF classic model

    ![classic model](https://www.unidata.ucar.edu/software/netcdf/docs/nc-classic-uml.png "Classic Model")
    • classic format(default)
      • variables
        • types (char, byte, short, int, float, double)
      • dimensions
      • attributes
    • 64-bit offset format
      • support large variables and sizes
    • netCDF4/HDF5 format
      • HDF5 data format, with some restrictions

    File parts

    netCDF file parts

    ![file parts](https://www.unidata.ucar.edu/software/netcdf/workshops/2012/performance/images/c-classic-fmt.png "File Parts")
    1. The header, containing information about dimensions, attributes, variables, and all attribute values.
    2. The fixed-size data, containing data values for variables that don't have an unlimited dimension (if there are any)
    3. The record data, containing data values for variables that have an unlimited dimension (if there are any)
      This format has some characteristics important for performance:
    • no extra space in the header (by default) or fixed-size data part
    • little storage overhead
    • a file can grow efficiently only by appending records to the end, growing all record variables together
  • 相关阅读:
    Java自学-集合框架 与数组的区别
    Java自学-I/O 控制台输入流System.in
    Java自学-I/O 对象流
    Java自学-I/O 数据流
    Java自学-I/O 缓存流
    Java自学-I/O 中文问题
    Java自学-I/O 字符流
    Java自学-I/O 关闭流的方式
    Java自学-I/O 字节流
    Java自学-I/O Stream流
  • 原文地址:https://www.cnblogs.com/nn0p/p/4384241.html
Copyright © 2011-2022 走看看