Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No isce.log file #58

Closed
shubhayanroychowdhury opened this issue Aug 21, 2023 · 17 comments
Closed

No isce.log file #58

shubhayanroychowdhury opened this issue Aug 21, 2023 · 17 comments

Comments

@shubhayanroychowdhury
Copy link

shubhayanroychowdhury commented Aug 21, 2023

@insarwxw @alexisInSAR
Hi,
When I run topsApp.py -h for testing purpose, I got permission error.
Screenshot from 2023-08-21 13-57-01

When I go to applications folder, there is no isce.log file.
Screenshot from 2023-08-21 13-59-41
Thank you for your time and consideration.

Best regards,
Shubhayan Roy Chowdhury

@alexisInSAR
Copy link
Owner

Hi,

I assume that this error is not abnormal because you have run the script in the "script/software" directory. Please run the same script in your working directory: the log file should be created with the correct permissions.

Kind regards,

Alexis

@shubhayanroychowdhury
Copy link
Author

shubhayanroychowdhury commented Aug 21, 2023

@alexisInSAR
Hi,

I apologize if I've misunderstood anything, but I was wondering if the "topsApp.py" file is located within the application folder, Would you kindly clarify whether I should run this script in the application directory or if there is a different directory where it needs to be executed? Your assistance would be greatly appreciated.

Thank you for your time.

best regards,
Shubhayan Roy Chowdhury

@alexisInSAR
Copy link
Owner

If your PATH variable is correct (via .bashrc or config file), you can run the ISCE scripts anywhere.

Kind regards,

Alexis

@shubhayanroychowdhury
Copy link
Author

shubhayanroychowdhury commented Aug 21, 2023

@alexisInSAR
Thank you so much for your guidance. And one more thing I would like to ask, I got this error then when I run 'python PyAPS/tests/test_dload.py'.
Screenshot from 2023-08-21 15-36-21

Best regards,
Shubhayan Roy Chowdhury

@alexisInSAR
Copy link
Owner

I think you have forgotten to run the correct conda environment.

conda activate InSARenv

Try again. If the command does not work:

conda install -c conda-forge pyaps3

Kind regards,

Alexis

@shubhayanroychowdhury
Copy link
Author

I run commands as you mentioned, now I got this error.
Screenshot from 2023-08-21 15-44-33
Thank you for giving me your time.

Best regards,
Shubhayan Roy Chowdhury

@alexisInSAR
Copy link
Owner

Okay. The command works for me. The error is not linked to the Python environment (missed files for example).

Kind regards,

Alexis

@shubhayanroychowdhury
Copy link
Author

Can you give me any suggestion on how to solve this error?. That would be really helpful for me.

Best regards,
Shubhayan Roy Chowdhury

@shubhayanroychowdhury
Copy link
Author

@alexisInSAR
hi,
Also, I did not find this mt_prep_isce.
Screenshot from 2023-08-21 17-08-14
I only get prep_isce in Stamps folder that is
Screenshot from 2023-08-21 17-10-57
I am actually new, It really helps me if you guide me.

best regards
Shubhayan Roy Chowdhury

@alexisInSAR
Copy link
Owner

Normal, this function is in the Contrib directory with ISCE.

Alexis

@shubhayanroychowdhury
Copy link
Author

shubhayanroychowdhury commented Aug 22, 2023

@alexisInSAR
Hi,
I did not find this mt_prep_isce in contrib directory.

Screenshot from 2023-08-22 16-40-40

Best regards,
Shubhayan Roy Chowdhury

@alexisInSAR
Copy link
Owner

alexisInSAR commented Aug 23, 2023

What is the output of:

echo $PATH 

@shubhayanroychowdhury
Copy link
Author

shubhayanroychowdhury commented Aug 23, 2023

Hi,
This is the output of
Screenshot from 2023-08-23 18-55-01

Best regards,
Shubhayan Roy Chowdhury

@alexisInSAR
Copy link
Owner

Okay.

For me, all the required directories are in this variable. However, I don't understand why you have a /home2/ directory?

Where is ISCE installed? What is its path?

@shubhayanroychowdhury
Copy link
Author

shubhayanroychowdhury commented Aug 24, 2023

Hi,
Should I keep all files into one directory?
This is the path.
Screenshot from 2023-08-24 11-05-51

Best regards

@alexisInSAR
Copy link
Owner

Okay. You have two solutions:

  1. you can add this path in the PATH variable: /home2/tools_insar/proc_insar/tool_DIR/ISCE/contrib/timeseries/prepStackToStaMPS/bin
  2. The installation directories are not correct. tool_DIR should not be a directory because it should be a bash variable. I assume that a mistake was made during the installation.

Kind regards,

Alexis

@shubhayanroychowdhury
Copy link
Author

Hi,

Thank you so much for your time and guidance. I will do it and let you know.

Best regards

Repository owner locked and limited conversation to collaborators Aug 27, 2023
@alexisInSAR alexisInSAR converted this issue into discussion #59 Aug 27, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants