Atmospheric Toolbox

Module 'harp' has no attribute 'import_product'

Hi, I’m trying to read a Sentinel-5P Level-2 OFFL NO2 product using the harp python interface and the command harp.import_product.
I get the error “module ‘harp’ has no attribute ‘import_product’”.
Typing dir(harp) I get only:
[‘doc’, ‘loader’, ‘name’, ‘package’, ‘path’, ‘spec’].
I guess that some problems occurred during harp configuration, despite no errors displayed. Below the details of the configuration and installation process:

Invocation command line was:
$ ./configure --enable-python PYTHON=/usr/bin/python3.6 --with-hdf4 HDF4_LIB=/home/liliana/Scaricati/hdf-4.2.13/hdf4/lib/ HDF4_INCLUDE=/home/liliana/Scaricati/hdf-4.2.13/hdf4/include --with-hdf5 HDF5_LIB=/home/liliana/Scaricati/hdf5-1.10.6/hdf5/lib HDF5_INCLUDE=/home/liliana/Scaricati/hdf5-1.10.6/hdf5/include

Unfortunately I’m unable to attach the config.log file to this post. How can I do?

The output of make is:
~/Scaricati/harp-1.11$ make
make all-am
make[1]: ingresso nella directory “/home/liliana/Scaricati/harp-1.11”
make[1]: uscita dalla directory “/home/liliana/Scaricati/harp-1.11”

Any help is very much appreciated.


Please check the output on the console for error messages. This usually explains what is going wrong.

Attaching of log files is not allowed on this forum. You can create an issue on github if you want to share the config.log file. But please first check the error messages yourself.

Thanks a lot for your reply!
The problem for me was the absence of error messages to check.
Aware that it was related to Python, I “solved” using Anaconda.