TransWikia.com

Installing packages for ACOLITE atmospheric correction; RuntimeError - HDF4 DLLs

Geographic Information Systems Asked by Lukáš Tůma on February 8, 2021

I would like to use ACOLITE atmospheric correction with python, however, I cannot install pyhdf.

The RuntimeError is following:

RuntimeError: Cannot find required HDF4 DLLs -- check LIBRARY_DIRS

I was googling, however I didn’t find any specific answer for the error.

What should I do?

I am a Windows user. However, I can use in an emergency the WSL Debian.

One Answer

With help of @Mikkel Lydholm Rasmussen, I've found the answer.

The main issue is in installing pyhdf with help of pip, but it should be successful with:

the conda install -c conda-forge pyhdf

Don't worry to install Anaconda beside the solo python installation and use Anaconda Prompt for the manipulation. I also recommend installing other packages in the new environment:

conda create -n my_env pyhdf ipykernel

Generally, other packages (GDAL) for ACOLITE will be incompatible with Anaconda standard distribution.

Answered by Lukáš Tůma on February 8, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP