-
Notifications
You must be signed in to change notification settings - Fork 239
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
aggregate.R created #3317
aggregate.R created #3317
Conversation
You can run this function in this way: Download a shapefile of U.S. states (if not already available)
Load the shapefile
Load the downscale_output list
|
Because you added dependencies you need to run |
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.
suggesting small changes to Description file that should eliminate the need for the previous suggestion about the dependencies script and csv
FYI, the suggested changes I made didn't eliminate the need for a running the dependencies script, but you will want to pull the changes I've made before doing so. |
Description
The aggregate function, created using exactextractr, enables the aggregation (sum and average) of previously downscaled carbon flux output from the NA_downscale function. Users can aggregate data for spatial areas of their choice by providing appropriate polygon data.
Motivation and Context
This change is required to enable the aggregation of downscaled carbon flux data to user-specified spatial units. It solves the problem of needing to summarize large-scale raster data into meaningful aggregated values (sum and average) for specific areas, aiding in spatial analysis and decision-making.
Review Time Estimate
Types of changes
Checklist: