Skip to content

Commit

Permalink
rename HEMCO_Config.rc.sample to HEMCO_Config.rc
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasbalasus committed Oct 25, 2023
1 parent 00aaf65 commit b79b47d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.8.0]
### Changed

### Fixed
- Rename `HEMCO_Config.rc.sample` to `HEMCO_Config.rc` in `createRunDir.sh` if sample is used.

## [3.7.1] - 2023-10-10
### Changed
- Updated version numbers to 3.7.1
Expand All @@ -30,7 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add GEOSIT as an allowable meteorology directory name in HEMCO_Config.rc
- Added `.readthedocs.yaml` file to configure ReadTheDocs builds

# Changed
### Changed
- `Verbose` is now a `true/false` variable in `run/HEMCO_sa_Config.rc` and `run/HEMCO_Config.rc.sample`
- HEMCO warnings are now only generated when `Verbose: true` is found in the HEMCO configuration file (no more numerical levels)
- Updated GFED4 emission factors for VOCs to Andreae et al. (2019)
Expand Down
5 changes: 5 additions & 0 deletions run/createRunDir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,11 @@ while [ "$valid_path" -eq 0 ]; do
if [[ "$hco_config_file" == *".rc"* ]]; then
hco_config_dir=$(dirname $hco_config_file)
fi

if [[ "$hco_config_file" == "./HEMCO_Config.rc.sample" ]]; then
mv "./HEMCO_Config.rc.sample" "./HEMCO_Config.rc"
hco_config_file="./HEMCO_Config.rc"
fi

done

Expand Down

0 comments on commit b79b47d

Please sign in to comment.