Hello,
How can we get line break (carriage return) information so the TAF is properly formatted?
Hello,
How can we get line break (carriage return) information so the TAF is properly formatted?
Both TAF and NTAF are including line breaks for me. Are you looking for CR, LF, or CRLF?
TAF:
2009/05/13 03:02
KSAN 130302Z 1303/1406 VRB04KT P6SM SCT020
FM130530 19005KT P6SM OVC015
FM131730 21008KT P6SM SCT018
FM132200 28010KT P6SM FEW020
FM140200 29006KT P6SM BKN017
NTAF:
stdClass Object
(
[airport] => KSAN
[timeString] => 2009/05/13 03:02
[forecast] => Array
(
[0] => KSAN 130302Z 1303/1406 VRB04KT P6SM SCT020
[1] => FM130530 19005KT P6SM OVC015
[2] => FM131730 21008KT P6SM SCT018
[3] => FM132200 28010KT P6SM FEW020
[4] => FM140200 29006KT P6SM BKN017
)
)