A python package to read, export and post process data (*.pnt files) recorded by SnowMicroPen, a snow penetration probe for scientific applications developed at SLF.
On Windows, the default lineterminator for pandas.Dataframe.to_csv is \r\n. Unfortunately this causes snowmicropyn.Profile.export_samples to produce outputs that look like this:
Using
snowmicropyn v1.2.1
installed from pypiOn Windows, the default
lineterminator
forpandas.Dataframe.to_csv
is\r\n
. Unfortunately this causessnowmicropyn.Profile.export_samples
to produce outputs that look like this:With the change introduced in 06cfe5b, the
lineterminator
is forced to be\n
which produces the following on both Windows and Linux: