public class GridDatasetInv
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
GridDatasetInv.Grid
A Grid variable has a name, timeCoord and optionally a Vertical and Ensemble Coordinate
|
Constructor and Description |
---|
GridDatasetInv(GridDataset gds,
CalendarDate runDate) |
Modifier and Type | Method and Description |
---|---|
GridDatasetInv.Grid |
findGrid(java.lang.String name) |
long |
getLastModified() |
java.lang.String |
getLocation() |
CalendarDate |
getRunDate()
Get the date of the ForecastModelRun
|
java.lang.String |
getRunDateString()
Get string representation of the date of the ForecastModelRun
|
java.util.List<TimeCoord> |
getTimeCoords()
Get a list of unique TimeCoords, which contain the list of variables that all use that TimeCoord.
|
java.util.List<VertCoord> |
getVertCoords()
Get a list of unique VertCoords.
|
static void |
main(java.lang.String[] args) |
static GridDatasetInv |
open(MCollection cm,
MFile mfile,
org.jdom2.Element ncml) |
java.lang.String |
toString() |
java.lang.String |
writeXML(java.util.Date lastModified)
Write the XML representation to a String.
|
public GridDatasetInv(GridDataset gds, CalendarDate runDate)
public static GridDatasetInv open(MCollection cm, MFile mfile, org.jdom2.Element ncml) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getLocation()
public long getLastModified()
public CalendarDate getRunDate()
public java.lang.String getRunDateString()
public java.util.List<TimeCoord> getTimeCoords()
public java.util.List<VertCoord> getVertCoords()
public GridDatasetInv.Grid findGrid(java.lang.String name)
public java.lang.String writeXML(java.util.Date lastModified)
public static void main(java.lang.String[] args)