retriever
retriever copied to clipboard
Modelled Historical Land-Use Dataset for CONUS
LULC maps developed for conterminous United States from 1938 back to 1992 through hindcasting methods: https://www.sciencebase.gov/catalog/item/59d3c73de4b05fe04cc3d1d1
I have downloaded the tif files/images in a folder and run the command retriever autocreate -dt raster -d <path of downloaded folder>. But it is giving some error. Can you please help me creating scripts for this?
What error is it giving you ?
Can you show me the command you used
What error is it giving you ?
Skipped file: CONUS_Backcasting_y1938.tif name 'gdal' is not defined
Remove the file from the folder and try again
You do not have Gdal installed. Install Gdal and let me know if you are able to run the file.
As you install Gdal, note down all the steps. We could make sure that others do not have the same issue.
After the installation, you should be able to go to Python and import Gdal using from osgeo import gdal
Thanks, Henry. Now, it is working.
Steps for installing Gdal:
sudo add-apt-repository ppa:ubuntugis/ppa
sudo apt-get update
sudo apt-get install gdal-bin
export CPLUS_INCLUDE_PATH=/usr/include/gdal
export C_INCLUDE_PATH=/usr/include/gdal
ogrinfo --version
pip install GDAL==<GDAL VERSION FROM OGRINFO>
for reference: https://mothergeo-py.readthedocs.io/en/latest/development/how-to/gdal-ubuntu-pkg.html
@henrykironde Please review my PR. Link: https://github.com/weecology/retriever-recipes/pull/101