Giter VIP home page Giter VIP logo

Comments (7)

baagaard-usgs avatar baagaard-usgs commented on July 23, 2024

Similarly, why are uppercase letters not allowed in the names of the provenance datasets?

from pyasdf.

krischer avatar krischer commented on July 23, 2024

Hi Brad,

sorry for the delay on this. I've been on vacation.

Why are tag path names validated against r"^[a-zA-Z0-9][a-zA-Z0-9_]*[a-zA-Z0-9]$"? This is more restrictive than the naming scheme used in /Waveforms. For example /AuxiliaryData/NET.STA/MYDATASET_NAME would not be allowed due to the . in NET.STA. It would be nice to allow consistency in the layout between /Waveforms and /AuxiliaryData.

This has been done a while ago and I'm no longer 100 percent certain why it is restricted as such. I think there is no deeper reason for not allowing dots aside from no longer being able to offer convenient attribute access to the auxiliary data sets in Python.

But this is programming language specific and should not inhibit the data format. I'd be fine with changing it.

Similarly, why are uppercase letters not allowed in the names of the provenance datasets?

Again no proper reason I can recall aside from this just being how we practically implemented it. I think this should definitely be changed.

Both of these are fairly minor changes which should not have a large effect. If noone else does it I would do this early next week and create version 1.0.3 of ASDF and make the necessary changes to pyasdf. Are there any other small nagging issues you are having in regards to these things?

from pyasdf.

baagaard-usgs avatar baagaard-usgs commented on July 23, 2024

We are happy with the ASDF layout and naming conventions other than these two small issues.

from pyasdf.

baagaard-usgs avatar baagaard-usgs commented on July 23, 2024

@krischer It would be great if you could provide this fix in the next week. We are waiting on this fix to release our ground-motion processing software that stores everything using ASDF.

from pyasdf.

krischer avatar krischer commented on July 23, 2024

I just released pyasdf version 0.5.0 on pypi: https://pypi.org/project/pyasdf/0.5.0/
I'll try to get the conda packages done today but the pypi ones are already alive.

This implements ASDF version 1.0.3 and I also updated the format definition and the validator in the corresponding repositories.

from pyasdf.

krischer avatar krischer commented on July 23, 2024

Alright 0.5.1 is life on conda and pypi. I hope all is good now. Let me know if there are still some issues.

from pyasdf.

baagaard-usgs avatar baagaard-usgs commented on July 23, 2024

Everything looks good so far.

from pyasdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.