Skip to content

Commit

Permalink
show intended and not intended dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jbfaden committed Apr 29, 2024
1 parent 0773adb commit 8951b0c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion bugs/2024/20240429/demoBundleBug.jy
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ the bundled datasets, then sometimes a variable intended for
the X values is ignored. There really needs to be something
that disambiguates this.''')

# here is where it is not intended to assert a depenency.
wspeed= getDataSet('vap+hapi:http://jfaden.net/HapiServerDemo/hapi?id=Iowa+City+Conditions&parameters=WindSpeed&timerange=2024-04-27')
alt= getDataSet('vap+hapi:http://jfaden.net/HapiServerDemo/hapi?id=Iowa+City+Conditions&parameters=Altimeter&timerange=2024-04-27')

Expand All @@ -14,4 +15,18 @@ print ds
print xtags(ds)
print xtags(unbundle(ds,0))

plot( ds )
plot( 0, ds )

# here is where it is intended to assert a dependency.
t= linspace('2024-01-01T00:00Z','2024-01-02T00:00Z',200)
x= link(t,randn(200))
y= link(t,randn(200))

z= sqrt( x**2 + y**2 )
ds= bundle( x, y, z )

print ds
print xtags(ds)
print xtags(unbundle(ds,0))

plot( 1, ds )

0 comments on commit 8951b0c

Please sign in to comment.