public CoordinateTransform makeCoordinateTransform (NetcdfDataset ds, Variable v) {
VerticalCT.Type type = VerticalCT.Type.WRFEta;
VerticalCT ct = new VerticalCT(type.toString(), getTransformName(), type, this);
ct.addParameter(new Parameter("height formula", "height(x,y,z) = (PH(x,y,z) + PHB(x,y,z)) / 9.81"));
ct.addParameter(new Parameter(WRFEta.PerturbationGeopotentialVariable, "PH"));
ct.addParameter(new Parameter(WRFEta.BaseGeopotentialVariable, "PHB"));
ct.addParameter(new Parameter("pressure formula", "pressure(x,y,z) = P(x,y,z) + PB(x,y,z)"));
ct.addParameter(new Parameter(WRFEta.PerturbationPressureVariable, "P"));
ct.addParameter(new Parameter(WRFEta.BasePressureVariable, "PB"));
if (cs.getXaxis() != null)
ct.addParameter(new Parameter(WRFEta.IsStaggeredX, ""+isStaggered(cs.getXaxis())));
else
ct.addParameter(new Parameter(WRFEta.IsStaggeredX, ""+isStaggered2(cs.getLonAxis(), 1)));
if (cs.getYaxis() != null)
ct.addParameter(new Parameter(WRFEta.IsStaggeredY, ""+isStaggered(cs.getYaxis())));
else
ct.addParameter(new Parameter(WRFEta.IsStaggeredY, ""+isStaggered2(cs.getLonAxis(), 0)));
ct.addParameter(new Parameter(WRFEta.IsStaggeredZ, ""+isStaggered(cs.getZaxis())));
ct.addParameter(new Parameter("eta", ""+cs.getZaxis().getFullName()));
return ct;
}