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
23 stars 9 forks source link

Not searching data (Checking all HyP3 projects for current INSAR_GAMMA jobs is not working) #16

Closed Deva234678 closed 3 months ago

Deva234678 commented 4 months ago

Notebook name opensarlab_MintPy_Recipe_Book Version

Describe the bug A clear and concise description of what the bug is. its not checking data from earth data account and table of contents nothing is there

To Reproduce Steps to reproduce the behavior:

  1. Go to 'opensarlab_MintPy_Recipe_Book Version'
  2. Click on '3_Access_HyP3_Data'
  3. Scroll down to 'cell number 8'
  4. See error "NameError Traceback (most recent call last) Cell In[10], line 11 7 for project in tqdm(my_hyp3_info['job_names']): 8 batch = Batch() 9 batch = hyp3.find_jobs( 10 name=project, ---> 11 job_type=product_type 12 ).filter_jobs(running=False, include_expired=False) 13 if len(batch) > 0: 14 active_projects.update({batch.jobs[0].name: batch})

NameError: name 'product_type' is not defined"

Expected behavior A clear and concise description of what you expected to happen. "It should fetch data from earth data account. so i can choose my Ondemand HyP3 data"

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

Are you running locally or in OpenSARLab? OpenSARLab System Info (If not working in OpenSARLab):

Data Details of your InSAR SBAS stack, if applicable to your problem: Polav_ISCE_1 is the project name

Additional context Add any other context about the problem here. After this only i can run next step so rectify quickly.

Alex-Lewandowski commented 3 months ago

Hi @Deva234678, It appears that you skipped running the proceeding code cell, which initializes the product_type variable.

image

https://github.com/ASFOpenSARlab/opensarlab_MintPy_Recipe_Book/blob/main/3_Access_HyP3_Data.ipynb?short_path=6ddd836#L216-L225