Package thredds.server.radarServer2
Class RadarDataInventory
- java.lang.Object
-
- thredds.server.radarServer2.RadarDataInventory
-
public class RadarDataInventory extends Object
Class to manage generating an inventory of radar data and providing a way to query what data are available.- Since:
- 01/15/2015
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRadarDataInventory.DirectoryStructurestatic classRadarDataInventory.DirTypeclassRadarDataInventory.Query
-
Constructor Summary
Constructors Constructor Description RadarDataInventory(Path datasetRoot, int numCrawl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDateDir(String fmt)voidaddFileTime(String regex, String fmt)voidaddStationDir()voidaddVariableDir()PathgetCollectionDir()StringgetDataFormat()StringgetDescription()ucar.nc2.constants.FeatureTypegetFeatureType()RadarServerConfig.RadarConfigEntry.GeoInfogetGeoCoverage()StringgetName()StationListgetStationList()ucar.nc2.units.DateRangegetTimeCoverage()List<String>getVariableList()List<String>listItems(RadarDataInventory.DirType type)booleanneedsVar()RadarDataInventory.QuerynewQuery()voidsetDataFormat(String format)voidsetDescription(String description)voidsetGeoCoverage(RadarServerConfig.RadarConfigEntry.GeoInfo info)voidsetName(String name)voidsetNearestWindow(ucar.nc2.time.CalendarPeriod pd)voidsetTimeCoverage(ucar.nc2.units.DateRange range)
-
-
-
Constructor Detail
-
RadarDataInventory
public RadarDataInventory(Path datasetRoot, int numCrawl)
-
-
Method Detail
-
getCollectionDir
public Path getCollectionDir()
-
setName
public void setName(String name)
-
getName
public String getName()
-
getFeatureType
public ucar.nc2.constants.FeatureType getFeatureType()
-
setDataFormat
public void setDataFormat(String format)
-
getDataFormat
public String getDataFormat()
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
setTimeCoverage
public void setTimeCoverage(ucar.nc2.units.DateRange range)
-
getTimeCoverage
public ucar.nc2.units.DateRange getTimeCoverage()
-
setGeoCoverage
public void setGeoCoverage(RadarServerConfig.RadarConfigEntry.GeoInfo info)
-
getGeoCoverage
public RadarServerConfig.RadarConfigEntry.GeoInfo getGeoCoverage()
-
needsVar
public boolean needsVar()
-
getStationList
public StationList getStationList()
-
setNearestWindow
public void setNearestWindow(ucar.nc2.time.CalendarPeriod pd)
-
addStationDir
public void addStationDir()
-
addVariableDir
public void addVariableDir()
-
addDateDir
public void addDateDir(String fmt)
-
listItems
public List<String> listItems(RadarDataInventory.DirType type)
-
newQuery
public RadarDataInventory.Query newQuery()
-
-