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.
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.