Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadmap for Dendro Module #382

Open
2 of 35 tasks
MartinHinz opened this issue Feb 4, 2025 · 0 comments
Open
2 of 35 tasks

Roadmap for Dendro Module #382

MartinHinz opened this issue Feb 4, 2025 · 0 comments
Assignees
Labels
data Related to the data themself enhancement New feature or request
Milestone

Comments

@MartinHinz
Copy link
Collaborator

MartinHinz commented Feb 4, 2025

Overview

This issue tracks the development milestones for implementing a dedicated Dendrochronology (Dendro) module in the XRONOS database. The module will handle the storage, import, validation, and presentation of dendrochronological data while ensuring integration with existing database structures and improving user accessibility.

The following tasks outline the steps necessary to implement this module.


Development Milestones

Database and Model Design

  • Verify the current Dendro model to ensure compatibility with existing data structures.

Implement Data Import

  • Create a rake task to process dendro data imports
  • Develop a CSV importer that maps dendrochronological data to Dendro records
  • Validate input data (e.g., ensure earliest_year < latest_year, numerical values are correct)
  • Implement error handling for faulty imports
  • Prevent duplicate entries unless explicitly allowed

Paper Trail

  • Enable version control for dendro data to track modifications

Curation

  • Add issue tracking to dendro dates to flag potential inconsistencies or missing metadata
  • Implement issue handling in the curation backend to facilitate review and resolution

Develop API Endpoints

  • Define and implement RESTful API endpoints for retrieval of dendro data.
  • Ensure API supports filtering, and efficient querying
  • Implement data export functionality (CSV, JSON)

Create Views for Data Presentation and Modification

Implement Validation and Testing

  • Write model validations:
    • Ensure earliest_year ≤ latest_year
    • Ensure the presence of tree_species and dating_method
  • Create tests for:
    • Model validation
    • API endpoints
    • Data import functionality
    • Frontend UI rendering and filtering

Deployment and Documentation

  • Prepare database seed files with sample dendrochronological data
  • Deploy changes to a staging environment for testing
  • Write documentation:
    • API usage guide
    • Data format specifications
    • Import/export instructions

General Improvements

  • Review and improve authentication and authorization to ensure proper data access control
  • Optimize queries with indexing for faster retrieval
  • Import initial datasets

Completion Criteria

This issue will be considered resolved when:

  • The new dendro module is fully functional and integrated into the XRONOS database.
  • Data import, validation, and presentation mechanisms are in place.
  • API endpoints are operational and documented.
  • User access and curation workflows are established.
  • Performance optimizations and security checks are completed.

Related Issues:

  • List to be filled

Target Milestone:

  • Version 1.2?
@MartinHinz MartinHinz self-assigned this Feb 4, 2025
@MartinHinz MartinHinz added enhancement New feature or request data Related to the data themself labels Feb 4, 2025
@MartinHinz MartinHinz added this to the Version 1.2. milestone Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data Related to the data themself enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant