Skip to content

ValueError: Compression filter "default" is unavailable #129

@Basin-Ir

Description

@Basin-Ir

Does anyone know what the problem is?

(sarvey) behzadsarhadi@Basin:~/PichinchaSenDT142/miaplpy$ python /home/behzadsarhadi/miniconda3/envs/sarvey/lib/python3.10/site-packages/miaplpy/miaplpyApp.py /home/behzadsarhadi/PichinchaSenDT142/PichinchaSenDT142.txt --dostep load_data
Using default MintPy Path: /home/behzadsarhadi/miniconda3/envs/sarvey/lib/python3.10/site-packages
--------------------------------------------------
MiaplPy version v0.2.1, date 2023-08-22
--RUN-at-2025-10-24 15:16:52.092630--
Current directory: /home/behzadsarhadi/PichinchaSenDT142/miaplpy
Run routine processing with arg_parser.py on steps: ['load_data']
Remaining steps: ['phase_linking', 'concatenate_patches', 'generate_ifgram', 'unwrap_ifgram', 'load_ifgram', 'ifgram_correction', 'invert_network', 'timeseries_correction']
Project name: PichinchaSenDT142
--------------------------------------------------
20251024:151652 * miaplpyApp.py /home/behzadsarhadi/PichinchaSenDT142/PichinchaSenDT142.txt --dostep load_data
Project name: PichinchaSenDT142
Go to work directory: /home/behzadsarhadi/PichinchaSenDT142/miaplpy
copy default template file /home/behzadsarhadi/miniconda3/envs/sarvey/lib/python3.10/site-packages/mintpy/defaults/smallbaselineApp.cfg to work directory
read custom template file: /home/behzadsarhadi/PichinchaSenDT142/PichinchaSenDT142.txt
update default template based on input custom template
    mintpy.compute.cluster: auto --> local
    mintpy.compute.numWorker: auto --> 8
    mintpy.reference.lalo: auto --> -0.1786, -78.5933
    mintpy.troposphericDelay.method: auto --> no
copy smallbaselineApp.cfg  to inputs   directory for backup.
copy smallbaselineApp.cfg  to pic      directory for backup.
read default template file: /home/behzadsarhadi/PichinchaSenDT142/miaplpy/smallbaselineApp.cfg
update default template based on input custom template
    miaplpy.load.compression: default --> auto
    mintpy.load.processor: auto --> isce
copy miaplpyApp.cfg to inputs   directory for backup.
read default template file: /home/behzadsarhadi/PichinchaSenDT142/miaplpy/miaplpyApp.cfg
    miaplpy.load.compression: auto --> default
    miaplpy.load.autoPath: yes --> yes
    miaplpy.subset.yx: no --> no
    miaplpy.subset.lalo: -0.199:-0.142,-78.612:-78.578 --> -0.199:-0.142,-78.612:-78.578
There are 8 workers available, numWorker is changed to 8
SAR platform/sensor : Sen
processor: isce
check auto path setting for Univ of Miami users for processor: isce
--------------------------------------------------
prepare metadata files for isce products
prep_slc_isce.py -s ../merged/SLC -f *.slc.full -m ../reference/IW3.xml -b ../baselines -g ../merged/geom_reference --force
extract metadata from ISCE/topsStack xml file: ../reference/IW3.xml
extract metadata from geometry files: ['hgt.rdr.full', 'lat.rdr.full', 'lon.rdr.full', 'los.rdr.full']
writing  ../reference/data.rsc
prepare .rsc file for geometry files
write file: ../merged/geom_reference/hgt.rdr.full.rsc
write file: ../merged/geom_reference/lat.rdr.full.rsc
write file: ../merged/geom_reference/lon.rdr.full.rsc
write file: ../merged/geom_reference/los.rdr.full.rsc
write file: ../merged/geom_reference/shadowMask.rdr.full.rsc
read perp baseline time-series from ../baselines
preparing RSC file for  *.slc.full
[==================================================] 20160419_20171228    0s /     0s
prep_slc_isce.py: Done.
Loading  ....  ../merged/geom_reference/lat.rdr.full
Loading ....  ../merged/geom_reference/lon.rdr.full
input bounding box of interest in lalo: (-78.612, -0.142, -78.578, -0.199)
box to read for datasets in y/x: (np.int64(17), np.int64(12), np.int64(1678), np.int64(524))
--------------------------------------------------
searching slcs info
input data files:
slc             : ../merged/SLC/*/*.slc.full
number of slc             : 46
----- Number of interferograms in the selected network: 45 -----


<><><><><><><><><> step 1 - load_data (MiaplPy) <><><><><><><><><><>
Generate /home/behzadsarhadi/PichinchaSenDT142/miaplpy/network_single_reference/run_files/run_01_miaplpy_load_data
/home/behzadsarhadi/PichinchaSenDT142/miaplpy
20251024:151659 * load_slc_geometry.py --template /home/behzadsarhadi/PichinchaSenDT142/miaplpy/miaplpyApp.cfg --project_dir /home/behzadsarhadi/PichinchaSenDT142 --work_dir /home/behzadsarhadi/PichinchaSenDT142/miaplpy
SAR platform/sensor : Sen
processor: isce
check auto path setting for Univ of Miami users for processor: isce
Loading  ....  ../merged/geom_reference/lat.rdr.full
/home/behzadsarhadi/miniconda3/envs/sarvey/lib/python3.10/site-packages/osgeo/gdal.py:311: FutureWarning: Neither gdal.UseExceptions() nor gdal.DontUseExceptions() has been explicitly called. In GDAL 4.0, exceptions will be enabled by default.
  warnings.warn(
Loading ....  ../merged/geom_reference/lon.rdr.full
input bounding box of interest in lalo: (-78.612, -0.142, -78.578, -0.199)
box to read for datasets in y/x: (np.int64(17), np.int64(12), np.int64(1678), np.int64(524))
--------------------------------------------------
searching slcs info
input data files:
slc             : ../merged/SLC/*/*.slc.full
number of slc             : 46
--------------------------------------------------
searching geometry files info
input data files:
height          : ../merged/geom_reference/hgt.rdr.full
latitude        : ../merged/geom_reference/lat.rdr.full
longitude       : ../merged/geom_reference/lon.rdr.full
incidenceAngle  : ../merged/geom_reference/los.rdr.full
azimuthAngle    : ../merged/geom_reference/los.rdr.full
shadowMask      : ../merged/geom_reference/shadowMask.rdr.full
--------------------------------------------------
create HDF5 file /home/behzadsarhadi/PichinchaSenDT142/miaplpy/inputs/slcStack.h5 with a mode
create dataset /slc of <class 'numpy.complex64'> in size of (46, 512, 1661) with compression = default
Traceback (most recent call last):
  File "/home/behzadsarhadi/miniconda3/envs/sarvey/bin/load_slc_geometry.py", line 7, in <module>
    sys.exit(main())
  File "/home/behzadsarhadi/miniconda3/envs/sarvey/lib/python3.10/site-packages/miaplpy/load_slc_geometry.py", line 104, in main
    stackObj.write2hdf5(outputFile=inps.out_file[0],
  File "/home/behzadsarhadi/miniconda3/envs/sarvey/lib/python3.10/site-packages/miaplpy/objects/slcStack.py", line 152, in write2hdf5
    ds = f.create_dataset(dsName,
  File "/home/behzadsarhadi/miniconda3/envs/sarvey/lib/python3.10/site-packages/h5py/_hl/group.py", line 193, in create_dataset
    dsid = dataset.make_new_dset(group, shape, dtype, data, name, **kwds)
  File "/home/behzadsarhadi/miniconda3/envs/sarvey/lib/python3.10/site-packages/h5py/_hl/dataset.py", line 108, in make_new_dset
    dcpl = filters.fill_dcpl(
  File "/home/behzadsarhadi/miniconda3/envs/sarvey/lib/python3.10/site-packages/h5py/_hl/filters.py", line 190, in fill_dcpl
    raise ValueError('Compression filter "%s" is unavailable' % compression)
ValueError: Compression filter "default" is unavailable
Go back to directory: /home/behzadsarhadi/PichinchaSenDT142/miaplpy

###############################################################
Normal end of Non-Linear time series processing workflow!
##############################################################
Go back to directory: /home/behzadsarhadi/PichinchaSenDT142/miaplpy

################################################
   Normal end of miaplpyApp processing!
################################################
Time used: 00 mins 7.5 secs

(sarvey) behzadsarhadi@Basin:~/PichinchaSenDT142/miaplpy$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions