Skip to main content
deleted 32 characters in body
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

I had the same issue and I would like to share my solution to the problem :

  1. First make sure that you have the necessary hdf4 drivers installed:

     apt-get install libhdf4-dev
     apt-get install proj-bin
     apt-get install libproj-dev
     apt-get install libgdal-dev
     apt-get install gdal-bin     # Thanks to user @mdsumner for this
    
  2. Then there seems to be a issue with the pyModis package itself as explained by Luca here: https://github.com/lucadelu/pyModis/issues/29#issuecomment-104800294

    So I removed pymodis and installed the new version directly form the Github site, run the following command

     sudo pip git+https://github.com/lucadelu/pyModis.git
    

And then to be sure run an upgrade and then TADA !!! Thethe HDF4 problem should be gone when you import pymodis.

Hope it helps

~cheers

I had the same issue and I would like to share my solution to the problem :

  1. First make sure that you have the necessary hdf4 drivers installed:

     apt-get install libhdf4-dev
     apt-get install proj-bin
     apt-get install libproj-dev
     apt-get install libgdal-dev
     apt-get install gdal-bin     # Thanks to user @mdsumner for this
    
  2. Then there seems to be a issue with the pyModis package itself as explained by Luca here: https://github.com/lucadelu/pyModis/issues/29#issuecomment-104800294

    So I removed pymodis and installed the new version directly form the Github site, run the following command

     sudo pip git+https://github.com/lucadelu/pyModis.git
    

And then to be sure run an upgrade and then TADA !!! The HDF4 problem should be gone when you import pymodis.

Hope it helps

~cheers

I had the same issue and I would like to share my solution to the problem :

  1. First make sure that you have the necessary hdf4 drivers installed:

     apt-get install libhdf4-dev
     apt-get install proj-bin
     apt-get install libproj-dev
     apt-get install libgdal-dev
     apt-get install gdal-bin     # Thanks to user @mdsumner for this
    
  2. Then there seems to be a issue with the pyModis package itself as explained by Luca here: https://github.com/lucadelu/pyModis/issues/29#issuecomment-104800294

    So I removed pymodis and installed the new version directly form the Github site, run the following command

     sudo pip git+https://github.com/lucadelu/pyModis.git
    

And then to be sure run an upgrade and then the HDF4 problem should be gone when you import pymodis.

code formatting, list indents
Source Link
nagytech
  • 3.8k
  • 19
  • 37

I had the same issue and I would like to share my solution to the problem :

  1. First make sure that you have the necessary hdf4 drivers installed :

    First make sure that you have the necessary hdf4 drivers installed:

     apt-get install libhdf4-dev
     apt-get install proj-bin
     apt-get install libproj-dev
     apt-get install libgdal-dev
     apt-get install gdal-bin     # Thanks to user @mdsumner for this
    
  2. Then there seems to be a issue with the pyModis package itself as explained by Luca here: https://github.com/lucadelu/pyModis/issues/29#issuecomment-104800294

    So I removed pymodis and installed the new version directly form the Github site, run the following command

     sudo pip git+https://github.com/lucadelu/pyModis.git
    

**apt-get install libhdf4-dev

apt-get install proj-bin

apt-get install libproj-dev

apt-get install libgdal-dev

apt-get install gdal-bin (Thanks to user @mdsumner for this)

  1. Then there seems to be a issue with the pyModis package itself as explained by Luca here : https://github.com/lucadelu/pyModis/issues/29#issuecomment-104800294

So I removed pymodis and installed the new version directly form the Github site, run the following command

sudo pip git+https://github.com/lucadelu/pyModis.git

andAnd then to be sure run an upgrade

  and then TADA !!! The HDF4 problem should be gone when you import pymodis.

Hope it helps ~cheers

~cheers

I had the same issue and I would like to share my solution to the problem :

  1. First make sure that you have the necessary hdf4 drivers installed :

**apt-get install libhdf4-dev

apt-get install proj-bin

apt-get install libproj-dev

apt-get install libgdal-dev

apt-get install gdal-bin (Thanks to user @mdsumner for this)

  1. Then there seems to be a issue with the pyModis package itself as explained by Luca here : https://github.com/lucadelu/pyModis/issues/29#issuecomment-104800294

So I removed pymodis and installed the new version directly form the Github site, run the following command

sudo pip git+https://github.com/lucadelu/pyModis.git

and then to be sure run an upgrade

  and then TADA !!! The HDF4 problem should be gone when you import pymodis.

Hope it helps ~cheers

I had the same issue and I would like to share my solution to the problem :

  1. First make sure that you have the necessary hdf4 drivers installed:

     apt-get install libhdf4-dev
     apt-get install proj-bin
     apt-get install libproj-dev
     apt-get install libgdal-dev
     apt-get install gdal-bin     # Thanks to user @mdsumner for this
    
  2. Then there seems to be a issue with the pyModis package itself as explained by Luca here: https://github.com/lucadelu/pyModis/issues/29#issuecomment-104800294

    So I removed pymodis and installed the new version directly form the Github site, run the following command

     sudo pip git+https://github.com/lucadelu/pyModis.git
    

And then to be sure run an upgrade and then TADA !!! The HDF4 problem should be gone when you import pymodis.

Hope it helps

~cheers

Source Link

I had the same issue and I would like to share my solution to the problem :

  1. First make sure that you have the necessary hdf4 drivers installed :

**apt-get install libhdf4-dev

apt-get install proj-bin

apt-get install libproj-dev

apt-get install libgdal-dev

apt-get install gdal-bin (Thanks to user @mdsumner for this)

  1. Then there seems to be a issue with the pyModis package itself as explained by Luca here : https://github.com/lucadelu/pyModis/issues/29#issuecomment-104800294

So I removed pymodis and installed the new version directly form the Github site, run the following command

sudo pip git+https://github.com/lucadelu/pyModis.git

and then to be sure run an upgrade

and then TADA !!! The HDF4 problem should be gone when you import pymodis.

Hope it helps ~cheers