Closed zk19991208 closed 1 year ago
What error is being thrown when you try to use the vorticity constraint? Could you be more specific about what the syntax error is? It's difficult to see any error with the code the way this is presented.
Thanks for the reply, Figure 2 _cost_functions_numpy.calculate_vertical_vorticity_cost doesn't have a keyword argument upper_bc but Figure 1 has one.It made my code wrong.
I've fixed this with PR #95 !
The use of '_cost_functions_numpy. calculate_vertical_vorticity-gradient' should be identifed with its usage.