@ThreadSafe
public class Fmrc
extends java.lang.Object
implements java.io.Closeable
Constructor and Description |
---|
Fmrc(MCollection manager,
FeatureCollectionConfig config) |
public Fmrc(MCollection manager, FeatureCollectionConfig config)
public static Fmrc open(java.lang.String collection, java.util.Formatter errlog) throws java.io.IOException
collection
- describes the collection. May be one of:
errlog
- place error messages herejava.io.IOException
- on read errorpublic static Fmrc readNcML(java.lang.String ncmlString, java.util.Formatter errlog) throws java.io.IOException
java.io.IOException
public static Fmrc open(FeatureCollectionConfig config, java.util.Formatter errlog)
public void setNcml(org.jdom2.Element outerNcml, org.jdom2.Element innerNcml)
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
public MCollection getManager()
public FmrcInv getFmrcInv(java.util.Formatter debug)
public CalendarDateRange getDateRangeForRun(CalendarDate run)
public CalendarDateRange getDateRangeForOffset(double offset)
public java.util.List<CalendarDate> getRunDates()
public java.util.List<CalendarDate> getForecastDates()
public double[] getForecastOffsets()
public GridDataset getDataset2D(NetcdfDataset result) throws java.io.IOException
java.io.IOException
public GridDataset getDatasetBest() throws java.io.IOException
java.io.IOException
public GridDataset getDatasetBest(FeatureCollectionConfig.BestDataset bd) throws java.io.IOException
java.io.IOException
public GridDataset getRunTimeDataset(CalendarDate run) throws java.io.IOException
java.io.IOException
public GridDataset getConstantForecastDataset(CalendarDate time) throws java.io.IOException
java.io.IOException
public GridDataset getConstantOffsetDataset(double hour) throws java.io.IOException
java.io.IOException
public void updateProto()
public void update()
public boolean checkInvState(long lastInvChange)
public boolean checkProtoState(long lastProtoChanged)
public void showDetails(java.util.Formatter out)