def extractLongitudeFromNWPGrid(fieldimpl): """Get the longitude coordinate from a grid. Return a grid of the longitudes at each point. """ ff = DerivedGridFactory.createLongitudeGrid(fieldimpl) return ff