tomchor / pymicra

A Python tool for Micrometeorological Analysis
GNU General Public License v3.0
26 stars 5 forks source link

preProcessing fails when there is no H2O data in the dataset #5

Closed BSchilperoort closed 6 years ago

BSchilperoort commented 6 years ago

In a dataset without H2O data, the preprocessing step will fail, as it checks for an label which is not in the pandas dataframe. Perhaps add a check, or option to skip the H2O related processing steps?

tomchor commented 6 years ago

Yes, that's probably a good way to go. I'll mark it as an enhancement.

tomchor commented 6 years ago

Done via pull pull request/merge https://github.com/tomchor/pymicra/pull/6

tomchor commented 6 years ago

Just for the sake of completeness, I pushed a fix to a bug that happened when skip_h2o was True and when there was a solute.