Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
- Fix the restart regridding for stretched GCHP when target lat/lon is exactly 0.0 in `gcpy/regrid_restart_file.py`

## [1.6.2] - 2025-06-12
### Added
- Added `create_benchmark_sanity_check_table` routine to `gcpy/benchmark/benchmark_funcs.py` to test if variables are all zero or NaN
Expand Down
6 changes: 3 additions & 3 deletions gcpy/regrid_restart_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,9 +552,9 @@ def regrid_restart_file(
logging.info("Creating a stretched-grid restart file")

if (
(not COMMAND_LINE.stretch_factor)
or (not COMMAND_LINE.target_latitude)
or (not COMMAND_LINE.target_longitude)
COMMAND_LINE.stretch_factor is None
or COMMAND_LINE.target_latitude is None
or COMMAND_LINE.target_longitude is None
):
ERROR_MESSAGE = (
"--stretched-grid was set but not all stretched-"
Expand Down