PSO module crashed when it could not connect to NECOFS
It is not unreasonable to fail if it can't get data from the remote server, but in this case it was set to "haveCurrents = True" which makes it use a local archive.
Need to check where it makes this unneeded connection to NECOFS.
ekrell@lancelot:~/thesis_stuff/USV_MissionPlanning/Playground$ python PyGMO_Test.py -p #########
CURL Error: Couldn't connect to server
curl error details:
Traceback (most recent call last):
File "PyGMO_Test.py", line 886, in <module>
environment = initializeByFile ("config.yaml", haveCurrents = True)
File "PyGMO_Test.py", line 505, in initializeByFile
environment = rsi.main (configFile, haveCurrents)
File "/home/ekrell/thesis_stuff/USV_MissionPlanning/Playground/RasterSetInterface.py", line 199, in main
data = initializeByFile (configFile)
File "/home/ekrell/thesis_stuff/USV_MissionPlanning/Playground/RasterSetInterface.py", line 177, in initializeByFile
startDate, numDays, interval_min)
File "/home/ekrell/thesis_stuff/USV_MissionPlanning/Playground/RasterSetInterface.py", line 136, in initialize
sourceNC = netCDF4.Dataset (ncURL)
File "netCDF4/_netCDF4.pyx", line 2015, in netCDF4._netCDF4.Dataset.__init__
File "netCDF4/_netCDF4.pyx", line 1636, in netCDF4._netCDF4._ensure_nc_success
IOError: [Errno -68] NetCDF: I/O failure: 'http://www.smast.umassd.edu:8080/thredds/dodsC/FVCOM/NECOFS/Forecasts/NECOFS_FVCOM_OCEAN_MASSBAY_FORECAST.nc'
ekrell@lancelot:~/thesis_stuff/USV_MissionPlanning/Playground$
ekrell@lancelot:~/thesis_stuff/USV_MissionPlanning/Playground$ python PyGMO_Test.py -p vey3tUmt9