alexisInSAR / EZ-InSAR

Matlab Interface for Easy InSAR
GNU General Public License v3.0
105 stars 35 forks source link

No isce.log file #58

Closed shubhayanroychowdhury closed 10 months ago

shubhayanroychowdhury commented 10 months ago

@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 commented 10 months ago

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 commented 10 months ago

@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 commented 10 months ago

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

Kind regards,

Alexis

shubhayanroychowdhury commented 10 months ago

@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 commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago

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

Kind regards,

Alexis

shubhayanroychowdhury commented 10 months ago

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 commented 10 months ago

@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 commented 10 months ago

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

Alexis

shubhayanroychowdhury commented 10 months ago

@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 commented 10 months ago

What is the output of:

echo $PATH 
shubhayanroychowdhury commented 10 months ago

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

Best regards, Shubhayan Roy Chowdhury

alexisInSAR commented 10 months ago

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 commented 10 months ago

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

Best regards

alexisInSAR commented 10 months ago

Okay. You have two solutions:

  1. you can add this path in the PATH variable: _/home2/tools_insar/proc_insar/toolDIR/ISCE/contrib/timeseries/prepStackToStaMPS/bin
  2. The installation directories are not correct. _toolDIR 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 commented 10 months ago

Hi,

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

Best regards