HCLIMcom / HCLIM2CMOR

Climate model output rewriting of HCLIM climate model data for CORDEX. Based on the COSMO-CLM routines.
GNU General Public License v3.0
0 stars 5 forks source link

Specify source root dir as environment variable #14

Closed ljoakim closed 10 months ago

ljoakim commented 10 months ago

A small fix to avoid having to change the path to the source folder (i.e. the git clone folder) manually in two places after cloning. I added the requirement to define the $HCLIM2CMORDIR environment variable, which will be used for $BASEDIR in src/settings.sh and to set BasePath in the config/control_cmor_template.ini template file.

Does this sound reasonable? Please test and make sure it works on your end before merging.