类 NCUtil


  • public class NCUtil
    extends Object
    作者:
    Yaqiang Wang
    • 构造器概要

      构造器 
      构造器 说明
      NCUtil()  
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static ucar.ma2.Array convertArray​(org.meteoinfo.ndarray.Array array)
      Convert meteothink array to netcdf array
      static org.meteoinfo.ndarray.Array convertArray​(ucar.ma2.Array ncArray)
      Convert netcdf array to meteothink array
      static ucar.nc2.Attribute convertAttribute​(Attribute attr)
      Convert meoteoinfo attribute to netcdf attribute
      static Attribute convertAttribute​(ucar.nc2.Attribute ncAttr)
      Convert netcdf attribute to meteothink attribute
      static ucar.ma2.DataType convertDataType​(org.meteoinfo.ndarray.DataType dataType)
      Convert meteothink data type to netcdf data type
      static org.meteoinfo.ndarray.DataType convertDataType​(ucar.ma2.DataType ncDataType)
      Convert netcdf data type to meteothink data type
      static org.meteoinfo.ndarray.Dimension convertDimension​(ucar.nc2.Dimension ncDim)
      Convert from netcdf dimension to meteothink dimension
      static List<org.meteoinfo.ndarray.Dimension> convertDimensions​(List<ucar.nc2.Dimension> ncDims)
      Convert netcdf dimensions to meteothink dimensions
      static org.meteoinfo.ndarray.Section convertSection​(ucar.ma2.Section ncSection)
      Convert netcdf section to meteothink section
      static Variable convertVariable​(ucar.nc2.Variable ncVar)
      Convert netcdf variable to meteothink variable
    • 构造器详细资料

      • NCUtil

        public NCUtil()
    • 方法详细资料

      • convertDataType

        public static org.meteoinfo.ndarray.DataType convertDataType​(ucar.ma2.DataType ncDataType)
        Convert netcdf data type to meteothink data type
        参数:
        ncDataType - Netcdf data type
        返回:
        MeteoThink data type
      • convertDataType

        public static ucar.ma2.DataType convertDataType​(org.meteoinfo.ndarray.DataType dataType)
        Convert meteothink data type to netcdf data type
        参数:
        dataType - MeteoThink data type
        返回:
        Netcdf data type
      • convertArray

        public static org.meteoinfo.ndarray.Array convertArray​(ucar.ma2.Array ncArray)
        Convert netcdf array to meteothink array
        参数:
        ncArray - Netcdf array
        返回:
        MeteoThink array
      • convertArray

        public static ucar.ma2.Array convertArray​(org.meteoinfo.ndarray.Array array)
        Convert meteothink array to netcdf array
        参数:
        array - MeteoThink array
        返回:
        Netcdf array
      • convertDimension

        public static org.meteoinfo.ndarray.Dimension convertDimension​(ucar.nc2.Dimension ncDim)
        Convert from netcdf dimension to meteothink dimension
        参数:
        ncDim - Netcdf dimension
        返回:
        MeteoThink dimension
      • convertDimensions

        public static List<org.meteoinfo.ndarray.Dimension> convertDimensions​(List<ucar.nc2.Dimension> ncDims)
        Convert netcdf dimensions to meteothink dimensions
        参数:
        ncDims - Netcdf dimensions
        返回:
        MeteoThink dimensions
      • convertAttribute

        public static Attribute convertAttribute​(ucar.nc2.Attribute ncAttr)
        Convert netcdf attribute to meteothink attribute
        参数:
        ncAttr - Netcdf attribute
        返回:
        MeteoThink attribute
      • convertAttribute

        public static ucar.nc2.Attribute convertAttribute​(Attribute attr)
        Convert meoteoinfo attribute to netcdf attribute
        参数:
        attr - Attribute
        返回:
        MeteoInfo attribute
      • convertVariable

        public static Variable convertVariable​(ucar.nc2.Variable ncVar)
        Convert netcdf variable to meteothink variable
        参数:
        ncVar - Netcdf variable
        返回:
        MeteoThink variable
      • convertSection

        public static org.meteoinfo.ndarray.Section convertSection​(ucar.ma2.Section ncSection)
        Convert netcdf section to meteothink section
        参数:
        ncSection - Netcdf section
        返回:
        Meteothink section