Add time-varying surface forcing to MOST - #3880
Open
ckendrick wants to merge 10 commits into
Open
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds options to
SurfaceLayerto interpolate surface temperature and fluxes over time from a user-provided file. For the surface flux pathway, this is equivalent to usingsurface_layer.flux_type = "custom"but using time-varying data from a file instead of constant values.The new options added are:
erf.most.use_sfc_fluxesboolean flag to enable interpolating surface flux values from file.erf.most.use_sfc_sstboolean flag to enable interpolating surface temperature (SST) from file.erf.most.sfc_filepath to text file, required if either option above is enabled.The user-provided text file to use for the
erf.most.sfc_fileoption has the following format:where each new line represents a distinct time value to interpolate between. The day column is converted to seconds and the elapsed simulation time in ERF is used.
For the SST pathway (
erf.most.use_sfc_sst = true), the input-file format can be simplified to onlyday sst(K)column data, e,g:Some configurations are not currently supported with these options (LSM, EB).