Package ucar.nc2.internal.dataset.conv
Class WRFConvention
- java.lang.Object
-
- ucar.nc2.internal.dataset.CoordSystemBuilder
-
- ucar.nc2.internal.dataset.conv.WRFConvention
-
public class WRFConvention extends CoordSystemBuilder
WRF netcdf output files. Note: Apparently WRF netcdf files before version 2 didnt output the projection origin, so we cant properly georeference them. This Convention currently only supports ARW output, identified as DYN_OPT=2 or GRIDTYPE=C
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WRFConvention.Factory
-
Nested classes/interfaces inherited from class ucar.nc2.internal.dataset.CoordSystemBuilder
CoordSystemBuilder.VarProcess
-
-
Field Summary
-
Fields inherited from class ucar.nc2.internal.dataset.CoordSystemBuilder
conventionName, coords, coordVarsForDimension, datasetBuilder, debug, log, parseInfo, rootGroup, userAdvice, varList
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
assignCoordinateTransforms()
Assign CoordinateTransform objects to Variables and Coordinate Systems.void
augmentDataset(CancelTask cancelTask)
protected AxisType
getAxisType(VariableDS.Builder v)
Identify what kind of AxisType the named variable is.String
getZisPositive(CoordinateAxis v)
Does increasing values of Z go vertical up?protected void
makeCoordinateTransforms()
Take all previously identified Coordinate Transforms and create a CoordinateTransform object by calling CoordTransBuilder.makeCoordinateTransform().-
Methods inherited from class ucar.nc2.internal.dataset.CoordSystemBuilder
addUserAdvice, assignCoordinateSystemsExplicit, buildCoordinateSystems, countDomainSize, findCoordinateAxis, findVarProcess, getConventionUsed, getParseInfo, getUserAdvice, identifyCoordinateAxes, identifyCoordinateSystems, identifyCoordinateTransforms, isCoordinateAxisForVariable, isCoordinateVariable, makeCoordinateAxes, makeCoordinateSystems, makeCoordinateSystemsImplicit, makeCoordinateTransform, makeCoordinateTransformVariable, setConventionUsed
-
-
-
-
Method Detail
-
augmentDataset
public void augmentDataset(CancelTask cancelTask)
- Overrides:
augmentDataset
in classCoordSystemBuilder
-
makeCoordinateTransforms
protected void makeCoordinateTransforms()
Description copied from class:CoordSystemBuilder
Take all previously identified Coordinate Transforms and create a CoordinateTransform object by calling CoordTransBuilder.makeCoordinateTransform().- Overrides:
makeCoordinateTransforms
in classCoordSystemBuilder
-
getAxisType
@Nullable protected AxisType getAxisType(VariableDS.Builder v)
Description copied from class:CoordSystemBuilder
Identify what kind of AxisType the named variable is. Only called for variables already identified as Coordinate Axes. Default null - subclasses can override.- Overrides:
getAxisType
in classCoordSystemBuilder
- Parameters:
v
- a variable already identified as a Coordinate Axis- Returns:
- AxisType or null if unknown.
-
getZisPositive
public String getZisPositive(CoordinateAxis v)
Does increasing values of Z go vertical up?- Parameters:
v
- for thsi axis- Returns:
- "up" if this is a Vertical (z) coordinate axis which goes up as coords get bigger, else return "down" TODO: doesnt seem to be used
-
assignCoordinateTransforms
protected void assignCoordinateTransforms()
Description copied from class:CoordSystemBuilder
Assign CoordinateTransform objects to Variables and Coordinate Systems.- Overrides:
assignCoordinateTransforms
in classCoordSystemBuilder
-
-