hirokawa / cssrlib

Python Toolkit for satellite-based open PPP/PPP-RTK services
MIT License
102 stars 34 forks source link

DLL load failed while importing solid (windows) #53

Closed Oussamaaat closed 1 month ago

Oussamaaat commented 1 month ago

i get this error when i try to run the imports in ppprtk for example looks like theres a problem whith cssrlib.ppprtk OR pysolid ?! but not sure... i followed all the steps and installed all the prequisites (normally..)


ImportError Traceback (most recent call last) Cell In[2], line 12 10 from cssrlib.gnss import rSigRnx, sys2str 11 from cssrlib.peph import atxdec, searchpcv ---> 12 from cssrlib.ppprtk import ppprtkpos 13 from cssrlib.rinex import rnxdec

File d:\test_gnss\gnss\Lib\site-packages\cssrlib\ppprtk.py:6 1 """ 2 module for PPP-RTK positioning 3 """ 5 import numpy as np ----> 6 from cssrlib.pppssr import pppos 9 class ppprtkpos(pppos): 10 """ class for PPP-RTK processing """

File d:\test_gnss\gnss\Lib\site-packages\cssrlib\pppssr.py:11 9 from cssrlib.gnss import uTropoModel, ecef2pos, tropmodel, geodist, satazel 10 from cssrlib.gnss import time2str, timediff, gpst2utc, tropmapf ---> 11 from cssrlib.ppp import tidedisp, tidedispIERS2010, uTideModel 12 from cssrlib.ppp import shapiro, windupcorr 13 from cssrlib.peph import antModelRx, antModelTx

File d:\test_gnss\gnss\Lib\site-packages\cssrlib\ppp.py:9 ... ----> 9 from pysolid.solid import solid_grid 12 def nutiau1980(t, f): 13 """ define IAU1980 nutation """

ImportError: DLL load failed while importing solid: The specified module could not be found. Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...

hirokawa commented 1 month ago

I am using cssrlib without DLL error in Windows 11. For pysolid, it may be the cause of the issue, please try to disable it.

Oussamaaat commented 1 month ago

thanks for your feedback! will disabling pysolid impact the results? (no tide corrections will be made?)

hirokawa commented 1 month ago

In pppssr.py, there are lines:

    self.nav.tidecorr = uTideModel.IERS2010
    # self.nav.tidecorr = uTideModel.SIMPLE

Please comment the 1st line, uncomment the 2nd line. In this case, the simplified tide model is used instead of IERS2010. I think that the performance difference is very small.

Oussamaaat commented 1 month ago

thank you very much, it runs now without any errors using the simple model.