public class FmrcImpl extends Object implements ForecastModelRunCollection
| Constructor and Description |
|---|
FmrcImpl(NetcdfDataset ncd)
Deprecated.
|
FmrcImpl(String filename)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
void |
dump(Formatter f)
Deprecated.
|
NetcdfDataset |
getBestTimeSeries()
Deprecated.
Get a NetcdfDataset that has the "best" time series, across model runs.
|
NetcdfDataset |
getFmrcDataset()
Deprecated.
Get a NetcdfDataset that is the underlying datasets with the "2d time"
|
List<Date> |
getForecastDates()
Deprecated.
Get the list of possible forecast dates, to be used in getForecastTimeDataset().
|
NetcdfDataset |
getForecastOffsetDataset(double hours)
Deprecated.
Get a NetcdfDataset that has all the data for a fixed forecast offset, across model runs.
|
List<Double> |
getForecastOffsets()
Deprecated.
Get the list of possible forecast offsets, to be used in getForecastOffsetDataset().
|
NetcdfDataset |
getForecastTimeDataset(Date forecastTime)
Deprecated.
Get a NetcdfDataset that has all the data for a fixed forecast time, across model runs.
|
GridDataset |
getGridDataset()
Deprecated.
Get the underlying GridDataset.
|
List<Date> |
getRunDates()
Deprecated.
Get the list of possible run dates, to be used in getRunTimeDataset().
|
NetcdfDataset |
getRunTimeDataset(Date wantRuntime)
Deprecated.
Get a NetcdfDataset that has all the data for a model run.
|
static void |
main(String[] args)
Deprecated.
|
boolean |
sync()
Deprecated.
Check if file has changed, and reread metadata if needed.
|
public FmrcImpl(String filename) throws IOException
IOExceptionpublic FmrcImpl(NetcdfDataset ncd) throws IOException
IOExceptionpublic boolean sync()
throws IOException
sync in interface ForecastModelRunCollectionIOExceptionpublic GridDataset getGridDataset()
ForecastModelRunCollectiongetGridDataset in interface ForecastModelRunCollectionpublic void close()
throws IOException
close in interface ForecastModelRunCollectionIOExceptionpublic List<Date> getRunDates()
ForecastModelRunCollectiongetRunDates in interface ForecastModelRunCollectionpublic NetcdfDataset getRunTimeDataset(Date wantRuntime) throws IOException
ForecastModelRunCollectiongetRunTimeDataset in interface ForecastModelRunCollectionwantRuntime - names the runIOException - on read errorpublic List<Date> getForecastDates()
ForecastModelRunCollectiongetForecastDates in interface ForecastModelRunCollectionpublic NetcdfDataset getForecastTimeDataset(Date forecastTime) throws IOException
ForecastModelRunCollectiongetForecastTimeDataset in interface ForecastModelRunCollectionforecastTime - the forecast time to fix.IOException - on read errorpublic List<Double> getForecastOffsets()
ForecastModelRunCollectiongetForecastOffsets in interface ForecastModelRunCollectionpublic NetcdfDataset getForecastOffsetDataset(double hours) throws IOException
ForecastModelRunCollectiongetForecastOffsetDataset in interface ForecastModelRunCollectionhours - the forecast offset time to fix, in hours.IOException - on read errorpublic NetcdfDataset getBestTimeSeries() throws IOException
ForecastModelRunCollectiongetBestTimeSeries in interface ForecastModelRunCollectionIOException - on read errorpublic NetcdfDataset getFmrcDataset()
ForecastModelRunCollectiongetFmrcDataset in interface ForecastModelRunCollectionpublic void dump(Formatter f) throws IOException
IOExceptionCopyright © 1999–2014 UCAR/Unidata. All rights reserved.