-
Notifications
You must be signed in to change notification settings - Fork 8
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
Error types and relation to Measurement model Uncertainty #60
Comments
We should add a |
This has been proposed by François Xavier Pineau (@fxpineau) in the RFC1 (post from 2019-09-24). |
Yes, this is a way to implement the model view we were talking about at last running meeting. |
However, MANGO imports Meas's definitions and uses them in its own context, so that both models keep compliant . |
Exactly.. at that time, I didn't have a use-case and example data which would allow for proper modeling of confidenceLevel, so it was delegated to a future update of the Measurements model. If the use-cases for Mango include an example which requires confidenceLevel, then that is a perfect opportunity to implement that element. I still need to review the document to see how the use-case ties in with the current modeling in Mango. The recent addition of 'distribution', which I'm assuming is tied to the confidenceLevel, implies that it should be an Object/DataType and not a pair of attributes. There is also confidence intervals discussed in the use cases which must relate somehow. |
I understand why you might have local versions of the Measurement model uncertainty types.. IF they require the confidenceLevel attribute to satisfy your use cases. That 'copy' should duplicate the Measurement model element. To define an equivalent, but slightly different object is contrary to the spirit of vo-dml modeling where we have a single, reusable specification for the concept. The more troubling conflict is the mango:error.Asymmetric1D maps to meas:Bounds1D rather than meas:Asymmetrical1D. |
Again, creating equivalent, but slightly different modeled objects is contrary to the vo-dml modeling practice. The meas:Ellipse object is modeled the way that it is, so that there is a connection between the semi-axis value and the Coordinate Space axis that it is oriented with (at posAngle=0). With the mango:Ellipse object, I believe this is expecting the 'major' axis to orient along axis2 (longitude) when angle=0, which I don't believe is a requirement. |
There is a typo in the document, section 5.2.3 Ellipse.angle. |
Thanks for noting that typo, and the clarification on the position angle. Can you comment on the major/minor axis pieces as well? I'm mostly trying to make sure I don't have an error in the Measurements model, but I think the MANGO representation doesn't have enough information to properly define the ellipse. I believe the semiMajor/Minor axis value needs to be associated with an axis in the reference frame in order to specify how to orient the ellipse before rotating it (i.e. is it | or -- ) . The meas:Ellipse does this by having the user provide the values in the order of the axes in the coordinate space (coords: Standard Spherical Coordinate Space). The larger value would be the semiMajor axis value, and the smaller is the semiMinor axis value. The mango:error.Ellipse doesn't allow for this association of semiMajor -> lat or lon axis (for example).
|
Should section 5.2.3 Ellipse.angle also state that the angle value ranges from 0 degree (inclusive) to 180 degrees (exclusive), i.e. the "classic" definition of a position angle?
PA = 0 correspond to a major axis pointing towards the north celestial pole. Although a reference frame must be provided for a covariance matrix (but it is complicated, since positional errors are defined in a local frame, e.g. the error is usually not on the longitude, but on the longitude*cos(latitude), except for some old catalogues if I am correct), it is not needed for an ellipse defined from both semi-axis and an angle related to the NCP.
It is the way things have been defined in astronomy...
|
For the record: |
I agree, we have to review the mango error classes to make them matching with their About the VO-DML spirit and regarding my own experience with the annotations, I can say that building objects from components issued from different models is very tough (discouraging):
|
These comments are on version (commit 27c4bd3) and follow #59.
In this model:
This would create a bit of a cascade, since Mango currently has all of the relevant error types for this use case extending PropertyError so that they have the confidenceLevel attribute.. however
There are variations in the attribute names and structure, but the definitions are the same. We should avoid such duplication of objects.
If confidenceLevel were moved into meas:Uncertainty, the only Error items needed in Mango would be the ErrorCorrMatrix and ErrorCovMatrix objects.. unless these are decided to be properly generic for migration to Measurements, but I think that is another topic.
The text was updated successfully, but these errors were encountered: