-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: check for unlimited dimension on variable before adjusting counts
A netcdf file may have an unlimited dimension, but a particular variable may not have the unlimited dimension. See #519 for CESM2.3 CLM which has the unlimited cohort dimension. In the example restart and history files no state variables (or any variables) have the cohort dimension. Massive assumption in direct_netcdf_mod.f90 that we want to read the one slice (the latest slice) of the unlimited dimension. This may not be true for all models.
- Loading branch information
1 parent
52e6e45
commit b918c51
Showing
1 changed file
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters