|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.nc2.dt.TypedDatasetImpl
ucar.nc2.dt.radial.StationRadarCollectionImpl
ucar.nc2.thredds.DqcRadarDatasetCollection
public class DqcRadarDatasetCollection
Created by IntelliJ IDEA. User: yuanho Date: Feb 14, 2007 Time: 1:09:41 PM To change this template use File | Settings | File Templates.
| Nested Class Summary | |
|---|---|
class |
DqcRadarDatasetCollection.DqcRadarDatasetInfo
|
| Field Summary |
|---|
| Fields inherited from class ucar.nc2.dt.radial.StationRadarCollectionImpl |
|---|
absTimesList, relTimesList, stations, timeUnit |
| Fields inherited from class ucar.nc2.dt.TypedDatasetImpl |
|---|
boundingBox, dataVariables, desc, endDate, location, ncfile, parseInfo, startDate, title |
| Method Summary | |
|---|---|
boolean |
checkStationProduct(Product product)
check if the product available for all stations. |
boolean |
checkStationProduct(java.lang.String sName,
Product product)
check if the product available for one station |
static DqcRadarDatasetCollection |
factory(InvDataset ds,
java.lang.String dqc_location,
java.lang.StringBuffer errlog)
|
static DqcRadarDatasetCollection |
factory(java.lang.String desc,
java.lang.String dqc_location,
java.lang.StringBuffer errlog)
|
java.util.ArrayList |
getData(java.lang.String sName,
DateSelectionInfo dateInfo)
Getting data for a single radar station, with time range. |
java.util.ArrayList |
getData(java.lang.String sName,
DateSelectionInfo dateInfo,
CancelTask cancel)
Getting data for a single radar station, with time range. |
DataIterator |
getDataIterator(int bufferSize)
Getting data Iterator for a single radar station. |
java.util.ArrayList |
getDataURIs(java.lang.String sName,
DateSelectionInfo dateInfo)
Getting data URIs for a single radar station, with time range. |
java.util.ArrayList |
getDataURIs(java.lang.String sName,
DateSelectionInfo dateInfo,
CancelTask cancel)
Getting data for a single radar station, with time range and interval. |
java.lang.String |
getDescription()
Text information about this dataset. |
java.lang.String |
getISOTime(java.util.Date d)
|
java.lang.String |
getLocationURI()
The URI location of the dataset |
RadialDatasetSweep |
getRadarDataset(java.lang.String stnName,
java.util.Date absTime)
Getting dataset for a single radar station. |
java.net.URI |
getRadarDatasetURI(java.lang.String stnName,
java.util.Date absTime)
Getting URI for a single radar station. |
java.util.List |
getRadarStations()
get all radar station. |
java.util.ArrayList |
getRadarStationTimes(java.lang.String stnName,
java.util.Date start,
java.util.Date end)
Getting data URI list for a single radar station. |
java.util.ArrayList |
getRadarStationURIs(java.lang.String stnName,
java.util.Date start,
java.util.Date end)
Getting data Iterator for a single radar station. |
java.util.ArrayList |
getRadarStationURIs(java.lang.String stnName,
java.lang.String rTime)
Getting URI list for a single radar station. |
int |
getStationProductCount(java.lang.String sName)
How many Data Products are available for this Station? |
java.util.List |
getStations()
get all radar station. |
java.util.List |
getStations(CancelTask cancel)
get all radar station within box. |
java.util.List |
getStations(LatLonRect boundingBox)
get all radar station within box. |
java.util.List |
getStations(LatLonRect boundingBox,
CancelTask cancel)
get all radar station within box. |
java.util.ArrayList |
getTimeIntervalList(java.util.ArrayList timeList,
int interval,
int roundTo)
Getting data URI for a single radar station, with time range and interval. |
java.lang.String |
getTitle()
Title of the dataset. |
static void |
main(java.lang.String[] args)
|
static long |
roundTo(long roundTo,
long seconds)
Getting data for a single radar station, with time range and interval. |
protected void |
setBoundingBox()
|
protected void |
setEndDate()
|
protected void |
setStartDate()
|
protected void |
setTimeUnits()
|
| Methods inherited from class ucar.nc2.dt.radial.StationRadarCollectionImpl |
|---|
getBoundingBox, getStation |
| Methods inherited from class ucar.nc2.dt.TypedDatasetImpl |
|---|
close, findGlobalAttributeIgnoreCase, getDataVariable, getDataVariables, getDetailInfo, getEndDate, getGlobalAttributes, getNetcdfFile, getStartDate, removeDataVariable, setDescription, setLocationURI, setTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DqcRadarDatasetCollection factory(InvDataset ds,
java.lang.String dqc_location,
java.lang.StringBuffer errlog)
throws java.io.IOException
java.io.IOException
public static DqcRadarDatasetCollection factory(java.lang.String desc,
java.lang.String dqc_location,
java.lang.StringBuffer errlog)
throws java.io.IOException
java.io.IOExceptionprotected void setTimeUnits()
protected void setStartDate()
setStartDate in class TypedDatasetImplprotected void setEndDate()
setEndDate in class TypedDatasetImplprotected void setBoundingBox()
setBoundingBox in class TypedDatasetImplpublic java.lang.String getTitle()
TypedDataset
getTitle in interface TypedDatasetgetTitle in class TypedDatasetImplpublic java.lang.String getLocationURI()
TypedDataset
getLocationURI in interface TypedDatasetgetLocationURI in class TypedDatasetImplpublic java.lang.String getDescription()
TypedDataset
getDescription in interface TypedDatasetgetDescription in class TypedDatasetImpl
public boolean checkStationProduct(java.lang.String sName,
Product product)
StationRadarCollection
public boolean checkStationProduct(Product product)
StationRadarCollection
public int getStationProductCount(java.lang.String sName)
StationRadarCollection
sName - station name
public java.util.List getStations()
throws java.io.IOException
getStations in interface StationRadarCollectiongetStations in class StationRadarCollectionImpljava.io.IOException - java io exceptionpublic java.util.List getRadarStations()
java.io.IOException - java io exception
public java.util.List getStations(CancelTask cancel)
throws java.io.IOException
getStations in class StationRadarCollectionImplcancel - allow user to cancel. Implementors should return ASAP.
java.io.IOException - java io exception
public java.util.List getStations(LatLonRect boundingBox)
throws java.io.IOException
getStations in class StationRadarCollectionImpljava.io.IOException - java io exception
public java.util.List getStations(LatLonRect boundingBox,
CancelTask cancel)
throws java.io.IOException
getStations in interface StationRadarCollectiongetStations in class StationRadarCollectionImplcancel - allow user to cancel. Implementors should return ASAP.
java.io.IOException - java io exception
public RadialDatasetSweep getRadarDataset(java.lang.String stnName,
java.util.Date absTime)
throws java.io.IOException
stnName - radar station nameabsTime - is absolute time
java.io.IOException - java io exception
public java.net.URI getRadarDatasetURI(java.lang.String stnName,
java.util.Date absTime)
throws java.io.IOException
stnName - radar station nameabsTime - is absolute time
java.io.IOException - java io exception
public java.util.ArrayList getRadarStationURIs(java.lang.String stnName,
java.lang.String rTime)
throws java.io.IOException
stnName - radar station namerTime - is relative time, such as latest, 1hour
java.io.IOException - java io exception
public java.util.ArrayList getRadarStationURIs(java.lang.String stnName,
java.util.Date start,
java.util.Date end)
throws java.io.IOException
stnName - radar station namestart - of the timeend - of the time
java.io.IOException - java io exception
public java.util.ArrayList getRadarStationTimes(java.lang.String stnName,
java.util.Date start,
java.util.Date end)
throws java.io.IOException
stnName - radar station namestart - of the timeend - of the time
java.io.IOException - java io exception
public DataIterator getDataIterator(int bufferSize)
throws java.io.IOException
bufferSize -
java.io.IOException - java io exception
public java.util.ArrayList getDataURIs(java.lang.String sName,
DateSelectionInfo dateInfo)
throws java.io.IOException
sName - radar station namedateInfo - the date selection information
java.io.IOException
public java.util.ArrayList getData(java.lang.String sName,
DateSelectionInfo dateInfo)
throws java.io.IOException
sName - radar station namedateInfo - the date time selection information
java.io.IOException
public java.util.ArrayList getData(java.lang.String sName,
DateSelectionInfo dateInfo,
CancelTask cancel)
throws java.io.IOException
sName - radar station namedateInfo - the date time selection information
java.io.IOException
public java.util.ArrayList getDataURIs(java.lang.String sName,
DateSelectionInfo dateInfo,
CancelTask cancel)
throws java.io.IOException
sName - radar station namedateInfo - the date information of selection
java.io.IOException - java io exception
public java.util.ArrayList getTimeIntervalList(java.util.ArrayList timeList,
int interval,
int roundTo)
throws java.io.IOException
timeList - is the list of time to be parsedinterval - the interval timeroundTo - the round to time
java.io.IOException - java io exceptionpublic java.lang.String getISOTime(java.util.Date d)
public static long roundTo(long roundTo,
long seconds)
roundTo - seconds - to be round to
public static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||