conrad-blucher-institute / semaphore

Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

DSPEC 2.0 #300

Closed matdenkas closed 4 months ago

matdenkas commented 4 months ago

One important thing to mention is I removed the vector override key, I couldn't find it used in any of our dspecs so I assumed it was depreciated.

If you navigate to the ModelExecution dir in your terminal and then start python3, you can paste the below code to explore and verify the dspecs are as they should be. You can also put it in a demo file

from dspecParser import DSPEC_Parser

dp = DSPEC_Parser('../../data/dspec/test_dspec-2-0.json')
d = dp.parse_dspec()
dp = DSPEC_Parser('../../data/dspec/test_dspec.json')
d1 = dp.parse_dspec()