<div dir="ltr"><div><div><div><div><div>Hi all<br></div>has someone has experince in getting ERAhttp://<a href="http://apps.ecmwf.int/datasets/data/interim-full-daily/levtype=pl/batch/290323/-interim">apps.ecmwf.int/datasets/data/interim-full-daily/levtype=pl/batch/290323/-interim</a> data ffrom <br><br></div>uisng python or MARS request.<br></div>I get error in this python script <br></div>./script.pyFile &quot;./script.py&quot;, line 3<br>    server = ECMWFDataServer(<a href="http://apps.ecmwf.int/datasets/data/interim-full-daily/levtype=pl/batch/290323/">http://apps.ecmwf.int/datasets/data/interim-full-daily/levtype=pl/batch/290323/</a>)<br><span style="color:rgb(0,0,255)">SyntaxError: invalid syntax<br><br></span></div><span style="color:rgb(0,0,255)">the script looks like this<br></span><div><br><br>#!/usr/bin/env python<br>from ecmwfapi import ECMWFDataServer<br>server = ECMWFDataServer(<a href="http://apps.ecmwf.int/datasets/data/interim-full-daily/levtype=pl/batch/290323/">http://apps.ecmwf.int/datasets/data/interim-full-daily/levtype=pl/batch/290323/</a>)<br>server.retrieve({<br>    &quot;class&quot;: &quot;ei&quot;,<br>    &quot;dataset&quot;: &quot;interim&quot;,<br>    &quot;date&quot;: &quot;1997-01-01/to/2002-12-31&quot;,<br>    &quot;expver&quot;: &quot;1&quot;,<br>    &quot;grid&quot;: &quot;0.75/0.75&quot;,<br>    &quot;levelist&quot;: &quot;1/2/3/5/7/10/20/30/50/70/100/125/150/175/200/225/250/300/350/400/450/500/550/600/650/700/750/775/800/825/850/875/900/925/950/975/1000&quot;,<br>    &quot;levtype&quot;: &quot;pl&quot;,<br>    &quot;param&quot;: &quot;129.128/130.128/131.128/132.128/133.128&quot;,<br>    &quot;step&quot;: &quot;0&quot;,<br>    &quot;stream&quot;: &quot;oper&quot;,<br>    &quot;time&quot;: &quot;06:00:00&quot;,<br>    &quot;type&quot;: &quot;an&quot;,<br>    &quot;target&quot;: &quot;PRESSURE&quot;,<br><br></div><div>or what about MARS request???<br></div><div>I have tried to read the site ttps://<a href="http://software.ecmwf.int/wiki/display/WEBAPI/Python+ERA-interim+examples">software.ecmwf.int/wiki/display/WEBAPI/Python+ERA-interim+examples</a><br></div><div>but cant understand<br></div></div>