Class 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

    • Method Detail

      • 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 class CoordSystemBuilder
      • 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 class CoordSystemBuilder
        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