I've been interested in learning MPC control, and I wanted to try to nlc python example found here:
http://apmonitor.com/wiki/index.php/Main/PythonApp
When I ran the initial demo example, I got an HTTP error. I was able to run the demo example by changing the instances of "http" to "https" in the apm.py file, similar to the problem found here:
https://github.com/olivierhagolle/LANDSAT-Download/issues/33
I've been trying to run the nlc example now and I'm getting the same kind of error (shown below). However, changing the instances of "http" to "https" no longer seem to be helping.
*Traceback (most recent call last): File "C:\Users\veli95839\Documents\Python\Scripts\example_nlc\nlc.py", line 88, in response = apm_meas(server,app,x,value) File "C:\Users\veli95839\Documents\Python\Scripts\example_nlc\apm.py", line 607, in load_meas f = urllib.request.urlopen(url_base,params_en) File "C:\Users\veli95839\Documents\Python\lib\urllib\request.py", line 222, in urlopen return opener.open(url, data, timeout) File "C:\Users\veli95839\Documents\Python\lib\urllib\request.py", line 531, in open response = meth(req, response) File "C:\Users\veli95839\Documents\Python\lib\urllib\request.py", line 640, in http_response response = self.parent.error( File "C:\Users\veli95839\Documents\Python\lib\urllib\request.py", line 569, in error return self._call_chain(*args) File "C:\Users\veli95839\Documents\Python\lib\urllib\request.py", line 502, in _call_chain result = func(args) File "C:\Users\veli95839\Documents\Python\lib\urllib\request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 503: Service Unavailable
Please let me know if anyone has experienced similar issues!
Thanks,
Claire

