Class WRFConvention

  • All Implemented Interfaces:
    CoordSysBuilderIF

    public class WRFConvention
    extends CoordSysBuilder
    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

    • Constructor Detail

      • WRFConvention

        public WRFConvention()
    • Method Detail

      • isMine

        public static boolean isMine​(NetcdfFile ncfile)
      • makeCoordinateTransforms

        protected void makeCoordinateTransforms​(NetcdfDataset ds)
        Description copied from class: CoordSysBuilder
        Take all previously identified Coordinate Transforms and create a CoordinateTransform object by calling CoordTransBuilder.makeCoordinateTransform().
        Overrides:
        makeCoordinateTransforms in class CoordSysBuilder
        Parameters:
        ds - why
      • getAxisType

        protected AxisType getAxisType​(NetcdfDataset ds,
                                       VariableEnhanced ve)
        Description copied from class: CoordSysBuilder
        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 class CoordSysBuilder
        Parameters:
        ds - for this dataset
        ve - a variable alreaddy identified as a Coodinate 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"