Package ucar.nc2.iosp.grid
Class GridIndexToNC
- java.lang.Object
-
- ucar.nc2.iosp.grid.GridIndexToNC
-
public class GridIndexToNC extends Object
Create a Netcdf File from a GridIndex
-
-
Constructor Summary
Constructors Constructor Description GridIndexToNC(String filename)GridIndexToNC(ucar.unidata.io.RandomAccessFile raf)
-
Method Summary
-
-
-
Constructor Detail
-
GridIndexToNC
public GridIndexToNC(String filename)
-
GridIndexToNC
public GridIndexToNC(ucar.unidata.io.RandomAccessFile raf)
-
-
Method Detail
-
open
public void open(GridIndex index, GridTableLookup lookup, int version, ucar.nc2.NetcdfFile ncfile, ucar.nc2.util.CancelTask cancelTask) throws IOException
Fill in the netCDF file- Parameters:
index- grid indexlookup- lookup tableversion- version of datancfile- netCDF file to fill incancelTask- cancel task- Throws:
IOException- Problem reading from the file
-
addExtraAttributes
protected void addExtraAttributes(GridRecord firstRecord, GridTableLookup lookup, ucar.nc2.NetcdfFile ncfile)
-
addEnsembles
protected GridEnsembleCoord addEnsembles(List<GridEnsembleCoord> ensembleCoords, List<GridRecord> recordList)
-
makeGridHorizCoordSys
protected GridHorizCoordSys makeGridHorizCoordSys(GridDefRecord gds, GridTableLookup lookup, ucar.nc2.Group g)
-
makeGridVariable
protected GridVariable makeGridVariable(String indexFilename, String name, GridHorizCoordSys hcs, GridTableLookup lookup)
-
makeGridTimeCoord
protected GridTimeCoord makeGridTimeCoord(List<GridRecord> recordList, String location)
-
makeGridVertCoord
protected GridVertCoord makeGridVertCoord(List<GridRecord> recordList, String vname, GridTableLookup lookup, GridHorizCoordSys hcs)
-
getHorizCoordSys
public GridHorizCoordSys getHorizCoordSys(GridRecord gribRecord)
-
getHorizCoordSystems
public Map<String,GridHorizCoordSys> getHorizCoordSystems()
-
-