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
[Suggesting to] add a function that would let the user create that dataframe from other files or data-frames. It seems to me that it might be quite simple to do this, but it would be best done within an update to seas instead of being done independently or outside of seas.
What I envisage is a function that takes a dataframe that contains the meteorological variables and a data and then adds the default information that gets attached in seas and create the same data structure as mkseas
So an example source "mdata" might have columns [date, min temp, max temp, precip, snow]
And the new function "mkseas_df" might be called like:
which looks to be all that is needed for creating the data structure used in seas. I suspect the function will need to be constrained to an existing list of possible variables. We could do this in the new CSHShydrology package, but I think it would be best if we could create this option within seas.
The text was updated successfully, but these errors were encountered:
From Paul Whitfield:
The text was updated successfully, but these errors were encountered: