-
Notifications
You must be signed in to change notification settings - Fork 2
Terra conversion #48
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
Terra conversion #48
Conversation
…180 to 0_360) to consider the cell on prime meridian (or indeed any cell at least somewhat on the right of it) to be part of the right hand raster, not the left hand. This is because our ERA5 grid extent is -.125 to 359.875, rather than .125 to 360.125. We don't want to duplicate the column on the prime meridian.
…eted process of documenting how user level data is created from raw data in data-raw.
…) seems to not be compatible with spatRasters (they require external pointers).
… changed the name of as.data.table.raster.terra to avoid it being recognized as an S3 method.
…ts during the weights tolerance join.
…of the climate data (only converted into 0-360 coordinate system if climate data is in 0-360)
modify secondary_weights function output to match coord system of climate data
37 weird cell widths
…inates. Can explain further why we made this choice if needed.
Remove rotate from staggregate
…the rotation is performed or not.
42 remove na option
…d secondary raster check for standad/climate coordinates
…into terra_conversion
…th code chunks that use terra::rotate()
… -- still need to do checks on how define res checks
…into terra_conversion
cullen-molitor
left a comment
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.
There are several items which require additional fixes or checks before merging. Overall, many of the changes look good, though some portions of the staggregate.R file seem complex and could probably use refactoring in later versions.
cullen-molitor
left a comment
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.
Looks good to me!
Not to be merged yet - using for diff comparison