@ThreadSafe
public class Fmrc
extends java.lang.Object
| Constructor and Description |
|---|
Fmrc(DatasetCollectionManager manager,
FeatureCollectionConfig config) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkInvState(long lastInvChange) |
void |
checkNeeded(boolean force) |
boolean |
checkProtoState(long lastProtoChanged) |
void |
close() |
GridDataset |
getConstantForecastDataset(java.util.Date time) |
GridDataset |
getConstantOffsetDataset(double hour) |
GridDataset |
getDataset2D(NetcdfDataset result) |
GridDataset |
getDatasetBest() |
GridDataset |
getDatasetBest(FeatureCollectionConfig.BestDataset bd) |
DateRange |
getDateRangeForOffset(double offset) |
DateRange |
getDateRangeForRun(java.util.Date run) |
FmrcInv |
getFmrcInv(java.util.Formatter debug) |
java.util.List<java.util.Date> |
getForecastDates() |
double[] |
getForecastOffsets() |
CollectionManager |
getManager() |
java.util.List<java.util.Date> |
getRunDates() |
GridDataset |
getRunTimeDataset(java.util.Date run) |
static void |
main(java.lang.String[] args) |
static Fmrc |
open(FeatureCollectionConfig config,
java.util.Formatter errlog) |
static Fmrc |
open(java.lang.String collection,
java.util.Formatter errlog)
Factory method
|
void |
setNcml(org.jdom.Element outerNcml,
org.jdom.Element innerNcml) |
void |
showDetails(java.util.Formatter out) |
void |
update() |
void |
updateProto() |
public Fmrc(DatasetCollectionManager 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 open(FeatureCollectionConfig config, java.util.Formatter errlog) throws java.io.IOException
java.io.IOExceptionpublic void setNcml(org.jdom.Element outerNcml,
org.jdom.Element innerNcml)
public void close()
public CollectionManager getManager()
public FmrcInv getFmrcInv(java.util.Formatter debug) throws java.io.IOException
java.io.IOExceptionpublic DateRange getDateRangeForRun(java.util.Date run)
public DateRange getDateRangeForOffset(double offset)
public java.util.List<java.util.Date> getRunDates()
throws java.io.IOException
java.io.IOExceptionpublic java.util.List<java.util.Date> getForecastDates()
throws java.io.IOException
java.io.IOExceptionpublic double[] getForecastOffsets()
throws java.io.IOException
java.io.IOExceptionpublic GridDataset getDataset2D(NetcdfDataset result) throws java.io.IOException
java.io.IOExceptionpublic GridDataset getDatasetBest() throws java.io.IOException
java.io.IOExceptionpublic GridDataset getDatasetBest(FeatureCollectionConfig.BestDataset bd) throws java.io.IOException
java.io.IOExceptionpublic GridDataset getRunTimeDataset(java.util.Date run) throws java.io.IOException
java.io.IOExceptionpublic GridDataset getConstantForecastDataset(java.util.Date time) throws java.io.IOException
java.io.IOExceptionpublic GridDataset getConstantOffsetDataset(double hour) throws java.io.IOException
java.io.IOExceptionpublic void updateProto()
public void update()
public boolean checkInvState(long lastInvChange)
throws java.io.IOException
java.io.IOExceptionpublic boolean checkProtoState(long lastProtoChanged)
throws java.io.IOException
java.io.IOExceptionpublic void checkNeeded(boolean force)
public void showDetails(java.util.Formatter out)
throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException