Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shr_string_listCreateField(), but for any range #15

Open
samsrabin opened this issue Oct 27, 2021 · 0 comments
Open

shr_string_listCreateField(), but for any range #15

samsrabin opened this issue Oct 27, 2021 · 0 comments

Comments

@samsrabin
Copy link
Contributor

I need to create a field list for a range of values that does not begin with 1. This doesn't work with shr_string_listCreateField(), which uses the input numFields as the top of the range and 1 as the bottom. I suggest implementing a new function, shr_string_listCreateField_range(), which takes inputs of the bottom and top of the range.

I've already written this up in a fork and will submit a pull request shortly.

samsrabin added a commit to samsrabin/CESM_share that referenced this issue Oct 27, 2021
Given integers field1 and fieldN, plus string strBase, generates a list of field names. As shr_string_listCreateField(), but not just limited to 1,numFields. (See ESCOMP#15.)
samsrabin added a commit to samsrabin/CESM_share that referenced this issue Oct 27, 2021
Given integers field1 and fieldN, plus string strBase, generates a list of field names. As shr_string_listCreateField(), but not just limited to 1,numFields. (See ESCOMP#15.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant