-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alos2_to_nisar_l1.py can't convert alos2 ceos to h5 #12
Comments
My guess is that your h5py and isce3 are linked against different versions of the HDF5 library. You might be able to confirm this with python3 -c "import h5py; print(h5py.__file__)" and there should be a bunch of *.so files in the same directory. You can run The isce3 developers plan to refactor the code to avoid sharing HDF5 objects between the C++ and Python layers, but that effort will take some time. |
|
i compile hdf5-1.12.2.tar.gz |
Still need to see the output of ldd on one of the .so files in |
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
#1: 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!
The text was updated successfully, but these errors were encountered: