public class Nc4DSP extends AbstractDSP
| Modifier and Type | Class and Description |
|---|---|
static class |
Nc4DSP.Nc4Pointer
Provide a wrapper for pointers that tracks the size.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<Nc4Notes.NoteSort,java.util.Map<java.lang.Long,Nc4Notes.Notes>> |
allnotes |
protected boolean |
closed |
static boolean |
DEBUG |
protected DMRFactory |
dmrfactory |
static boolean |
DUMPDMR |
static java.lang.String[] |
EXTENSIONS |
protected java.lang.String |
filepath |
protected int |
format |
protected int |
mode |
static int |
NC_GRPNULL |
static int |
NC_IDNULL |
static int |
NC_NOERR |
protected DapNetcdf |
nc4 |
protected int |
ncid |
protected boolean |
trace |
context, DAPVERSION, dmr, DMRNS, DMRVERSION, location, PARSEDEBUG, rootcursor, TESTING, UCARTAGOPAQUE, UCARTAGORIGTYPE, UCARTAGUNLIMITED, UCARTAGVLEN, USEDOM, variables| Constructor and Description |
|---|
Nc4DSP() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
allnotesInit() |
void |
close() |
boolean |
dspMatch(java.lang.String path,
DapContext context)
A path is file if it has no base protocol or is file:
|
Nc4Notes.Notes |
find(long id,
Nc4Notes.NoteSort sort) |
DapNetcdf |
getJNI() |
java.lang.String |
getLocation() |
Nc4Cursor |
getVariableData(DapVariable var) |
static java.lang.String |
makeString(byte[] b) |
protected Nc4Notes.NoteSort |
noteSortFor(DapNode node) |
Nc4DSP |
open(java.lang.String filepath)
"open" a reference to a data source and return the DSP wrapper.
|
addVariableData, getChecksumMode, getContext, getDMR, getOrder, parseDMR, printDMR, processAttributes, setChecksumMode, setContext, setDataset, setDMR, setLocation, setOrder, suppresspublic static final boolean DEBUG
public static final boolean DUMPDMR
public static java.lang.String[] EXTENSIONS
public static final int NC_GRPNULL
public static final int NC_IDNULL
public static final int NC_NOERR
protected java.util.Map<Nc4Notes.NoteSort,java.util.Map<java.lang.Long,Nc4Notes.Notes>> allnotes
protected DapNetcdf nc4
protected boolean trace
protected boolean closed
protected int ncid
protected int format
protected int mode
protected java.lang.String filepath
protected DMRFactory dmrfactory
public Nc4DSP()
throws DapException
DapExceptionpublic boolean dspMatch(java.lang.String path,
DapContext context)
path - context - Any parameters that may help to decide.public Nc4Notes.Notes find(long id, Nc4Notes.NoteSort sort)
protected Nc4Notes.NoteSort noteSortFor(DapNode node)
protected void allnotesInit()
public Nc4DSP open(java.lang.String filepath) throws DapException
AbstractDSPopen in interface DSPopen in class AbstractDSPfilepath - - Object that defines the data sourceDapExceptionpublic void close()
throws DapException
close in interface DSPclose in class AbstractDSPDapExceptionpublic Nc4Cursor getVariableData(DapVariable var) throws DapException
getVariableData in interface DSPgetVariableData in class AbstractDSPDapExceptionpublic DapNetcdf getJNI()
public java.lang.String getLocation()
getLocation in interface DSPgetLocation in class AbstractDSPpublic static java.lang.String makeString(byte[] b)