Package dap4.dap4lib

Class RawDSP


  • public class RawDSP
    extends D4DSP
    Provide a DSP interface to raw data
    • Field Detail

      • EXTENSIONS

        protected static final String[] EXTENSIONS
    • Constructor Detail

      • RawDSP

        public RawDSP()
    • Method Detail

      • open

        public D4DSP open​(String fileurl,
                          ChecksumMode cmode)
                   throws DapException
        Description copied from class: D4DSP
        "open" a reference to a data source and return the DSP wrapper.
        Overrides:
        open in class D4DSP
        Parameters:
        fileurl - - Object that defines the data source
        Returns:
        = wrapping dsp
        Throws:
        DapException
      • dspMatch

        public boolean dspMatch​(String location,
                                DapContext context)
        A path is file if it has no base protocol or is file:
        Specified by:
        dspMatch in class D4DSP
        Parameters:
        location - file:/ or possibly an absolute path
        context - Any parameters that may help to decide.
        Returns:
        true if this path appears to be processible by this DSP
      • loadDMR

        public void loadDMR()
                     throws DapException
        LoadDMR actually loads DAP since we know that we will need that eventually.
        Overrides:
        loadDMR in class D4DSP
        Throws:
        DapException