Skip to content

feat: implement xarray-based masking workflow and migration plan - #12

Merged
KULcoder merged 2 commits into
data-pvlib-integrationfrom
integrate-pvlib-new
Apr 24, 2026
Merged

feat: implement xarray-based masking workflow and migration plan#12
KULcoder merged 2 commits into
data-pvlib-integrationfrom
integrate-pvlib-new

Conversation

@KULcoder

Copy link
Copy Markdown
Owner
  • Introduced XarrayMask class for direct application of masks to xarray datasets.
  • Added migration plan documentation detailing phases for transitioning from Cutout-based masking.
  • Implemented shared spatial helper utilities for coarsening and area calculations.
  • Established tests to ensure legacy behavior is preserved during the migration.
  • Updated package structure to support new xarray functionalities while maintaining backward compatibility.

- Introduced `XarrayMask` class for direct application of masks to xarray datasets.
- Added migration plan documentation detailing phases for transitioning from Cutout-based masking.
- Implemented shared spatial helper utilities for coarsening and area calculations.
- Established tests to ensure legacy behavior is preserved during the migration.
- Updated package structure to support new xarray functionalities while maintaining backward compatibility.
- Simplified import statements by directly importing necessary functions from the mask.spatial module.
- Removed unused functions related to dataset reformatting and coarsening to clean up the codebase.
- Updated the `__all__` variable to include `ds_reformat_index` for better module export consistency.
@KULcoder
KULcoder merged commit e71625c into data-pvlib-integration Apr 24, 2026
10 checks passed
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.

1 participant