public class FmrcInventory
extends java.lang.Object
Data Structures
List RunTime Date
List ForecastTime Date
List Offsets Double
List VertTimeCoord
double[] values
List TimeCoord
double[] offsetHour
List RunSeq // sequence of runs; ie sequence of TimeCoords; ie actual time coord
List Run run;
Date runDate
TimeCoord
List UberGrid
String name
List RunExpected // corresponds to the runs in the RunSeq, matches to expected inventory
Run run; // actual time coord
ForecastModelRun.Grid grid; // contains actual vert coord for this Run
ForecastModelRun.TimeCoord expected; // expected time coord
FmrcDefinition.Grid expectedGrid; // expected grid, vertCoord
| Modifier and Type | Method and Description |
|---|---|
static void |
doOne(java.lang.String cat,
int n) |
FmrcDefinition |
getDefinition() |
java.lang.String |
getDefinitionPath() |
java.util.List<ForecastModelRunInventory.EnsCoord> |
getEnsCoords() |
java.lang.String |
getName() |
java.util.List<ucar.nc2.dt.fmrc.FmrcInventory.RunSeq> |
getRunSequences() |
java.lang.String |
getSuffixFilter() |
java.util.List<ForecastModelRunInventory.TimeCoord> |
getTimeCoords() |
java.util.List<ForecastModelRunInventory.VertCoord> |
getVertCoords() |
static void |
main(java.lang.String[] args) |
static void |
main2(java.lang.String[] args) |
static void |
main4(java.lang.String[] args) |
static FmrcInventory |
makeFromCatalog(DiskCache2 cache,
java.lang.String catURL,
java.lang.String collectionName,
int maxDatasets,
int mode) |
static FmrcInventory |
makeFromCatalog(java.lang.String catURL,
java.lang.String collectionName,
int maxDatasets,
int mode)
Create a ForecastModelRun Collection from the datasets in a catalog.
|
static FmrcInventory |
makeFromDirectory(java.lang.String fmrcDefinitionPath,
java.lang.String collectionName,
DiskCache2 fmr_cache,
java.lang.String dirName,
java.lang.String suffix,
int mode)
Create a ForecastModelRun Collection from the files in a directory.
|
org.jdom.Document |
makeMatrixDocument()
Create an XML document for the entire collection
|
org.jdom.Document |
makeMatrixDocument(java.lang.String varName)
Create an XML document for a variable
|
java.lang.String |
showOffsetHour(java.lang.String varName,
java.lang.String offsetHour) |
static void |
writeDefinitionFromCatalog(java.lang.String catURL,
java.lang.String collectionName,
int maxDatasets)
Create a ForecastModelRun Collection from the datasets in a catalog.
|
java.lang.String |
writeMatrixXML(java.lang.String varName) |
void |
writeMatrixXML(java.lang.String varName,
java.io.OutputStream os) |
public java.lang.String getName()
public java.lang.String getDefinitionPath()
public java.util.List<ForecastModelRunInventory.TimeCoord> getTimeCoords()
public java.util.List<ucar.nc2.dt.fmrc.FmrcInventory.RunSeq> getRunSequences()
public java.util.List<ForecastModelRunInventory.EnsCoord> getEnsCoords()
public java.util.List<ForecastModelRunInventory.VertCoord> getVertCoords()
public java.lang.String getSuffixFilter()
public FmrcDefinition getDefinition()
public java.lang.String writeMatrixXML(java.lang.String varName)
public void writeMatrixXML(java.lang.String varName,
java.io.OutputStream os)
throws java.io.IOException
java.io.IOExceptionpublic org.jdom.Document makeMatrixDocument()
public org.jdom.Document makeMatrixDocument(java.lang.String varName)
public java.lang.String showOffsetHour(java.lang.String varName,
java.lang.String offsetHour)
public static FmrcInventory makeFromDirectory(java.lang.String fmrcDefinitionPath, java.lang.String collectionName, DiskCache2 fmr_cache, java.lang.String dirName, java.lang.String suffix, int mode) throws java.lang.Exception
fmrcDefinitionPath - put/look for fmrc definition files in this directory, may be nullcollectionName - the definition file = "name.fmrcDefinition.xml";fmr_cache - cache fmr inventory files here, may be nulldirName - scan this directorysuffix - filter on this suffixmode - one of the ForecastModelRun.OPEN_ modesjava.lang.Exception - on badpublic static void main2(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic static void doOne(java.lang.String cat,
int n)
throws java.lang.Exception
java.lang.Exceptionpublic static void writeDefinitionFromCatalog(java.lang.String catURL,
java.lang.String collectionName,
int maxDatasets)
throws java.lang.Exception
catURL - scan this catalogjava.lang.Exception - on badpublic static FmrcInventory makeFromCatalog(java.lang.String catURL, java.lang.String collectionName, int maxDatasets, int mode) throws java.lang.Exception
catURL - scan this catalogjava.lang.Exception - on badpublic static FmrcInventory makeFromCatalog(DiskCache2 cache, java.lang.String catURL, java.lang.String collectionName, int maxDatasets, int mode) throws java.lang.Exception
java.lang.Exceptionpublic static void main4(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception