Skip to content

Conversation

@tliddell4
Copy link
Collaborator

Not to be merged yet - using for diff comparison

Tyler Liddell and others added 30 commits September 29, 2024 23:00
…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.
…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
…inates. Can explain further why we made this choice if needed.
…d secondary raster check for standad/climate coordinates
… -- still need to do checks on how define res checks
Copy link
Collaborator

@cullen-molitor cullen-molitor left a 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.

@tliddell4 tliddell4 requested a review from cullen-molitor May 2, 2025 02:57
Copy link
Collaborator

@cullen-molitor cullen-molitor left a 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!

@cullen-molitor cullen-molitor merged commit 7b2d351 into main May 2, 2025
2 checks passed
@tliddell4 tliddell4 deleted the terra_conversion branch May 17, 2025 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants