You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several improvements that could be made to the current method of calculating derived variables in the ADF that would be worth tackling at some point. These include:
Allowing the full derived variable equation to be included in the variable defaults file. That equation string could then theoretically be parsed to do the actual calculations needed without a user having to add additional python code to the ADF whenever they want to add a new derived variable.
Allow the derived variables to be calculated for each separate time series file set that contains the necessary data (e.g. monthly and daily time series files).
Allow the user to decide if already generated time series files of derived variables should be overwritten.
Generate the new derived variable time series file(s) without producing extra copies of any other time series variables.
Provide correct metadata in the time series file for each new derived variable.
Replace the use of os.system with subprocess.call or a similar subprocess class method.
Any other improvements or ideas related to derived quantities that people have can be added to this issue as well. Please feel free!
Assistance required?
No, I will make a PR when the feature is ready
Extra info
Much of the credit for finding these future improvments belongs to @brianpm, based off his Github post here: #240 (comment)
The text was updated successfully, but these errors were encountered:
New feature type
New infrastructure or infrastructure enhancement
What is this new feature?
There are several improvements that could be made to the current method of calculating derived variables in the ADF that would be worth tackling at some point. These include:
Allowing the full derived variable equation to be included in the variable defaults file. That equation string could then theoretically be parsed to do the actual calculations needed without a user having to add additional python code to the ADF whenever they want to add a new derived variable.
Allow the derived variables to be calculated for each separate time series file set that contains the necessary data (e.g. monthly and daily time series files).
Allow the user to decide if already generated time series files of derived variables should be overwritten.
Generate the new derived variable time series file(s) without producing extra copies of any other time series variables.
Provide correct metadata in the time series file for each new derived variable.
Replace the use of
os.system
withsubprocess.call
or a similarsubprocess
class method.Any other improvements or ideas related to derived quantities that people have can be added to this issue as well. Please feel free!
Assistance required?
No, I will make a PR when the feature is ready
Extra info
Much of the credit for finding these future improvments belongs to @brianpm, based off his Github post here: #240 (comment)
The text was updated successfully, but these errors were encountered: