public class CdmRemote extends NetcdfFile
| Modifier and Type | Class and Description |
|---|---|
static class |
CdmRemote.Builder<T extends CdmRemote.Builder<T>> |
| Modifier and Type | Field and Description |
|---|---|
static String |
PROTOCOL |
static String |
SCHEME |
cache, IOSP_MESSAGE_ADD_RECORD_STRUCTURE, IOSP_MESSAGE_GET_IOSP, IOSP_MESSAGE_GET_NETCDF_FILE_FORMAT, IOSP_MESSAGE_RANDOM_ACCESS_FILE| Modifier and Type | Method and Description |
|---|---|
static CdmRemote.Builder<?> |
builder()
Get Builder for this class that allows subclassing.
|
static String |
canonicalURL(String urlName)
Create the canonical form of the URL.
|
void |
close()
Close all resources (files, sockets, etc) associated with this file.
|
String |
getFileTypeDescription()
Get a human-readable description for this file type.
|
String |
getFileTypeId()
Get the file type id for the underlying data source.
|
protected StructureDataIterator |
getStructureIterator(Structure s,
int bufferSize) |
protected Array |
readData(Variable v,
Section section)
Do not call this directly, use Variable.read() !!
Ranges must be filled (no nulls)
|
static InputStream |
sendQuery(ucar.httpservices.HTTPSession session,
String remoteURI,
String query) |
static void |
setAllowCompression(boolean b) |
static void |
setDebugFlags(DebugFlags debugFlag) |
CdmRemote.Builder<?> |
toBuilder()
Turn into a mutable Builder.
|
long |
writeToFile(String filename) |
addLocalFieldsToBuilder, findAttribute, findDimension, findGlobalAttribute, findGlobalAttributeIgnoreCase, findGroup, findVariable, getDetailInfo, getDetailInfo, getDimensions, getFileTypeVersion, getGlobalAttributes, getId, getLastModified, getLocation, getRootGroup, getStructureDataArrayIterator, getTitle, getUnlimitedDimension, getVariables, hasUnlimitedDimension, reacquire, readArrayData, readSection, readSectionArray, readToOutputStream, release, sendIospMessage, setCachedData, setFileCache, showCached, showProxies, toNcml, toString, toStringDebug, writeNcml, writeNcmlpublic static final String PROTOCOL
public static final String SCHEME
public static void setDebugFlags(DebugFlags debugFlag)
public static void setAllowCompression(boolean b)
public static String canonicalURL(String urlName)
urlName - the url stringprotected Array readData(Variable v, Section section) throws IOException
NetcdfFilereadData in class NetcdfFileIOExceptionprotected StructureDataIterator getStructureIterator(Structure s, int bufferSize)
getStructureIterator in class NetcdfFilepublic static InputStream sendQuery(ucar.httpservices.HTTPSession session, String remoteURI, String query) throws IOException
IOExceptionpublic String getFileTypeId()
NetcdfFilegetFileTypeId in class NetcdfFilepublic String getFileTypeDescription()
NetcdfFilegetFileTypeDescription in class NetcdfFilepublic long writeToFile(String filename) throws IOException
IOExceptionpublic void close()
NetcdfFileclose in interface Closeableclose in interface AutoCloseableclose in interface FileCacheableclose in class NetcdfFilepublic CdmRemote.Builder<?> toBuilder()
NetcdfFiletoBuilder in class NetcdfFilepublic static CdmRemote.Builder<?> builder()