thredds.wcs
Class WcsDataset

java.lang.Object
  extended by thredds.wcs.WcsDataset

public class WcsDataset
extends java.lang.Object

Encapsolates a GridDataset, making it into something to be served through WCS.

Version:
$Revision:63 $ $Date:2006-07-12 21:50:51Z $
Author:
caron

Constructor Summary
WcsDataset(GridDataset gridDataset, java.lang.String datasetPath, boolean isRemote)
           
 
Method Summary
 java.lang.String checkCoverageParameters(GetCoverageRequest req)
           
 void close()
           
 java.lang.String describeCoverage()
           
 int describeCoverage(java.io.OutputStream out, java.lang.String[] coverageNames)
           
 java.lang.String describeCoverage(java.lang.String gridName)
           
 java.lang.String getCapabilities()
           
 int getCapabilities(java.io.OutputStream out, SectionType section)
           
 java.io.File getCoverage(GetCoverageRequest req)
           
 boolean hasCoverage(java.lang.String coverageName)
           
static void main(java.lang.String[] args)
           
static void setDiskCache(DiskCache2 _diskCache)
           
 void setServerBase(java.lang.String serverBase)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WcsDataset

public WcsDataset(GridDataset gridDataset,
                  java.lang.String datasetPath,
                  boolean isRemote)
Method Detail

setDiskCache

public static void setDiskCache(DiskCache2 _diskCache)

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

setServerBase

public void setServerBase(java.lang.String serverBase)

getCapabilities

public java.lang.String getCapabilities()
                                 throws java.io.IOException
Throws:
java.io.IOException

getCapabilities

public int getCapabilities(java.io.OutputStream out,
                           SectionType section)
                    throws java.io.IOException
Throws:
java.io.IOException

hasCoverage

public boolean hasCoverage(java.lang.String coverageName)

describeCoverage

public java.lang.String describeCoverage()
                                  throws java.io.IOException
Throws:
java.io.IOException

describeCoverage

public java.lang.String describeCoverage(java.lang.String gridName)
                                  throws java.io.IOException
Throws:
java.io.IOException

describeCoverage

public int describeCoverage(java.io.OutputStream out,
                            java.lang.String[] coverageNames)
                     throws java.io.IOException
Throws:
java.io.IOException

checkCoverageParameters

public java.lang.String checkCoverageParameters(GetCoverageRequest req)
                                         throws java.io.IOException
Throws:
java.io.IOException

getCoverage

public java.io.File getCoverage(GetCoverageRequest req)
                         throws java.io.IOException,
                                InvalidRangeException
Throws:
java.io.IOException
InvalidRangeException

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException