-
Notifications
You must be signed in to change notification settings - Fork 236
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
Downscale Function created for for hourly data in nc #3322
Conversation
Example usage
|
…into downscale/hourly
…into downscale/hourly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, function is a good first start but doesn't really address the need to downscale timeseries, but instead provides a way to downscale a single time point. I'm happy to pull in this PR as an initial milestone without that generalization once the other smaller points are addressed.
maps <- list() | ||
predictions <- list() | ||
ensembles <- list() | ||
for (i in seq_along(carbon_data)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't need any change for this PR, but making a note for those doing future development that this would be a great place to either parallelize this work or to modify the ML model to take time into account explicitly.
Hi, @Snafkin547! With this PR you became an author of the PEcAn.assim.sequential package, so we'd like to make sure we have your agreement to change the package license from NCSA to BSD-3. Commenting "yes" here is enough. More details are in #3364 if you want them. We started the relicensing process (with notes in CHANGELOG.md) before you opened this PR, but at merge time we hadn't yet updated any license files in this package, so for full clarity we'd like to hear your explicit consent even if you had been assuming your contribution would be BSD-3 all along 😁 |
Description
This new function, called 'NA_downscale_hrly', is extended from the original 'NA_downscale' function.
This newly created downscale function handles hourly data stored in nc file and generates outputs including the weights of each ensemble member for each observatory site. These weights are not currently used, however, they will be used effectively in the aggregation step in the future, once we come up with an idea of how to distribute to each coordinate.
Motivation and Context
In the previously developed 'NA_downscale' function, monthly-yearly data was handled. This newly developed downscale function enables to deal with the hourly data. Due to the difference in data structures and absence of weights in previous data structure, we needed this change.
Review Time Estimate
Types of changes
Checklist: