isce-framework / isce-framework/isce3
alos2_to_nisar_l1.py can't convert alos2 ceos to h5
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 239
- Forks
- 90
- Avg merge
- 13d 1h
- Merged PRs (30d)
- 5
Description
os : centos 7
python: 3.9
cxx: gcc11
i use alos2_to_nisar_l1.py to convert alos2 ceos to h5, but i get the follow error:
$ /python/bin/python3 /home/testUser/isce/share/nisar/examples/alos2_to_nisar_l1.py -l HH -i /home/testUser/test/ceos/0000471428_001001_ALOS2441290770-220725/ -o /home/testUser/test/ceos/output-hh2.h5
looking for available polarizations...
found polarization: HH
HDF5-DIAG: Error detected in HDF5 (1.12.2) thread 0:
#000: H5O.c line 1175 in H5Ovisit_by_name3(): invalid location identifier
major: Invalid arguments to routine
minor: Inappropriate type
#001: H5VLint.c line 1741 in H5VL_vol_object(): invalid identifier
major: Invalid arguments to routine
minor: Inappropriate type
HDF5-DIAG: Error detected in HDF5 (1.12.2) thread 0:
#000: H5D.c line 132 in H5Dcreate2(): invalid location identifier
major: Invalid arguments to routine
minor: Inappropriate type
Traceback (most recent call last):
File "/home/testUser/isce/share/nisar/examples/alos2_to_nisar_l1.py", line 720, in
process(args=args)
File "/home/testUser/isce/share/nisar/examples/alos2_to_nisar_l1.py", line 139, in process
orbit = construct_nisar_hdf5(args.outh5, leader)
File "/home/testUser/isce/share/nisar/examples/alos2_to_nisar_l1.py", line 253, in construct_nisar_hdf5
set_h5_orbit(orbit_group, orbit)
File "/home/testUser/isce/share/nisar/examples/alos_to_nisar_l0b.py", line 141, in set_h5_orbit
orbit.save_to_h5(group)
RuntimeError: Caught an unknown exception!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the reported alos2_to_nisar_l1.py command and inspect process(), construct_nisar_hdf5(), and set_h5_orbit() in the traceback. Read the related orbit-saving code in alos_to_nisar_l0b.py, then verify that the ALOS-2 CEOS input converts to the requested output HDF5 file without the HDF5 identifier errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100