ACCESS-Cloud-Based-InSAR / DockerizedTopsApp

Apache License 2.0
21 stars 2 forks source link

Needs ion processing template(s) to be included #125

Closed cmarshak closed 1 year ago

cmarshak commented 1 year ago

Describe the bug The topsapp template xml file is not included because of the gitignore. See the log below.

This is a simple fix. Upload the gitignore and do something like this.

To Reproduce Here is the failing job:

{'job_id': 'b7dd2661-24d5-43ab-bca3-51a477cd9b4f',
  'job_type': 'INSAR_ISCE_TEST',
  'request_time': '2023-03-31T17:28:11+00:00',
  'status_code': 'FAILED',
  'user_id': 'cmarshak',
  'name': 'Los-Angeles-0_64_HRRR_0331',
  'job_parameters': {'compute_solid_earth_tide': True,
   'estimate_ionosphere_delay': True,
   'frame_id': 9848,
   'granules': ['S1A_IW_SLC__1SDV_20220218T015005_20220218T015035_041961_04FF34_65A4',
    'S1A_IW_SLC__1SDV_20220218T015033_20220218T015101_041961_04FF34_E691'],
   'secondary_granules': ['S1A_IW_SLC__1SDV_20220125T015006_20220125T015036_041611_04F317_D09A',
    'S1A_IW_SLC__1SDV_20220125T015034_20220125T015102_041611_04F317_A805'],
   'weather_model': 'HRRR'},
  'logs': ['https://hyp3-a19-jpl-contentbucket-1wfnatpznlg8b.s3.us-west-2.amazonaws.com/b7dd2661-24d5-43ab-bca3-51a477cd9b4f/b7dd2661-24d5-43ab-bca3-51a477cd9b4f.log'],
  'expiration_time': '2023-09-28T00:00:00+00:00',
  'processing_times': [6227.902]}

As noted in the log:

Traceback (most recent call last):
  File "/opt/conda/envs/topsapp_env/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/conda/envs/topsapp_env/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/opt/conda/envs/topsapp_env/lib/python3.9/site-packages/isce2_topsapp/__main__.py", line 340, in <module>
    main()
  File "/opt/conda/envs/topsapp_env/lib/python3.9/site-packages/isce2_topsapp/__main__.py", line 336, in main
    sys.exit(process_entry_point.load()())
  File "/opt/conda/envs/topsapp_env/lib/python3.9/site-packages/isce2_topsapp/__main__.py", line 190, in gunw_slc
    iono_processing(
  File "/opt/conda/envs/topsapp_env/lib/python3.9/site-packages/isce2_topsapp/iono_proc.py", line 79, in iono_processing
    with open(TEMPLATE_DIR / "topsapp_iono_template.xml", "r") as file:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/conda/envs/topsapp_env/lib/python3.9/site-packages/isce2_topsapp/templates/topsapp_iono_template.xml'