|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.nc2.iosp.grid.GridIndexToNC
public class GridIndexToNC
Create a Netcdf File from a GridIndex
| Constructor Summary | |
|---|---|
GridIndexToNC()
|
|
| Method Summary | |
|---|---|
GridHorizCoordSys |
getHorizCoordSys(ucar.grid.GridRecord gribRecord)
|
java.util.Map<java.lang.String,GridHorizCoordSys> |
getHorizCoordSystems()
|
static java.lang.String |
makeLevelName(ucar.grid.GridRecord gr,
ucar.grid.GridTableLookup lookup)
Make the level name |
static java.lang.String |
makeSuffixName(ucar.grid.GridRecord gr,
ucar.grid.GridTableLookup lookup)
Get suffix name of variable if it exists |
java.lang.String |
makeVariableName(ucar.grid.GridRecord gr,
ucar.grid.GridTableLookup lookup)
Make the variable name |
void |
open(ucar.grid.GridIndex index,
ucar.grid.GridTableLookup lookup,
int version,
NetcdfFile ncfile,
FmrcCoordSys fmrcCoordSys,
CancelTask cancelTask)
Fill in the netCDF file |
void |
setUseDescriptionForVariableName(boolean value)
Should use the description for the variable name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridIndexToNC()
| Method Detail |
|---|
public static java.lang.String makeLevelName(ucar.grid.GridRecord gr,
ucar.grid.GridTableLookup lookup)
gr - grid recordlookup - lookup table
public static java.lang.String makeSuffixName(ucar.grid.GridRecord gr,
ucar.grid.GridTableLookup lookup)
gr - grid recordlookup - lookup table
public java.lang.String makeVariableName(ucar.grid.GridRecord gr,
ucar.grid.GridTableLookup lookup)
gr - grid recordlookup - lookup table
public void open(ucar.grid.GridIndex index,
ucar.grid.GridTableLookup lookup,
int version,
NetcdfFile ncfile,
FmrcCoordSys fmrcCoordSys,
CancelTask cancelTask)
throws java.io.IOException
index - grid indexlookup - lookup tableversion - version of datancfile - netCDF file to fill infmrcCoordSys - forecast model run CScancelTask - cancel task
java.io.IOException - Problem reading from the filepublic GridHorizCoordSys getHorizCoordSys(ucar.grid.GridRecord gribRecord)
public java.util.Map<java.lang.String,GridHorizCoordSys> getHorizCoordSystems()
public void setUseDescriptionForVariableName(boolean value)
value - false to use name instead of description
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||