-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modified forcing template to read time slices only once
Until now, when running with a CF forcing file, CISM would read the appropriate forcing time slice every model timestep, even if the forcing has not changed since the previous model time step. This can slow down the code considerably when repeatedly reading large forcing files. With this commit, CISM reads in a new forcing time slice only if the previous time slice is no longer current. The new logic appears in subroutine glide_read_forcing, an autogenerated file that uses ncdf_template.F90.in. This commit modifies the template. This commit is BFB; it simply avoids reading in the same data multiple times.
- Loading branch information
1 parent
132a4c3
commit beec486
Showing
1 changed file
with
32 additions
and
11 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