TiToine1978 Posté(e) 21 avril 2006 Partager Posté(e) 21 avril 2006 le problème est que je ne sais pas le format du fichier history.dat Salut,J'ai ca en stock : ******************* HeavyWeather V2.0 beta La Crosse WS-2310 and WS-2315 weather stations Each row of data is stored in 36 byte chunks starting from the beginning of the file (no header). Row Offset Type Name Unit ------ --------- ---------------- ----- 00 ULong [4] unknown - (Value is always 1) 04 ULong [4] Timestamp seconds from 1/1/1900 00:00:00 (GMT) 08 Float [4] Abs Pressure hectopascals (millibars) 12 Float [4] Wind Speed meters/second 16 ULong [4] Wind Direction see below 20 Float [4] Total Rainfall millimeters 24 Float [4] Indoor Temp Celsius 28 Float [4] Outdoor Temp Celsius 32 UWord [2] Indoor Humidity % 34 UWord [2] Outdoor Humidity % At the end of the file is an additional 28 bytes providing information about the dataset as a whole. Offset Type Description ------ --------- ---------------- 00 ULong [4] unknown 04 Ulong [4] unknown (0) 08 Float [4] unknown (5.698) 12 ULong [4] unknown (0) 16 ULong [4] Number of rows 20 ULong [4] Timestamp of the first row of data 24 ULong [4] Timestamp of the last row of data ******************* HeavyWeatherPro V1.1 La Crosse WS-3610 weather station Each row of data is stored in 56 byte chunks starting from the beginning of the file (no header). ROW OFFSET Type Name Unit ------ --------- ---------------- ----- 00 Double [8] Timestamp days from 12/30/1899 00:00:00 (GMT) 08 Float [4] Abs Pressure hectopascals (millibars) 12 Float [4] Relative Pressure hectopascals (millibars) 16 Float [4] Wind Speed meters/second 20 ULong [4] Wind Direction see below 24 Float [4] Wind Gust meters/second 28 Float [4] Total Rainfall millimeters 32 Float [4] New Rainfall millimeters 36 Float [4] Indoor Temp celsius 40 Float [4] Outdoor Temp celsius 44 Float [4] Indoor Humidity % 48 Float [4] Outdoor Humidity % 52 ULong [4] unknown - (Value is always 0) Since the timestamp is a double, the fractional part represents fractions of a day. This is probably the same type as the Delphi TdateTime type. More information about this type can be found here: http://www.aimtec.com.au/articles/ItsAboutTime/Default.htm ******************* Wind Direction Wind direction is encoded as an integer between 0 and 15. To get the wind direction in degrees, multiply the value by 22.5. To get compass directions (moving clockwise) 0 is North, 1 is North-Northeast, 2 is Northeast, etc... 0 N 1 NNE 2 NE 3 ENE 4 E 5 ESE 6 SE 7 SSE 8 S 9 SSW 10 SW 11 WSW 12 W 13 WNW 14 NW 15 NNW Sous visual basic, il faut (enfin je crois) lire ca en mode binaire, et pas de lecture séquentielle. Lien à poster Partager sur d’autres sites More sharing options...
Met.Txin Posté(e) 21 avril 2006 Auteur Partager Posté(e) 21 avril 2006 Merci beaucoup Antonio! avec ça je pense que j'ai du boulot a faire pendant un bon moment /emoticons/sad@2x.png 2x" width="20" height="20"> , je commençais a m'ennuyer Aió! Lien à poster Partager sur d’autres sites More sharing options...
Met.Txin Posté(e) 27 avril 2006 Auteur Partager Posté(e) 27 avril 2006 Bonjour à tous! Je suis en train de faire quelques modifications sur les graphiques du logiciel vb2300 (je ne pas encore changé le nom) au cas où quelqu'un serais interéssé. La version 1.3 que je viens de laisser peut avoir des bugs. Pour le moment j'ai rien fait pour qu'il soit compatible avec les fichiers dat del heavy weather, mais ça viendra peut être un jour. Ah!, les graphiques annuelles ne sont pas disponibles encore, ça sera pour les prochaines versions. Au revoir Lien à poster Partager sur d’autres sites More sharing options...
Marco54 Posté(e) 29 avril 2006 Chaligny - Lorraine Partager Posté(e) 29 avril 2006 modifications sur les graphiques du logiciel vb2300 Hello, Bravo , énorme progrès de la qualité graphique des courbes . Pour l'instant, pas de bug constatés ... a+ Lien à poster Partager sur d’autres sites More sharing options...
Met.Txin Posté(e) 29 avril 2006 Auteur Partager Posté(e) 29 avril 2006 C'est une bonne nouvelle, pas de bugs!, merci de l'avoir testé une fois de plus. Je pense que cette fois les graphiques sont assez clairs et meilleurs qu'avant, oui. /public/style_emoticons/'>http://forums.infoclimat.fr/public/style_emoticons/default/original.gif Bon dimanche! Lien à poster Partager sur d’autres sites More sharing options...
Messages recommandés
Créer un compte ou se connecter pour commenter
Vous devez être membre afin de pouvoir déposer un commentaire
Créer un compte
Créez un compte sur notre communauté. C’est facile !
Créer un nouveau compteSe connecter
Vous avez déjà un compte ? Connectez-vous ici.
Connectez-vous maintenant