Skip to content

Commit

Permalink
Now use "." instead of "" for default --weightsdir value
Browse files Browse the repository at this point in the history
gcpy/file_regrid.py
- Now use "." as the default value for --weightsdir, which will save
  regridding weights to the current directory.

CHANGELOG.md
- Updated accordingly

Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
  • Loading branch information
yantosca committed Dec 7, 2023
1 parent 23486a7 commit 3b92614
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to GCPy 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).

## [Unreleased] - TBD
### Fixed
- Now use the proper default value for the `--weightsdir` argument to `gcpy/file_regrid.py`

## [1.4.0] - 2023-11-20
### Added
- Added C2H2 and C2H4 to `emission_species.yml`
Expand Down
2 changes: 1 addition & 1 deletion gcpy/file_regrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -1540,7 +1540,7 @@ def main():
"-w", "--weightsdir",
metavar="WGT",
type=str,
default="",
default=".",
help="Directory where regridding weights are found (or will be created)"
)
args = parser.parse_args()
Expand Down

0 comments on commit 3b92614

Please sign in to comment.