@ThreadSafe public class Fmrc extends Object
| Constructor and Description |
|---|
Fmrc(CollectionManager manager,
FeatureCollectionConfig config) |
public Fmrc(CollectionManager manager, FeatureCollectionConfig config)
public static Fmrc open(String collection, Formatter errlog) throws IOException
collection - describes the collection. May be one of:
errlog - place error messages hereIOException - on read errorpublic static Fmrc open(FeatureCollectionConfig config, Formatter errlog) throws IOException
IOExceptionpublic void setNcml(org.jdom2.Element outerNcml,
org.jdom2.Element innerNcml)
public void close()
public CollectionManager getManager()
public FmrcInv getFmrcInv(Formatter debug) throws IOException
IOExceptionpublic CalendarDateRange getDateRangeForRun(CalendarDate run)
public CalendarDateRange getDateRangeForOffset(double offset)
public List<CalendarDate> getRunDates() throws IOException
IOExceptionpublic List<CalendarDate> getForecastDates() throws IOException
IOExceptionpublic double[] getForecastOffsets()
throws IOException
IOExceptionpublic GridDataset getDataset2D(NetcdfDataset result) throws IOException
IOExceptionpublic GridDataset getDatasetBest() throws IOException
IOExceptionpublic GridDataset getDatasetBest(FeatureCollectionConfig.BestDataset bd) throws IOException
IOExceptionpublic GridDataset getRunTimeDataset(CalendarDate run) throws IOException
IOExceptionpublic GridDataset getConstantForecastDataset(CalendarDate time) throws IOException
IOExceptionpublic GridDataset getConstantOffsetDataset(double hour) throws IOException
IOExceptionpublic void updateProto()
public void update()
public boolean checkInvState(long lastInvChange)
throws IOException
IOExceptionpublic boolean checkProtoState(long lastProtoChanged)
throws IOException
IOExceptionpublic void checkNeeded(boolean force)
public void showDetails(Formatter out) throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
IOExceptionCopyright © 1999–2013 UCAR/Unidata. All rights reserved.