@ Boris
The wind direction in leters is no longer shown as a result of the update of 24 November 2018 Version 3.8 with leuven template version X.
See picture 2018-11-25.png
Meteobridge 3.7 (Oct 21 2018, build 12410), FW 1.4 This version does not have the problem.
See picture 2018-11-25 (1).png
Wind direction in leters error in update of 24 November 2018 **solved**
Moderator: Mattk
-
- Senior Boarder
- Posts: 79
- Joined: Wed Jun 10, 2015 12:53 pm
- Location: Oudkarspel
- Contact:
Wind direction in leters error in update of 24 November 2018 **solved**
- Attachments
-
- 2018-11-25 (1).png (351.33 KiB) Viewed 2358 times
-
- 2018-11-25.png (342.17 KiB) Viewed 2360 times
Last edited by MeteoOudkarspel on Tue Nov 27, 2018 4:09 pm, edited 1 time in total.
Sincerely,
Ron C.P.J Overtoom Meteo Oudkarspel Municipality Langedijk.

https://www.pd0rok.nl/meteooudkarspel-weertemplate
Ron C.P.J Overtoom Meteo Oudkarspel Municipality Langedijk.
https://www.pd0rok.nl/meteooudkarspel-weertemplate
Re: Wind direction in leters error in update of 24 November 2018
I added a syntax to better handle strings by allowing to cut them on the left or right and to add spaces to the left or right if string is shorter than expected. The wiki has been updated accordingly.
When I look into the Leuven template (tagsMB.txt) I see there this parameter expression:
".0" has not been defined for strings so far. Therefore it has been ignored in the past. Now ".0" (when applied to strings) has the meaning to cut the string to zero characters. ".5" will cut to 5 characters from the left and will fill up with blanks on the left when string is less than 5 characters long. Negative values do the same from the right side. Giving Strings defined length is needed to provide formatted output as needed for the NOAA style reports introduced shortly where wind directions like "N", "SW", "ENE" need to be reported with the same length in order not to destroy the character-based table structure.
So please update the Leuven template definition to get rid of this so far undiscovered typo from the past.
When I look into the Leuven template (tagsMB.txt) I see there this parameter expression:
Code: Select all
[wind0dir-act=endir.0:--]
So please update the Leuven template definition to get rid of this so far undiscovered typo from the past.
-
- Senior Boarder
- Posts: 79
- Joined: Wed Jun 10, 2015 12:53 pm
- Location: Oudkarspel
- Contact:
Re: Wind direction in leters error in update of 24 November 2018
Thanks Boris for answer,
Now I have question, what must it be now, so [wind0dir-act=endir.5:--]
Now I have question, what must it be now, so [wind0dir-act=endir.5:--]
Sincerely,
Ron C.P.J Overtoom Meteo Oudkarspel Municipality Langedijk.

https://www.pd0rok.nl/meteooudkarspel-weertemplate
Ron C.P.J Overtoom Meteo Oudkarspel Municipality Langedijk.
https://www.pd0rok.nl/meteooudkarspel-weertemplate
Re: Wind direction in leters error in update of 24 November 2018
For Leuven-Template users
The change needed in scriptsMB/tags.mb.txt: line approx. 211 now reads: change to
The realtime file is not affected.
Wim
The change needed in scriptsMB/tags.mb.txt: line approx. 211 now reads:
Code: Select all
|windActDsc|[wind0dir-act=endir.0:--]|!
Code: Select all
|windActDsc|[wind0dir-act=endir:--]|!
Wim
-
- Senior Boarder
- Posts: 79
- Joined: Wed Jun 10, 2015 12:53 pm
- Location: Oudkarspel
- Contact:
Re: Wind direction in leters error in update of 24 November 2018 **solved**
Thanks Boris and Wim.
The parameter is adapted in the leuven template file and it works again,
The parameter is adapted in the leuven template file and it works again,
Sincerely,
Ron C.P.J Overtoom Meteo Oudkarspel Municipality Langedijk.

https://www.pd0rok.nl/meteooudkarspel-weertemplate
Ron C.P.J Overtoom Meteo Oudkarspel Municipality Langedijk.
https://www.pd0rok.nl/meteooudkarspel-weertemplate