Skip to content

Conversation

@romanc
Copy link
Collaborator

@romanc romanc commented Jan 6, 2026

Description

Prefer the new constructor of QuantityFactory over the deprecated call to QuantityFactory.from_backend(...). This removes a bunch of deprecation warnings in tests.

See NOAA-GFDL/NDSL#228 for context.

/cc @FlorianDeconinck

How Has This Been Tested?

Search and manual replace of from_backend within pyFV3. CI is still green.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas: N/A
  • I have made corresponding changes to the documentation: N/A
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • New check tests, if applicable, are included: N/A
  • Targeted model if this changed was triggered by a model need/shortcoming: N/A

Prefer the new constructor of `QuantityFactory` over the deprecated call
to `QuantityFactory.from_backend(...)`. This removes a bunch of deprecation
warnings in tests.

See NOAA-GFDL/NDSL#228 for context.
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.

2 participants