aria-jpl / coseismic_enumerator

Submits a given AOI's enumeration jobs for all intersecting POEORB's
Apache License 2.0
1 stars 0 forks source link

improve message #1

Closed al-niessner closed 3 years ago

al-niessner commented 3 years ago

From current run, the lack of an orbit file showed up and was handled correctly with this message:

Traceback (most recent call last):
  File "/home/ops/verdi/ops/coseismic_enumerator/iterate.py", line 53, in main
    try: active.process (aoi)
  File "/home/ops/verdi/ops/coseismic_enumerator/active.py", line 109, in process
    eofs = [orbit.fetch (acq) for acq in acqs]
  File "/home/ops/verdi/ops/coseismic_enumerator/active.py", line 109, in <listcomp>
    eofs = [orbit.fetch (acq) for acq in acqs]
  File "/home/ops/verdi/ops/coseismic_enumerator/orbit.py", line 62, in fetch
    if not orb and not any(mat): raise NoOrbitsAvailable(acquisition['id'])
orbit.NoOrbitsAvailable: acquisition-S1B_IW_SLC__1SDV_20210302T095524_20210302T095552_025834_0314C2_AAA5-esa_scihub

However, which AOI was this for?

riverma commented 3 years ago

Hi @al-niessner - I submitted this job via your crontab script, i.e. https://github.com/aria-jpl/coseismic_enumerator/blob/main/submit.py and don't have a clear way to tell you which AOI this was for from the job alone.

Do you have a procedure I could run through to provide you the AOI info?

al-niessner commented 3 years ago

This is a code change, assign it to me please.