twillis449 / ALBUS_ionosphere

software to determine ionosphere TEC and RM from GPS receiver data
Other
17 stars 8 forks source link

ALBUS Failing "dubious year (Note 5)" #27

Closed AKHughes1994 closed 3 months ago

AKHughes1994 commented 3 months ago

Hi,

For the past week or so, ALBUS has been failing to retrieve ionospheric data, outputting the error,

image

I've gotten similar errors when retrieving ionospheric information too soon (i.e., within a week of the current date). However, now, this error is ubiquitous, occuring whenever I attempt to run ALBUS and affecting many months-old data.

The weirder part is that this error is returned for scripts that would run without issues in the past. My ALBUS version is in a container, so I haven't changed anything regarding Python packages, OS, etc.

This makes me think there is some retrieval issue getting the GPS data, but I'm not sure how to de-bug/correct this.

twillis449 commented 3 months ago

The only place urllib3 is called is in the GPS_stations.py and its totally obsolete . Somehow the calls to it escaped my notice. Just comment out ALL references to urllib3 and you should be good to go. (Although as you say that error is really weird. I will be checking in an updated version of GPS_stations.py where these references are removed.

twillis449 commented 3 months ago

I have now updated GPS_stations.py in the python_scripts subdirectory

AKHughes1994 commented 3 months ago

I rebuilt a container with the changes, and it looks like it is working again!

Cheers!