tjturnage / cloud-radar-server

Radar server in the cloud for NOAA computing project
MIT License
2 stars 2 forks source link

Updates #26

Closed lcarlaw closed 5 months ago

lcarlaw commented 5 months ago

-Added status bar/reporting functionality - had to use sys.stdout.write() within Nexrad.py to broadcast the radar_files_dict back to app.py. Had to remove embedded print statements as these are also returned via stdout. -Surface placefile reporting needs work. Everything happens at once at the end, so counting files on the system probably isn't the way to go. -Added warning message to NSE placefiles if datafiles are missing (or in the case of 5/20/2013, temporarily unavailable). -Initial attempts at adding logging capabilities. Have not built this out much yet. Much of it handled by wrapper call_function in app.py which calls the various scripts and tries to reduce the number of try-catch blocks within the main processing callback. -Will need to pass sa.log into nse.py to catch status there. (TODO). -Found out that geojsoncontour was the cuprit behind the wonky lines in the 5/20/2013 case (jagged edges). Reworked plotting function entirely. Shifting also seems to be working as expected. Might be something off in one of the fields leading to estp being too low/east.