Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix: Now correctly check History diagnostic subset indices
Interfaces/GCClassic/main.F90: - Pass State_Grid to routine History_Init History/history_mod.F90: - History_Init now accepts the State_Grid object and passes it to routine History_ReadCollectionData - History_ReadCollectionData accepts the State_Grid object. - State_Grid%NX and State_Grid%NY are used to error-check the values of CollectionSubsetInd(:,C) for each collection C. For lon we ensure that indices are within 1 < index < State_Grid%NX, and for lat we ensure that indices are within 1 < index < State_Grid%NY. NOTE: These updates only affect GEOS-Chem Classic History diagnostics. Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
- Loading branch information
Showing
2 changed files
with
18 additions
and
12 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
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