Skip to content

Suggestion: deprecate functions duplicated from pvlib-python #216

Description

@RDaxini

Is your feature request related to a problem? Please describe.
There appear to be many functions that are copied directly from one version or another of pvlib-python. For example, pvdeg.temperature.temperature, pvdeg.spectral.poa_irradiance, etc.

Describe the solution you'd like
What is the motivation for this? I could be missing something.
On the surface, it seems unnecessary. Where we need to use pvlib functions internally within pvdeg, I think it would be more efficient just to use the pvlib functions directly instead of duplicating them publicly and then using them. The one reason I could think of is in case we want to pin some pvdeg functionality to a specific version of a pvlib function, but I don't think that is the case(?)
I also don't see the benefit in reproducing pvlib documentation for pvlib functions that are copied over. This could be confusing for users, and itincreases the maintenance burden for us to keep it up to date with pvlib's existing documentation.

I propose deprecating in v0.6.0 or v0.6.1, and removing in the next major version release.

Describe alternatives you've considered

Additional context

Metadata

Metadata

Labels

Clarity for usersThings that help the user implement the code more easily.deprecationenhancementNew feature or requesthelp wantedExtra assistance is needed

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions