Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modelled Historical Land-Use Dataset for CONUS #1540

Open
patdumandan opened this issue Feb 24, 2021 · 7 comments
Open

Modelled Historical Land-Use Dataset for CONUS #1540

patdumandan opened this issue Feb 24, 2021 · 7 comments

Comments

@patdumandan
Copy link
Member

LULC maps developed for conterminous United States from 1938 back to 1992 through hindcasting methods: https://www.sciencebase.gov/catalog/item/59d3c73de4b05fe04cc3d1d1

@Sohan022
Copy link
Contributor

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?

@henrykironde
Copy link
Contributor

What error is it giving you ?

@henrykironde
Copy link
Contributor

Can you show me the command you used

@Sohan022
Copy link
Contributor

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

@henrykironde
Copy link
Contributor

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

@Sohan022
Copy link
Contributor

Sohan022 commented Mar 17, 2021

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

@Sohan022
Copy link
Contributor

@henrykironde Please review my PR.
Link: weecology/retriever-recipes#101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants