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

Create environment for the HydroLearn Physical Hydrology course #35

Open
Castronova opened this issue Aug 30, 2023 · 4 comments
Open

Create environment for the HydroLearn Physical Hydrology course #35

Castronova opened this issue Aug 30, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Castronova
Copy link
Contributor

Belize Lane uses this course each year and recent TauDEM and GDAL conflicts make this not possible in the scientific environment.

Create a new environment with an older version of Python and GDAL so that TauDEM works.

https://edx.hydrolearn.org/courses/course-v1:Utah_State_University+CEE6400+2019_Fall/about

@Castronova Castronova added the enhancement New feature or request label Aug 30, 2023
@Castronova
Copy link
Contributor Author

Castronova commented Aug 30, 2023

Things we need:

  • list of python libraries that need to be installed.
  • the version of gdal that works with TauDEM.
  • text that describes the environment for the JH launch page.

Requests of Belize/Dave:

  • test the HydroLearn module once environment is deployed.

@Castronova Castronova self-assigned this Aug 30, 2023
@Castronova
Copy link
Contributor Author

tagging @igarousi

@igarousi
Copy link
Collaborator

igarousi commented Aug 30, 2023

List of Python libraries that need to be installed:
pandas, geopandas, osgeo, rasterio, rasterstats, matplotlib, fiona, numpy, descartes, shapely

The version of gdal that works with TauDEM:
version 2.3.0 from https://github.com/dtarb/TauDEM/blob/Develop/GDAL.sh. However, more recent versions 3.1.2 - 3.4.3 seem to be working based on dtarb/TauDEM#254

Text that describes the environment for the JH launch page:
This computing environment is built on Python version 3.8, specially designed for the execution of computational jupyter notebooks related to the Physical Hydrology course offered through HydroLearn. HydroLearn, an education project funded by the National Science Foundation, aims to promote the collaborative development and adoption of active learning resources in hydrology and water resources engineering. Within this environment, you'll find TauDEM version 5.3.7, and a variety of pre-installed Python libraries including geopandas, rasterio, rasterstats, osgeo, shapely, descartes, and fiona. These resources collectively empower students to effectively engage in terrain analysis exercises as part of the course curriculum.

@igarousi
Copy link
Collaborator

igarousi commented Sep 6, 2023

The computing environment with a Conda environment called physical-hydrology is created. Everything works fine except when running the TauDEM Pitremovel function, which gives the following error. This error does not impact the results, but it would be good to be resolved and not shown.

Pitremoval
PitRemove version 5.3.9
ERROR 1: PROJ: proj_as_wkt: SQLite error on SELECT name, ellipsoid_auth_name, ellipsoid_code, prime_meridian_auth_name, prime_meridian_code, area_of_use_auth_name, area_of_use_code, publication_date, deprecated FROM geodetic_datum WHERE auth_name = ? AND code = ?: no such column: area_of_use_auth_name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants