C2SM / iconarray

R&D Python package for processing ICON data with xarray
https://c2sm.github.io/iconarray/
BSD 3-Clause "New" or "Revised" License
10 stars 2 forks source link

Setup script missing some robustness features #32

Closed sadamov closed 1 year ago

sadamov commented 1 year ago

Context: When using iconarray in an existing project the setup-script can fail and return an error. Error-handling is not very robust in the current version of the env/setup-conda-env.sh script.

For example: When copying the env/siteconfig.py to the cartopy source folder, the script fails if multiple python versions are installed (especially not 3.9.7).

Solution: Catch some error messages, write some robust code to allow for varying user setups.

sadamov commented 1 year ago

@victoria-cherkas should I fork the project or can you give me access to push my issue-branch, please?