Issues uploading to Weather Underground

Hello. I’ve been having trouble figuring out where there are problems in my code to read and upload data from my Sparkfun Photon Weathershield. I had data uploading previously, but then I added new code to read from the rain gauge and anemometer. If I connect to the device via Serial monitor I get the raw data coming in correctly, so I believe it’s simply something in terms of pushing the data up to weather underground. I’ve looked at a couple of the examples online for this and I don’t see any differences with my code so I’m at a loss for what’s not working. Any guidance here would be very much appreciated.

Code from Github for reading data and uploading to weather underground