HPSCTerrSys / TSMP

Terrestrial Systems Modelling Platform (TSMP or TerrSysMP)
https://www.terrsysmp.org/
Other
23 stars 15 forks source link

`common_setup.ksh`: Make path to static files more generic #203

Closed jjokella closed 1 year ago

jjokella commented 1 year ago

I have twice encountered problems with how the paths to static files are set in common_setup.ksh: https://github.com/HPSCTerrSys/TSMP/blob/1099f839b99cb544b492d7612641572f17be8b44/bldsva/setups/common_setup.ksh#L4-L8

Problem: No initial $rootdir is needed/wanted, because the static files are in a different directory, sometimes directory tree.

My proposal: Remove the $rootdir and let the user define the full path in a single variable static_files.