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

Proposed ODM2.1 schemas for discussion #153

Open
aufdenkampe opened this issue Aug 9, 2018 · 8 comments
Open

Proposed ODM2.1 schemas for discussion #153

aufdenkampe opened this issue Aug 9, 2018 · 8 comments

Comments

@aufdenkampe
Copy link
Member

aufdenkampe commented Aug 9, 2018

I'm creating this issue as a central place to track progress and discussions on our various proposed changes to ODM2 schemas into what might eventually become ODM2.1. These proposed changes are being saved to this new branch: https://github.com/ODM2/ODM2/tree/ODM2.1_dev

Please note that a full release of ODM2.1 is still a long way off, as we have a large and diverse ODM2 software ecosystem that depends on the current ODM2.0 schema.

Background & Motivation

We've been accumulating ideas for a revision to ODM2.0 since we first "froze" the schemas in April 2014. In recent years many of these ideas have been posted as GitHub issues, which we had often tagged with the ODM2.1? label.

Now that Roelof Versteeg (Subsurface Insights) has acquired DOE SBIR Phase 1 funding to prototype a full integration of ODM2 with his Predictive Assimilation Framework (PAF) web application, we have a motivation (and I have a little funding) to draft and test ODM2.1 over the next 5 months. If successful, we hope to receive DOE SBIR Phase 2 funding to fully develop an ODM2.1 software ecosystem over the next several years.

Plan

I'm hoping to post diagrams under this issue for all proposed schema changes implemented in the ODM2.1_dev branch based on ODM2.1?-tagged issues. My hope is that posting all diagrams in one central place will help lessen confusion from cumulative modifications.

In the meanwhile, I'm hoping that the discussions of these changes will continue to take place within each specific issue thread, as we have been doing.

cc: @horsburgh, @emiliom, @miguelcleon, @dr-shorthair, @smrgeoinfo

@aufdenkampe
Copy link
Member Author

aufdenkampe commented Aug 9, 2018

Issue #130:

Led to commit 016bb2d on Nov. 1, 2016 and 3 subsequent commits, which collectively resulted in these changes:

  • To ODM2Core.FeatureActions table, added RelatedFeaturesRelationID field, which is a foreign key to ODM2SamplingFeatures.RelatedFeatures.

Proposed for ODM2.1:
odm2samplingfeatures_odm2 1_dev_ 016bb2d

Existing in ODM2.0:
image

@aufdenkampe
Copy link
Member Author

aufdenkampe commented Aug 9, 2018

Issue #152:

Spun off from ideas in:

which led to commit 019bc37 on Aug 8, 2018.

Proposed for ODM2.1:
odm2samplingfeatures_odm2 1_dev_019bc37

Existing in ODM2.0:

@aufdenkampe
Copy link
Member Author

aufdenkampe commented Aug 9, 2018

Issue #132:

Led to commit a7e2738, on Aug 8, 2018, which:

  • Added a simple FeaturesOfInterest table;
  • Created a new FeaturesOfInterestTypeCV, based off the old SiteTypeCV,
  • Coupled to the SamplingFeatures table via a many-to-many bridging table that leverages the existing RelationshipTypeCV that was created for the ODM2Provenance schema.

Proposed for ODM2.1:
odm2samplingfeatures_odm2 1_dev_

@aufdenkampe
Copy link
Member Author

aufdenkampe commented Aug 9, 2018

Issue #135:

Led to commit f2bda09 (Added ActionName), resulting in this diagram:

odm2core_odm2 1_dev_f2bda09

@aufdenkampe
Copy link
Member Author

Here's the Overview diagram of the current draft ODM2.1 schema.

odm2overviewsimplified_odm2 1_dev_2018-08-09

@aufdenkampe aufdenkampe changed the title Draft ODM2.1 schema for review Proposed ODM2.1 schemas for discussion Aug 13, 2018
@aufdenkampe
Copy link
Member Author

aufdenkampe commented Aug 17, 2018

cc @roelofversteeg, @erekalper, @dougvj

@aufdenkampe
Copy link
Member Author

aufdenkampe commented Sep 14, 2018

Issue #155:

Led me to commit 6014915 (Modified MeasurementResults), which:

  • Created 1-to-Many relationship between MeasurementResults and MeasurementResultValues, to allow storage of values for different AgregationStatistics (such as both mean and standard deviation).
  • Moved AggregationStatisticCV, CensorCodeCV and QualityCodeCV to Values table, so that these are clearly connected to the corresponding value.

Here's what Results looks like now:

odm2results_odm2 1_dev_2018-09-13

aufdenkampe added a commit that referenced this issue Oct 24, 2018
…esults

- Removed SpeciationCV, closing #161. I missed that on the last commit.
- Realized that CategoricalResults could also need to have a relationship cardinality of one-to-many with respect to Results, for the same reason we extended the cardinality of MeasurementResults, as described in #153 (comment) and 6014915.
@aufdenkampe
Copy link
Member Author

aufdenkampe commented Oct 29, 2018

Issue #160 and others:

Led @roelofversteeg and me to these commits: 4c718c3, 8ad71c4, and 0698990.

The major changes are to the Variables and TaxonomicClassifiers tables, as described in #160 (comment) and shown below.

odm2core_odm2 1_dev_2018-10-29

For details, please these commit notes, including comments at the bottom of each of these commits: 4c718c3, 8ad71c4, and 0698990.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant