dap4/d4lib/src/main/java/dap4/dap4lib/netcdf/Nc4DMRCompiler.java
static public boolean dspMatch(String path, DapContext context)
    {
        for(String s : EXTENSIONS) {
            if(path.endsWith(s)) return true;
        }
        return false;
    }
static public boolean dspMatch(String path, DapContext context)
    {
        for(String s : EXTENSIONS) {
            if(path.endsWith(s)) return true;
        }
        return false;
    }
A path is file if it has no base protocol or is file:

@param path
@param context Any parameters that may help to decide.
@return true if this path appears to be processible by this DSP