pecan icon indicating copy to clipboard operation
pecan copied to clipboard

Meta Analysis Quarto NoteBook

Open AritraDey-Dev opened this issue 2 weeks ago • 1 comments

Description

This PR implements a Quarto notebook for the meta-analysis. It uses the posterior files and trait.data.Rdata to run the Meta Analysis demo. A pecan.xml file is also included to run the workflow.

Motivation and Context

Review Time Estimate

  • [ ] Immediately
  • [ ] Within one week
  • [ ] When possible

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [ ] My change requires a change to the documentation.
  • [ ] My name is in the list of CITATION.cff
  • [ ] I agree that PEcAn Project may distribute my contribution under any or all of
    • the same license as the existing code,
    • and/or the BSD 3-clause license.
  • [x] I have updated the CHANGELOG.md.
  • [ ] I have updated the documentation accordingly.
  • [ ] I have read the CONTRIBUTING document.
  • [ ] I have added tests to cover my changes.
  • [ ] All new and existing tests passed.

AritraDey-Dev avatar Dec 07 '25 03:12 AritraDey-Dev

@mdietze Thanks for the review and the detailed comments. I’ve tried to address and fix the suggested items in the subsequent commits.

AritraDey-Dev avatar Dec 11 '25 17:12 AritraDey-Dev

@mdietze This is a great suggestion. My format_try_for_ma() function (PR #3720 ) creates the trait_data dataframe from TRY exports that could feed directly into such a simplified MA function.

If the MA module is refactored as you suggest, users could:

  1. Use format_try_for_ma() to convert TRY data to proper format
  2. Pass that dataframe directly to a simplified run_meta_analysis() function
  3. Bypass the complex settings object entirely

This would make PEcAn's meta-analysis much more accessible to researchers with external data sources.

Mayanknishad9 avatar Dec 15 '25 07:12 Mayanknishad9