I used the Python version of Orekit's MP model for atmospheric refraction correction
Here is my code:
import orekit
vm = orekit.initVM()
from org.orekit.models.earth.troposphere import MendesPavlisModel
latitude=FastMath.toRadians(30.67166667)
longitude=FastMath.toRadians(-104.0250)
height=2010.344
pressure=798.4188
temperature=300.15
humidity=0.4
lambdad=0.532
point=GeodeticPoint(latitude, longitude, height)
date=AbsoluteDate(2009,8,12, TimeScalesFactory.getUTC())
elevation=15.0
MP_Model=MendesPavlisModel(temperature, pressure,humidity, lambda)
computedDelay = model.computeZenithDelay(point, model.getParameters(), date)
It gives:
'MendesPavlisModel' object has no attribute 'getParameters'
Can anyone help?