protected void
    processAttributes(DapDataset dataset)
            throws DapException
    {
        List<DapNode> nodes = dataset.getNodeList();
        for(DapNode node : nodes) {
            switch (node.getSort()) {
            case GROUP:
            case DATASET:
            case VARIABLE:
                Map<String, DapAttribute> attrs = node.getAttributes();
                if(attrs.size() > 0) {
                    List<DapAttribute> suppressed = new ArrayList<>();
                    for(DapAttribute dattr : attrs.values()) {
                        if(suppress(dattr.getShortName()))
                            suppressed.add(dattr);
                    }
                    for(DapAttribute dattr : suppressed) {
                        node.removeAttribute(dattr);
                    }
                }
                break;
            default:
                break; /*ignore*/
            }
        }
        // Try to extract the byte order
        getEndianAttribute(dataset);
    }
protected void
    processAttributes(DapDataset dataset)
            throws DapException
    {
        List<DapNode> nodes = dataset.getNodeList();
        for(DapNode node : nodes) {
            switch (node.getSort()) {
            case GROUP:
            case DATASET:
            case VARIABLE:
                Map<String, DapAttribute> attrs = node.getAttributes();
                if(attrs.size() > 0) {
                    List<DapAttribute> suppressed = new ArrayList<>();
                    for(DapAttribute dattr : attrs.values()) {
                        if(suppress(dattr.getShortName()))
                            suppressed.add(dattr);
                    }
                    for(DapAttribute dattr : suppressed) {
                        node.removeAttribute(dattr);
                    }
                }
                break;
            default:
                break; 
            }
        }
        
        getEndianAttribute(dataset);
    }
protected void processAttributes ( DapDataset dataset ) throws DapException { List < DapNode > nodes = dataset . getNodeList ( ) ; for ( DapNode node : nodes ) { switch ( node . getSort ( ) ) { case GROUP : case DATASET : case VARIABLE : Map < String , DapAttribute > attrs = node . getAttributes ( ) ; if ( attrs . size ( ) > 0 ) { List < DapAttribute > suppressed = new ArrayList <> ( ) ; for ( DapAttribute dattr : attrs . values ( ) ) { if ( suppress ( dattr . getShortName ( ) ) ) suppressed . add ( dattr ) ; } for ( DapAttribute dattr : suppressed ) { node . removeAttribute ( dattr ) ; } } break ; default : break ; /*ignore*/ } } // Try to extract the byte order getEndianAttribute ( dataset ) ; }
Walk the dataset tree and remove selected attributes
such as _Unsigned

@param dataset
Walk the dataset tree and remove selected attributes such as _Unsigned