When we run the ISCE3 InSAR workflow using the Docker, there are some permission issues related to the HRRR Herbie package with the error showing below,
/opt/conda/lib/python3.9/site-packages/nisar/workflows/ionosphere.py:1063: UserWarning: swmr=True only affects read ('r') mode. For swmr write mode, set f.swmr_mode = True after opening the file.
with h5py.File(iono_output, 'a', libver='latest', swmr=True) as dst_h5:
/opt/conda/lib/python3.9/site-packages/nisar/workflows/geocode_insar.py:1081: UserWarning: swmr=True only affects read ('r') mode. For swmr write mode, set f.swmr_mode = True after opening the file.
with h5py.File(output_hdf5, "a", libver='latest', swmr=True) as dst_h5:
Traceback (most recent call last):
File "/opt/conda/lib/python3.9/pathlib.py", line 1323, in mkdir
self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/.config/herbie'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/opt/conda/lib/python3.9/site-packages/nisar/workflows/insar.py", line 123, in <module>
run(insar_runcfg.cfg, out_paths, persist.run_steps)
File "/opt/conda/lib/python3.9/site-packages/nisar/workflows/insar.py", line 92, in run
troposphere.run(cfg, out_paths['GUNW'])
File "/opt/conda/lib/python3.9/site-packages/nisar/workflows/troposphere.py", line 413, in run
tropo_delay_datacube = compute_troposphere_delay(cfg, gunw_hdf5)
File "/opt/conda/lib/python3.9/site-packages/nisar/workflows/troposphere.py", line 157, in compute_troposphere_delay
from RAiDER.models.hres import HRES
File "/opt/conda/lib/python3.9/site-packages/RAiDER/models/__init__.py", line 5, in <module>
from .hrrr import HRRR, HRRRAK
File "/opt/conda/lib/python3.9/site-packages/RAiDER/models/hrrr.py", line 8, in <module>
from herbie import Herbie
File "/opt/conda/lib/python3.9/site-packages/herbie/__init__.py", line 136, in <module>
_config_path.parent.mkdir(parents=True, exist_ok=True)
File "/opt/conda/lib/python3.9/pathlib.py", line 1327, in mkdir
self.parent.mkdir(parents=True, exist_ok=True)
File "/opt/conda/lib/python3.9/pathlib.py", line 1323, in mkdir
self._accessor.mkdir(self, mode)
PermissionError: [Errno 13] Permission denied: '/.config'
total processing time: 0.029475927352905273 sec
file saved: scratch/rubbersheet_offsets/groundTrackVelocity.tif
╭─────────────────────────────────────────────────╮
│ I'm building Herbie's default config file. │
╰╥────────────────────────────────────────────────╯
👷🏻♂️
2023-10-31T20:32:39.807735Z, Error, PGE::insar_pge.py, run_sas_program, 703004, /opt/pge/l1_l2/sas_runner.py:79, "SAS program failed with exit code 1"
2023-10-31T20:32:39.830471Z, Info, PGE::insar_pg
Describe the bug
Hi @bbuzz31 and @jhkennedy ,
When we run the ISCE3 InSAR workflow using the Docker, there are some permission issues related to the HRRR Herbie package with the error showing below,
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem her