Gradient of Unstructured Grid using Python

Hi All,

From last couple of days I am trying to find derivative of pressure for each direction. The pressure data is on an unstructured grid (curvilinear grid coordinate). I did try to get it many ways but It is not looking perfect in values. I have the data in .mat file and .nc file extension. Can any one please help me to get it right?