An agreement has been reached that will see a mountain weather forecasting service continue.
The Mountain Weather Information Service (MWIS) had warned it might be forced to close if its public funding was withdrawn.
But in a joint statement MWIS and Scottish government body sportscotland said a deal on funding had been reached.
It secures the future of MWIS for at least three years.
Sportscotland has been working with the service since 2007, but had been examining the future shape of the provision of the forecasts.
The body's chief executive Stewart Harris said: "Sportscotland has consistently maintained that we would guarantee the continuation of high-quality mountain weather forecasting service and that is precisely what we have delivered.
"I am delighted that we will continue to work in partnership by investing in MWIS for a minimum period of three years throughout the development phase while we plan for a sustainable and enhanced service for the long-term."
Lead MWIS forecaster Geoff Monk described the agreement as "great news".
He said there was a misunderstanding about investment beyond 2016, but this had now been resolved.