ASFOpenSARlab / opensarlab_MintPy_Recipe_Book

A Jupyter-Book containing data recipes for creating HyP3 Sentinel-1 IINSAR_GAMMA and INSAR_ISCE_BURST Small Baseline Subset (SBAS) Time Series Analyses with MintPy
BSD 3-Clause "New" or "Revised" License
14 stars 5 forks source link

"IndexError: list index out of range", when running "1. Build the opensarlab_mintpy_recipe_book Conda Environment¶" #5

Closed SlientR closed 3 months ago

SlientR commented 4 months ago

Hi,

I installed and activated hyp3-docs, using conda; download opensarlab_MintPy_Recipe_Book github, and navigate to it within anaconda, ran "Jupyter notebook, and ran "1_Software_Environment.ipynb", but I got an error of "list out of range", for the command "conda_yaml_pth = list(Path.cwd().glob(yaml_name))[0]".

Please see the screenshot attached. I highly appreciate your help in resolving the problem;

error
Alex-Lewandowski commented 3 months ago

Hi @SilentR,

I apologize for not responding sooner! It sounds like you are running this locally. While it was written to run in the OpenSARLab JupyterHub, we would like to support running it on a local computer as well. Can you provide some details about your system and how you are running the notebooks? What operating system are you using? Did you move the notebook to a new directory after cloning the repository? Is there an environment_locked.yaml file in the same directory as the notebook? What is the output if you create a new code cell and run the command !pwd? How about !ls?

Alex-Lewandowski commented 3 months ago

@SlientR I am closing this as a stale issue, but please reopen it if you are still having trouble.