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

The "delta" field in the Stamag table. Is that correct? #71

Open
dimag1978 opened this issue Jul 2, 2023 · 1 comment
Open

The "delta" field in the Stamag table. Is that correct? #71

dimag1978 opened this issue Jul 2, 2023 · 1 comment

Comments

@dimag1978
Copy link

According to the description you refer to (Anderson, J., Farrell, W. E., Garcia, K., Given, J., and Swanger, H. (1990). Center for Seismic Studies version 3 database: Schema reference manual. Technical Report C90-01, Center for Seismic Studies, 1300 N. 17th Street, Suite 1450, Arlington, Virginia 22209-3871.) there is no delta field in the Stamag table. In your class it exists:

class Stamag(Base):
     __abstract__ = True

     @declared_attr
     def __table_args__(cls):
         return (PrimaryKeyConstraint('magid', 'sta'),)

     magid = dc(magid)
     sta = dc(sta)
     arid = dc(arid)
     orid = dc(orid)
     evid=dc(evid)
     phase = dc(phase)
     delta = dc(delta)
     magtype = dc(magtype)
     magnitude = dc(magnitude)
     uncertainty = dc(uncertainty)
     auth = dc(auth)
     commid = dc(commid)
     lddate = dc(lddate)

I use the CSS3.0 format.

@jkmacc-LANL
Copy link
Member

You're right! This was an accidental carryover from starting the project with the KB Core schema. Are you interested in contributing a patch? 😁 This one should be pretty straightforward.

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

No branches or pull requests

2 participants