CABLE-LSM / benchcab

Tool for evaluation of CABLE land surface model
https://benchcab.readthedocs.io/en/latest/
Apache License 2.0
2 stars 4 forks source link

Remove hardcoded paths etc from source code. #190

Open bschroeter opened 1 year ago

bschroeter commented 1 year ago

Currently, there are a number of locations in the code where things like paths and modules are hardcoded into the source.

i.e.

https://github.com/CABLE-LSM/benchcab/blob/0b36493f81fbd75c89829c8dc4d65ac6d7968609/benchcab/utils/pbs.py#L32-L35

Eventually, we might want to extract them into the installed data directory as a defaults.yaml, but in the interim we should collect these into internal.py or similar.

ccarouge commented 6 months ago

I think this ties up with #151. There is a choice to make whether this one or #151 is dealt with first. I'll put it as a medium priority like #151.