public ProjectionCT makeCoordinateTransform ( AttributeContainer ctv , String units ) { int [ ] area = getIntArray ( ctv , McIDASAreaProjection . ATTR_AREADIR ) ; int [ ] nav = getIntArray ( ctv , McIDASAreaProjection . ATTR_NAVBLOCK ) ; int [ ] aux = null ; if ( ctv . findAttributeIgnoreCase ( McIDASAreaProjection . ATTR_AUXBLOCK ) != null ) { aux = getIntArray ( ctv , McIDASAreaProjection . ATTR_AUXBLOCK ) ; } // not clear if its ok if aux is null, coverity is complaining McIDASAreaProjection proj = new McIDASAreaProjection ( area , nav , aux ) ; return new ProjectionCT ( ctv . getName ( ) , "FGDC" , proj ) ; }
Make the coordinate transform