I need a Python Code

Job ID: 32238308

Budget: $15 – $25 USD

There is currently a FORTRAN code that is able to give you the G value for a given pressure (P) and enthalpy (h). There are seven methods to do so, with the first five from interpolating data tables and the last two from equations Create a python function that is able to provide the G value for a specific method type, P, and h value. Verify this with the values in the Instructions Document and provide the source code for final output along with verified values from the code and by hand (some are specified in the document). Attached is also a potential method for the HEM segment of the code. I was not able to get it to work on my end but perhaps it can be altered to work (or by potentially utilizing the griddata scipy function) The necessary data tables are attached as well.