public class GridIndexToNC
extends java.lang.Object
Constructor and Description |
---|
GridIndexToNC(RandomAccessFile raf) |
GridIndexToNC(java.lang.String filename) |
Modifier and Type | Method and Description |
---|---|
protected GridEnsembleCoord |
addEnsembles(java.util.List<GridEnsembleCoord> ensembleCoords,
java.util.List<GridRecord> recordList) |
protected void |
addExtraAttributes(GridRecord firstRecord,
GridTableLookup lookup,
NetcdfFile ncfile) |
GridHorizCoordSys |
getHorizCoordSys(GridRecord gribRecord) |
java.util.Map<java.lang.String,GridHorizCoordSys> |
getHorizCoordSystems() |
protected GridHorizCoordSys |
makeGridHorizCoordSys(GridDefRecord gds,
GridTableLookup lookup,
Group g) |
protected GridTimeCoord |
makeGridTimeCoord(java.util.List<GridRecord> recordList,
java.lang.String location) |
protected GridVariable |
makeGridVariable(java.lang.String indexFilename,
java.lang.String name,
GridHorizCoordSys hcs,
GridTableLookup lookup) |
protected GridVertCoord |
makeGridVertCoord(java.util.List<GridRecord> recordList,
java.lang.String vname,
GridTableLookup lookup,
GridHorizCoordSys hcs) |
void |
open(GridIndex index,
GridTableLookup lookup,
int version,
NetcdfFile ncfile,
CancelTask cancelTask)
Fill in the netCDF file
|
public GridIndexToNC(java.lang.String filename)
public GridIndexToNC(RandomAccessFile raf)
public void open(GridIndex index, GridTableLookup lookup, int version, NetcdfFile ncfile, CancelTask cancelTask) throws java.io.IOException
index
- grid indexlookup
- lookup tableversion
- version of datancfile
- netCDF file to fill incancelTask
- cancel taskjava.io.IOException
- Problem reading from the fileprotected void addExtraAttributes(GridRecord firstRecord, GridTableLookup lookup, NetcdfFile ncfile)
protected GridEnsembleCoord addEnsembles(java.util.List<GridEnsembleCoord> ensembleCoords, java.util.List<GridRecord> recordList)
protected GridHorizCoordSys makeGridHorizCoordSys(GridDefRecord gds, GridTableLookup lookup, Group g)
protected GridVariable makeGridVariable(java.lang.String indexFilename, java.lang.String name, GridHorizCoordSys hcs, GridTableLookup lookup)
protected GridTimeCoord makeGridTimeCoord(java.util.List<GridRecord> recordList, java.lang.String location)
protected GridVertCoord makeGridVertCoord(java.util.List<GridRecord> recordList, java.lang.String vname, GridTableLookup lookup, GridHorizCoordSys hcs)
public GridHorizCoordSys getHorizCoordSys(GridRecord gribRecord)
public java.util.Map<java.lang.String,GridHorizCoordSys> getHorizCoordSystems()