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
IOException
public FmrcImpl(NetcdfDataset ncd) throws IOException
IOException
public boolean sync() throws IOException
sync
in interface ForecastModelRunCollection
IOException
public GridDataset getGridDataset()
ForecastModelRunCollection
getGridDataset
in interface ForecastModelRunCollection
public void close() throws IOException
close
in interface ForecastModelRunCollection
IOException
public List<Date> getRunDates()
ForecastModelRunCollection
getRunDates
in interface ForecastModelRunCollection
public NetcdfDataset getRunTimeDataset(Date wantRuntime) throws IOException
ForecastModelRunCollection
getRunTimeDataset
in interface ForecastModelRunCollection
wantRuntime
- names the runIOException
- on read errorpublic List<Date> getForecastDates()
ForecastModelRunCollection
getForecastDates
in interface ForecastModelRunCollection
public NetcdfDataset getForecastTimeDataset(Date forecastTime) throws IOException
ForecastModelRunCollection
getForecastTimeDataset
in interface ForecastModelRunCollection
forecastTime
- the forecast time to fix.IOException
- on read errorpublic List<Double> getForecastOffsets()
ForecastModelRunCollection
getForecastOffsets
in interface ForecastModelRunCollection
public NetcdfDataset getForecastOffsetDataset(double hours) throws IOException
ForecastModelRunCollection
getForecastOffsetDataset
in interface ForecastModelRunCollection
hours
- the forecast offset time to fix, in hours.IOException
- on read errorpublic NetcdfDataset getBestTimeSeries() throws IOException
ForecastModelRunCollection
getBestTimeSeries
in interface ForecastModelRunCollection
IOException
- on read errorpublic NetcdfDataset getFmrcDataset()
ForecastModelRunCollection
getFmrcDataset
in interface ForecastModelRunCollection
public void dump(Formatter f) throws IOException
IOException
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.