def METHOD_NAME(self, grossweight):
    """
    Ceiling altitude of aircraft for given weight [lbs]. Computed by
    a polynomial with arbitrary number of terms.
    Args:
        grossweight:  total weight of the aircraft in lbs
    """
    if hasattr(self, "_ceiling_poly"):
        maxFL = int(np.polyval(self._ceiling_poly, grossweight))
    else:
        logging.error("No data stored for computation of ceiling altitude. "
                      "Please reload performance data from JSON.")
        maxFL = 410
    return maxFL