Import of WSWIN-Files (experimental): Error in line 5

Discussion of the Meteohub software package

Moderator: Mattk

HWTest
Expert Boarder
Expert Boarder
Posts: 98
Joined: Fri Apr 09, 2010 8:25 pm

Re:Import of WSWIN-Files (experimental): Error in line 5

Post by HWTest »

OK, that is good news.
I have a big spike in this month, but now I know why - I have merged data of this month from the export from WSWIN till 20100421081500 (rain0 0 0 211) and the RAW data from meteohub from 20100421081737 (rain0 0 0 8618).
I'll solve this tomorrow with replacing the data for the whole month with export data from WSWIN.

I'm very happy with the WSWIN import function, I was able to import all my data to meteohub :-)
(except the swapped local/sea level pressure)
HWTest
Expert Boarder
Expert Boarder
Posts: 98
Joined: Fri Apr 09, 2010 8:25 pm

Re:Import of WSWIN-Files (experimental): Error in line 5

Post by HWTest »

Great news it's working with 4.6G :-)
HWTest
Expert Boarder
Expert Boarder
Posts: 98
Joined: Fri Apr 09, 2010 8:25 pm

Re:Import of WSWIN-Files (experimental): Error in line 5

Post by HWTest »

I have one suggestion for the import function:
It would be nice, when there are no data (lost signal) from a sensor, that it doesn't import it.
Now it imports it as zeros, which makes a mess in graphs.

Example:
this
09.08.2008,00:20,26.0,23.9,,,,,23.8,51,53,,,,,1011.7,0.000,,,,5

is imported as
20080808222000 thb0 260 51 0151 9652 5 10117
20080808222000 th0 239 53 0137
20080808222000 th1 0 0 0000
20080808222000 th2 0 0 0000
20080808222000 th3 0 0 0000
20080808222000 th4 0 0 0000
20080808222000 t6 238
20080808222000 rain0 0 0 0
20080808222000 wind0 0 0 0 0239

but I think, it would be better as
20080808222000 thb0 260 51 0151 9652 5 10117
20080808222000 th0 239 53 0137
20080808222000 t6 238
20080808222000 rain0 0 0 0
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7879
Joined: Mon Oct 01, 2007 10:51 pm

Re:Import of WSWIN-Files (experimental): Error in line 5

Post by admin »

The headline of WSWIN files determines what sensors to look for. I guess sensors listed are mentioned there.

I could change algorithm to skip sensors where no data being there although WSWIN says in the header that data these sensors are defined.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7879
Joined: Mon Oct 01, 2007 10:51 pm

Re:Import of WSWIN-Files (experimental): Error in line 5

Post by admin »

please give this file a try. It just works for SheevaPlug!

[file name=wswinload_sheeva.gz size=8026]http://www.meteohub.de/joomla/images/fb ... _sheeva.gz[/file]
HWTest
Expert Boarder
Expert Boarder
Posts: 98
Joined: Fri Apr 09, 2010 8:25 pm

Re:Import of WSWIN-Files (experimental): Error in line 5

Post by HWTest »

I'm on it ...
HWTest
Expert Boarder
Expert Boarder
Posts: 98
Joined: Fri Apr 09, 2010 8:25 pm

Re:Import of WSWIN-Files (experimental): Error in line 5

Post by HWTest »

It looks promising :-)
HWTest
Expert Boarder
Expert Boarder
Posts: 98
Joined: Fri Apr 09, 2010 8:25 pm

Re:Import of WSWIN-Files (experimental): Error in line 5

Post by HWTest »

Thank you very much, now the imported data are perfect.

Will this version of wswinload be incorporated in the next version of Meteohub or should I save it?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7879
Joined: Mon Oct 01, 2007 10:51 pm

Re:Import of WSWIN-Files (experimental): Error in line 5

Post by admin »

this will be part of all coming updates in the sense of ongoing improvement. Thank you for testing this function so intensively, which makes it faster ready for production.
HWTest
Expert Boarder
Expert Boarder
Posts: 98
Joined: Fri Apr 09, 2010 8:25 pm

Re:Import of WSWIN-Files (experimental): Error in line 5

Post by HWTest »

It took some time but the result is definitely worth it :-)
Post Reply