kristinemlarson / gnssrefl

GNSS Interferometric Reflectometry Software (GNSS-IR)
GNU General Public License v3.0
151 stars 75 forks source link

How to use windowss&pycharm #191

Closed Baizitang closed 1 year ago

Baizitang commented 1 year ago

How to install using Windows and pycharm? Can you post a tutorial or video tutorial? I've failed to install it many times in the last few days.

kristinemlarson commented 1 year ago

on windows you can only run gnssrefl in a docker. i am not sure what pycharm is. you could try contacting tim dittmann.

On Thu, Sep 14, 2023 at 4:37 PM Baizitang @.***> wrote:

How to install using Windows and pycharm? Can you post a tutorial or video tutorial? I've failed to install it many times in the last few days.

— Reply to this email directly, view it on GitHub https://github.com/kristinemlarson/gnssrefl/issues/191, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSDAPH6SVDVWM2L3BQZH7LX2MJCDANCNFSM6AAAAAA4YHBANY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Kristine M. Larson Professor Emerita, University of Bonn @.*** https://www.kristinelarson.net http://www.kristinelarson.net https://gnss-reflections.org https://github.com/kristinemlarson

Are you waiting for your code to be perfect?

Baizitang commented 1 year ago

pycharm is a compiler for the python language, I want to use it, it is more convenient for me to run native and view python directly. Since I'm not familiar with jupyter, I failed to install it on windows. Then I tried to install it on the virtual machine according to your document, but there was a problem at last and it was not solved successfully. Have you ever encountered this problem in the picture? Thank you very much!!!

Baizitang commented 1 year ago

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for gnssrefl Failed to build gnssrefl ERROR: Could not build wheels for gnssrefl, which is required to install pyproject.toml-based projects Image_1694687828626

kristinemlarson commented 1 year ago

I have cc'ed tim dittmann on this thread. if he were ever to have any chance of helping you install a docker (and that is what i suggested you do), you would have to follow the instructions for posting issues, which i have copied for you.

Screenshots If applicable, add screenshots to help explain your problem.

System (please complete the following information):

OS: [e.g. macOS, windows, etc...]

Method you are running the code: Locally via github Docker (please first make sure you are running the current docker image before reporting bug) Jupyter notebook locally Jupyter notebook via docker

Describe the bug A clear and concise description of what the bug is.

To Reproduce

  1. commands run up to point of bug
  2. command used when bug appeared
  3. include error
  4. Expected behavior A clear and concise description of what you expected to happen.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Method you are running the code

System (please complete the following information):

Additional context Add any other context about the problem here.

Baizitang commented 1 year ago

Thanks for your reply, I will describe the circumstances of my mistake. I am running the installer on a windows virtual machine, Linux system. gnssrefl was downloaded and copied from github without cloning. The virtual environment and python versions are both 3.9. This error occurs after running the command "pip install." The command line runs for a long time, and finally the error in the screenshot appears. I'm sorry I'm not near the computer right now, just a screenshot Image_1694687828626

timdittmann commented 1 year ago

Hi @Baizitang : per the docs, is gfortran installed on the ubuntu vm? gfortran --version As @kristinemlarson suggests, if you use the docker you shouldn't need to manage these dependencies.

Baizitang commented 1 year ago

Thank you for reminding me,I will check again and try again to reinstall. If it still goes wrong, I try to use docker. Thank you so much for your response.

Baizitang commented 1 year ago

Hi, I am very happy that I successfully installed gnssrefl with docke and ran some code successfully.

Now my question is, how can I calculate my local data, this site is not publicly available on the Web.

I used igs shao and hksl site data to generate snr, whether it was generated locally or downloaded, it was successful. However, using my own site, whether it is rinex2 with only gps data, or o files in rinex3 format with gps, beidou, Glonass, Galieo, I tried several formats without success. I would like to ask what format is the o file that I need to provide and what data is inside. Due to my poor English ability, I still haven't made a clear understanding after reading the document, so I would like to ask you these questions.

In addition, I also want to know whether I still need to provide sp3 and n files to the local, I tried to put sp3 and n files into the corresponding place, but still failed to generate snr files.

I would appreciate it if you have time to reply.

Hi, I am very happy that I successfully installed gnssrefl with docke and ran some code successfully.

Now my question is, how can I calculate my local data, this site is not publicly available on the Web.

I used igs shao and hksl site data to generate snr, whether it was generated locally or downloaded, it was successful. However, using my own site, whether it is rinex2 with only gps data, or o files in rinex3 format with gps, beidou, Glonass, Galieo, I tried several formats without success. I would like to ask what format is the o file that I need to provide and what data is inside. Due to my poor English ability, I still haven't made a clear understanding after reading the document, so I would like to ask you these questions.

In addition, I also want to know whether I still need to provide sp3 and n files to the local, I tried to put sp3 and n files into the corresponding place, but still failed to generate snr files.

I would appreciate it if you have time to reply. image

kristinemlarson commented 1 year ago

Your screen output says to look in the logs directory. Did you do that? Look for a file that has your station name in it. Read the contents.

Baizitang commented 1 year ago

Thank you very much for your patient reply. I feel guilty for my clumsiness.