Skip to content
Snippets Groups Projects
Commit faf1eea7 authored by Petrus Hyvönen's avatar Petrus Hyvönen
Browse files

Update README.txt

parent 1c0dc790
No related branches found
No related tags found
No related merge requests found
Loading
  • Hi, I'm having a problem with the Python version of Orekit. I used the Python version of Orekit's MP model for atmospheric refraction correction. However, the software prompts me that 'MendesPavlisModel' object has no attribute 'getParameters'. Can you help me? 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)
    Edited by Renfang GENG
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment