Skip to content

Conversation

@Whyborn
Copy link
Contributor

@Whyborn Whyborn commented Jan 15, 2026

CABLE

Thank you for submitting a pull request to the CABLE Project.

Description

Moves the phenvariable derived type to the src/science/casa-cnp/casa_variable.F90 file, and moves the allocation of said variable to the corresponding routine in casa_variable.F90. There was only one instance where the allocations were not paired, which was in load_parameters in cable_input.F90, and the cost of these extra allocations in a niche setup (when would we be writing the CASA dump with icycle=0?) is negligible.

There are a couple of changes in UM7 that would have to come with this change. See the draft PR in UM7.

Fixes #674

Type of change

  • Code clean-up

Checklist

  • The new content is accessible and located in the appropriate section
  • I have checked that links are valid and point to the intended content
  • I have checked my code/text and corrected any misspellings

Testing

  • Are the changes bitwise-compatible with the main branch? If working on an optional feature, are the results bitwise-compatible when this feature is off? If yes, copy benchcab output showing successful completion of the bitwise compatibility tests or equivalent results below this line.

  • Are the changes non bitwise-compatible with the main branch because of a bug fix or a feature being newly implemented or improved? If yes, add the link to the modelevaluation.org analysis versus the main branch or equivalent results below this line.

Please add a reviewer when ready for review.


📚 Documentation preview 📚: https://cable--675.org.readthedocs.build/en/675/

@Whyborn Whyborn closed this Jan 19, 2026
@Whyborn Whyborn deleted the 674-merge-phenology-type-into-casa-variable branch January 19, 2026 22:24
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.

Merging the phenology data type file with casa_variable.F90

2 participants