|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.nc2.dt.fmrc.FmrcImpl
public class FmrcImpl
ForecastModelRunCollection implementation. Uses a GridDataset that has two time dimensions. Assume all grids have the same runTime dimension.
| Constructor Summary | |
|---|---|
FmrcImpl(NetcdfDataset ncd)
|
|
FmrcImpl(java.lang.String filename)
|
|
| Method Summary | |
|---|---|
void |
close()
|
NetcdfDataset |
getBestTimeSeries()
Get a NetcdfDataset that has the "best" time series, across model runs. |
NetcdfDataset |
getFmrcDataset()
Get a NetcdfDataset that is the underlying datasets with the "2d time" |
java.util.List<java.util.Date> |
getForecastDates()
Get the list of possible forecast dates, to be used in getForecastTimeDataset(). |
NetcdfDataset |
getForecastOffsetDataset(double hours)
Get a NetcdfDataset that has all the data for a fixed forecast offset, across model runs. |
java.util.List<java.lang.Double> |
getForecastOffsets()
Get the list of possible forecast offsets, to be used in getForecastOffsetDataset(). |
NetcdfDataset |
getForecastTimeDataset(java.util.Date forecastTime)
Get a NetcdfDataset that has all the data for a fixed forecast time, across model runs. |
GridDataset |
getGridDataset()
Get the underlying GridDataset. |
java.util.List<java.util.Date> |
getRunDates()
Get the list of possible run dates, to be used in getRunTimeDataset(). |
NetcdfDataset |
getRunTimeDataset(java.util.Date wantRuntime)
Get a NetcdfDataset that has all the data for a model run. |
static void |
main(java.lang.String[] args)
|
boolean |
sync()
Check if file has changed, and reread metadata if needed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FmrcImpl(java.lang.String filename)
throws java.io.IOException
java.io.IOException
public FmrcImpl(NetcdfDataset ncd)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public boolean sync()
throws java.io.IOException
sync in interface ForecastModelRunCollectionjava.io.IOExceptionpublic GridDataset getGridDataset()
ForecastModelRunCollection
getGridDataset in interface ForecastModelRunCollection
public void close()
throws java.io.IOException
close in interface ForecastModelRunCollectionjava.io.IOExceptionpublic java.util.List<java.util.Date> getRunDates()
ForecastModelRunCollection
getRunDates in interface ForecastModelRunCollectionpublic NetcdfDataset getRunTimeDataset(java.util.Date wantRuntime)
ForecastModelRunCollection
getRunTimeDataset in interface ForecastModelRunCollectionwantRuntime - names the run
public java.util.List<java.util.Date> getForecastDates()
ForecastModelRunCollection
getForecastDates in interface ForecastModelRunCollectionpublic NetcdfDataset getForecastTimeDataset(java.util.Date forecastTime)
ForecastModelRunCollection
getForecastTimeDataset in interface ForecastModelRunCollectionforecastTime - the forecast time to fix.
public java.util.List<java.lang.Double> getForecastOffsets()
ForecastModelRunCollection
getForecastOffsets in interface ForecastModelRunCollectionpublic NetcdfDataset getForecastOffsetDataset(double hours)
ForecastModelRunCollection
getForecastOffsetDataset in interface ForecastModelRunCollectionhours - the forecast offset time to fix, in hours.
public NetcdfDataset getBestTimeSeries()
ForecastModelRunCollection
getBestTimeSeries in interface ForecastModelRunCollectionpublic NetcdfDataset getFmrcDataset()
ForecastModelRunCollection
getFmrcDataset in interface ForecastModelRunCollection
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||