aboutsummaryrefslogtreecommitdiffstats
path: root/xslt
AgeCommit message (Collapse)Author
2017-09-24Support gas changes on Shearwater XML importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-09-13Support for 2 cylinders on Shearwater XML importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-07-15Fix CSV export for imperial start and end pressureGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-07-15Reflect import of subsurfaceCSV with having units in headersGravatar Miika Turkia
2017-07-15CSV export: show units on headerGravatar Miika Turkia
Let's show the units in CSV header so the actual fields have only the values. This should be easier to parse with some other programs. Fixes #472 Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-07-15CSV export: show units on headerGravatar Miika Turkia
Let's show the units in CSV header so the actual fields have only the values. This should be easier to parse with some other programs. Fixes #472 Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-06-27Two simple export UDDF fixesGravatar Jan Mulder
This fixes issues #418 and $419. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-05-30Import NDL from Shearwater DesktopGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-05-30Fix Shearwater import pressure dataGravatar Miika Turkia
Apparently recording cylinder pressure in PSI is not the only oddity with Shearwater Desktop. It also records half the value, so doubling the reading here. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-05-30Import pressure data for tank0 on Shearwater Desktop importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-05-12Rounding imperial export for profileGravatar Miika Turkia
Precision for the rounding is more than makes sense, but this satisfied the test case. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-05-07Include some extradata info on Seabear importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-05-07Merge branch 'seabear-refactor'Gravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-05-07Add dive mode support for Seabear importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-05-07Import dive number from Seabear CSV fileGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-05-06More robust UDDF export test modeGravatar Miika Turkia
When doing the xslt transformation for UDDF export, the C source does actually give a parameter units with value 0. Thus we need to treat that case as normal mode. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-05-06Add test mode support for UDDF export XSLTGravatar Miika Turkia
The current code that calls the export transformation supports parameter units, so using it here to enable test mode.
2017-05-06Grab DC model on UDDF import if availableGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-05-06Round sample depth on UDDF importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-05-06Add model and nick for DC on UDDF importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-05-06Import deviceid from UDDF fileGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-05-04Due to clarity fix indentation in separate commitGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-05-04Import UDDF location without GPS dataGravatar Miika Turkia
Fixes #376 Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-05-04Include one more way to parse buddy on UDDF importGravatar Miika Turkia
Fixes #377 Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-11Fix DivingLog's O2 importGravatar Miika Turkia
Make sure the Gas setup contains O2 value when trying to import that. In latest log sample the Gas seems to contain the decompression algorithm used. And as this value was grabbed after O2, we ended up with empty O2. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-11Fix DivingLog importGravatar Miika Turkia
DivingLog seems to report cylinder start and end pressures in metric format, but sample readings are in imperial in case user has selected this unit. So we must convert the sample pressures in this case. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Add the pressure attribute only if it existsGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Do not convert empty temperatureGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Fix imperial unit conversion on CSV importGravatar Miika Turkia
Math only takes numbers, need to ignore the ft part. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01CSV import: return value only if it existsGravatar Miika Turkia
If the last two fields were empty, we returned the field separator as next to last value. Now we make sure not to return field separator as field value. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Only import weight if availableGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Fix CSV import of cylinder pressuresGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Limit precision for temperature in CSV importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Limit max depth precision on CSV importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Limit mean depth precision on CSV importGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01More precision in CSV export for depthsGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01Fix size conversion on imperial CSV importGravatar Miika Turkia
We really need the decimal separator to get correct results Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01CSV export: convert cylinder size to imperialGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-04-01CSV export: export only existing temperaturesGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-02-26Fix imperial conversion for weight on CSV exportGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-02-18Add geolocation to divelogs.de exportGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-02-09Define numberField variable on CSV importGravatar Miika Turkia
We need to define the import variables that we use. This should fix the Seabear HUDC import and thus the corresponding test case.
2017-01-10Parse AP Divesight time formatGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-01-01AV1 import: deco mode reported by DCGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-01-01AV1 import: grab NDL infoGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-01-01AV1 import: move dcmode detectionGravatar Miika Turkia
We need to set the attributes before we can start parsing other tags, as cylinder. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-01-01AV1 import: parse temperatureGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-01-01AV1 import: fix indentationGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-01-01AV1 import: move tag definition for future changesGravatar Miika Turkia
This should allow us to add different attributes to the samples while parsing the log. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2016-12-31Import AV1 alertsGravatar Miika Turkia
This imports the events from AV1 using the original event description. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>