Convicted felon Donald Trump's decision to attack Justice Merchan (& his daughter) repeatedly & in the most personal terms possible is a bold strategy. Justice Merchan now has complete discretion whether to sentence Trump to probation or imprisonment of up to 4 years. He can consider the contempts.
His appeal would be to the First Department Appellate Division (5 judge panel in Manhattan), and then possibly to the Court of Appeals (7 judges in Albany) and then theoretically to the US Supreme Court, but only on extremely narrow grounds.