@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)
public void setNcml(org.jdom2.Element outerNcml,
org.jdom2.Element innerNcml)
public void close()
close in interface Closeableclose in interface AutoCloseablepublic MCollection getManager()
public CalendarDateRange getDateRangeForRun(CalendarDate run)
public CalendarDateRange getDateRangeForOffset(double offset)
public List<CalendarDate> getRunDates()
public List<CalendarDate> getForecastDates()
public double[] getForecastOffsets()
public 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)
public boolean checkProtoState(long lastProtoChanged)
public void showDetails(Formatter out)