Class CSMConvention

    • Constructor Detail

      • CSMConvention

        public CSMConvention()
    • Method Detail

      • addParameter2

        protected boolean addParameter2​(CoordinateTransform rs,
                                        String paramName,
                                        NetcdfFile ds,
                                        AttributeContainer v,
                                        String attName,
                                        boolean readData)
        Add a Parameter to a CoordinateTransform. The variable attribute points to a another variable that has the data in it. Make sure that atrribute and variable exist. Id readData is true, read the data and use it as the value of the parameter, otherwise use the name as the value of the parameter.
        Parameters:
        rs - the CoordinateTransform
        paramName - the parameter name
        ds - dataset
        v - variable
        attName - variable attribute name
        readData - if true, read data and use a s parameter value
        Returns:
        true if success, false is failed