@ThreadSafe public class Fmrc extends Object implements Closeable
| Constructor and Description |
|---|
Fmrc(MCollection manager,
FeatureCollectionConfig config) |
public Fmrc(MCollection 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 readNcML(String ncmlString, Formatter errlog) throws IOException
IOExceptionpublic static Fmrc open(FeatureCollectionConfig config, Formatter errlog) throws IOException
IOExceptionpublic void setNcml(org.jdom2.Element outerNcml,
org.jdom2.Element innerNcml)
public void close()
close in interface Closeableclose in interface AutoCloseablepublic MCollection 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 showDetails(Formatter out) throws IOException
IOException