getWeatherto have it return any information. Call it after you get the return from your location code.
:warning: pshiwakoti1 already gave khaduch points
$.getJSONfunction, so I made a change to the function to pass those values to it. I forked a copy of your pen with the changes - just to make it easier because I'm fading out... Here is the link - you can see where I added the call
getWeather(latitude, longitude);after your location callback runs. Then I added a div in your HTML panel with the ID of "msg", because my function is dumping the raw weather data out there. You have to take it from there.