protected void
    buildrootgroup(int ncid)
            throws DapException
    {
        int ret;
        byte[] namep = new byte[NC_MAX_NAME + 1];
        errcheck(ret = nc4.nc_inq_grpname(ncid, namep));
        String[] pieces = DapUtil.canonicalpath(this.path).split("[/]");
        DapDataset g = factory.newDataset(pieces[pieces.length - 1]);
        GroupNotes gi = (GroupNotes)Nc4Notes.factory(NoteSort.GROUP,ncid, ncid, this.dsp);
        gi.set(g);
        this.dsp.note(gi);
        this.dmr = g;
        fillgroup(ncid);
    }
protected void
    buildrootgroup(int ncid)
            throws DapException
    {
        int ret;
        byte[] namep = new byte[NC_MAX_NAME + 1];
        errcheck(ret = nc4.nc_inq_grpname(ncid, namep));
        String[] pieces = DapUtil.canonicalpath(this.path).split("[/]");
        DapDataset g = factory.newDataset(pieces[pieces.length - 1]);
        GroupNotes gi = (GroupNotes)Nc4Notes.factory(NoteSort.GROUP,ncid, ncid, this.dsp);
        gi.set(g);
        this.dsp.note(gi);
        this.dmr = g;
        fillgroup(ncid);
    }
protected void buildrootgroup ( int ncid ) throws DapException { int ret ; byte [ ] namep = new byte [ NC_MAX_NAME + 1 ] ; errcheck ( ret = nc4 . nc_inq_grpname ( ncid , namep ) ) ; String [ ] pieces = DapUtil . canonicalpath ( this . path ) . split ( "[/]" ) ; DapDataset g = factory . newDataset ( pieces [ pieces . length - 1 ] ) ; GroupNotes gi = ( GroupNotes ) Nc4Notes . factory ( NoteSort . GROUP , ncid , ncid , this . dsp ) ; gi . set ( g ) ; this . dsp . note ( gi ) ; this . dmr = g ; fillgroup ( ncid ) ; }
////////////////////////////////////////////////
////////////////////////////////////////////////