das-developers / das2java

The original das2 library. Provides interactive publication-ready 2-D plotting
https://das2.org
GNU Lesser General Public License v3.0
4 stars 0 forks source link

incomplete units handling causes confusion #99

Open jbfaden opened 4 months ago

jbfaden commented 4 months ago

Right now, units are propagated through some operations. This caused confusion because one dataset in Cindy's script had units. In Cindy's case, if dimensionless and unit-ful data could be added (and I thought it could), the error wouldn't have caused a problem.

jbfaden commented 4 months ago

I wrote a new getDataSet command which allows for named parameters, like:

ds1= getDataSet('vap+cdaweb:ds=OMNI2_H0_MRG1HR&id=DST1800','Nov 2018',trim=True, units=None)

which will make it easier to avoid problems caused by units. This will be available as "getDataSet2024" until it is thoroughly verified.